1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2025-07-11 12:19:25 +00:00

Added remove_inside_List function. Experimental user removal.

This commit is contained in:
Aethor
2018-06-21 19:21:17 +02:00
parent 12c4e1af19
commit 55126c9ca6
3 changed files with 55 additions and 16 deletions

View File

@ -30,6 +30,7 @@ struct o_List {
PUBLIC int (*get_size)(_THIS(List));
PUBLIC int (*contains)(_THIS(List), void * data_to_find, int (*compare)(void *, void *));
PUBLIC int (*remove_inside)(_THIS(List), void * data_to_remove, int (*compare)(void*, void*));
PUBLIC void (*set_custom_free)(_THIS(List), void (*custom_free)(void *));
PUBLIC void (*insert_inside)(_THIS(List), void * data, size_t data_size, int index);