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]

"too many args" error


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

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