diff options
author | Daniel Llorens <daniel.llorens@bluewin.ch> | 2013-04-24 17:13:56 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2014-02-10 21:25:42 +0100 |
commit | 35f45ed6d0d4d8d73975cb1935faf32f82cb48b8 (patch) | |
tree | 25c1000d69a145530d88dd2765f7d2b0b5f69490 /libguile/arrays.c | |
parent | c545f7164a80586ac287c551b089101387319e8c (diff) | |
download | guile-35f45ed6d0d4d8d73975cb1935faf32f82cb48b8.tar.gz |
Check more cases of array-contents
* libguile/arrays.c: (scm_array_contents): fix comment.
* test-suite/tests/arrays.test: add cases that depend on correct
setting of CONTIGUOUS_FLAG.
Diffstat (limited to 'libguile/arrays.c')
-rw-r--r-- | libguile/arrays.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/arrays.c b/libguile/arrays.c index 413a6f4c1..a378585c8 100644 --- a/libguile/arrays.c +++ b/libguile/arrays.c @@ -548,8 +548,8 @@ SCM_DEFINE (scm_transpose_array, "transpose-array", 1, 0, 1, /* attempts to unroll an array into a one-dimensional array. returns the unrolled array or #f if it can't be done. */ - /* if strict is not SCM_UNDEFINED, return #f if returned array - wouldn't have contiguous elements. */ +/* if strict is true, return #f if returned array + wouldn't have contiguous elements. */ SCM_DEFINE (scm_array_contents, "array-contents", 1, 1, 0, (SCM ra, SCM strict), "If @var{ra} may be @dfn{unrolled} into a one dimensional shared\n" |