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


forcer <forcer@mindless.com> writes:

> Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:
> 
> > There already exists a macro for extracting the type of this kind of
> > objects: SCM_TYP16.
> 
> I didn't know about SCM_TYP16, all i wanted was an easy way to
> check that a passed argument actually is the type (smob) i want.
> 
> The documentation examples use SCM_CAR, which is suboptimal,
> imho, so it should be changed.

Yes.

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