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:
parent
bd5892b0f4
commit
96c646da15
3 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue