This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Suggestion: SCM_DEBUG_REST_ARGUMENTS (fwd)


Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> On 16 May 2000, Jost Boekemeier wrote:
> (in private mail, but with permission to forward)
> 
> > Functions which are local to the evaluator don't have to check their
> > arguments but *all* functions reachable by user code must check their
> > arguments.  I don't think that functions which are both local to the
> > evaluator and callable by user code do exist.
>

>> If you call this from C via
>   ...
>   SCM result = scm_append (args);
>   ...

Hmm.  Rename `scm_append' to `scm_append_internal' and create a
function `scm_append' which checks if `args' is a proper list.

And throw out those #ifdefs!


Jost


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]