mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
C: generate return statement in main function
This commit is contained in:
parent
6b0b30cb23
commit
9e9866398b
|
@ -758,6 +758,8 @@ public class CTarget implements TeaVMTarget, TeaVMCHost {
|
||||||
}
|
}
|
||||||
generateFiberStart(context, writer, includes);
|
generateFiberStart(context, writer, includes);
|
||||||
|
|
||||||
|
writer.println("return 0;");
|
||||||
|
|
||||||
writer.outdent().println("}");
|
writer.outdent().println("}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user