type: Make an assert()ion independent of the last entry of an enum.
[cparser] / symbol_table_t.h
1 /*
2  * This file is part of cparser.
3  * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
4  */
5 #ifndef SYMBOL_TABLE_T_H
6 #define SYMBOL_TABLE_T_H
7
8 #include "symbol_table.h"
9 #include "symbol.h"
10
11 #define HashSet          symbol_table_t
12 #define HashSetEntry     symbol_table_hash_entry_t
13 #define ValueType        symbol_t*
14 #include "adt/hashset.h"
15 #undef ValueType
16 #undef HashSetEntry
17 #undef HashSet
18
19 typedef struct symbol_table_iterator_t  symbol_table_iterator_t;
20 typedef struct symbol_table_t           symbol_table_t;
21
22 #endif