From c6036f755af6a292b63cc7552caa46e61d6a5789 Mon Sep 17 00:00:00 2001 From: Jens Steinhauser Date: Tue, 22 Jul 2014 12:40:57 +0200 Subject: [PATCH] C++ bindings: Make enums.py work with newer versions of pygccxml. --- bindings/cxx/enums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)