mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Fix #4804
This commit is contained in:
Vendored
+5
-1
@@ -10,11 +10,15 @@ foreign lib {
|
|||||||
AppIterate :: proc(appstate: rawptr) -> AppResult ---
|
AppIterate :: proc(appstate: rawptr) -> AppResult ---
|
||||||
AppEvent :: proc(appstate: rawptr, event: ^Event) -> AppResult ---
|
AppEvent :: proc(appstate: rawptr, event: ^Event) -> AppResult ---
|
||||||
AppQuit :: proc(appstate: rawptr, result: AppResult) ---
|
AppQuit :: proc(appstate: rawptr, result: AppResult) ---
|
||||||
main :: proc(argc: c.int, argv: [^]cstring) -> c.int ---
|
|
||||||
SetMainReady :: proc() ---
|
SetMainReady :: proc() ---
|
||||||
RunApp :: proc(argc: c.int, argv: [^]cstring, mainFunction: main_func, reserved: rawptr) -> c.int ---
|
RunApp :: proc(argc: c.int, argv: [^]cstring, mainFunction: main_func, reserved: rawptr) -> c.int ---
|
||||||
EnterAppMainCallbacks :: proc(argc: c.int, argv: [^]cstring, appinit: AppInit_func, appiter: AppIterate_func, appevent: AppEvent_func, appquit: AppQuit_func) -> c.int ---
|
EnterAppMainCallbacks :: proc(argc: c.int, argv: [^]cstring, appinit: AppInit_func, appiter: AppIterate_func, appevent: AppEvent_func, appquit: AppQuit_func) -> c.int ---
|
||||||
RegisterApp :: proc(name: cstring, style: Uint32, hInst: rawptr) -> bool ---
|
RegisterApp :: proc(name: cstring, style: Uint32, hInst: rawptr) -> bool ---
|
||||||
UnregisterApp :: proc() ---
|
UnregisterApp :: proc() ---
|
||||||
GDKSuspendComplete :: proc() ---
|
GDKSuspendComplete :: proc() ---
|
||||||
|
}
|
||||||
|
|
||||||
|
@(default_calling_convention="c")
|
||||||
|
foreign lib {
|
||||||
|
SDL_main :: proc(argc: c.int, argv: [^]cstring) -> c.int ---
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user