replace by SWIG_POINTER_OWN instead of '1'

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-26 09:40:29 +00:00
commit a8d990ca14
3 changed files with 3 additions and 3 deletions

View file

@ -1455,7 +1455,7 @@ public:
Replaceall(tm,"$target", "resultobj");
Replaceall(tm,"$result", "resultobj");
if (GetFlag(n,"feature:new")) {
Replaceall(tm,"$owner","1");
Replaceall(tm,"$owner","SWIG_POINTER_OWN");
} else {
Replaceall(tm,"$owner","0");
}