summaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-13 10:11:46 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-13 10:11:46 -0800
commit3c9bdf645958a1c5b71cc9b96a5b711cca14224f (patch)
treecd9bb05022d69a017fe8adf63fc8d5f2d5d4480c /src/ast.h
parente5fd42248067b4e8f29a9c2ed9d224ded4526c24 (diff)
Moved cmark_free_inlines from inlines to ast.
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index f8e0345..5c3d298 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -102,6 +102,7 @@ struct cmark_node_block {
typedef struct cmark_node_block cmark_node_block;
void cmark_free_blocks(cmark_node_block *e);
+void cmark_free_inlines(cmark_node_inl *e);
#ifndef CMARK_NO_SHORT_NAMES
#define node_inl cmark_node_inl
@@ -129,6 +130,8 @@ void cmark_free_blocks(cmark_node_block *e);
#define BLOCK_SETEXT_HEADER CMARK_BLOCK_SETEXT_HEADER
#define BLOCK_HRULE CMARK_BLOCK_HRULE
#define BLOCK_REFERENCE_DEF CMARK_BLOCK_REFERENCE_DEF
+ #define free_inlines cmark_free_inlines
+ #define free_blocks cmark_free_blocks
#endif
#endif