diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-14 14:31:43 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-14 14:31:43 -0800 |
commit | 8a65a6ee011a29a319270d2294eea1d6e6a0e5b0 (patch) | |
tree | 94f1392164d80f4af7279af3303b4da42247825f /src | |
parent | 1e00e9b9f94b01744b1880f341162b05429f9c8f (diff) |
Rename get/set_string_content -> get/set_literal.
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 d08d939..3b60d67 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -201,13 +201,13 @@ cmark_node_get_type(cmark_node *node); /** Returns the string contents of 'node', or NULL if none. */ CMARK_EXPORT const char* -cmark_node_get_string_content(cmark_node *node); +cmark_node_get_literal(cmark_node *node); /** Sets the string contents of 'node'. Returns 1 on success, * 0 on failure. */ CMARK_EXPORT int -cmark_node_set_string_content(cmark_node *node, const char *content); +cmark_node_set_literal(cmark_node *node, const char *content); /** Returns the header level of 'node', or 0 if 'node' is not a header. */ @@ -177,7 +177,7 @@ S_strdup(const char *str) { } const char* -cmark_node_get_string_content(cmark_node *node) { +cmark_node_get_literal(cmark_node *node) { if (node == NULL) { return NULL; } @@ -198,7 +198,7 @@ cmark_node_get_string_content(cmark_node *node) { } int -cmark_node_set_string_content(cmark_node *node, const char *content) { +cmark_node_set_literal(cmark_node *node, const char *content) { if (node == NULL) { return 0; } |