diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-29 22:31:17 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-29 22:31:17 -0800 |
commit | 9c5d074b0067b564f230b3770b2026afb9bb6998 (patch) | |
tree | f399a256c4b3c05d9889df8d2c691b80329785cd /src/blocks.c | |
parent | dee580425077fd177f49cddf64a157af032fbb3f (diff) |
Added cmark_ prefix to functions in cmark_ctype.
Diffstat (limited to 'src/blocks.c')
-rw-r--r-- | src/blocks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/blocks.c b/src/blocks.c index b3ea362..6a89312 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -348,7 +348,7 @@ static int parse_list_marker(cmark_chunk *input, int pos, cmark_list **dataptr) if ((c == '*' || c == '-' || c == '+') && !scan_hrule(input, pos)) { pos++; - if (!isspace(peek_at(input, pos))) { + if (!cmark_isspace(peek_at(input, pos))) { return 0; } data = (cmark_list *)calloc(1, sizeof(*data)); @@ -362,18 +362,18 @@ static int parse_list_marker(cmark_chunk *input, int pos, cmark_list **dataptr) data->delimiter = CMARK_PERIOD_DELIM; data->tight = false; } - } else if (isdigit(c)) { + } else if (cmark_isdigit(c)) { int start = 0; do { start = (10 * start) + (peek_at(input, pos) - '0'); pos++; - } while (isdigit(peek_at(input, pos))); + } while (cmark_isdigit(peek_at(input, pos))); c = peek_at(input, pos); if (c == '.' || c == ')') { pos++; - if (!isspace(peek_at(input, pos))) { + if (!cmark_isspace(peek_at(input, pos))) { return 0; } data = (cmark_list *)calloc(1, sizeof(*data)); |