1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-01 15:20:34 +02:00

Fix vtable base layout

* libguile/struct.h (SCM_VTABLE_BASE_LAYOUT): Update for unboxed-fields
representation change.
* module/oop/goops.scm (fold-class-slots): Likewise.
This commit is contained in:
Andy Wingo 2025-06-24 15:12:33 +02:00
parent bd1e5ff688
commit 91ba12f444
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@
"pw" /* printer */ \
"ph" /* name (hidden from make-struct for back-compat reasons) */ \
"uh" /* size */ \
"uh" /* unboxed fields */ \
"ph" /* unboxed fields */ \
"uh" /* reserved */
#define scm_vtable_index_layout 0 /* A symbol describing the physical arrangement of this type. */

View file

@ -192,7 +192,7 @@
(print)
(name #:class <protected-hidden-slot>)
(nfields #:class <hidden-slot>)
(%reserved-6 #:class <hidden-slot>)
(unboxed-fields #:class <protected-hidden-slot>)
(%reserved-7 #:class <hidden-slot>)
(direct-supers)
(direct-slots)