[Top][All Lists]

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

doc subr rest arg

From: Kevin Ryde
Subject: doc subr rest arg
Date: Thu, 21 Apr 2005 08:25:27 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

I added a bit to scm_c_define_gsubr about not changing the rest arg.

     If RST is non-zero, then any arguments after the first `REQ + OPT'
     are packaged up as a list and passed as FUNCTION's last argument.


     FUNCTION must not modify that list.  (Because when subr is called
     through `apply' the list comes directly from the `apply' list
     argument.  This list is copied when dispatching to a scheme
     procedure, but not when going to a subr.)

reply via email to

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