summaryrefslogtreecommitdiff
path: root/src/references.h
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-16 10:33:49 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-16 10:33:49 -0800
commitb7f6e3f775705029df262aa313a0cd17ee3073cb (patch)
tree570a7611eeff2b9e93f24ac61f6f8626e045ad0d /src/references.h
parentf8b6f2e02fd21477193f1f2471421f4adf19a790 (diff)
Moved AST details from public header cmark.h to private ast.h.
Diffstat (limited to 'src/references.h')
-rw-r--r--src/references.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/references.h b/src/references.h
index cd58614..2972576 100644
--- a/src/references.h
+++ b/src/references.h
@@ -1,25 +1,8 @@
#ifndef CMARK_REFERENCES_H
#define CMARK_REFERENCES_H
-#define REFMAP_SIZE 16
-
#include "chunk.h"
-
-struct cmark_reference {
- struct cmark_reference *next;
- unsigned char *label;
- unsigned char *url;
- unsigned char *title;
- unsigned int hash;
-};
-
-typedef struct cmark_reference cmark_reference;
-
-struct cmark_reference_map {
- cmark_reference *table[REFMAP_SIZE];
-};
-
-typedef struct cmark_reference_map cmark_reference_map;
+#include "ast.h"
cmark_reference_map *cmark_reference_map_new(void);
void cmark_reference_map_free(cmark_reference_map *map);