From 9b1f0130a7765e57763f4282df57c2b96dfa78e0 Mon Sep 17 00:00:00 2001 From: Mark Rose Date: Fri, 19 Sep 2003 23:37:37 +0000 Subject: [PATCH] Directors default to "owned" (python) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5129 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/python.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Modules/python.cxx b/SWIG/Source/Modules/python.cxx index 5bf33f74c..d4ef40bcd 100644 --- a/SWIG/Source/Modules/python.cxx +++ b/SWIG/Source/Modules/python.cxx @@ -1674,7 +1674,7 @@ public: Wrapper_print(w, f_directors); 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); return Language::classDirectorDefaultConstructor(n); }