summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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: