Dynamically load a shared object.
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.
#include "SDL.h"
/* Dynamically load mylib.so */
"mylib.so"); SDL_LoadObject(
CategoryAPI, CategorySharedObject