summaryrefslogtreecommitdiff
path: root/libguile/array-map.c
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2014-02-06 11:17:47 +0100
committerAndy Wingo <wingo@pobox.com>2014-02-06 11:17:47 +0100
commitc4aca3b9da9e7777f84efcd304990ad78b883f07 (patch)
treeaceb8b2c5bf77828cbb42990961fc5e71a273383 /libguile/array-map.c
parent1fadf369b8eb2eec2011707ef1831c01ae134a37 (diff)
downloadguile-c4aca3b9da9e7777f84efcd304990ad78b883f07.tar.gz
Don't use generalized-vector functions in uniform.c
* libguile/uniform.c (scm_is_uniform_vector): Replace scm_is_generalized_vector and scm_generalized_vector_get_handle by scm_is_array and manual rank check. (scm_c_uniform_vector_length): Use scm_c_array_length. (scm_c_uniform_vector_ref): Use scm_c_array_ref_1. (scm_c_uniform_vector_set): Use scm_c_array_set_1_x. (scm_uniform_vector_writable_elements): Use scm_array_get_handle, and assert that the rank is 1. * test-suite/test/arrays.test: Rename the uniform-vector-ref block to uniform-vector. Exercise uniform-vector-length and shared arrays remaining uniform. Modifications by Andy Wingo <wingo@pobox.com>.
Diffstat (limited to 'libguile/array-map.c')
0 files changed, 0 insertions, 0 deletions