MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_xml3_node_next

Function acl_xml3_node_next

lib_acl/src/xml/acl_xml3.c:180–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180ACL_XML3_NODE *acl_xml3_node_next(ACL_XML3_NODE *node)
181{
182 ACL_RING *ring_ptr = acl_ring_succ(&node->node);
183 ACL_XML3_NODE *parent;
184
185 if (ring_ptr == &node->node)
186 return NULL;
187
188 parent = node->parent;
189 acl_assert(parent != NULL);
190 if (ring_ptr == &parent->children)
191 return NULL;
192
193 return acl_ring_to_appl(ring_ptr, ACL_XML3_NODE, node);
194}
195
196ACL_XML3_NODE *acl_xml3_node_prev(ACL_XML3_NODE *node)
197{

Callers 1

test_getElementByIdFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_getElementByIdFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…