summaryrefslogtreecommitdiff
path: root/libguile/generalized-arrays.c
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2013-01-23 09:59:58 +0100
committerAndy Wingo <wingo@pobox.com>2013-02-18 16:57:16 +0100
commit739941679c2c7dc36c29c30aff7d4c1b436ba773 (patch)
tree97604e206e2770753dd26b51535678a88b77ea08 /libguile/generalized-arrays.c
parent118ff892be199f0af359d1b027645d4783a364ec (diff)
downloadguile-739941679c2c7dc36c29c30aff7d4c1b436ba773.tar.gz
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?
Diffstat (limited to 'libguile/generalized-arrays.c')
-rw-r--r--libguile/generalized-arrays.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libguile/generalized-arrays.c b/libguile/generalized-arrays.c
index 7e17a9f70..9382e817e 100644
--- a/libguile/generalized-arrays.c
+++ b/libguile/generalized-arrays.c
@@ -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));