remove redundant, unnecessary instance size from struct vtables
authorAndy Wingo <wingo@pobox.com>
Sun, 1 Nov 2009 20:09:42 +0000 (21:09 +0100)
committerAndy Wingo <wingo@pobox.com>
Sun, 15 Nov 2009 19:28:12 +0000 (20:28 +0100)
commit26fe6af140fd7e3042bfc628e5fb60b382d6a126
tree8e2a191a49213050bf4c89888b465bfe522dc8c9
parentefcebb5b56a315f42c32e8bbc682d218a38c9428
remove redundant, unnecessary instance size from struct vtables

* libguile/struct.h (scm_struct_i_size): Remove this shared field -- I
  mean, the slot is still there, but it's only used for flags.

* libguile/goops.h (SCM_SET_CLASS_INSTANCE_SIZE):
* libguile/goops.c (scm_sys_inherit_magic_x, scm_make_class): Remove
  uses and definition of SCM_SET_CLASS_INSTANCE_SIZE. Light structs used
  it, but you have that info in the layout; and foreign classes used it,
  but that is going away soon anyway :)
libguile/goops.c
libguile/goops.h
libguile/struct.h