C++ bindings: Make enums.py work with newer versions of pygccxml.

This commit is contained in:
Jens Steinhauser 2014-07-22 12:40:57 +02:00 committed by Bert Vermeulen
parent 155b680da4
commit c6036f755a
1 changed files with 1 additions and 1 deletions

View 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)