summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2016-05-27 16:55:16 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-06 15:39:05 -0700
commit25429c96f6554ffac415f9d865934b1183f3398e (patch)
tree84d4eef404e99ff9e88d96a86d348a863d7c466f /src/parser.h
parentab6c81b960e86b26c7fda366f51ff29d1683a555 (diff)
cmark: Implement support for custom allocators
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index ab21d0f..1309420 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -4,6 +4,7 @@
#include <stdio.h>
#include "node.h"
#include "buffer.h"
+#include "memory.h"
#ifdef __cplusplus
extern "C" {
@@ -12,6 +13,7 @@ extern "C" {
#define MAX_LINK_LABEL_LENGTH 1000
struct cmark_parser {
+ struct cmark_mem *mem;
struct cmark_reference_map *refmap;
struct cmark_node *root;
struct cmark_node *current;