diff options
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -10,7 +10,11 @@ extern "C" { #include "cmark.h" #include "buffer.h" -#include "chunk.h" + +typedef struct { + unsigned char *data; + bufsize_t len; +} cmark_literal; typedef struct { cmark_list_type list_type; @@ -72,7 +76,7 @@ struct cmark_node { uint16_t flags; union { - cmark_chunk literal; + cmark_literal literal; cmark_list list; cmark_code code; cmark_heading heading; |