MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlRelaxNGCleanupTypes

Function xmlRelaxNGCleanupTypes

ThirdParty/libxml2/vtklibxml2/relaxng.c:2809–2817  ·  view source on GitHub ↗

* xmlRelaxNGCleanupTypes: * * DEPRECATED: This function will be made private. Call xmlCleanupParser * to free global state but see the warnings there. xmlCleanupParser * should be only called once at program exit. In most cases, you don't * have call cleanup functions at all. * * Cleanup the default Schemas type library associated to RelaxNG */

Source from the content-addressed store, hash-verified

2807 * Cleanup the default Schemas type library associated to RelaxNG
2808 */
2809void
2810xmlRelaxNGCleanupTypes(void)
2811{
2812 xmlSchemaCleanupTypes();
2813 if (xmlRelaxNGTypeInitialized == 0)
2814 return;
2815 xmlHashFree(xmlRelaxNGRegisteredTypes, xmlRelaxNGFreeTypeLibrary);
2816 xmlRelaxNGTypeInitialized = 0;
2817}
2818
2819/************************************************************************
2820 * *

Callers 1

xmlCleanupParserFunction · 0.85

Calls 2

xmlSchemaCleanupTypesFunction · 0.85
xmlHashFreeFunction · 0.85

Tested by

no test coverage detected