Add support for in the out typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ac010f997b
commit
aa32a6b094
3 changed files with 19 additions and 0 deletions
|
|
@ -994,6 +994,12 @@ public:
|
|||
Replaceall(tm, "$source", "result"); /* deprecated */
|
||||
Replaceall(tm, "$target", "jresult"); /* deprecated */
|
||||
Replaceall(tm, "$result", "jresult");
|
||||
|
||||
if (GetFlag(n, "feature:new"))
|
||||
Replaceall(tm, "$owner", "1");
|
||||
else
|
||||
Replaceall(tm, "$owner", "0");
|
||||
|
||||
Printf(f->code, "%s", tm);
|
||||
if (Len(tm))
|
||||
Printf(f->code, "\n");
|
||||
|
|
@ -3459,6 +3465,7 @@ public:
|
|||
Delete(jni_canon);
|
||||
|
||||
Replaceall(tm, "$input", arg);
|
||||
Replaceall(tm, "$owner", "0");
|
||||
|
||||
if (Len(tm))
|
||||
if (!ignored_method)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue