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

◆ lila_add_include_path()

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

Add an include path to the Lila interpreter.

Must be called before start_lila(). Paths registered after initialization have no effect on the compiler state already built by initialize().

Parameters
pathDirectory to add to the JIT include search path.

Definition at line 110 of file Runtime.cpp.

111{
112 std::lock_guard<std::mutex> guard(g_mutex);
113 if (g_instance) {
114 g_instance->add_include_path(path);
115 return;
116 }
117 g_pending_include_paths.push_back(path);
118}

Referenced by lila_add_header().

+ Here is the caller graph for this function: