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:
2026-02-12 13:08:05 -06:00
parent 7611096e13
commit 643fcf9cb6
3 changed files with 66 additions and 2 deletions

View File

@@ -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 */