list.h (442B)
1// This is free and unencumbered software released into the public domain. 2// For more information, please refer to <https://unlicense.org> 3// bbbbbr 2020 4 5#ifndef _LIST_H 6#define _LIST_H 7 8 9typedef struct list_type { 10 void * p_array; 11 uint32_t size; 12 uint32_t count; 13 size_t typesize; 14} list_type; 15 16void list_init(list_type *, size_t); 17void list_cleanup(list_type *); 18void list_additem(list_type *, void *); 19 20#endif // _LIST_H