mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 14:29:14 +08:00
docs/README-main-functions: point to SDL3/NonstandardStartup wiki page.
Fixes #14513.
This commit is contained in:
@@ -205,13 +205,13 @@ data, as this pointer will not be provided to your app again.
|
|||||||
The SDL_AppResult value that terminated the app is provided here, in case
|
The SDL_AppResult value that terminated the app is provided here, in case
|
||||||
it's useful to know if this was a successful or failing run of the app.
|
it's useful to know if this was a successful or failing run of the app.
|
||||||
|
|
||||||
## Implementing main callbacks for other languages
|
|
||||||
|
|
||||||
If you're writing language bindings for SDL and want to provide the main
|
## Using main functions from other languages
|
||||||
callback functionality, you should call SDL_EnterAppMainCallbacks() and pass it
|
|
||||||
the arguments and callback functions that you want called during the program
|
If not working in C/C++, using SDL's entry points is still possible but more
|
||||||
execution. This function will call the init, event, and iterate functions and
|
complex. Please refer to https://wiki.libsdl.org/SDL3/NonstandardStartup for
|
||||||
then once the application is done, will call the quit callback and return.
|
the technical details.
|
||||||
|
|
||||||
|
|
||||||
## Summary and Best Practices
|
## Summary and Best Practices
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user