summaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/render.h b/src/render.h
index 718050e..cf5b078 100644
--- a/src/render.h
+++ b/src/render.h
@@ -32,21 +32,16 @@ struct cmark_renderer {
cmark_escaping,
int32_t,
unsigned char);
+ void (*cr)(struct cmark_renderer*);
+ void (*blankline)(struct cmark_renderer*);
+ void (*out)(struct cmark_renderer*,
+ const char *,
+ bool,
+ cmark_escaping);
};
typedef struct cmark_renderer cmark_renderer;
-void cr(cmark_renderer *renderer);
-
-void blankline(cmark_renderer *renderer);
-
-void out(cmark_renderer *renderer,
- cmark_chunk str,
- bool wrap,
- cmark_escaping escape);
-
-void lit(cmark_renderer *renderer, char *s, bool wrap);
-
char*
cmark_render(cmark_node *root,
int options,