Creates a new AfDalList object but providing destroy function for items stored.
Creates a new AfDalList like afdal_list_new but allowing to specify a function to free the memory allocated for the key and values stored when removing entries from the AfDalList or when it is destroyed using afdal_list_destroy.
|compare_func ||A compare func between two objects. |
|key_destroy_func ||Function to be used to destroy stored keys. |
|value_destroy_func ||A function to free the memory allocated for the key used when removing the entry from the AfDalList or NULL if you don't want to supply such a function.|
- a new AfDalList.