From 8f523b0149f250f733d80357320f92ffbe2a8b8f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 14 Nov 2014 23:07:28 -0800 Subject: Expose lower-level parsing API. The new functions cmark_new_doc_parser, cmark_free_doc_parser, cmark_process_line, and cmark_finish allow you to feed lines one by one (possibly from several files) to the parser and call finish when you're done. This is now used in main for mulitple files. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 6219935..6bc403e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -205,7 +205,7 @@ int cmark_strbuf_printf(strbuf *buf, const char *format, ...) return r; } -static inline const char *cmark_strbuf_cstr(const cmark_strbuf *buf) +inline const char *cmark_strbuf_cstr(const cmark_strbuf *buf) { return (char *)buf->ptr; } -- cgit v1.2.3