nngn
Loading...
Searching...
No Matches
nngn::lua::stack_get< std::string_view > Struct Reference

Reads a string value as ptr+size. More...

#include <get.h>

Static Public Member Functions

static std::string_view get (lua_State *L, int i)
 
static std::string_view get (lua_State *L, int i)
 

Detailed Description

Reads a string value as ptr+size.

The stack value must outlive the returned value.

Member Function Documentation

◆ get() [1/2]

static std::string_view nngn::lua::stack_get< std::string_view >::get ( lua_State *  L,
int  i 
)
inlinestatic

◆ get() [2/2]

static std::string_view nngn::lua::stack_get< std::string_view >::get ( lua_State *  L,
int  i 
)
inlinestatic

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