18 lines
240 B
C
18 lines
240 B
C
|
|
||
|
#include "ovm.h"
|
||
|
|
||
|
int main(int argc, char** argv) {
|
||
|
ovm_t *ovm;
|
||
|
|
||
|
if (argc < 3) {
|
||
|
fprintf(stderr, "Wrong syntax. %s in out\n", argv[0]);
|
||
|
exit(1);
|
||
|
}
|
||
|
|
||
|
ovm = ovm_load(argv[1]);
|
||
|
ovm_print_c(ovm, argv[2]);
|
||
|
ovm_free(ovm);
|
||
|
|
||
|
return 0;
|
||
|
}
|