| 7469 | |
| 7470 | template <typename Fx, typename... Args> |
| 7471 | int trampoline(lua_State* L, Fx&& f, Args&&... args) noexcept { |
| 7472 | return f(L, std::forward<Args>(args)...); |
| 7473 | } |
| 7474 | |
| 7475 | inline int c_trampoline(lua_State* L, lua_CFunction f) noexcept { |
| 7476 | return trampoline(L, f); |
no test coverage detected