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

Function initializeLibxml2

ThirdParty/libxml2/vtklibxml2/runtest.c:277–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277static void
278initializeLibxml2(void) {
279 /*
280 * This verifies that xmlInitParser doesn't allocate memory with
281 * xmlMalloc
282 */
283 xmlFree = NULL;
284 xmlMalloc = NULL;
285 xmlRealloc = NULL;
286 xmlMemStrdup = NULL;
287 xmlInitParser();
288 xmlMemSetup(xmlMemFree, xmlMemMalloc, xmlMemRealloc, xmlMemoryStrdup);
289 xmlSetExternalEntityLoader(testExternalEntityLoader);
290#ifdef LIBXML_SCHEMAS_ENABLED
291 xmlSchemaInitTypes();
292 xmlRelaxNGInitTypes();
293#endif
294}
295
296
297/************************************************************************

Callers 1

mainFunction · 0.70

Calls 5

xmlInitParserFunction · 0.85
xmlMemSetupFunction · 0.85
xmlSchemaInitTypesFunction · 0.85
xmlRelaxNGInitTypesFunction · 0.85

Tested by

no test coverage detected