* xmlXPtrNewCollapsedRange: * @start: the starting and ending node * * Create a new xmlXPathObjectPtr of type range using a single nodes * * Returns the newly created object. */
| 503 | * Returns the newly created object. |
| 504 | */ |
| 505 | xmlXPathObjectPtr |
| 506 | xmlXPtrNewCollapsedRange(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: |
no test coverage detected