]> sigrok.org Git - libsigrok.git/blobdiff - bindings/cxx/enums.py
C++ bindings: Make enums.py work with newer versions of pygccxml.
[libsigrok.git] / 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)