Skip to content

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
);

Parameters

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.

Return value

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.

Platform support

Windows   macOS   Android   Linux  

See also

Module: System

Clone this wiki locally