summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/ChangeLog22
-rw-r--r--test-suite/ChangeLog4
2 files changed, 26 insertions, 0 deletions
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 <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,
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 <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