sdlGetGlobalProperties function

int sdlGetGlobalProperties()

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.1.3.

extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetGlobalProperties(void)

Implementation

int sdlGetGlobalProperties() {
  final sdlGetGlobalPropertiesLookupFunction =
      libSdl3.lookupFunction<Uint32 Function(), int Function()>(
          'SDL_GetGlobalProperties');
  return sdlGetGlobalPropertiesLookupFunction();
}