OpenMiner
0.0.1a
Voxel game engine
sol
stack
getter< meta_function >
Static Public Member Functions
|
List of all members
sol::stack::getter< meta_function > Struct Template Reference
#include <
sol.hpp
>
Static Public Member Functions
static
meta_function
get
(lua_State *L, int index,
record
&tracking)
Member Function Documentation
§
get()
static
meta_function
sol::stack::getter
<
meta_function
>::get
(
lua_State *
L
,
int
index
,
record
&
tracking
)
inline
static
9818
{
9819
tracking.use(1);
9820
const
char
* name = getter<const char*>{}.get(L, index, tracking);
9821
const
auto
& mfnames =
meta_function_names
();
9822
for
(std::size_t i = 0; i < mfnames.size(); ++i)
9823
if
(mfnames[i] == name)
9824
return
static_cast<
meta_function
>
(i);
9825
return
meta_function::construct
;
9826
}
sol::meta_function_names
const std::array< std::string, 32 > & meta_function_names()
Definition:
sol.hpp:5316
sol::meta_function::construct
sol::meta_function
meta_function
Definition:
sol.hpp:5277
The documentation for this struct was generated from the following file:
external/
sol.hpp
Generated by
1.8.12