From 376f81ab8aa017ab01040e10d393d7682674562d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 15 Feb 2015 18:26:35 -0800 Subject: Added options parameter to cmark_parse_document, cmark_parse_file. Also to some non-exported functions in blocks and inlines. --- src/cmark.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmark.h') diff --git a/src/cmark.h b/src/cmark.h index f106371..f00495a 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -452,13 +452,13 @@ cmark_node *cmark_parser_finish(cmark_parser *parser); * Returns a pointer to a tree of nodes. */ CMARK_EXPORT -cmark_node *cmark_parse_document(const char *buffer, size_t len); +cmark_node *cmark_parse_document(const char *buffer, size_t len, long options); /** Parse a CommonMark document in file 'f', returning a pointer to * a tree of nodes. */ CMARK_EXPORT -cmark_node *cmark_parse_file(FILE *f); +cmark_node *cmark_parse_file(FILE *f, long options); /** * ## Rendering -- cgit v1.2.3