* objects.c: #include "smob.h";
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Sun, 14 Mar 1999 16:52:15 +0000 (16:52 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Sun, 14 Mar 1999 16:52:15 +0000 (16:52 +0000)
commitda61c37a083928f8de0d4fc549718f9c95552926
tree8ab635d493b272149146efc77d7a03ade94f8f60
parentd7ec6b9f78683e21e9f84d40bea206918845c947
* objects.c: #include "smob.h";
(scm_class_keyword): Removed.  (Class is automatically created by
make_smob_classes.)
(scm_smob_class): Array of smob classes indexed by smobnum.
(scm_make_extended_class): "Plugin" function pointer for creation
of wrapper classes for smob and struct types.
(scm_class_of): Handle compiled closures.  (Currently regarded as
<procedure>.);
Use scm_smob_class to handle smob types;
Handle scm_tc16_bigpos, scm_tc16_bigneg, and, scm_tc16_keyword
through scm_smob_class;
Handle structs.
* smob.h (SCM_TC2SMOBNUM): New macro for conversion between tc16
type code and smobnum.
libguile/smob.h