sdlGetIoProperties function

int sdlGetIoProperties(
  1. Pointer<SdlIoStream> context
)

Get the properties associated with an SDL_IOStream.

\param context a pointer to an SDL_IOStream structure. \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_GetIOProperties(SDL_IOStream *context)

Implementation

int sdlGetIoProperties(Pointer<SdlIoStream> context) {
  final sdlGetIoPropertiesLookupFunction = libSdl3.lookupFunction<
      Uint32 Function(Pointer<SdlIoStream> context),
      int Function(Pointer<SdlIoStream> context)>('SDL_GetIOProperties');
  return sdlGetIoPropertiesLookupFunction(context);
}