guile-devel
[Top][All Lists]
Advanced

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

Re: proposal: stricter type-checking for macros


From: Han-Wen Nienhuys
Subject: Re: proposal: stricter type-checking for macros
Date: Sun, 25 Apr 2004 00:54:40 +0200

address@hidden writes:
> Han-Wen Nienhuys  <address@hidden> writes:
> 
> > I vote for
> >
> >   #define TYPECHECKED(x) (0? (*(SCM*)0=(x)): x)
> >
> > which returns x, and obviates the void casting.
> 
> How would you want to install this into Guile?  Would it be part of
> the public API or would we just use it in a lot of places ourselves?

Huh?

See tags.h , #define SCM_UNPACK . I've put this into GUILE on 28/3.


-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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