[Top][All Lists]

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

Re: proposal: stricter type-checking for macros

From: Marius Vollmer
Subject: Re: proposal: stricter type-checking for macros
Date: Sun, 25 Apr 2004 01:42:59 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Han-Wen Nienhuys <address@hidden> writes:

> 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.

:-)  Yes, I noticed, but only after I wrote that mail...

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

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