diff options
Diffstat (limited to 'comp/cw/code/tokenizer/ads/dict/dict.h')
-rw-r--r-- | comp/cw/code/tokenizer/ads/dict/dict.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/comp/cw/code/tokenizer/ads/dict/dict.h b/comp/cw/code/tokenizer/ads/dict/dict.h new file mode 100644 index 0000000..e6ab69d --- /dev/null +++ b/comp/cw/code/tokenizer/ads/dict/dict.h @@ -0,0 +1,9 @@ +typedef struct dict_t { + int id; + void *data; +}dict_t; + +dict_t *dictalloc(); +int dictset(dict_t *dict, int id, void *data); +void dictfree(dict_t *dict); + |