From f01fe441aaf6a3789aa261900fc6123ce8333fe5 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Fri, 7 Jan 2005 00:32:03 +0000 Subject: [PATCH] *** empty log message *** --- libguile/ChangeLog | 22 ++++++++++++++++++++++ test-suite/ChangeLog | 4 ++++ 2 files changed, 26 insertions(+) diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 5a1fc5cca..a3feba407 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,25 @@ +2005-01-07 Marius Vollmer + + 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 * srfi-4.h, srfi-4.c (scm_c_uniform_vector_element_size, diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog index b3498d2bc..e7a159403 100644 --- a/test-suite/ChangeLog +++ b/test-suite/ChangeLog @@ -1,3 +1,7 @@ +2005-01-07 Marius Vollmer + + * tests/srfi-4.test: Use (test-suite lib) module. + 2005-01-06 Marius Vollmer * tests/unif.test (have-llvect?): Removed, Scheme code will always