HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a0821a
)
Fix erroneous `FUNC_NAME' for `scm_array_length'.
author
Ludovic Courtès
<ludo@gnu.org>
Thu, 28 Mar 2013 20:01:51 +0000
(21:01 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Thu, 28 Mar 2013 21:19:12 +0000
(22:19 +0100)
* libguile/generalized-arrays.c (scm_array_length): Fix `FUNC_NAME'.
libguile/generalized-arrays.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/generalized-arrays.c
b/libguile/generalized-arrays.c
index
9382e81
..
59925a0
100644
(file)
--- a/
libguile/generalized-arrays.c
+++ b/
libguile/generalized-arrays.c
@@
-135,7
+135,7
@@
SCM_DEFINE (scm_array_length, "array-length", 1, 0, 0,
(SCM array),
"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
+#define FUNC_NAME s_scm_array_
length
{
return scm_from_size_t (scm_c_array_length (array));
}