mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix misnamed hashmap function
This commit is contained in:
@@ -64,7 +64,7 @@ bool hash_AddElement(HashMap map, char const *key, void *element)
|
|||||||
return newEntry->next != NULL;
|
return newEntry->next != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hash_DeleteElement(HashMap map, char const *key)
|
bool hash_RemoveElement(HashMap map, char const *key)
|
||||||
{
|
{
|
||||||
HashType hashedKey = hash(key);
|
HashType hashedKey = hash(key);
|
||||||
struct HashMapEntry **ptr = &map[(HalfHashType)hashedKey];
|
struct HashMapEntry **ptr = &map[(HalfHashType)hashedKey];
|
||||||
|
|||||||
Reference in New Issue
Block a user