Ajoute un court paquet de listes chaînées
This commit is contained in:
13
linked-list/src/linkedList.h
Normal file
13
linked-list/src/linkedList.h
Normal 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
|
Reference in New Issue
Block a user