X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fq.h;h=b90b57a789c7ff0fd3790a0ba19917ef624e5550;hb=2e2252fba96c094b53475c87bc41f25fe6b946bb;hp=6eec83c147c9ad58e099133eea0e9a2591e0e6dc;hpb=e560bd2327f4d63d4bad1797d1d0e8b201e16067;p=swftools.git diff --git a/lib/q.h b/lib/q.h index 6eec83c..b90b57a 100644 --- a/lib/q.h +++ b/lib/q.h @@ -178,8 +178,9 @@ dict_t*dict_clone(dict_t*); void dict_foreach_keyvalue(dict_t*h, void (*runFunction)(void*data, const void*key, void*val), void*data); void dict_foreach_value(dict_t*h, void (*runFunction)(void*)); -void dict_free_all(dict_t*h, void (*freeFunction)(void*)); +void dict_free_all(dict_t*h, char free_keys, void (*free_data_function)(void*)); void dict_clear(dict_t*h); +void dict_destroy_shallow(dict_t*dict); void dict_destroy(dict_t*dict); void map_init(map_t*map);