From 0ef71e5c865df3413bcb9e20ed5155ba8b0e39aa Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 25 Jul 2008 19:32:10 +0100 Subject: [PATCH] Generate #include if we're about to use typeid() operator --- pybindgen/cppclass.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pybindgen/cppclass.py b/pybindgen/cppclass.py index f144e9b..0a17f96 100644 --- a/pybindgen/cppclass.py +++ b/pybindgen/cppclass.py @@ -910,6 +910,7 @@ class CppClass(object): if self.helper_class is None: if not self.is_singleton: self.helper_class = CppHelperClass(self) + self.module.add_include('') return self.helper_class def get_type_narrowing_root(self):