]> sigrok.org Git - libsigrok.git/commitdiff
C++ bindings: Make enums.py work with newer versions of pygccxml.
authorJens Steinhauser <redacted>
Tue, 22 Jul 2014 10:40:57 +0000 (12:40 +0200)
committerBert Vermeulen <redacted>
Tue, 22 Jul 2014 19:06:16 +0000 (21:06 +0200)
bindings/cxx/enums.py

index 46a1472448d28734fbb0951bd3d5523a79b74405..6eeedeaaffcb3bf8d8150a2a4dd5c09f1ff5e0ce 100644 (file)
@@ -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)