diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-13 11:24:26 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-13 11:24:26 -0800 |
commit | 225d720d6e9b473c7d6498e811b3f412472cc9ce (patch) | |
tree | b3f1b4f97a43a09dfddd060b0b4f8696e496f739 /src/node.c | |
parent | 831bf6de49ae58bd3630f40bdb6f8bc5371a33dd (diff) |
Removed cmark_ prefix on chunk and strbuf.
This isn't needed any more since we don't expose these in the API.
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -46,7 +46,7 @@ void S_free_nodes(cmark_node *e) case NODE_TEXT: case NODE_INLINE_HTML: case NODE_INLINE_CODE: - cmark_chunk_free(&e->as.literal); + chunk_free(&e->as.literal); break; case NODE_LINK: case NODE_IMAGE: @@ -184,12 +184,12 @@ cmark_node_get_string_content(cmark_node *node) { switch (node->type) { case NODE_CODE_BLOCK: case NODE_HTML: - return cmark_strbuf_cstr(&node->string_content); + return strbuf_cstr(&node->string_content); case NODE_TEXT: case NODE_INLINE_HTML: case NODE_INLINE_CODE: - return cmark_chunk_to_cstr(&node->as.literal); + return chunk_to_cstr(&node->as.literal); default: break; @@ -207,13 +207,13 @@ cmark_node_set_string_content(cmark_node *node, const char *content) { switch (node->type) { case NODE_CODE_BLOCK: case NODE_HTML: - cmark_strbuf_sets(&node->string_content, content); + strbuf_sets(&node->string_content, content); return 1; case NODE_TEXT: case NODE_INLINE_HTML: case NODE_INLINE_CODE: - cmark_chunk_set_cstr(&node->as.literal, content); + chunk_set_cstr(&node->as.literal, content); return 1; default: @@ -356,7 +356,7 @@ cmark_node_get_fence_info(cmark_node *node) { } if (node->type == NODE_CODE_BLOCK) { - return cmark_strbuf_cstr(&node->as.code.info); + return strbuf_cstr(&node->as.code.info); } else { return NULL; @@ -370,7 +370,7 @@ cmark_node_set_fence_info(cmark_node *node, const char *info) { } if (node->type == NODE_CODE_BLOCK) { - cmark_strbuf_sets(&node->as.code.info, info); + strbuf_sets(&node->as.code.info, info); return 1; } else { |