Directors default to "owned" (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ebb9ed7277
commit
ae6a5a8f4e
1 changed files with 1 additions and 1 deletions
|
|
@ -1674,7 +1674,7 @@ public:
|
||||||
Wrapper_print(w, f_directors);
|
Wrapper_print(w, f_directors);
|
||||||
DelWrapper(w);
|
DelWrapper(w);
|
||||||
}
|
}
|
||||||
Printf(f_directors_h, " __DIRECTOR__%s(PyObject* self, int __disown = 1);\n", classname);
|
Printf(f_directors_h, " __DIRECTOR__%s(PyObject* self, int __disown = 0);\n", classname);
|
||||||
Delete(classname);
|
Delete(classname);
|
||||||
return Language::classDirectorDefaultConstructor(n);
|
return Language::classDirectorDefaultConstructor(n);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue