This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
"too many args" error
- To: guile at sourceware dot cygnus dot com
- Subject: "too many args" error
- From: Tal Tversky <tal at cs dot utexas dot edu>
- Date: Thu, 11 May 2000 03:34:53 -0500 (CDT)
- References: <14577.64941.187870.127469@wensleydale.cs.utexas.edu><s3bt3hhqfz.fsf@bigfoot.com>
Hello all,
I'm trying to use gh_new_procedure to define a function that has more
than 10 args (actually it's not my function, I'm building a really
basic interface to the plplot library). I traced the error back to
this set of lines in gsubr.c:
if (SCM_GSUBR_MAX < req + opt + rst) {
fputs("ERROR in scm_make_gsubr: too many args\n", stderr);
exit (1);
}
Simply increasing SCM_GSUBR_MAX doesn't solve the problem. Is there a
way for me to define functions with lots of args? One of the
functions I want to access from guile has 23 args (!?).
Thanks in advance,
Tal
tal@cs.utexas.edu