C++ bindings: Make enums.py work with newer versions of pygccxml.
This commit is contained in:
parent
155b680da4
commit
c6036f755a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue