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@6156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-08-26 21:15:41 +00:00
commit 9e8092b902

View file

@ -206,7 +206,7 @@ output values.
if (argvi >= items) { if (argvi >= items) {
EXTEND(sp,1); EXTEND(sp,1);
} }
sprintf(temp,"%lld", $1); sprintf(temp,"%lld", *($1));
$result = sv_newmortal(); $result = sv_newmortal();
sv_setpv($result,temp); sv_setpv($result,temp);
argvi++; argvi++;
@ -217,7 +217,7 @@ output values.
if (argvi >= items) { if (argvi >= items) {
EXTEND(sp,1); EXTEND(sp,1);
} }
sprintf(temp,"%llu", $1); sprintf(temp,"%llu", *($1));
$result = sv_newmortal(); $result = sv_newmortal();
sv_setpv($result,temp); sv_setpv($result,temp);
argvi++; argvi++;