20 lines
445 B
C
20 lines
445 B
C
#include <odweta/list.h>
|
|
#include <odweta/vector.h>
|
|
#include <stdio.h>
|
|
|
|
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});
|
|
listPush(another_list, LIST, another_list);
|
|
listPush(another_list, LIST, another_list);
|
|
|
|
listPrint(another_list);
|
|
|
|
listCleanup(another_list);
|
|
|
|
return 0;
|
|
}
|