Added SDL_GetGlobalProperties()

We'll undoubtedly want to have global properties available
This commit is contained in:
Sam Lantinga 2023-11-08 11:55:04 -08:00
parent 151cdfa99f
commit 979214363f
5 changed files with 37 additions and 0 deletions

View file

@ -39,6 +39,19 @@ extern "C" {
*/
typedef Uint32 SDL_PropertiesID;
/**
* Get the global SDL properties
*
* \returns a valid property ID on success or 0 on failure; call
* SDL_GetError() for more information.
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_GetProperty
* \sa SDL_SetProperty
*/
extern DECLSPEC SDL_PropertiesID SDLCALL SDL_GetGlobalProperties(void);
/**
* Create a set of properties
*