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: Marius Vollmer
Subject: Re: proposal: stricter type-checking for macros
Date: Sun, 25 Apr 2004 00:09:51 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

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?

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




reply via email to

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