varargs patch. Critical that we check all of the language modules to make sure they still work.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-02-04 16:16:12 +00:00
commit 02efd1cc23

View file

@ -250,11 +250,15 @@ int emit_num_arguments(ParmList *parms) {
}
}
#endif
/* DB 04/02/2003: Not sure this is necessary with tmap:in:numinputs */
/*
if (parms && (p = Getattr(parms,"emit:varargs"))) {
if (!nextSibling(p)) {
nargs--;
}
}
*/
return nargs;
}
@ -300,12 +304,14 @@ int emit_num_required(ParmList *parms) {
}
}
}
/* DB 04/02/2003: Not sure this is necessary with tmap:in:numinputs */
/*
if (parms && (p = Getattr(parms,"emit:varargs"))) {
if (!nextSibling(p)) {
nargs--;
}
}
*/
return nargs;
}