guile-devel
[Top][All Lists]
Advanced

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

Re: SCM_CALL_N


From: Neil Jerram
Subject: Re: SCM_CALL_N
Date: 26 Jun 2001 21:56:39 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Lars" == Lars J Aas <address@hidden> writes:

    Dirk> Instead, SCM_UNDEFINED should be used to terminate the
    Dirk> argument list, : since it can never represent any legal
    Dirk> object.

    Lars> Good point about not using SCM_EOL.  Might be still better
    Lars> to use NULL for terminator though, since it's the most
    Lars> common practice and ideal for use as a C condition (NULL is
    Lars> FALSE, everything else is TRUE).

SCM_UNDEFINED is already used for this purpose in gh_list, so I'd vote
for sticking with SCM_UNDEFINED.

        Neil

(Note that the documentation for this was incorrect: in different
places, it used to say each of SCM_EOL, SCM_UNSPECIFIED and
SCM_UNDEFINED; now fixed.)




reply via email to

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