diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-19 16:18:44 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-19 16:18:44 +0100 |
commit | 18169a8174cd0c49d64d95a3b9509a66d359da27 (patch) | |
tree | f87d29dbaf2d2e693ec9bef4d031e6496b9ec0f0 /src | |
parent | a595a84f691009808d58226ba0ada52e995ff224 (diff) |
Rename {get|set}_content to {get|set}_string_content
Diffstat (limited to 'src')
-rw-r--r-- | src/cmark.h | 4 | ||||
-rw-r--r-- | src/node.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cmark.h b/src/cmark.h index 18081db..e677ed0 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -90,10 +90,10 @@ CMARK_EXPORT cmark_node_type cmark_node_get_type(cmark_node *node); CMARK_EXPORT const char* -cmark_node_get_content(cmark_node *node); +cmark_node_get_string_content(cmark_node *node); CMARK_EXPORT int -cmark_node_set_content(cmark_node *node, const char *content); +cmark_node_set_string_content(cmark_node *node, const char *content); CMARK_EXPORT const char* cmark_node_get_url(cmark_node *node); @@ -96,7 +96,7 @@ S_strdup(const char *str) { } const char* -cmark_node_get_content(cmark_node *node) { +cmark_node_get_string_content(cmark_node *node) { switch (node->type) { case NODE_STRING: case NODE_INLINE_HTML: @@ -110,7 +110,7 @@ cmark_node_get_content(cmark_node *node) { } int -cmark_node_set_content(cmark_node *node, const char *content) { +cmark_node_set_string_content(cmark_node *node, const char *content) { switch (node->type) { case NODE_STRING: case NODE_INLINE_HTML: |