Ajoute un court paquet de listes chaînées

This commit is contained in:
2022-10-14 09:30:20 +02:00
parent 1d08d368d5
commit 03b7ee8494
5 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#ifndef MY_LINKED_LIST_H
#define MY_LINKED_LIST_H
typedef struct list_node {
int value;
struct list_node *next;
} *LinkedList;
LinkedList createLinkedList(void);
void freeLinkedList(LinkedList *list);
#endif // MY_LINKED_LIST_H