2016-11-24 14:14:30 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* machinarium.
|
|
|
|
*
|
|
|
|
* Cooperative multitasking engine.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <machinarium.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char *argv[])
|
|
|
|
{
|
2017-03-21 13:33:30 +00:00
|
|
|
machine_t machine = machine_create();
|
|
|
|
machine_io_t io = machine_create_io(machine);
|
2017-04-11 13:50:11 +00:00
|
|
|
|
2017-03-21 13:33:30 +00:00
|
|
|
machine_close(io);
|
2017-04-11 13:50:11 +00:00
|
|
|
machine_free_io(io);
|
2017-03-21 13:33:30 +00:00
|
|
|
machine_free(machine);
|
2016-11-24 14:14:30 +00:00
|
|
|
return 0;
|
|
|
|
}
|