SDL_UnloadObject(3)
π SDL_UnloadObject(3) β bestie edition
okay so this is one of the SDL3 FUNCTIONS pages, and today we're talking about SDL_UnloadObject(3). yes the name is the same as the title, we love a consistent queen β¨
πΈ NAME πΈ
SDL_UnloadObject β literally just yeets a shared object out of memory. bye boo π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_loadso.h>
void SDL_UnloadObject(SDL_SharedObject *handle);
π DESCRIPTION π
so here's the tea, and it's kind of important bestie: once you unload this object, any pointers you looked up from it through SDL_LoadFunction() are no longer valid. like, they're done. expired. not the vibe. do not touch them after this, fr fr π
π¦ FUNCTION PARAMETERS π¦
handleβ a valid shared object handle, and it has to be one that came back fromSDL_LoadObject(). no making up handles, no passing randoms, we're not doing that π
π§΅ THREAD SAFETY π§΅
she's chill like that β it's safe to call this function from any thread. no cap. go off wherever you want π«Ά
π AVAILABILITY π
this icon has been serving since SDL 3.2.0 π
π SEE ALSO π
SDL_LoadObject(3)β the one that brings it in, because every unload needs its load π«
and that's the whole page, bestie! π this was Simple Directmedia Layer, version SDL 3.4.18, dated SDL_UnloadObject(3) β mwah, slay, periodt π π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms