(scm_make_u1vector): New, but only temporary.
authorMarius Vollmer <mvo@zagadka.de>
Fri, 29 Oct 2004 14:41:14 +0000 (14:41 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Fri, 29 Oct 2004 14:41:14 +0000 (14:41 +0000)
commitbfad4005d2d85f34d659d919f00b55dd28b3f39d
tree453e3e1986410e85d81cf1866e081858fd5cd724
parent7a1aba42cf5fec31a8488330b0d959828e3e4c00
(scm_make_u1vector): New, but only temporary.
(make_uve): Removed.
(scm_i_proc_make_vector, scm_i_proc_make_string,
scm_i_proc_make_u1vector): New.
(scm_init_unif): Initialize them.
(scm_i_convert_old_prototype): New.
(scm_make_uve): Use it to get the creator procedure.  Removed all
old code that created old-style uniform vectors.
(scm_array_p): Handle generic vectors.
(scm_dimensions_to_uniform_array): Do not fill new array with
prototype when that is a procedure.
(scm_list_to_uniform_array): Also accept a list of lower bounds as
the NDIM argument.
(scm_i_print_array): Print rank for shared or non-zero-origin
vectors.
(tag_proto_table, scm_i_tag_to_prototype, scm_i_read_array): New.
(scm_raprin1): Do not call scm_i_array_print for enclosed arrays,
which I do not understand yet.
(scm_array_prototype): Explicitely handle generic vectors.
libguile/unif.c
libguile/unif.h