[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smob cleanup

From: Keisuke Nishida
Subject: Re: smob cleanup
Date: 08 Dec 2000 13:27:39 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.92

Keisuke Nishida <address@hidden> writes:

> > * using SCM_SMOB_PREDICATE is definitely very clean from a stylistic point
> >   of view, but it has the disadvantage that you must include smob.h with
> >   every header file that uses it.  Hmmm.
> I think that's okay.  Should I do that, or leave it as it is now?

I have added the following macro in tags.h:

#define SCM_TYP16_PREDICATE(x,tag) (SCM_NIMP (x) && SCM_TYP16 (x) == (tag))

-- Kei

reply via email to

[Prev in Thread] Current Thread [Next in Thread]