From 11799bcf479ff520d5edb74e32e2acd17ad4e28f Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sun, 10 Jun 2007 12:32:09 +0100 Subject: [PATCH] Fix missing self.declarations in CodeBlock. --- pybindgen/typehandlers/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pybindgen/typehandlers/base.py b/pybindgen/typehandlers/base.py index fa3795f..989858e 100644 --- a/pybindgen/typehandlers/base.py +++ b/pybindgen/typehandlers/base.py @@ -114,6 +114,7 @@ class CodeBlock(object): self._cleanup_actions = {} self._last_cleanup_position = 0 self.error_return = error_return + self.declarations = declarations def declare_variable(self, type_, name, initializer=None, array=None): """