MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ lila_load_library()

MAYAFLUX_HOST_API void MayaFlux::Host::Live::lila_load_library ( const std::string &  path)

Load a shared library into the JIT symbol table at runtime.

Can be called before or after start_lila(). Libraries loaded before start_lila() are staged and loaded immediately after interpreter initialization. Use this for external .so/.dylib/.dll files that were not linked into the host process.

Parameters
pathFull path to the shared library.

Definition at line 143 of file Runtime.cpp.

144{
145 std::lock_guard<std::mutex> guard(g_mutex);
146 if (g_instance) {
147 g_instance->load_library(path);
148 return;
149 }
150 g_pending_libraries.push_back(path);
151}