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

Function xmlGetLastChild

ThirdParty/libxml2/vtklibxml2/tree.c:3445–3451  ·  view source on GitHub ↗

* xmlGetLastChild: * @parent: the parent node * * Find the last child of a node. * * Returns the last child or NULL if parent has no children. */

Source from the content-addressed store, hash-verified

3443 * Returns the last child or NULL if parent has no children.
3444 */
3445xmlNodePtr
3446xmlGetLastChild(const xmlNode *parent) {
3447 if ((parent == NULL) || (parent->type == XML_NAMESPACE_DECL)) {
3448 return(NULL);
3449 }
3450 return(parent->last);
3451}
3452
3453#ifdef LIBXML_TREE_ENABLED
3454/*

Callers 2

areBlanksFunction · 0.85
areBlanksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected