From 9c5d074b0067b564f230b3770b2026afb9bb6998 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Dec 2014 22:31:17 -0800 Subject: Added cmark_ prefix to functions in cmark_ctype. --- src/blocks.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/blocks.c') 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)); -- cgit v1.2.3