From: Jens Steinhauser Date: Tue, 22 Jul 2014 10:40:57 +0000 (+0200) Subject: C++ bindings: Make enums.py work with newer versions of pygccxml. X-Git-Tag: libsigrok-0.4.0~1224 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c6036f755af6a292b63cc7552caa46e61d6a5789;p=libsigrok.git C++ bindings: Make enums.py work with newer versions of pygccxml. --- diff --git a/bindings/cxx/enums.py b/bindings/cxx/enums.py index 46a14724..6eeedeaa 100644 --- a/bindings/cxx/enums.py +++ b/bindings/cxx/enums.py @@ -35,7 +35,7 @@ dirname = os.path.dirname(os.path.realpath(__file__)) # Parse GCCXML output to get declaration tree. decls = parser.parse_xml_file( - os.path.join(dirname, "libsigrok.xml"), parser.config_t()) + os.path.join(dirname, "libsigrok.xml"), parser.gccxml_configuration_t()) # Get global namespace from declaration tree. ns = declarations.get_global_namespace(decls)