mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
* stacks.c (scm_init_stacks): Pass a string, not a layout object,
to scm_make_vtable_vtable. (Thanks to Dale P. Smith.)
This commit is contained in:
parent
3ce4544cfa
commit
b299f5cd5b
1 changed files with 1 additions and 2 deletions
|
@ -734,10 +734,9 @@ void
|
|||
scm_init_stacks ()
|
||||
{
|
||||
SCM vtable;
|
||||
SCM vtable_layout = scm_make_struct_layout (scm_nullstr);
|
||||
SCM stack_layout
|
||||
= scm_make_struct_layout (scm_makfrom0str (SCM_STACK_LAYOUT));
|
||||
vtable = scm_make_vtable_vtable (vtable_layout, SCM_INUM0, SCM_EOL);
|
||||
vtable = scm_make_vtable_vtable (scm_nullstr, SCM_INUM0, SCM_EOL);
|
||||
scm_stack_type
|
||||
= scm_permanent_object (scm_make_struct (vtable, SCM_INUM0,
|
||||
scm_cons (stack_layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue