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)
 

Detailed Description

template<user_type 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/2]

template<user_type T>
static int nngn::lua::stack_push< T * >::push ( lua_State * L,
T * p )
inlinestatic

◆ push() [2/2]

template<user_type 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 file: