OpenMiner
0.0.1a
Voxel game engine
sol
constructor_handler
Public Member Functions
|
List of all members
sol::constructor_handler Struct Reference
#include <
sol.hpp
>
Public Member Functions
int
operator()
(lua_State *L, int
index
,
type
expected,
type
actual, const
std::string
&message) const noexcept(false)
Member Function Documentation
§
operator()()
int sol::constructor_handler::operator()
(
lua_State *
L
,
int
index
,
type
expected
,
type
actual
,
const
std::string
&
message
)
const
inline
noexcept
6367
{
6368
std::string
str =
"(type check failed in constructor)"
;
6369
return
type_panic_string
(L,
index
, expected, actual, message.empty() ? str : message +
" "
+ str);
6370
}
sol::type_panic_string
int type_panic_string(lua_State *L, int index, type expected, type actual, const std::string &message="") noexcept(false)
Definition:
sol.hpp:6334
sol::lib::string
sol::meta_function::index
The documentation for this struct was generated from the following file:
external/
sol.hpp
Generated by
1.8.12