#include #include #include int main() { list_t* another_list = listInit(); listPush(another_list, CHAR, &(char){'x'}); listPush(another_list, INT, &(int){123}); listPush(another_list, FLOAT, &(float){3.14}); printf("do not put the list into itself, it does weird stuff\n"); // BIG NONO -> listPush(another_list, LIST, another_list); listRemoveAt(another_list, 1); list_t* l = listInit(); listPush(l, INT, &(int){5+2}); listPush(l, INT, &(int){5*2}); listPush(l, FLOAT, &(float){5/2}); listPush(another_list, LIST, l); listPrint(another_list); listCleanup(another_list); // vector_t* v = vectorInit(INT); // // vectorPush(v, &(int){123}); // vectorPush(v, &(int){456}); // vectorPush(v, &(int){789}); // // vectorRemoveAt(v, 1); // // vectorPrint(v); // // vectorCleanup(v); return 0; }