OpenMiner  0.0.1a
Voxel game engine
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
inlinenoexcept
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  }
int type_panic_string(lua_State *L, int index, type expected, type actual, const std::string &message="") noexcept(false)
Definition: sol.hpp:6334

The documentation for this struct was generated from the following file: