check layout when making vtables
authorAndy Wingo <wingo@pobox.com>
Tue, 4 May 2010 21:20:12 +0000 (23:20 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 4 May 2010 21:48:10 +0000 (23:48 +0200)
commit631237b46cde38bb2b1bb450b0db8e9664a28cb7
tree46ac855ef0df45bb41e41a70e94d1269d00affd4
parent42a710680d23d44fe43ae08339691e9424be4471
check layout when making vtables

* libguile/struct.c (scm_is_valid_vtable_layout): New private layout
  validating function.
  (scm_i_struct_inherit_vtable_magic): Do a more proper layout
  validation, and don't abort.
libguile/struct.c