From b1641fd3e7ab71b87004c6a034cb17d40d515b6c Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Wed, 7 May 2008 17:57:44 +0100 Subject: [PATCH] pygen implicit conversions --- pybindgen/gccxmlparser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pybindgen/gccxmlparser.py b/pybindgen/gccxmlparser.py index 2c41a02..69775f1 100644 --- a/pybindgen/gccxmlparser.py +++ b/pybindgen/gccxmlparser.py @@ -909,6 +909,8 @@ class ModuleParser(object): #other_class = type_registry.find_class(operator.return_type.decl_string, '::') other_class = root_module[normalize_class_name(operator.return_type.decl_string, '::')] class_wrapper.implicitly_converts_to(other_class) + self.pygen_sink.writeln("root_module[%r].implicitly_converts_to(root_module[%r])" + % (class_wrapper.full_name, other_class.full_name)) pygen_function_closed = False if outer_class is None: