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

Fonction contains, j'ai pas testé lol

This commit is contained in:
2018-06-20 17:46:14 +02:00
committed by Aethor
parent 0d7ebda7e0
commit d157623135
2 changed files with 23 additions and 1 deletions

View File

@ -29,6 +29,7 @@ struct o_List {
PUBLIC void* (*get_element_data)(_THIS(List), int index);
PUBLIC int (*get_size)(_THIS(List));
PUBLIC int (*contains)(_THIS(List), void * data_to_find, 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);