From 7d3856203d28281e3ffc6b365cc55b1d192a5599 Mon Sep 17 00:00:00 2001 From: standenboy Date: Thu, 25 Apr 2024 08:45:36 +0100 Subject: started cw --- comp/cw/code/tokenizer/ads/dict/dict.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 comp/cw/code/tokenizer/ads/dict/dict.h (limited to 'comp/cw/code/tokenizer/ads/dict/dict.h') 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); + -- cgit v1.2.3