summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:07:38 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:18:03 -0800
commita74295a1ea686611498a75dd45597d224ce99287 (patch)
treea472e4d523d6e7aa72f4db62ca3b578fc4728ff5 /src/node.h
parent4296462bfe31c877f4826f5734813c88c7240770 (diff)
Rename 'header' -> 'heading'.
See jgm/CommonMark commit 0cdbcee4e840abd0ac7db93797b2b75ca4104314 Note that we have defined cmark_node_get_header_level = cmark_node_get_heading_level and cmark_node_set_header_level = camrk_node_set_heading_level for backwards compatibility in the API.
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.h b/src/node.h
index cc93d23..397d8e3 100644
--- a/src/node.h
+++ b/src/node.h
@@ -35,7 +35,7 @@ typedef struct {
typedef struct {
int level;
bool setext;
-} cmark_header;
+} cmark_heading;
typedef struct {
cmark_chunk url;
@@ -72,7 +72,7 @@ struct cmark_node {
cmark_chunk literal;
cmark_list list;
cmark_code code;
- cmark_header header;
+ cmark_heading heading;
cmark_link link;
cmark_custom custom;
int html_block_type;