summaryrefslogtreecommitdiff
path: root/src/iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/iterator.h')
-rw-r--r--src/iterator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iterator.h b/src/iterator.h
index 9c6bca6..fc745df 100644
--- a/src/iterator.h
+++ b/src/iterator.h
@@ -6,6 +6,7 @@ extern "C" {
#endif
#include "cmark.h"
+#include "memory.h"
typedef struct {
cmark_event_type ev_type;
@@ -13,6 +14,7 @@ typedef struct {
} cmark_iter_state;
struct cmark_iter {
+ cmark_mem *mem;
cmark_node *root;
cmark_iter_state cur;
cmark_iter_state next;