replace by SWIG_POINTER_OWN instead of '1'

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-26 09:40:29 +00:00
commit 96c646da15
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");
}

View file

@ -1260,7 +1260,7 @@ public:
Replaceall(tm,"$target","vresult");
if (GetFlag(n, "feature:new"))
Replaceall(tm,"$owner", "1");
Replaceall(tm,"$owner", "SWIG_POINTER_OWN");
else
Replaceall(tm,"$owner", "0");

View file

@ -455,7 +455,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");
}