ug4
ug::lua_traits< bool > Struct Reference

#include <lua_traits.h>

Static Public Member Functions

static bool check (lua_State *L, int index=-1)
 
static bool do_return (const bool &b)
 
static std::string name ()
 
static void push (lua_State *L, const bool &b)
 
static void read (lua_State *L, bool &b, int index=-1)
 
static std::string signature ()
 

Static Public Attributes

static const int size = 1
 

Member Function Documentation

◆ check()

static bool ug::lua_traits< bool >::check ( lua_State L,
int  index = -1 
)
inlinestatic

◆ do_return()

static bool ug::lua_traits< bool >::do_return ( const bool &  b)
inlinestatic

◆ name()

static std::string ug::lua_traits< bool >::name ( )
inlinestatic

◆ push()

static void ug::lua_traits< bool >::push ( lua_State L,
const bool &  b 
)
inlinestatic

◆ read()

static void ug::lua_traits< bool >::read ( lua_State L,
bool &  b,
int  index = -1 
)
inlinestatic

◆ signature()

static std::string ug::lua_traits< bool >::signature ( )
inlinestatic

Member Data Documentation

◆ size

const int ug::lua_traits< bool >::size = 1
static

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