mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-30 21:37:43 +08:00
include: Always declare SDL_GDKSuspendComplete.
This is always defined in the symbol table and the function safely does nothing on non-GDK targets, so treat it like any other SDL_system function.
This commit is contained in:
@@ -567,17 +567,16 @@ extern SDL_DECLSPEC void SDLCALL SDL_UnregisterApp(void);
|
|||||||
|
|
||||||
#endif /* defined(SDL_PLATFORM_WINDOWS) */
|
#endif /* defined(SDL_PLATFORM_WINDOWS) */
|
||||||
|
|
||||||
#ifdef SDL_PLATFORM_GDK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback from the application to let the suspend continue.
|
* Callback from the application to let the suspend continue.
|
||||||
*
|
*
|
||||||
|
* This function is only needed for Xbox GDK support; all other platforms will
|
||||||
|
* do nothing and set an "unsupported" error message.
|
||||||
|
*
|
||||||
* \since This function is available since SDL 3.1.3.
|
* \since This function is available since SDL 3.1.3.
|
||||||
*/
|
*/
|
||||||
extern SDL_DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
|
extern SDL_DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
|
||||||
|
|
||||||
#endif /* SDL_PLATFORM_GDK */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user