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