MCPcopy Create free account
hub / github.com/commonmark/cmark / cmark_node_free

Function cmark_node_free

src/node.c:160–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void cmark_node_free(cmark_node *node) {
161 S_node_unlink(node);
162 node->next = NULL;
163 S_free_nodes(node);
164}
165
166cmark_node_type cmark_node_get_type(cmark_node *node) {
167 if (node == NULL) {

Callers 15

constructorFunction · 0.85
classifiersFunction · 0.85
accessorsFunction · 0.85
free_parentFunction · 0.85
node_checkFunction · 0.85
iteratorFunction · 0.85
iterator_deleteFunction · 0.85
create_treeFunction · 0.85
custom_nodesFunction · 0.85
hierarchyFunction · 0.85
test_contentFunction · 0.85
render_htmlFunction · 0.85

Calls 2

S_node_unlinkFunction · 0.85
S_free_nodesFunction · 0.85

Tested by 2

test_contentFunction · 0.68