Classes | Functions
sol::function_detail Namespace Reference

Classes

struct  c_call_matcher
 
struct  c_function_invocation
 
struct  call_indicator
 
struct  class_indicator
 
struct  functor_function
 
struct  member_function
 
struct  member_variable
 
struct  overloaded_function
 
struct  upvalue_free_function
 
struct  upvalue_member_function
 
struct  upvalue_member_variable
 
struct  upvalue_member_variable< T, readonly_wrapper< Function > >
 
struct  upvalue_this_member_function
 
struct  upvalue_this_member_variable
 
struct  upvalue_this_member_variable< T, readonly_wrapper< Function > >
 

Functions

template<typename F , F fx>
int c_call_raw (std::false_type, lua_State *L)
 
template<typename F , F fx>
int c_call_raw (std::true_type, lua_State *L)
 
template<typename Fx , int start = 1, bool is_yielding = false>
int call (lua_State *L)
 
template<typename R , typename V , V , typename T >
int call_set_assignable (std::false_type, T &&, lua_State *L)
 
template<typename R , typename V , V variable, typename T >
int call_set_assignable (std::true_type, lua_State *L, T &&mem)
 
template<typename R , typename V , V , typename T >
int call_set_variable (std::false_type, lua_State *L, T &&)
 
template<typename R , typename V , V variable, typename T >
int call_set_variable (std::true_type, lua_State *L, T &&mem)
 
template<typename F , F fx>
int call_wrapper_entry (lua_State *L) noexcept(meta::bind_traits< F >::is_noexcept)
 
template<typename F , F fx>
int call_wrapper_function (std::false_type, lua_State *L)
 
template<typename F , F fx>
int call_wrapper_function (std::true_type, lua_State *L)
 
template<typename F , F fx>
int call_wrapper_variable (std::false_type, lua_State *L)
 
template<typename V , V variable>
int call_wrapper_variable (std::true_type, lua_State *L)
 
template<bool yielding>
int lua_c_noexcept_wrapper (lua_State *L) noexcept
 
template<bool yielding>
int lua_c_wrapper (lua_State *L)
 
int no_construction_error (lua_State *L)
 
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void select (lua_State *L, Fx &&fx, Args &&... args)
 
template<bool is_yielding, bool no_trampoline, typename R , typename... A, typename Fx , typename... Args>
void select_convertible (types< R(A...)>, lua_State *L, Fx &&fx, Args &&... args)
 
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void select_convertible (types<>, lua_State *L, Fx &&fx, Args &&... args)
 
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void select_member_function (lua_State *L, Fx &&fx, Args &&... args)
 
template<bool is_yielding, bool no_trampoline, typename Fx , typename T , typename... Args>
void select_member_function_with (lua_State *L, Fx &&fx, T &&obj, Args &&... args)
 
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void select_member_variable (lua_State *L, Fx &&fx, Args &&... args)
 
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void select_set_fx (lua_State *L, Args &&... args)
 

Function Documentation

◆ c_call_raw() [1/2]

template<typename F , F fx>
int sol::function_detail::c_call_raw ( std::false_type  ,
lua_State L 
)
inline

Definition at line 19078 of file sol.hpp.

◆ c_call_raw() [2/2]

template<typename F , F fx>
int sol::function_detail::c_call_raw ( std::true_type  ,
lua_State L 
)
inline

Definition at line 19073 of file sol.hpp.

◆ call()

template<typename Fx , int start = 1, bool is_yielding = false>
int sol::function_detail::call ( lua_State L)

Definition at line 17899 of file sol.hpp.

◆ call_set_assignable() [1/2]

template<typename R , typename V , V , typename T >
int sol::function_detail::call_set_assignable ( std::false_type  ,
T &&  ,
lua_State L 
)
inline

Definition at line 19009 of file sol.hpp.

◆ call_set_assignable() [2/2]

template<typename R , typename V , V variable, typename T >
int sol::function_detail::call_set_assignable ( std::true_type  ,
lua_State L,
T &&  mem 
)
inline

Definition at line 19014 of file sol.hpp.

◆ call_set_variable() [1/2]

template<typename R , typename V , V , typename T >
int sol::function_detail::call_set_variable ( std::false_type  ,
lua_State L,
T &&   
)
inline

Definition at line 19020 of file sol.hpp.

◆ call_set_variable() [2/2]

template<typename R , typename V , V variable, typename T >
int sol::function_detail::call_set_variable ( std::true_type  ,
lua_State L,
T &&  mem 
)
inline

Definition at line 19025 of file sol.hpp.

◆ call_wrapper_entry()

template<typename F , F fx>
int sol::function_detail::call_wrapper_entry ( lua_State L)
noexcept

Definition at line 19059 of file sol.hpp.

◆ call_wrapper_function() [1/2]

template<typename F , F fx>
int sol::function_detail::call_wrapper_function ( std::false_type  ,
lua_State L 
)
inline

Definition at line 19049 of file sol.hpp.

◆ call_wrapper_function() [2/2]

template<typename F , F fx>
int sol::function_detail::call_wrapper_function ( std::true_type  ,
lua_State L 
)
inline

Definition at line 19054 of file sol.hpp.

◆ call_wrapper_variable() [1/2]

template<typename F , F fx>
int sol::function_detail::call_wrapper_variable ( std::false_type  ,
lua_State L 
)
inline

Definition at line 19001 of file sol.hpp.

◆ call_wrapper_variable() [2/2]

template<typename V , V variable>
int sol::function_detail::call_wrapper_variable ( std::true_type  ,
lua_State L 
)
inline

Definition at line 19030 of file sol.hpp.

◆ lua_c_noexcept_wrapper()

template<bool yielding>
int sol::function_detail::lua_c_noexcept_wrapper ( lua_State L)
noexcept

Definition at line 19822 of file sol.hpp.

◆ lua_c_wrapper()

template<bool yielding>
int sol::function_detail::lua_c_wrapper ( lua_State L)

Definition at line 19810 of file sol.hpp.

◆ no_construction_error()

int sol::function_detail::no_construction_error ( lua_State L)
inline

Definition at line 18134 of file sol.hpp.

◆ select()

template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void sol::function_detail::select ( lua_State L,
Fx &&  fx,
Args &&...  args 
)

Definition at line 19973 of file sol.hpp.

◆ select_convertible() [1/2]

template<bool is_yielding, bool no_trampoline, typename R , typename... A, typename Fx , typename... Args>
void sol::function_detail::select_convertible ( types< R(A...)>  ,
lua_State L,
Fx &&  fx,
Args &&...  args 
)

Definition at line 19850 of file sol.hpp.

◆ select_convertible() [2/2]

template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void sol::function_detail::select_convertible ( types<>  ,
lua_State L,
Fx &&  fx,
Args &&...  args 
)

Definition at line 19865 of file sol.hpp.

◆ select_member_function()

template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void sol::function_detail::select_member_function ( lua_State L,
Fx &&  fx,
Args &&...  args 
)

Definition at line 19956 of file sol.hpp.

◆ select_member_function_with()

template<bool is_yielding, bool no_trampoline, typename Fx , typename T , typename... Args>
void sol::function_detail::select_member_function_with ( lua_State L,
Fx &&  fx,
T &&  obj,
Args &&...  args 
)

Definition at line 19922 of file sol.hpp.

◆ select_member_variable()

template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void sol::function_detail::select_member_variable ( lua_State L,
Fx &&  fx,
Args &&...  args 
)

Definition at line 19871 of file sol.hpp.

◆ select_set_fx()

template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args>
void sol::function_detail::select_set_fx ( lua_State L,
Args &&...  args 
)

Definition at line 19839 of file sol.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53