| 335 | } |
| 336 | |
| 337 | void TryRunScriptHandler(ScriptType sc_type, const String &script_module, |
| 338 | const ScriptEventHandler &handler, size_t param_count, const RuntimeScriptValue *params) |
| 339 | { |
| 340 | if (handler.IsEnabled()) |
| 341 | RunScriptFunctionAuto(sc_type, ScriptFunctionRef(script_module, handler.FunctionName), param_count, params); |
| 342 | } |
| 343 | |
| 344 | // Run a script function on a non-blocking script thread |
| 345 | static bool DoRunScriptFuncCantBlock(const RuntimeScript *script, NonBlockingScriptFunction* funcToRun, bool hasTheFunc) |
no test coverage detected