diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-09 04:42:53 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-09 04:42:53 +0200 |
commit | f13867f64fcba24ef2cb9d726b5ee1082ac1a8b9 (patch) | |
tree | d7186eb2a2c2d2e36c05cc702eb0ab0b3c877443 /pcilib/xml.c | |
parent | 3b8e32c9bbe0d909c34303da0ad36ef0ef5be852 (diff) | |
download | pcitool-f13867f64fcba24ef2cb9d726b5ee1082ac1a8b9.tar.gz pcitool-f13867f64fcba24ef2cb9d726b5ee1082ac1a8b9.tar.bz2 pcitool-f13867f64fcba24ef2cb9d726b5ee1082ac1a8b9.tar.xz pcitool-f13867f64fcba24ef2cb9d726b5ee1082ac1a8b9.zip |
Implement enum view
Diffstat (limited to 'pcilib/xml.c')
-rw-r--r-- | pcilib/xml.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pcilib/xml.c b/pcilib/xml.c index c431b73..25ffbfe 100644 --- a/pcilib/xml.c +++ b/pcilib/xml.c @@ -516,7 +516,7 @@ static int pcilib_xml_create_transform_view(pcilib_t *ctx, xmlXPathContextPtr xp pcilib_transform_view_description_t desc = {0}; - desc.base.api = &pcilib_enum_view_xml_api; + desc.base.api = &pcilib_transform_view_api; err = pcilib_xml_parse_view(ctx, xpath, doc, node, (pcilib_view_description_t*)&desc); if (err) return err; @@ -1037,6 +1037,7 @@ void pcilib_free_xml(pcilib_t *ctx) { xmlFreeParserCtxt(ctx->xml.parser); ctx->xml.parser = NULL; } + /* xmlSchemaCleanupTypes(); xmlCleanupParser(); |