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

Function xmlXPtrNewCollapsedRange

ThirdParty/libxml2/vtklibxml2/xpointer.c:505–514  ·  view source on GitHub ↗

* xmlXPtrNewCollapsedRange: * @start: the starting and ending node * * Create a new xmlXPathObjectPtr of type range using a single nodes * * Returns the newly created object. */

Source from the content-addressed store, hash-verified

503 * Returns the newly created object.
504 */
505xmlXPathObjectPtr
506xmlXPtrNewCollapsedRange(xmlNodePtr start) {
507 xmlXPathObjectPtr ret;
508
509 if (start == NULL)
510 return(NULL);
511
512 ret = xmlXPtrNewRangeInternal(start, -1, NULL, -1);
513 return(ret);
514}
515
516/**
517 * xmlXPtrNewRangeNodeObject:

Callers 2

Calls 1

xmlXPtrNewRangeInternalFunction · 0.85

Tested by

no test coverage detected