diff options
author | Andy Wingo <wingo@pobox.com> | 2009-12-07 11:14:01 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-12-07 11:21:59 +0100 |
commit | 66e78727d602b0c59bf4633951eac17d3697bfc0 (patch) | |
tree | 8121466595e4d5dc1d5d0b7c929e548e3d905de0 /libguile/arrays.h | |
parent | ea68d342f18c3d2082ce6a4fb39bd38b6af932cc (diff) | |
download | guile-66e78727d602b0c59bf4633951eac17d3697bfc0.tar.gz |
add scm_c_make_struct[v]
* libguile/struct.h (scm_c_make_struct, scm_c_make_structv): New
functions with which you can make a struct without consing a rest
list.
* libguile/struct.c (scm_struct_init): Refactor to take an array of init
values, not a list.
(scm_make_struct, scm_make_vtable_vtable): Pull the rest arg out into
a list and pass it down to the new array-taking functions.
* libguile/memoize.c: Remove a neeless #include <alloca>.
Diffstat (limited to 'libguile/arrays.h')
0 files changed, 0 insertions, 0 deletions