64 bit platform fixes for the varargs handling in SWIG_GetArgs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
019f10805e
commit
f6a17a171c
1 changed files with 2 additions and 2 deletions
|
|
@ -338,7 +338,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
Putc('o',argstr);
|
Putc('o',argstr);
|
||||||
Printf(args,",NULL");
|
Printf(args,",(void *)0");
|
||||||
if (i >= num_required) {
|
if (i >= num_required) {
|
||||||
Printf(incode, "if (objc > %d) {\n", i+1);
|
Printf(incode, "if (objc > %d) {\n", i+1);
|
||||||
}
|
}
|
||||||
|
|
@ -353,7 +353,7 @@ public:
|
||||||
SwigType *lt = SwigType_ltype(pt);
|
SwigType *lt = SwigType_ltype(pt);
|
||||||
SwigType_remember(pt);
|
SwigType_remember(pt);
|
||||||
if (Cmp(lt,"p.void") == 0) {
|
if (Cmp(lt,"p.void") == 0) {
|
||||||
Printf(args,",NULL");
|
Printf(args,",(void *)0");
|
||||||
} else {
|
} else {
|
||||||
Printf(args,",SWIGTYPE%s", SwigType_manglestr(pt));
|
Printf(args,",SWIGTYPE%s", SwigType_manglestr(pt));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue