to safe kotlin style main with return type Unit.

Revert "runtime: kotlinNativeMain should return status code and main should return it to the system"

This reverts commit 8161c8ddac.
This commit is contained in:
Vasily Levchenko
2016-11-18 12:18:53 +03:00
parent 8161c8ddac
commit d00614ce1b
+3 -2
View File
@@ -1,8 +1,9 @@
#include "Memory.h"
extern "C" int kotlinNativeMain();
extern "C" void kotlinNativeMain();
int main() {
InitMemory();
return kotlinNativeMain();
kotlinNativeMain();
return 0;
}