sdl3/generated/lib_sdl_main library

Functions

sdlEnterAppMainCallbacks(int argc, Pointer<Pointer<Int8>> argv, Pointer<NativeFunction<SdlAppInitFunc>> appinit, Pointer<NativeFunction<SdlAppIterateFunc>> appiter, Pointer<NativeFunction<SdlAppEventFunc>> appevent, Pointer<NativeFunction<SdlAppQuitFunc>> appquit) int
An entry point for SDL's use in SDL_MAIN_USE_CALLBACKS.
sdlGdkSuspendComplete() → void
Callback from the application to let the suspend continue.
sdlRegisterApp(String? name, int style, Pointer<NativeType> hInst) bool
Register a win32 window class for SDL's use.
sdlRunApp(int argc, Pointer<Pointer<Int8>> argv, Pointer<NativeFunction<SdlMainFunc>> mainFunction, Pointer<NativeType> reserved) int
Initializes and launches an SDL application, by doing platform-specific initialization before calling your mainFunction and cleanups after it returns, if that is needed for a specific platform, otherwise it just calls mainFunction.
sdlSetMainReady() → void
Circumvent failure of SDL_Init() when not using SDL_main() as an entry point.
sdlUnregisterApp() → void
Deregister the win32 window class from an SDL_RegisterApp call.