| 14461 | |
| 14462 | template <typename T> |
| 14463 | int set_ref(lua_State* L, T&& arg, int tableindex = -2) { |
| 14464 | push(L, std::forward<T>(arg)); |
| 14465 | return luaL_ref(L, tableindex); |
| 14466 | } |
| 14467 | |
| 14468 | template <bool check_args = detail::default_safe_function_calls, typename R, typename... Args, typename Fx, typename... FxArgs> |
| 14469 | inline decltype(auto) call(types<R> tr, types<Args...> ta, lua_State* L, int start, Fx&& fx, FxArgs&&... args) { |
no test coverage detected