1 --- ./CXX/Python2/ExtensionOldType.hxx-memleak_fix 2011-07-26 17:32:57.230429675 +0200
2 +++ ./CXX/Python2/ExtensionOldType.hxx 2011-07-26 17:34:05.384066472 +0200
3 @@ -178,7 +178,7 @@ namespace Py
6 self[0] = Object( this );
7 - self[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ) );
8 + self[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ), true );
10 PyObject *func = PyCFunction_New( &method_def->ext_meth_def, self.ptr() );
12 --- ./CXX/Python2/ExtensionModule.hxx-memleak_fix 2011-07-26 17:34:21.287470428 +0200
13 +++ ./CXX/Python2/ExtensionModule.hxx 2011-07-26 17:35:49.331193448 +0200
14 @@ -139,8 +139,8 @@ namespace Py
15 static PyObject *self = PyCObject_FromVoidPtr( this, do_not_dealloc );
18 - args[0] = Object( self );
19 - args[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ) );
20 + args[0] = Object( self, true );
21 + args[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ), true );
23 PyObject *func = PyCFunction_New
25 --- ./CXX/Python3/ExtensionModule.hxx.memleak_fix 2011-07-26 18:55:45.910115406 +0200
26 +++ ./CXX/Python3/ExtensionModule.hxx 2011-07-26 18:56:55.327162541 +0200
27 @@ -137,8 +137,8 @@ namespace Py
28 static PyObject *self = PyCObject_FromVoidPtr( this, do_not_dealloc );
31 - args[0] = Object( self );
32 - args[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ) );
33 + args[0] = Object( self, true );
34 + args[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ), true );
36 PyObject *func = PyCFunction_New
38 --- ./CXX/Python3/ExtensionOldType.hxx.memleak_fix 2011-07-26 18:54:39.309749026 +0200
39 +++ ./CXX/Python3/ExtensionOldType.hxx 2011-07-26 18:55:25.346669091 +0200
40 @@ -178,7 +178,7 @@ namespace Py
43 self[0] = Object( this );
44 - self[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ) );
45 + self[1] = Object( PyCObject_FromVoidPtr( method_def, do_not_dealloc ), true );
47 PyObject *func = PyCFunction_New( &method_def->ext_meth_def, self.ptr() );