Ardour  8.7-15-gadf511264b
StackHelper< T, false, false > Struct Template Reference

#include <Userdata.h>

Static Public Member Functions

static void push (lua_State *L, T const &t)
 
static T const & get (lua_State *L, int index)
 

Detailed Description

template<class T>
struct StackHelper< T, false, false >

Pass by value.

Lifetime is managed by Lua. A C++ function which accesses a pointer or reference to an object outside the activation record in which it was retrieved may result in undefined behavior if Lua garbage collected it.

Definition at line 677 of file Userdata.h.

Member Function Documentation

◆ get()

template<class T >
static T const& StackHelper< T, false, false >::get ( lua_State L,
int  index 
)
inlinestatic

Definition at line 684 of file Userdata.h.

◆ push()

template<class T >
static void StackHelper< T, false, false >::push ( lua_State L,
T const &  t 
)
inlinestatic

Definition at line 679 of file Userdata.h.


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