sdlGetGlobalProperties function properties

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

extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetGlobalProperties(void)

Implementation

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