nngn
Loading...
Searching...
No Matches
nngn::lua::stack_push< T * > Struct Template Reference

Pushes a generic pointer as a light user data value. More...

#include <push.h>

Static Public Member Functions

static int push (lua_State *L, T *p)
 
static int push (lua_State *L, T *t)
 
static int push (lua_State *L, T *p)
 
static int push (lua_State *L, T *t)
 

Detailed Description

template<std::convertible_to< const void > T>
struct nngn::lua::stack_push< T * >

Pushes a generic pointer as a light user data value.

Pushes a user type as a full user data value (pointer specialization).

The user data value contains only a pointer to the value.

Member Function Documentation

◆ push() [1/4]

template<std::convertible_to< const void > T>
static int nngn::lua::stack_push< T * >::push ( lua_State *  L,
T p 
)
inlinestatic

◆ push() [2/4]

template<std::convertible_to< const void > T>
static int nngn::lua::stack_push< T * >::push ( lua_State *  L,
T p 
)
inlinestatic

◆ push() [3/4]

template<std::convertible_to< const void > T>
static int nngn::lua::stack_push< T * >::push ( lua_State *  L,
T t 
)
inlinestatic
Here is the call graph for this function:

◆ push() [4/4]

template<std::convertible_to< const void > T>
static int nngn::lua::stack_push< T * >::push ( lua_State *  L,
T t 
)
inlinestatic
Here is the call graph for this function:

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