Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct{
- int size;
- void* elem;
- }node;
- typedef struct
- {
- node* elems;
- int allocLen;
- int logLen;
- }list;
- void ListNew(list* l);
- void ListAppend(list* l, void* elemAddr, int elemSize);
- void ListGet(list* l, int index, void* elemAddr);
- void ListDelete(list* l, int index);
- void ListDispose(list* l);
- void ListInsert(list* l, int index, void* elemAddr, int elemSize );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement