summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-16 10:45:50 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-16 10:45:50 -0800
commit5a26ca5cf9481289ad77d6049b55c48feea7cc38 (patch)
tree561595c5de9009425a168a39d9f4f3060b82183d /src/cmark.h
parentb7f6e3f775705029df262aa313a0cd17ee3073cb (diff)
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.
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h3
1 files changed, 1 insertions, 2 deletions
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 <stdbool.h>
#include <stdio.h>
-#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);