diff options
Diffstat (limited to 'src/struct.h')
-rw-r--r-- | src/struct.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/struct.h b/src/struct.h index fddae2e1..6f447107 100644 --- a/src/struct.h +++ b/src/struct.h @@ -52,6 +52,7 @@ typedef struct colm_stream StreamImpl *impl; } Stream; +#define COLM_LIST_EL_SIZE 2 typedef struct colm_list_el { struct colm_list_el *list_next; @@ -72,14 +73,15 @@ typedef struct colm_list GenericInfo *genericInfo; } List; -typedef struct _MapEl +#define COLM_MAP_EL_SIZE 6 +typedef struct colm_map_el { /* Must overlay Kid. */ Tree *tree; - struct _MapEl *next; - struct _MapEl *prev; + struct colm_map_el *next; + struct colm_map_el *prev; - struct _MapEl *left, *right, *parent; + struct colm_map_el *left, *right, *parent; long height; Tree *key; } MapEl; |