-
Notifications
You must be signed in to change notification settings - Fork 50
MTY_SOLoad
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Dynamically load a shared object.
This function wraps dlopen
on Unix and LoadLibrary
on Windows.
MTY_SO *MTY_SOLoad(
const char * path
);
path
(const char *
)
Path to the shared object. This can simply be the name of shared object if it is in one of the default library search paths.
MTY_SO *
If the shared object can not be loaded or is not found, NULL
is returned. Call MTY_GetLog
for details.
The returned MTY_SO
must be unloaded with MTY_SOUnload
.