Luwra
Minimal-overhead Lua wrapper for C++
Static Public Member Functions | List of all members
luwra::Value< Function< Ret > > Struct Template Reference

Enables reading/pushing Lua functions. More...

#include <function.hpp>

Static Public Member Functions

static void push (State *state, const Function< Ret > &func)
 
static Function< Ret > read (State *state, int index)
 

Detailed Description

template<typename Ret>
struct luwra::Value< Function< Ret > >

Enables reading/pushing Lua functions.

Member Function Documentation

◆ push()

template<typename Ret >
static void luwra::Value< Function< Ret > >::push ( State state,
const Function< Ret > &  func 
)
inlinestatic

◆ read()

template<typename Ret >
static Function< Ret > luwra::Value< Function< Ret > >::read ( State state,
int  index 
)
inlinestatic