OpenMiner  0.0.1a
Voxel game engine
Public Member Functions | List of all members
sol::argument_handler< F > Struct Template 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()()

template<typename F = void>
int sol::argument_handler< F >::operator() ( lua_State *  L,
int  index,
type  expected,
type  actual,
const std::string message 
) const
inlinenoexcept
6375  {
6376  std::string str = "(bad argument to variable or function call)";
6377  return type_panic_string(L, index, expected, actual, message.empty() ? str : message + " " + str );
6378  }
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: