MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Host::Live Namespace Reference

Functions

std::optional< std::filesystem::path > find_include_dir (const std::string &filename)
 Find the directory containing a header staged for inclusion.
 
bool lila_active ()
 True if a Lila instance is currently running in this process.
 
void lila_add_compile_flag (const std::string &flag)
 Add a compile flag to the Lila interpreter.
 
bool lila_add_header (const std::string &filename)
 Stage a header for inclusion in the Lila interpreter.
 
void lila_add_include_path (const std::string &path)
 Add an include path to the Lila interpreter.
 
bool lila_eval (const std::string &code)
 Evaluate a code snippet in the Lila interpreter.
 
void lila_load_library (const std::string &path)
 Load a shared library into the JIT symbol table at runtime.
 
uint16_t lila_port ()
 TCP port of the running Lila instance, or 0 if none is running.
 
bool start_lila (uint16_t port=9090)
 Start a Lila interpreter and TCP server inside this process.
 
void stop_lila (bool clear_persistent_store=false)
 Stop the running Lila interpreter and TCP server.