This commit is contained in:
parent
f357285045
commit
0ece1b092e
23 changed files with 274 additions and 113 deletions
|
@ -1,23 +0,0 @@
|
|||
init() {
|
||||
utf8 := 65001
|
||||
kernel32.SetConsoleCP(utf8)
|
||||
kernel32.SetConsoleOutputCP(utf8)
|
||||
main.main()
|
||||
exit()
|
||||
}
|
||||
|
||||
exit() {
|
||||
kernel32.ExitProcess(0)
|
||||
}
|
||||
|
||||
crash() {
|
||||
kernel32.ExitProcess(1)
|
||||
}
|
||||
|
||||
extern {
|
||||
kernel32 {
|
||||
SetConsoleCP(cp uint)
|
||||
SetConsoleOutputCP(cp uint)
|
||||
ExitProcess(code uint)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue