16 lines
237 B
C
16 lines
237 B
C
#include <odweta/list.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
list_t *l = listInit();
|
|
|
|
listPush(l, FLOAT, &(float){3.14});
|
|
listPush(l, CHAR, &(char){'x'});
|
|
listPush(l, INT, &(int){123});
|
|
|
|
listPrint(l);
|
|
|
|
listCleanup(l);
|
|
|
|
return 0;
|
|
}
|