summaryrefslogtreecommitdiff
path: root/libguile/array-map.c
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2013-04-29 14:19:52 +0200
committerAndy Wingo <wingo@pobox.com>2014-02-10 21:58:28 +0100
commit1e2a55e42a1181b1ec9e1ab2d3457458e05960de (patch)
tree40205bfd6011874e3f989cdd1b0dbf172df5202f /libguile/array-map.c
parentb7c8836b715f3dbbf89e3debb76dcf7b5c8d6ec1 (diff)
downloadguile-1e2a55e42a1181b1ec9e1ab2d3457458e05960de.tar.gz
Match types used in arrays.c to struct field types
* libguile/arrays.c - scm_shared_array_root: check for SCM_I_ARRAYP first. - scm_i_shap2ra: * check valid bounds in the '(lbnd ubnd) case. This makes (make-array 0 '(4 -3)) fail with a 'bad dimension' instead of with a 'wrong index' error. * use ssize_t for lbnd/ubnd/inc, not long. - scm_make_shared_array: use ssize_t for indices, not long. - scm_transpose_array: use size_t for ndim, not ulong. - scm_i_print_array: idem.
Diffstat (limited to 'libguile/array-map.c')
0 files changed, 0 insertions, 0 deletions