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:
William S Fulton 2007-08-09 22:17:12 +00:00
commit aa32a6b094
3 changed files with 19 additions and 0 deletions

View file

@ -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)