Lots of custodian=xxx bug fixes

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2009-11-03 18:30:18 +00:00
1 parent 9864c52786
commit 3bd577d87d
7 files changed
+77 -42

No files matched your search

+1
View File
@@ -625,6 +625,7 @@ class CppFunctionAsConstructor(CppConstructor):
## FIXME: check caller_owns_return in self.function_return_value
self.before_call.write_code("self->obj = %s(%s);" %
(self.c_function_name, ", ".join(self.call_params)))
self.before_call.write_code("self->flags = PYBINDGEN_WRAPPER_FLAG_NONE;")
class CppOverloadedConstructor(overloading.OverloadedWrapper):