Return to test2.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitsess / contrib |
version 1.2, 2012/02/10 23:38:29 | version 1.3, 2012/07/22 22:13:47 |
---|---|
Line 13 int main(int argc, char **argv) | Line 13 int main(int argc, char **argv) |
inp = io_arrayInit(argc); | inp = io_arrayInit(argc); |
for (i = 0; i < argc; i++) { | for (i = 0; i < argc; i++) { |
v = malloc(sizeof(ait_val_t)); | v = io_allocVar(); |
AIT_SET_STR(v, argv[i]); | AIT_SET_STR(v, argv[i]); |
io_arraySet(inp, i, v); | io_arraySet(inp, i, v); |
} | } |