mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
* objects.c (scm_init_objects), print.c (scm_init_print), struct.c
(scm_init_struct): First arg to scm_make_vtable_vtable should be a string, not a symbol. (`make-vtable-vtable' needs to append this string to another string and then pass it through `make-struct-layout'.)
This commit is contained in:
parent
06f0414c85
commit
3ce4544cfa
2 changed files with 3 additions and 7 deletions
|
@ -468,13 +468,11 @@ void
|
|||
scm_init_objects ()
|
||||
{
|
||||
SCM ms = scm_makfrom0str (SCM_METACLASS_STANDARD_LAYOUT);
|
||||
SCM ml = scm_make_struct_layout (ms);
|
||||
SCM mt = scm_make_vtable_vtable (ml, SCM_INUM0,
|
||||
SCM mt = scm_make_vtable_vtable (ms, SCM_INUM0,
|
||||
SCM_LIST3 (SCM_BOOL_F, SCM_EOL, SCM_EOL));
|
||||
|
||||
SCM os = scm_makfrom0str (SCM_METACLASS_OPERATOR_LAYOUT);
|
||||
SCM ol = scm_make_struct_layout (os);
|
||||
SCM ot = scm_make_vtable_vtable (ol, SCM_INUM0,
|
||||
SCM ot = scm_make_vtable_vtable (os, SCM_INUM0,
|
||||
SCM_LIST3 (SCM_BOOL_F, SCM_EOL, SCM_EOL));
|
||||
|
||||
SCM es = scm_makfrom0str (SCM_ENTITY_LAYOUT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue