#include <sol.hpp>
|
typedef std::remove_pointer_t< std::decay_t< Function > > | function_type |
|
|
static int | real_call (lua_State *L) noexcept(false) |
|
static int | call (lua_State *L) |
|
§ function_type
template<typename T , typename Function , bool is_yielding>
§ call()
template<typename T , typename Function , bool is_yielding>
14084 int nr = detail::typed_static_trampoline<decltype(&real_call), (&real_call)>(L);
14086 return lua_yield(L, nr);
§ operator()()
template<typename T , typename Function , bool is_yielding>
static int call(lua_State *L)
Definition: sol.hpp:14083
§ real_call()
template<typename T , typename Function , bool is_yielding>
14071 auto memberdata = stack::stack_detail::get_as_upvalues<function_type>(L);
14073 switch (lua_gettop(L)) {
14075 return call_detail::call_wrapped<T, true, false>(L,
var);
14077 return call_detail::call_wrapped<T, false, false>(L,
var);
14079 return luaL_error(L,
"sol: incorrect number of arguments to member variable function");
auto var(V &&v)
Definition: sol.hpp:13018
std::remove_pointer_t< std::decay_t< Function > > function_type
Definition: sol.hpp:14066
The documentation for this struct was generated from the following file: