mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 02:40:05 +00:00
Expose runtime._startup_runtime to allow for freestanding targets in the future
This commit is contained in:
@@ -391,7 +391,21 @@ Map_Header :: struct {
|
||||
value_size: int,
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
// Init Startup Procedures //
|
||||
/////////////////////////////
|
||||
|
||||
// IMPORTANT NOTE(bill): Do not call this unless you want to explicitly set up the entry point and how it gets called
|
||||
// This is probably only useful for freestanding targets
|
||||
foreign {
|
||||
@(link_name="__$startup_runtime")
|
||||
_startup_runtime :: proc "contextless" () ---
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////
|
||||
/////////////////////////////
|
||||
/////////////////////////////
|
||||
|
||||
|
||||
type_info_base :: proc "contextless" (info: ^Type_Info) -> ^Type_Info {
|
||||
|
||||
Reference in New Issue
Block a user