diff options
author | Daniel Llorens <daniel.llorens@bluewin.ch> | 2013-04-12 17:50:09 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2014-01-27 21:45:18 +0100 |
commit | a70333d2968ef945db2188f1720f52ff9b0e54a5 (patch) | |
tree | 220fe83ecd7200f301dfe29f4f1e981a533845b9 /libguile/debug-malloc.c | |
parent | ba7e018b614f0964961dd14c877646d385da3a31 (diff) | |
download | guile-a70333d2968ef945db2188f1720f52ff9b0e54a5.tar.gz |
Use underlying vector implementation directly in array handles
* libguile/array-handle.c
- scm_array_get_handle: if the object is an array, point impl to
the underlying vector instead of array impl, then fix the axes. Avoid
calling scm_i_array_implementation_for_obj twice.
* libguile/arrays.c
- array_handle_ref, array_handle_set, array_get_handle: remove.
* libguile/bitvectors.c, libguile/bytevectors.c, libguile/strings.c,
libguile/vectors.c: fix base = 0 in the array handle.
* libguile/vectors.c: (vector_handle_set, vector_handle_ref): do not
use h->dims.
Diffstat (limited to 'libguile/debug-malloc.c')
0 files changed, 0 insertions, 0 deletions