Dynamically load a shared object.
Defined in <SDL3/SDL_loadso.h>
void* SDL_LoadObject(const char *sofile);
sofile | a system-dependent name of the object file |
Returns an opaque pointer to the object handle or NULL if there was an error; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.
/* Dynamically load mylib.so */
"mylib.so"); SDL_LoadObject(
CategoryAPI, CategoryAPIFunction, CategorySharedObject