|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_HOST_API bool MayaFlux::Host::Live::start_lila | ( | uint16_t | port = 9090 | ) |
Start a Lila interpreter and TCP server inside this process.
Constructs a Lila instance and initializes it in OperationMode::Both. The interpreter skips loading MayaFluxLib because the host process already has it resident in the symbol table.
Only one Lila instance is permitted per process. Subsequent calls while one is already running return false and log a warning.
JIT'd code evaluated through this session can call any MayaFlux symbol visible in the process symbol table. Objects constructed with shorter lifetimes than the host should use MayaFlux::store() or MayaFlux::make_persistent() to survive declaration-group scoping.
| port | TCP port for the Lila server to listen on. |
Definition at line 20 of file Runtime.cpp.
References LILA_ERROR, LILA_INFO, and LILA_WARN.