umm... I seem to have broken lists of vectors and vectors kinda all together, so just don't use them, lists seem to be working fine..., use those instead
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user