diff options
Diffstat (limited to 'src/frontend/mame/luaengine.h')
-rw-r--r-- | src/frontend/mame/luaengine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/mame/luaengine.h b/src/frontend/mame/luaengine.h index c8189f82083..2937b723b74 100644 --- a/src/frontend/mame/luaengine.h +++ b/src/frontend/mame/luaengine.h @@ -166,6 +166,9 @@ private: bool busy; bool yield; }; + + template<typename TFunc, typename... TArgs> + sol::protected_function_result invoke(TFunc &&func, TArgs&&... args); }; #endif // MAME_FRONTEND_MAME_LUAENGINE_H |