1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +02:00

a couple of name changes for consistency with ! -> _x

This commit is contained in:
Mark Galassi 1997-10-20 17:32:08 +00:00
parent 7fee59bd4a
commit 956328d2a4
4 changed files with 13 additions and 4 deletions

4
NEWS
View file

@ -298,8 +298,8 @@ output port. Corresponds to the scheme level `write'.
Several major changes. In particular, gh_vector() now resembles
(vector ...) (with a caveat -- see manual), and gh_make_vector() now
exists and behaves like (make-vector ...). gh_vref() and gh_vset()
have been renamed gh_vector_set() and gh_vector_ref(). Some missing
exists and behaves like (make-vector ...). gh_vset() and gh_vref()
have been renamed gh_vector_set_x() and gh_vector_ref(). Some missing
vector-related gh_ functions have been implemented.
** pair and list routines

View file

@ -1,3 +1,12 @@
1997-10-20 Mark Galassi <rosalia@nis.lanl.gov>
* gh.h: gh_vector_set -> gh_vector_set_x
1997-10-20 Mark Galassi <rosalia@nis.lanl.gov>
* gh_data.c (gh_vector_set_x): changed name to make it consistent
with the ! -> _x mapping when going from Scheme to C.
1997-10-19 Mark Galassi <rosalia@cygnus.com>
* gh.h (gh_reverse):

View file

@ -157,7 +157,7 @@ SCM gh_define(char *name, SCM val);
SCM gh_make_vector(SCM length, SCM val);
SCM gh_vset(SCM vec, SCM pos, SCM val);
SCM gh_vref(SCM vec, SCM pos);
SCM gh_vector_set(SCM vec, SCM pos, SCM val);
SCM gh_vector_set_x(SCM vec, SCM pos, SCM val);
SCM gh_vector_ref(SCM vec, SCM pos);
unsigned long gh_vector_length(SCM v);
#define gh_list_to_vector(ls) scm_vector(ls)

View file

@ -276,7 +276,7 @@ gh_make_vector (SCM len, SCM fill)
/* set the given element of the given vector to the given value */
SCM
gh_vector_set (SCM vec, SCM pos, SCM val)
gh_vector_set_x (SCM vec, SCM pos, SCM val)
{
return scm_vector_set_x (vec, pos, val);
}