This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SCM_SMOB_TAG smob abstraction


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]