Fix erroneous `FUNC_NAME' for `scm_array_length'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 28 Mar 2013 20:01:51 +0000 (21:01 +0100)
committerLudovic 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

index 9382e81..59925a0 100644 (file)
@@ -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));
 }