Add new test and make it work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
875d4b927f
commit
64bb416577
2 changed files with 18 additions and 3 deletions
|
|
@ -1208,7 +1208,7 @@
|
|||
}
|
||||
|
||||
%typemap(out) SWIGTYPE {
|
||||
sciErr = createPointer(pvApiCtx, iVarOut, (void *)&$result);
|
||||
sciErr = createPointer(pvApiCtx, iVarOut, %new_copy($result, $1_ltype));
|
||||
if (sciErr.iErr) {
|
||||
printError(&sciErr, 0);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue