| 68 | #define LUA_DEBUG if (getDebug() && o) { _INF("CtrlrLuaMethodManager::call " + o->getName()); } |
| 69 | |
| 70 | const bool CtrlrLuaMethodManager::call(CtrlrLuaMethod *o) |
| 71 | { |
| 72 | const ScopedLock sl(methodManagerCriticalSection); |
| 73 | |
| 74 | LUA_DEBUG |
| 75 | |
| 76 | if (isLuaDisabled()) |
| 77 | return (true); |
| 78 | |
| 79 | try |
| 80 | { |
| 81 | if (o->isValid()) |
| 82 | luabind::call_function<void>(o->getObject().getObject()); |
| 83 | } |
| 84 | CATCH_METHOD_EXCEPTION |
| 85 | |
| 86 | return (true); |
| 87 | } |
| 88 | |
| 89 | const bool CtrlrLuaMethodManager::call(CtrlrLuaMethod *o, CtrlrModulator *param1, const int param2) |
| 90 | { |
no test coverage detected