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

Function cmark_node_set_list_tight

src/node.c:472–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472int cmark_node_set_list_tight(cmark_node *node, int tight) {
473 if (node == NULL) {
474 return 0;
475 }
476
477 if (node->type == CMARK_NODE_LIST) {
478 node->as.list.tight = tight == 1;
479 return 1;
480 } else {
481 return 0;
482 }
483}
484
485const char *cmark_node_get_fence_info(cmark_node *node) {
486 if (node == NULL) {

Callers 1

accessorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected