sdlUnloadObject function

void sdlUnloadObject(
  1. Pointer<SdlSharedObject> handle
)

Unload a shared object from memory.

Note that any pointers from this object looked up through SDL_LoadFunction() will no longer be valid.

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

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.1.3.

\sa SDL_LoadObject

extern SDL_DECLSPEC void SDLCALL SDL_UnloadObject(SDL_SharedObject *handle)

Implementation

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