Modified const and extern to always use blocks
This commit is contained in:
@ -1,13 +1,3 @@
|
||||
cp const {
|
||||
utf8 65001
|
||||
}
|
||||
|
||||
kernel32 extern {
|
||||
SetConsoleCP(cp uint)
|
||||
SetConsoleOutputCP(cp uint)
|
||||
ExitProcess(code uint)
|
||||
}
|
||||
|
||||
init() {
|
||||
kernel32.SetConsoleCP(cp.utf8)
|
||||
kernel32.SetConsoleOutputCP(cp.utf8)
|
||||
@ -21,4 +11,18 @@ exit() {
|
||||
|
||||
crash() {
|
||||
kernel32.ExitProcess(1)
|
||||
}
|
||||
|
||||
const {
|
||||
cp {
|
||||
utf8 65001
|
||||
}
|
||||
}
|
||||
|
||||
extern {
|
||||
kernel32 {
|
||||
SetConsoleCP(cp uint)
|
||||
SetConsoleOutputCP(cp uint)
|
||||
ExitProcess(code uint)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user