mirror of
https://github.com/theoleuthardt/learningC.git
synced 2026-06-13 09:37:53 +00:00
16 lines
249 B
C
16 lines
249 B
C
#ifndef EXAMTEMPLATE_LIST_H
|
|
#define EXAMTEMPLATE_LIST_H
|
|
|
|
struct list{
|
|
void *data;
|
|
struct list *ptr;
|
|
};
|
|
|
|
void Add(void *data);
|
|
void *Get(int index);
|
|
int Size();
|
|
int Contains(void *item);
|
|
void Remove(int index);
|
|
|
|
|
|
#endif //EXAMTEMPLATE_LIST_H
|