mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
Added SDL_GetGlobalProperties()
We'll undoubtedly want to have global properties available
This commit is contained in:
parent
151cdfa99f
commit
979214363f
5 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue