Luwra
Minimal-overhead Lua wrapper for C++
Classes | Public Types | Static Public Member Functions | List of all members
luwra::internal::UserTypeWrapper< UserType > Struct Template Reference

Inherits luwra::internal::UserTypeReg< StripUserType< UserType > >.

Classes

struct  ConstructorWrapper
 

Public Types

using Type = StripUserType< UserType >
 

Static Public Member Functions

static Typecheck (State *state, int index)
 
static int destruct (State *state)
 
static int stringify (State *state)
 

Additional Inherited Members

- Static Public Attributes inherited from luwra::internal::UserTypeReg< StripUserType< UserType > >
static const int id
 
static const std::string name
 

Member Typedef Documentation

§ Type

template<typename UserType >
using luwra::internal::UserTypeWrapper< UserType >::Type = StripUserType<UserType>

Member Function Documentation

§ check()

template<typename UserType >
static Type* luwra::internal::UserTypeWrapper< UserType >::check ( State state,
int  index 
)
inlinestatic

§ destruct()

template<typename UserType >
static int luwra::internal::UserTypeWrapper< UserType >::destruct ( State state)
inlinestatic

§ stringify()

template<typename UserType >
static int luwra::internal::UserTypeWrapper< UserType >::stringify ( State state)
inlinestatic