Improve error reporting

This commit is contained in:
King_DuckZ 2022-05-15 20:17:07 +02:00
commit ce7be396d2
3 changed files with 38 additions and 27 deletions

View file

@ -280,6 +280,10 @@ namespace wren {
return wrenHasVariable(m_local->wvm, module, name);
}
void VM::abort_fiber(int slot_num) {
wrenAbortFiber(m_local->wvm, slot_num);
}
std::size_t VM::dynafunc_byte_size() const {
return m_local->dynafunc.total_memory();
}