diff options
author | Adrian Thurston <thurston@complang.org> | 2015-01-02 15:38:35 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-01-02 15:38:35 -0500 |
commit | b971eadb2e439da9cfbaed2486fc8260711983ea (patch) | |
tree | 018dda10387f968f9f0fe50ccfb3f2ee4499679c /src/map.h | |
parent | 3a89385a6495b9012342af527615f3a6b2be5f94 (diff) | |
download | colm-b971eadb2e439da9cfbaed2486fc8260711983ea.tar.gz |
made list and map into structs
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 26 |
1 files changed, 1 insertions, 25 deletions
@@ -10,32 +10,8 @@ extern "C" { #endif #include <colm/program.h> +#include <colm/struct.h> -typedef struct _MapEl -{ - /* Must overlay Kid. */ - Tree *tree; - struct _MapEl *next; - struct _MapEl *prev; - - struct _MapEl *left, *right, *parent; - long height; - Tree *key; -} MapEl; - -typedef struct _Map -{ - /* Must overlay Tree. */ - short id; - unsigned short flags; - long refs; - MapEl *head; - - MapEl *tail; - MapEl *root; - long treeSize; - GenericInfo *genericInfo; -} Map; void mapListAbandon( Map *map ); |