sdlUnloadObject function

void sdlUnloadObject(
  1. Pointer<NativeType> handle
)

Unload a shared object from memory.

\param handle a valid shared object handle returned by SDL_LoadObject()

\since This function is available since SDL 2.0.0.

\sa SDL_LoadFunction \sa SDL_LoadObject

extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle)

Implementation

void sdlUnloadObject(Pointer<NativeType> handle) {
  final sdlUnloadObjectLookupFunction = libSdl2.lookupFunction<
      Void Function(Pointer<NativeType> handle),
      void Function(Pointer<NativeType> handle)>('SDL_UnloadObject');
  return sdlUnloadObjectLookupFunction(handle);
}