aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-19 16:18:44 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-19 16:18:44 +0100
commit18169a8174cd0c49d64d95a3b9509a66d359da27 (patch)
treef87d29dbaf2d2e693ec9bef4d031e6496b9ec0f0 /src
parenta595a84f691009808d58226ba0ada52e995ff224 (diff)
Rename {get|set}_content to {get|set}_string_content
Diffstat (limited to 'src')
-rw-r--r--src/cmark.h4
-rw-r--r--src/node.c4
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);
diff --git a/src/node.c b/src/node.c
index c5ce642..9119c63 100644
--- a/src/node.c
+++ b/src/node.c
@@ -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: