1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 01:30:27 +02:00

Array documentation fixes

* libguile/generalized-arrays.c: Fix wording of docstring for array-length.
* doc/ref/api-compund.texi:
  - Document scm_array_type(), scm_array_ref(), array-length,
    scm_array_length(), scm_c_array_length().
  - Fix wording of documentation for array-in-bounds?
This commit is contained in:
Daniel Llorens 2013-01-23 09:59:58 +01:00 committed by Andy Wingo
parent 118ff892be
commit 739941679c
2 changed files with 12 additions and 4 deletions

View file

@ -133,9 +133,8 @@ scm_c_array_length (SCM array)
SCM_DEFINE (scm_array_length, "array-length", 1, 0, 0,
(SCM array),
"Return the length of an array: the dimension of its first\n"
"dimension. It is an error to ask for the length of an\n"
"array of rank 0.")
"Return the length of an array: its first dimension.\n"
"It is an error to ask for the length of an array of rank 0.")
#define FUNC_NAME s_scm_array_rank
{
return scm_from_size_t (scm_c_array_length (array));