diff options
author | Daniel Llorens <daniel.llorens@bluewin.ch> | 2016-11-18 16:23:05 +0100 |
---|---|---|
committer | Daniel Llorens <daniel.llorens@bluewin.ch> | 2016-11-23 11:50:28 +0100 |
commit | 68eb519089c730799aff89d40aade629fc66ad32 (patch) | |
tree | e89cbfa9d6f5ce3bdae7f1725971cf697e3ced18 /libguile/extensions.c | |
parent | 1744d72d21d81c6283a5bdb3aad01ef6ef38375f (diff) | |
download | guile-lloda-squash1.tar.gz |
Deprecate scm_from_contiguous_arraylloda-squash1
scm_from_contiguous_array() was undocumented, unused within Guile, and
can be replaced by make-array + array-copy! without requiring contiguity
and without loss of performance.
* libguile/arrays.c (scm_array_contents): Do not rely on
SCM_I_ARRAY_CONTP.
* test-suite/tests/arrays.test: Test array-contents with 0-rank array.
* libguile/arrays.h: Declare scm_i_shap2ra(),
SCM_SET_ARRAY_CONTIGUOUS_FLAG, SCM_CLR_ARRAY_CONTIGUOUS_FLAG so that
scm_from_contiguous_array() can keep using them.
* libguile/deprecated.c (scm_from_contiguous_array): Move here from
arrays.c.
* libguile/deprecated.h (scm_from_contiguous_array): Deprecate.
* NEWS: Add deprecation notice.
Diffstat (limited to 'libguile/extensions.c')
0 files changed, 0 insertions, 0 deletions