| 115 | } |
| 116 | |
| 117 | void ScriptEngine::setInstance(const std::string& target, const std::string& source) |
| 118 | { |
| 119 | // Target is checked later |
| 120 | assert(m_pVM->getDATFile().hasSymbolName(source)); |
| 121 | |
| 122 | setInstance(target, |
| 123 | m_pVM->getDATFile().getSymbolIndexByName(source)); |
| 124 | } |
| 125 | |
| 126 | void ScriptEngine::setInstance(const std::string& target, size_t source) |
| 127 | { |
no test coverage detected