* deprecated.scm (make-uniform-array): Don't pass the prototype as
authorMarius Vollmer <mvo@zagadka.de>
Sun, 12 Feb 2006 01:01:46 +0000 (01:01 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Sun, 12 Feb 2006 01:01:46 +0000 (01:01 +0000)
commit1aaa1c171edd094072f5b4202fd480e0f40c2aad
tree31b0ffdf3dcf7eb46d3a7cc4ee0756253bf7e864
parentd7c6575f3f77db3bd4ea7bcac7d283f885dae6aa
* deprecated.scm (make-uniform-array): Don't pass the prototype as
the fill value, dimensions->uniform-array will do the right thing
now.  See scm_dimensions_to_uniform_array why we need to be tricky
about the fill value.

* unif.c (scm_dimensions_to_uniform_array): Use the prototype for
filling when the fill parameter is omitted, as documented, but
turn #\nul into 0 since s8 arrays (signified by a #\nul prototype)
can not store characters.
ice-9/ChangeLog
ice-9/deprecated.scm
libguile/ChangeLog
libguile/unif.c