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

Function xmlParserNsCreate

ThirdParty/libxml2/vtklibxml2/parser.c:1452–1462  ·  view source on GitHub ↗

* xmlParserNsCreate: * * Create a new namespace database. * * Returns the new obejct. */

Source from the content-addressed store, hash-verified

1450 * Returns the new obejct.
1451 */
1452xmlParserNsData *
1453xmlParserNsCreate(void) {
1454 xmlParserNsData *nsdb = xmlMalloc(sizeof(*nsdb));
1455
1456 if (nsdb == NULL)
1457 return(NULL);
1458 memset(nsdb, 0, sizeof(*nsdb));
1459 nsdb->defaultNsIndex = INT_MAX;
1460
1461 return(nsdb);
1462}
1463
1464/**
1465 * xmlParserNsFree:

Callers 1

xmlInitSAXParserCtxtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected