1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-19 18:20:22 +02:00

*** empty log message ***

This commit is contained in:
Marius Vollmer 2005-01-11 00:32:18 +00:00
parent 8551601218
commit dc91d8de1a
2 changed files with 37 additions and 0 deletions

17
NEWS
View file

@ -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

View file

@ -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