Skip to content

Commit

Permalink
Fix #4804
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill committed Feb 7, 2025
1 parent 6189413 commit a541119
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vendor/sdl3/sdl3_main.odin
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ foreign lib {
AppIterate :: proc(appstate: rawptr) -> AppResult ---
AppEvent :: proc(appstate: rawptr, event: ^Event) -> AppResult ---
AppQuit :: proc(appstate: rawptr, result: AppResult) ---
main :: proc(argc: c.int, argv: [^]cstring) -> c.int ---
SetMainReady :: proc() ---
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 ---
RegisterApp :: proc(name: cstring, style: Uint32, hInst: rawptr) -> bool ---
UnregisterApp :: proc() ---
GDKSuspendComplete :: proc() ---
}

@(default_calling_convention="c")
foreign lib {
SDL_main :: proc(argc: c.int, argv: [^]cstring) -> c.int ---
}

0 comments on commit a541119

Please sign in to comment.