summaryrefslogtreecommitdiff
path: root/examples/box-module
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2016-11-18 16:23:05 +0100
committerDaniel Llorens <daniel.llorens@bluewin.ch>2016-11-23 11:50:28 +0100
commit68eb519089c730799aff89d40aade629fc66ad32 (patch)
treee89cbfa9d6f5ce3bdae7f1725971cf697e3ced18 /examples/box-module
parent1744d72d21d81c6283a5bdb3aad01ef6ef38375f (diff)
downloadguile-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 'examples/box-module')
0 files changed, 0 insertions, 0 deletions