| 77 | } |
| 78 | |
| 79 | int32_t ScriptEngine::runFunction(const std::string& fname, bool clearDataStack) |
| 80 | { |
| 81 | assert(getVM().getDATFile().hasSymbolName(fname)); |
| 82 | return runFunctionBySymIndex(getVM().getDATFile().getSymbolIndexByName(fname), clearDataStack); |
| 83 | } |
| 84 | |
| 85 | int32_t ScriptEngine::runFunctionBySymIndex(size_t symIdx, bool clearDataStack) |
| 86 | { |
no test coverage detected