Fix `uniform-vector-read!' and `uniform-vector-write'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 20 Jan 2010 22:58:39 +0000 (23:58 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 20 Jan 2010 22:58:39 +0000 (23:58 +0100)
commit73d1aaafb226b5e386b6b2eeacc40b836ff85940
tree2d1526111c83cd2ec1fbb5d00dae58d6d311d929
parenta70c0ff578712ab8170aea0d2fb0d9b53cee8c5c
Fix `uniform-vector-read!' and `uniform-vector-write'.

* libguile/deprecated.c (scm_uniform_vector_read_x,
  scm_uniform_vector-write): Account for optional arguments.  Make sure
  the former always returns an integer.

* libguile/deprecated.h (scm_uniform_vector_read_x,
  scm_uniform_vector_write, scm_uniform_array_read_x,
  scm_uniform_array_write): Mark as `SCM_DEPRECATED'.
libguile/deprecated.c
libguile/deprecated.h