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:
parent
3928991383
commit
02efd1cc23
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue