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

Function cmark_node_set_user_data

src/node.c:295–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295int cmark_node_set_user_data(cmark_node *node, void *user_data) {
296 if (node == NULL) {
297 return 0;
298 }
299 node->user_data = user_data;
300 return 1;
301}
302
303const char *cmark_node_get_literal(cmark_node *node) {
304 if (node == NULL) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected