Open xiao8385 opened 5 years ago
typedef struct _hashmap_element{ char* key; int in_use; any_t data; } hashmap_element;
char* key key is change
the project copy the key_string ptr,not deepcopy whole key_string u need to modify src. this project has bugs:1.The map size increase is incorrect;2.You may not be able to find the key when you look for it i will fix it.
There is a test program to put key: "key=>6" and get key: "key=>-3"
Test result as following: