SDL3pp
A slim C++ wrapper for SDL3
|
System-dependent library loading routines. More...
Classes | |
struct | SDL::SharedObjectBase |
An opaque datatype that represents a loaded shared object. More... | |
struct | SDL::SharedObjectRef |
Handle to a non owned sharedObject. More... | |
struct | SDL::SharedObject |
Handle to an owned sharedObject. More... | |
Shared objects are code that is programmatically loadable at runtime. Windows calls these "DLLs", Linux calls them "shared libraries", etc.
To use them, build such a library, then call SDL_LoadObject() on it. Once loaded, you can use SDL_LoadFunction() on that object to find the address of its exported symbols. When done with the object, call SDL_UnloadObject() to dispose of it.
Some things to keep in mind: