mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 16:20:17 +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
|
@ -1113,9 +1113,7 @@ scm_init_print ()
|
|||
SCM vtable, layout, type;
|
||||
|
||||
scm_init_opts (scm_print_options, scm_print_opts, SCM_N_PRINT_OPTIONS);
|
||||
vtable = scm_make_vtable_vtable (scm_make_struct_layout (scm_nullstr),
|
||||
SCM_INUM0,
|
||||
SCM_EOL);
|
||||
vtable = scm_make_vtable_vtable (scm_nullstr, SCM_INUM0, SCM_EOL);
|
||||
layout = scm_make_struct_layout (scm_makfrom0str (SCM_PRINT_STATE_LAYOUT));
|
||||
type = scm_make_struct (vtable, SCM_INUM0, SCM_LIST1 (layout));
|
||||
scm_set_struct_vtable_name_x (type, SCM_CAR (scm_intern0 ("print-state")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue