mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 05:20:28 +00:00
Add runtime._cleanup_runtime internal call
This commit is contained in:
@@ -384,7 +384,12 @@ Raw_Cstring :: struct {
|
||||
// This is probably only useful for freestanding targets
|
||||
foreign {
|
||||
@(link_name="__$startup_runtime")
|
||||
_startup_runtime :: proc "contextless" () ---
|
||||
_startup_runtime :: proc() ---
|
||||
}
|
||||
|
||||
@(link_name="__$cleanup_runtime")
|
||||
_cleanup_runtime :: proc() {
|
||||
default_temp_allocator_destroy(&global_default_temp_allocator_data)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user