* gh_test_repl.c (c_vector_test): same as gh_test_c.c
authorMark Galassi <mark+savannah@galassi.org>
Mon, 13 Oct 1997 07:25:31 +0000 (07:25 +0000)
committerMark Galassi <mark+savannah@galassi.org>
Mon, 13 Oct 1997 07:25:31 +0000 (07:25 +0000)
commite5eece747e920b3510aa661f3e4483ec440b3b96
tree14e89911c131d7ab94530a786d51c78c3abedbaa
parentda7f71d7d59969c10b80bd501dbea024318f6d90
* gh_test_repl.c (c_vector_test): same as gh_test_c.c

* gh_test_c.c (c_vector_test): some improvements on the vector
routines test.

* gh.h (gh_vector): this used to exist but do the wrong thing.
Now it (almost) does the right thing, though it takes a list
instead of the individual arguments.  I need to see how it could
be done right.
(gh_list_to_vector): added this function as a macro.  Corresponds
to Scheme's (list->vector ...).
(gh_vector_to_list): added this function as a macro.  Corresponds
to Scheme's (vector->list ...).

* gh_data.c (gh_vector_ref): renamed from gh_vref to
gh_vector_ref, so that it resembles the Scheme routines more.
(gh_vector_set): renamed from gh_vset to gh_vector_set, so that it
resembles the Scheme routines more.
(gh_make_vector): this used to be (stupidly) called gh_vector().
This is the right name, since it does the same thing as the Scheme
(make-vector ...) procedure.
libguile/ChangeLog
libguile/gh.h
libguile/gh_data.c
libguile/gh_test_c.c
libguile/gh_test_repl.c