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: