* smob.c, smob.h (scm_make_smob_type): New interface to smob
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Sun, 23 May 1999 09:57:31 +0000 (09:57 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Sun, 23 May 1999 09:57:31 +0000 (09:57 +0000)
commit9dd5943c06deae102810328783be7201f7e57999
tree9872d31a6559b1798310e45b2d67c93c015d6400
parent22580a48fe282283284e71ec174bcf05d48d59df
* smob.c, smob.h (scm_make_smob_type): New interface to smob
types (supersedes scm_newsmob).
(scm_set_smob_mark, scm_set_smob_free, scm_set_smob_print,
scm_set_smob_equalp): New functions.  Sets smob functions.
(SCM_NEWSMOB): New macro.  Creates smob objects.
(scm_make_smob): New function.  Creates smob objects and
mallocates memory.
(scm_smob_free, scm_smob_print): Default free and print
functions.
* markers.c, markers.h: Removed.  (Contents moved to smob.c,
smob.h.)
libguile/smob.c
libguile/smob.h