made work: multi-dimensional lists
This commit is contained in:
+2
-2
@@ -8,8 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <odweta/vector.h>
|
||||
|
||||
typedef long unsigned int size_t;
|
||||
#include <odweta/util.h>
|
||||
|
||||
typedef struct {
|
||||
size_t size; // number of elements that are inside the list
|
||||
@@ -22,6 +21,7 @@ list_t* listInit(); // r
|
||||
void listPush(list_t* l, dataType_e type, void* element); // appends an element at the end of a list
|
||||
|
||||
void listPrint(list_t* l); // prints a list
|
||||
void _listPrintRecursive(list_t* l, int depth);
|
||||
|
||||
void listCleanup(list_t* l); // freeing pointers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user