6.4.1 – Patterns Patterns in Lua are described by regular strings, which are interpreted as patterns by the pattern-matching functions
lua_Debug typedef struct lua_Debug { int event; const char *name; /* (n) */ const char *namewhat; /* (n) */ const char
string.upper (s)
lua_setglobal[-1, +0, e] void lua_setglobal (lua_State *L, const char *name); Pops a value from
string.rep (s, n [, sep])nssepsepn (Note that it is very easy to exhaust the memory of your machine with a single
lua_getlocal[-0, +(0|1), –] const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n); Gets information
luaL_callmeta[-0, +(0|1), e] int luaL_callmeta (lua_State *L, int obj, const char *e); Calls a
debug.setupvalue (f, up, value) This function assigns the value value to the upvalue with index up of the function f. The function returns
lua_topointer[-0, +0, –] const void *lua_topointer (lua_State *L, int index); Converts the value at the
lua_pushvfstring[-0, +1, m] const char *lua_pushvfstring (lua_State *L, const
Page 2 of 36