diff --git a/demo.c b/demo.c index 2a31e52..286b195 100644 --- a/demo.c +++ b/demo.c @@ -9,15 +9,11 @@ int main() { listPush(another_list, INT, &(int){123}); listPush(another_list, FLOAT, &(float){3.14}); listPush(another_list, LIST, another_list); + listPush(another_list, LIST, another_list); - vector_t* v = vectorInit(LIST); + listPrint(another_list); - vectorPush(v, another_list); - vectorPush(v, another_list); - - vectorPrint(v); - - vectorCleanup(v); + listCleanup(another_list); return 0; }