From a06430102225c2c261f1bbb510cb9720b02d3a84 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 9 Mar 2015 21:24:37 -0700 Subject: cmark.h: Add argument to cmark_parser_new. This was a bug; the function does take an argument. Oddly, gcc and clang did not complain. Closes #12. --- src/cmark.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmark.h b/src/cmark.h index 3878355..e29f28a 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -431,7 +431,7 @@ cmark_consolidate_text_nodes(cmark_node *root); /** Creates a new parser object. */ CMARK_EXPORT -cmark_parser *cmark_parser_new(); +cmark_parser *cmark_parser_new(int options); /** Frees memory allocated for a parser object. */ -- cgit v1.2.3