Document the maximum number of arguments for a subr.
authorLudovic Courtès <ludo@gnu.org>
Sat, 13 Feb 2010 22:50:06 +0000 (23:50 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 13 Feb 2010 22:50:06 +0000 (23:50 +0100)
* doc/ref/api-procedures.texi (Primitive Procedures): Specify the
  maximum number of arguments.  Patch by guign@mails.selgrad.org.

doc/ref/api-procedures.texi

index 4639881..535d059 100644 (file)
@@ -112,7 +112,7 @@ the given @var{name} but no environment binding will be created.  The
 arguments @var{req}, @var{opt} and @var{rst} specify the number of
 required, optional and ``rest'' arguments respectively.  The total
 number of these arguments should match the actual number of arguments
-to @var{fcn}.  The number of rest arguments should be 0 or 1.
+to @var{fcn}, but may not exceed 10.  The number of rest arguments should be 0 or 1.
 @code{scm_c_make_gsubr} returns a value of type @code{SCM} which is a
 ``handle'' for the procedure.
 @end deftypefun