Require @(init) and @(fini) to be proc "contextless" ()

This commit is contained in:
gingerBill
2025-08-08 12:10:01 +01:00
parent 3194fda8f3
commit 7642e0a0e0
47 changed files with 170 additions and 102 deletions
+3 -3
View File
@@ -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" () { }