summaryrefslogtreecommitdiff
path: root/libguile/cache-internal.h
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 13:05:49 +0100
commitfa4a22971a122e30e6b167bfe7ac209d02ffafc4 (patch)
treee89cbfa9d6f5ce3bdae7f1725971cf697e3ced18 /libguile/cache-internal.h
parent0bd7562c961223cd70e772bac8b7ae21b34f1aed (diff)
downloadguile-fa4a22971a122e30e6b167bfe7ac209d02ffafc4.tar.gz
Deprecate scm_from_contiguous_array
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/cache-internal.h')
0 files changed, 0 insertions, 0 deletions