diff options
author | Daniel Llorens <daniel.llorens@bluewin.ch> | 2013-04-29 14:19:52 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2014-01-27 21:48:03 +0100 |
commit | 99c0a58a2fa392ac14017da8874fbdbfd2f05900 (patch) | |
tree | 8f4baab4b3d6901bcd2769382f9d14f45f667391 /libguile/strings.c | |
parent | d2053db7d8f6134f50bbd5102ddde7b72010dd97 (diff) | |
download | guile-99c0a58a2fa392ac14017da8874fbdbfd2f05900.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/strings.c')
0 files changed, 0 insertions, 0 deletions