| 284 | } |
| 285 | |
| 286 | void Runtime::RunModule(JNIEnv* _env, jobject obj, jstring scriptFile) { |
| 287 | JEnv env(_env); |
| 288 | |
| 289 | string filePath = ArgConverter::jstringToString(scriptFile); |
| 290 | auto context = this->GetContext(); |
| 291 | m_module.Load(context, filePath); |
| 292 | } |
| 293 | |
| 294 | void Runtime::RunModule(const char* moduleName) { |
| 295 | auto context = this->GetContext(); |