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:
parent
728bb9282e
commit
a8d990ca14
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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue