portability fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e362f85431
commit
e0c82f6f2b
1 changed files with 2 additions and 1 deletions
|
|
@ -1015,6 +1015,7 @@ public:
|
||||||
ParmList *l = Getattr(n, "parms");
|
ParmList *l = Getattr(n, "parms");
|
||||||
String *tm;
|
String *tm;
|
||||||
String *proxy_constructor_code = NewString("");
|
String *proxy_constructor_code = NewString("");
|
||||||
|
int i;
|
||||||
|
|
||||||
// Holds code for the constructor helper method generated only when the din
|
// Holds code for the constructor helper method generated only when the din
|
||||||
// typemap has code in the pre or post attributes.
|
// typemap has code in the pre or post attributes.
|
||||||
|
|
@ -1060,7 +1061,7 @@ public:
|
||||||
|
|
||||||
/* Output each parameter */
|
/* Output each parameter */
|
||||||
Parm *p = l;
|
Parm *p = l;
|
||||||
for (unsigned int i = 0; p; i++) {
|
for (i = 0; p; i++) {
|
||||||
if (checkAttribute(p, "varargs:ignore", "1")) {
|
if (checkAttribute(p, "varargs:ignore", "1")) {
|
||||||
// Skip ignored varargs.
|
// Skip ignored varargs.
|
||||||
p = nextSibling(p);
|
p = nextSibling(p);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue