summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-29 17:05:00 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-29 17:16:31 +0100
commit46ec4da981af45591d25cb54c47a0afd061306c2 (patch)
treeeb1f9078be2db3db72a1d85804477f6255dc3baf /src/cmark.h
parentad8b39e550f2ff9a8b8e409d1654fc26135dc9fa (diff)
Push parser interface
Replace cmark_parser_process_line with cmark_parser_push that takes arbitrary chunks of data. Also fixes #211.
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 7942645..ff0c58f 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -176,7 +176,7 @@ CMARK_EXPORT
cmark_node *cmark_parser_finish(cmark_parser *parser);
CMARK_EXPORT
-void cmark_parser_process_line(cmark_parser *parser, const char *buffer, size_t bytes);
+void cmark_parser_push(cmark_parser *parser, const char *buffer, size_t len);
CMARK_EXPORT
cmark_node *cmark_parse_document(const char *buffer, size_t len);