deprecate scm_struct_table
authorAndy Wingo <wingo@pobox.com>
Sun, 1 May 2011 21:00:55 +0000 (23:00 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 1 May 2011 21:01:14 +0000 (23:01 +0200)
commitf3c6a02c885ad29f6af0d786e14e34c81d49470f
tree474cafafa5a568854070b7900ff3a4116aef1a83
parent1d9c2e6271105ee0f728127d9b544432b7cc0f4f
deprecate scm_struct_table

* libguile/goops.h:
* libguile/goops.c (scm_i_define_class_for_vtable): New internal helper,
  defines a class for a vtable, relying on the name slot being set
  correctly.
  (scm_class_of, create_struct_classes): Use the local vtable-to-class
  map instead of scm_struct_table.

* libguile/struct.h (SCM_STRUCT_TABLE_NAME, SCM_SET_STRUCT_TABLE_NAME)
  (SCM_STRUCT_TABLE_CLASS, SCM_SET_STRUCT_TABLE_CLASS, scm_struct_table)
  (scm_struct_create_handle): Deprecate these internals of the map
  between structs and classes.

* libguile/deprecated.h:
* libguile/deprecated.c (scm_struct_create_handle): Deprecated code over
  here now.
libguile/deprecated.c
libguile/deprecated.h
libguile/goops.c
libguile/goops.h
libguile/struct.c
libguile/struct.h