###### (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!) # SDL_UnloadObject Unload a shared object from memory. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_loadso.h) ## Syntax ```c void SDL_UnloadObject(SDL_SharedObject *handle); ``` ## Function Parameters | | | | | -------------------------------------- | ---------- | ---------------------------------------------------------------------------- | | [SDL_SharedObject](SDL_SharedObject) * | **handle** | a valid shared object handle returned by [SDL_LoadObject](SDL_LoadObject)(). | ## Remarks Note that any pointers from this object looked up through [SDL_LoadFunction](SDL_LoadFunction)() will no longer be valid. ## Thread Safety It is safe to call this function from any thread. ## Version This function is available since SDL 3.1.3. ## See Also - [SDL_LoadObject](SDL_LoadObject) ---- [CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategorySharedObject](CategorySharedObject)