diff options
author | standenboy <standenboy@seacrossedlovers.xyz> | 2024-04-25 08:45:36 +0100 |
---|---|---|
committer | standenboy <standenboy@seacrossedlovers.xyz> | 2024-04-25 08:45:36 +0100 |
commit | 7d3856203d28281e3ffc6b365cc55b1d192a5599 (patch) | |
tree | 226ffda231a717f625bd1a965a32d02d0d1348b0 /comp/cw/code/tokenizer/ads/dict/dict.h | |
parent | a241ad8e874a2220d81254c2ebfbe69d0470fd9b (diff) |
started cw
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); + |