summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2005-01-11 00:32:18 +0000
committerMarius Vollmer <mvo@zagadka.de>2005-01-11 00:32:18 +0000
commitdc91d8de1a93e7e151e7213b3a17d95019a1e55b (patch)
tree65cda0508bf823d4db38abef1421198cf1cc6173
parent85516012180e4c2638a3f1d5ddec7aa15b4b1478 (diff)
downloadguile-dc91d8de1a93e7e151e7213b3a17d95019a1e55b.tar.gz
*** empty log message ***
-rw-r--r--NEWS17
-rw-r--r--libguile/ChangeLog20
2 files changed, 37 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6060aabaa..6b9ad5a6f 100644
--- a/NEWS
+++ b/NEWS
@@ -834,6 +834,11 @@ Use scm_is_keyword and scm_keyword_to_symbol instead, but note that
the latter returns the true name of the keyword, not the 'dash name',
as SCM_KEYWORDSYM used to do.
+** A new way to access arrays in a thread-safe and efficient way has
+ been added.
+
+See the manual, node "Accessing Arrays From C".
+
** The old uniform vector and bitvector implementations have been
unceremoniously removed.
@@ -863,6 +868,18 @@ The following macros have been removed: SCM_VECTOR_BASE,
SCM_SET_VECTOR_BASE, SCM_MAKE_VECTOR_TAG, SCM_SET_VECTOR_LENGTH,
SCM_VELTS_AS_STACKITEMS, SCM_SETVELTS, SCM_GC_WRITABLE_VELTS.
+** Some C functions related to arrays have been deprecated.
+
+Migrate according to the following table:
+
+ scm_make_uve -> scm_make_typed_aray, scm_make_u8vector etc.
+ scm_make_ra -> scm_make_array
+ scm_shap2ra -> scm_make_array
+ scm_cvref -> scm_c_generalized_vector_ref
+ scm_ra_set_contp -> do not use
+ scm_aind -> scm_array_handle_pos
+ scm_raprin1 -> scm_display or scm_write
+
** SCM_CELL_WORD_LOC has been deprecated.
Use the new macro SCM_CELL_OBJECT_LOC instead, which returns a pointer
diff --git a/libguile/ChangeLog b/libguile/ChangeLog
index 5cfd06607..966c41129 100644
--- a/libguile/ChangeLog
+++ b/libguile/ChangeLog
@@ -1,3 +1,23 @@
+2005-01-11 Marius Vollmer <mvo@zagadka.de>
+
+ * ramap.c: Replace uses of scm_make_ra with scm_i_make_ra.
+ (GVREF, GVSET): New abbreviations. Use them everywhere instead of
+ scm_c_generalized_vector_ref and scm_cvref, and
+ scm_c_generalized_vector_set_x, respectively.
+ (RVREF, IVDEP, BINARY_ELTS_CODE, BINARY_PAIR_ELTS_CODE,
+ UNARY_ELTS_CODE, UNARY_PAIR_ELTS_CODE): Removed since unused.
+
+ * unif.h, unif.c (indices_to_pos, scm_array_handle_pos): Renamed
+ former to latter and made public. Changed all uses.
+ (scm_i_make_ra): Made public, changed tag param to enclosed flag.
+ (scm_make_ra): Deprecated, changed all uses to scm_i_make_ra.
+ (scm_i_shap2ra): New internal version of scm_shap2ra.
+ (scm_shap2ra): Deprecated, changed all uses to scm_i_shap2ra.
+ (scm_i_ra_set_contp): New internal version of scm_ra_set_contp.
+ (scm_ra_set_contp): Deprecated, changed all uses to
+ scm_i_ra_set_contp.
+ (scm_cvref, scm_aind, scm_raprin1): Deprecated.
+
2005-01-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* eval.c (scm_eval): Added example to docstring. Thanks to Issac