CLI wrapper for running Phasor scripts and bytecode in-process.
More...
#include <NativeRuntime.hpp>
|
| static void | eval (VM *vm, const std::string &script) |
CLI wrapper for running Phasor scripts and bytecode in-process.
Allows embedding and running Phasor scripts and bytecode within a native application.
Definition at line 18 of file NativeRuntime.hpp.
◆ NativeRuntime() [1/2]
| Phasor::NativeRuntime::NativeRuntime |
( |
const std::vector< uint8_t > & | bytecodeData, |
|
|
const int | argc, |
|
|
const char ** | argv ) |
◆ NativeRuntime() [2/2]
| Phasor::NativeRuntime::NativeRuntime |
( |
const std::string & | script, |
|
|
int | argc, |
|
|
char ** | argv ) |
◆ ~NativeRuntime()
| Phasor::NativeRuntime::~NativeRuntime |
( |
| ) |
|
◆ addNativeFunction()
| void Phasor::NativeRuntime::addNativeFunction |
( |
const std::string & | name, |
|
|
void * | function ) |
◆ eval()
| void Phasor::NativeRuntime::eval |
( |
VM * | vm, |
|
|
const std::string & | script ) |
|
static |
◆ run()
| int Phasor::NativeRuntime::run |
( |
| ) |
|
◆ m_argc
| int Phasor::NativeRuntime::m_argc |
|
private |
◆ m_argv
| char** Phasor::NativeRuntime::m_argv |
|
private |
◆ m_bytecode
| Bytecode Phasor::NativeRuntime::m_bytecode |
|
private |
◆ m_bytecodeData
| std::vector<uint8_t> Phasor::NativeRuntime::m_bytecodeData |
|
private |
◆ m_script
| std::string Phasor::NativeRuntime::m_script |
|
private |
◆ m_vm
| std::unique_ptr<VM> Phasor::NativeRuntime::m_vm |
|
private |
The documentation for this class was generated from the following files: