mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Require @(init) and @(fini) to be proc "contextless" ()
This commit is contained in:
@@ -4,12 +4,12 @@ package terminal
|
||||
|
||||
import "core:os"
|
||||
|
||||
_is_terminal :: proc(handle: os.Handle) -> bool {
|
||||
_is_terminal :: proc "contextless" (handle: os.Handle) -> bool {
|
||||
return true
|
||||
}
|
||||
|
||||
_init_terminal :: proc() {
|
||||
_init_terminal :: proc "contextless" () {
|
||||
color_depth = .None
|
||||
}
|
||||
|
||||
_fini_terminal :: proc() { }
|
||||
_fini_terminal :: proc "contextless" () { }
|
||||
Reference in New Issue
Block a user