shithub: rgbds

Download patch

ref: 49bca8d588f1060367fc53d9ee8d668febc5faf7
parent: 7ddbe44b21fdb7e62048776884c9ecbb8ec9de1f
author: ISSOtm <eldredhabert0@gmail.com>
date: Sat Mar 14 21:50:22 EDT 2020

Fix misnamed hashmap function

--- a/src/hashmap.c
+++ b/src/hashmap.c
@@ -64,7 +64,7 @@
 	return newEntry->next != NULL;
 }
 
-bool hash_DeleteElement(HashMap map, char const *key)
+bool hash_RemoveElement(HashMap map, char const *key)
 {
 	HashType hashedKey = hash(key);
 	struct HashMapEntry **ptr = &map[(HalfHashType)hashedKey];