From 5a26ca5cf9481289ad77d6049b55c48feea7cc38 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 16 Nov 2014 10:45:50 -0800 Subject: cmark_render_html now just returns a regular C string. This way, we don't have to expose buffer.h; it is just used internally. --- src/cmark.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cmark.h') diff --git a/src/cmark.h b/src/cmark.h index e28e747..3dfb2de 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -3,7 +3,6 @@ #include #include -#include "buffer.h" #include "chunk.h" #ifdef __cplusplus @@ -43,7 +42,7 @@ CMARK_EXPORT void cmark_debug_print(cmark_node_block *root); CMARK_EXPORT -void cmark_render_html(cmark_strbuf *html, cmark_node_block *root); +unsigned char *cmark_render_html(cmark_node_block *root); CMARK_EXPORT unsigned char *cmark_markdown_to_html(unsigned char *text, int len); -- cgit v1.2.3