hashmap
hashmap copied to clipboard
incovenient function type in hashmap_set_key_alloc_funcs
Because of the type of the free function this takes the most common use case of just passing 'free' produces a warning
Incompatible function pointer types initializing 'typeof (((&skined_anim_mngr.map))->map_types->t_key_free_func)' (aka 'void (*)(char *)') with an expression of type 'void (void *)'
Therefore wouldn't it make sense to change the type to void free(char *) ?