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

Function cmark_node_new

src/node.c:115–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115cmark_node *cmark_node_new(cmark_node_type type) {
116 extern cmark_mem DEFAULT_MEM_ALLOCATOR;
117 return cmark_node_new_with_mem(type, &DEFAULT_MEM_ALLOCATOR);
118}
119
120// Free a cmark_node list and any children.
121static void S_free_nodes(cmark_node *e) {

Callers 9

constructorFunction · 0.85
classifiersFunction · 0.85
node_checkFunction · 0.85
create_treeFunction · 0.85
custom_nodesFunction · 0.85
hierarchyFunction · 0.85
test_contentFunction · 0.85
render_commonmarkFunction · 0.85
sub_documentFunction · 0.85

Calls 1

cmark_node_new_with_memFunction · 0.85

Tested by 1

test_contentFunction · 0.68