This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: SCM_SMOB_TAG smob abstraction
- To: Jorgen "forcer" Schaefer <forcer@mindless.com>
- Subject: Re: SCM_SMOB_TAG smob abstraction
- From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
- Date: 08 Sep 1999 10:49:12 +0200
- Cc: guile@sourceware.cygnus.com
- Cc: djurfeldt@nada.kth.se
- References: <199909012038.WAA06176@forcix.roof.lan>
Jorgen "forcer" Schaefer <forcer@mindless.com> writes:
> To faciliate an abstraction for smob tag retrieval similar to the
> SCM_SMOB_DATA functions, it would be nice to have a SCM_SMOB_TAG
> macro (patch below).
I'm not so sure about that.
The type of the object should probably not be regarded as part of the
smob abstraction but rather as a part of the type system.
There already exists a macro for extracting the type of this kind of
objects: SCM_TYP16.