fix a bug: uninitialize the callback functions for the map of system bitmaps; add __mg_map_get_size

This commit is contained in:
Vincent Wei
2020-02-27 00:47:09 +08:00
parent e50c8424e0
commit 7c914cdca4
4 changed files with 15 additions and 2 deletions
+1
View File
@@ -85,6 +85,7 @@ map_entry_t* __mg_map_find (map_t* map, const void* key);
int __mg_map_insert (map_t* map, const void* key, const void* val);
void* __mg_map_find_or_insert (map_t* map, const void* key, const void* val);
int __mg_map_erase (map_t* map, void* key);
int __mg_map_get_size (map_t* map);
#ifdef __cplusplus
}