From 2c7b83042fea3c970e5b1a1914880bc60acf6174 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Mon, 17 Nov 2014 21:26:36 +0100 Subject: Move reference type definitions to reference.h --- src/ast.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index bd9b342..c1636de 100644 --- a/src/ast.h +++ b/src/ast.h @@ -12,25 +12,8 @@ extern "C" { #endif -#define REFMAP_SIZE 16 #define MAX_LINK_LABEL_LENGTH 1000 -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; - struct cmark_doc_parser { struct cmark_reference_map *refmap; struct cmark_node* root; -- cgit v1.2.3