Added SDL_GetGlobalProperties()

We'll undoubtedly want to have global properties available
This commit is contained in:
Sam Lantinga committed 2023-11-08 12:01:48 -08:00
1 parent 151cdfa99f
commit 979214363f
5 files changed
+37

No files matched your search

+13
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
*