Patch from Ikegami Tsutomu to fix long long *OUTPUT and unsigned long long *OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2b8acdf5a8
commit
ea94a4a0bd
1 changed files with 2 additions and 2 deletions
|
|
@ -206,7 +206,7 @@ output values.
|
|||
if (argvi >= items) {
|
||||
EXTEND(sp,1);
|
||||
}
|
||||
sprintf(temp,"%lld", $1);
|
||||
sprintf(temp,"%lld", *($1));
|
||||
$result = sv_newmortal();
|
||||
sv_setpv($result,temp);
|
||||
argvi++;
|
||||
|
|
@ -217,7 +217,7 @@ output values.
|
|||
if (argvi >= items) {
|
||||
EXTEND(sp,1);
|
||||
}
|
||||
sprintf(temp,"%llu", $1);
|
||||
sprintf(temp,"%llu", *($1));
|
||||
$result = sv_newmortal();
|
||||
sv_setpv($result,temp);
|
||||
argvi++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue