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

*** empty log message ***

This commit is contained in:
Marius Vollmer 2005-01-07 00:32:03 +00:00
parent f16f4d3cae
commit f01fe441aa
2 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,25 @@
2005-01-07 Marius Vollmer <mvo@zagadka.de>
Make the uniform vector routines also deal with one dimensional
arrays.
* srfi-4.c (SCM_IS_UVEC): New, use it instead of
SCM_SMOB_PREDICATE in this file.
(is_uvec): Also recognize one-dimensional uniform numeric arrays
of the right type.
(scm_is_uniform_vector): Likewise.
(uvec_fast_ref): Made BASE param const.
(uvec_writable_elements, uvec_elements): New.
(uvec_to_list, uvec_ref, uvec_set_x, uvec_length,
scm_c_uniform_vector_length, scm_c_uniform_vector_ref,
scm_c_uniform_set_x): Use them to also deal with one-dimensional
arrays.
(scm_uniform_vector_ref, scm_uniform_vector_set_x): Deprecate old
argument convention.
(scm_uniform_vector_to_list): Let uvec_to_list do all the
checking.
(scm_uniform_vector_length): Use uvec_length.
2005-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* srfi-4.h, srfi-4.c (scm_c_uniform_vector_element_size,

View file

@ -1,3 +1,7 @@
2005-01-07 Marius Vollmer <mvo@zagadka.de>
* tests/srfi-4.test: Use (test-suite lib) module.
2005-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/unif.test (have-llvect?): Removed, Scheme code will always