This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct _node { | |
void *data; | |
struct _node *next; | |
} Node; | |
typedef struct { | |
int count; | |
int data_size; | |
Node *head; | |
Node *tail; | |
} List; | |
List* list_create(int dataSize); | |
void list_destroy(List *list); | |
void list_add(List *list, void *data); | |
void list_remove(List *list, int index); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment