mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Add assert_contextless, panic_contextless, unimplemented_contextless
This commit is contained in:
@@ -750,6 +750,10 @@ __init_context :: proc "contextless" (c: ^Context) {
|
||||
}
|
||||
|
||||
default_assertion_failure_proc :: proc(prefix, message: string, loc: Source_Code_Location) -> ! {
|
||||
default_assertion_contextless_failure_proc(prefix, message, loc)
|
||||
}
|
||||
|
||||
default_assertion_contextless_failure_proc :: proc "contextless" (prefix, message: string, loc: Source_Code_Location) -> ! {
|
||||
when ODIN_OS == .Freestanding {
|
||||
// Do nothing
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user