| 628 | } |
| 629 | |
| 630 | String CtrlrLuaMethodManager::callWithRetString(CtrlrLuaMethod *o, CtrlrCustomComponent *param1) |
| 631 | { |
| 632 | const ScopedLock sl(methodManagerCriticalSection); |
| 633 | |
| 634 | LUA_DEBUG |
| 635 | |
| 636 | if (isLuaDisabled()) |
| 637 | return (""); |
| 638 | |
| 639 | try |
| 640 | { |
| 641 | if (o->isValid()) |
| 642 | { |
| 643 | return (luabind::call_function<String>(o->getObject().getObject(), param1)); |
| 644 | } |
| 645 | } |
| 646 | CATCH_METHOD_EXCEPTION_STR |
| 647 | |
| 648 | return (""); |
| 649 | } |
| 650 | |
| 651 | const bool CtrlrLuaMethodManager::call(CtrlrLuaMethod *o, CtrlrCustomComponent *param1, const KeyPress ¶m2, Component *param3) |
| 652 | { |
no test coverage detected