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

Enables reading/pushing strings as C strings. More...

#include <values.hpp>

Inherited by luwra::Value< char * >, luwra::Value< char[N]>, and luwra::Value< const char[N]>.

Static Public Member Functions

static void push (State *state, const char *value)
 
static const char * read (State *state, int index)
 

Detailed Description

Enables reading/pushing strings as C strings.

Member Function Documentation

◆ push()

static void luwra::Value< const char * >::push ( State state,
const char *  value 
)
inlinestatic

◆ read()

static const char * luwra::Value< const char * >::read ( State state,
int  index 
)
inlinestatic