diff options
author | John MacFarlane <[email protected]> | 2015-12-22 22:07:38 -0800 |
---|---|---|
committer | John MacFarlane <[email protected]> | 2015-12-22 22:18:03 -0800 |
commit | a74295a1ea686611498a75dd45597d224ce99287 (patch) | |
tree | a472e4d523d6e7aa72f4db62ca3b578fc4728ff5 /src/scanners.h | |
parent | 4296462bfe31c877f4826f5734813c88c7240770 (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/scanners.h')
-rw-r--r-- | src/scanners.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scanners.h b/src/scanners.h index 4616f9f..735aa5d 100644 --- a/src/scanners.h +++ b/src/scanners.h @@ -21,8 +21,8 @@ bufsize_t _scan_html_block_end_5(const unsigned char *p); bufsize_t _scan_link_url(const unsigned char *p); bufsize_t _scan_link_title(const unsigned char *p); bufsize_t _scan_spacechars(const unsigned char *p); -bufsize_t _scan_atx_header_start(const unsigned char *p); -bufsize_t _scan_setext_header_line(const unsigned char *p); +bufsize_t _scan_atx_heading_start(const unsigned char *p); +bufsize_t _scan_setext_heading_line(const unsigned char *p); bufsize_t _scan_hrule(const unsigned char *p); bufsize_t _scan_open_code_fence(const unsigned char *p); bufsize_t _scan_close_code_fence(const unsigned char *p); @@ -43,8 +43,8 @@ bufsize_t _scan_dangerous_url(const unsigned char *p); #define scan_link_url(c, n) _scan_at(&_scan_link_url, c, n) #define scan_link_title(c, n) _scan_at(&_scan_link_title, c, n) #define scan_spacechars(c, n) _scan_at(&_scan_spacechars, c, n) -#define scan_atx_header_start(c, n) _scan_at(&_scan_atx_header_start, c, n) -#define scan_setext_header_line(c, n) _scan_at(&_scan_setext_header_line, c, n) +#define scan_atx_heading_start(c, n) _scan_at(&_scan_atx_heading_start, c, n) +#define scan_setext_heading_line(c, n) _scan_at(&_scan_setext_heading_line, c, n) #define scan_hrule(c, n) _scan_at(&_scan_hrule, c, n) #define scan_open_code_fence(c, n) _scan_at(&_scan_open_code_fence, c, n) #define scan_close_code_fence(c, n) _scan_at(&_scan_close_code_fence, c, n) |