From 73c2b00a10c5786ddeeacc915e233fd4df1c9321 Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Sat, 11 Oct 2025 22:19:00 +0200 Subject: fix: evalexpr & tinyprintf contenaient toute la piscine --- rushs/tinyprintf/hash_map/hash_map.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 rushs/tinyprintf/hash_map/hash_map.h (limited to 'rushs/tinyprintf/hash_map/hash_map.h') diff --git a/rushs/tinyprintf/hash_map/hash_map.h b/rushs/tinyprintf/hash_map/hash_map.h deleted file mode 100644 index c731eab..0000000 --- a/rushs/tinyprintf/hash_map/hash_map.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef HASH_MAP_H -#define HASH_MAP_H - -#include -#include - -struct pair_list -{ - const char *key; - char *value; - struct pair_list *next; -}; - -struct hash_map -{ - struct pair_list **data; - size_t size; -}; - -size_t hash(const char *str); -struct hash_map *hash_map_init(size_t size); -bool hash_map_insert(struct hash_map *hash_map, const char *key, char *value, - bool *updated); -void hash_map_free(struct hash_map *hash_map); -void hash_map_dump(struct hash_map *hash_map); -const char *hash_map_get(const struct hash_map *hash_map, const char *key); -bool hash_map_remove(struct hash_map *hash_map, const char *key); - -#endif /* ! HASH_MAP_H */ -- cgit v1.2.3