From 166eeb1c5a60a42ce9400c4e7002b6b7dd67cad3 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 28 Dec 2007 15:26:56 +0000 Subject: [PATCH] Fix bug in CppInstanceAttributeSetter --- pybindgen/cppattribute.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pybindgen/cppattribute.py b/pybindgen/cppattribute.py index 6ed5db4..1398e7a 100644 --- a/pybindgen/cppattribute.py +++ b/pybindgen/cppattribute.py @@ -144,6 +144,7 @@ class CppInstanceAttributeSetter(PySetter): else: ## else the value is written directly to a C++ instance attribute self.return_value.value = "self->obj->%s" % self.attribute_name + self.return_value.REQUIRES_ASSIGNMENT_CONSTRUCTOR = False self.return_value.convert_python_to_c(self)