Added linkedlist_delete, funtions by index, one test was added and passed for checking when eliminate head, subsequent commits will add more tests for this function
This commit is contained in:
@@ -22,5 +22,6 @@ LinkedListErr linkedlist_delete(LinkedList *ll, size_t index);
|
||||
LinkedListErr linkedlist_pop(LinkedList *ll, size_t index, void *out);
|
||||
LinkedListErr linkedlist_insert(LinkedList *ll, size_t index, void *out);
|
||||
LinkedListErr linkedlist_get(const LinkedList *ll, size_t index, void *out);
|
||||
LinkedListErr linkedlist_len(const LinkedList *ll, size_t *out);
|
||||
|
||||
#endif /* ifndef LINKEDLIST_H */
|
||||
|
||||
Reference in New Issue
Block a user