Creates a new AfDalList object.
Creates a new empty AfDalList structure using compare_func as function to figure out which order to use for elements to be stored inside the AfDalList returned.
Once created you can use afdal_list_insert to hold more data inside the given AfDalList object. Then you can use afdal_list_length to know how many items an AfDalList have or afdal_list_remove function to delete some items.
Finally, when the AfDalList is no longer needed you should use afdal_list_destroy.
|compare_func ||Because the AfDalList object is a ordered set on elements, a compare func between two objects have to be provided.|
- a new AfDalList.