fix construction of maps
This commit is contained in:
parent
35f48eb570
commit
cdd56b8e25
2 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
#ifndef SORTED_MAP
|
||||
#define SORTED_MAP
|
||||
/* A map datastructure which maps strings to void*.
|
||||
* A binary search tree putting string equal to or smaller than the current node left.
|
||||
*/
|
||||
|
||||
enum nodetype { EMPTY, LEAF, INTERN };
|
||||
|
||||
typedef struct node {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue