luaL_callmeta[-0, +(0|1), e] int luaL_callmeta (lua_State *L, int obj, const char *e); Calls a
tonumber (e [, base]) When called with no base, tonumber tries to convert its argument to a number. If the argument is already a number or a string convertible
lua_isthread[-0, +0, –] int lua_isthread (lua_State *L, int index); Returns 1 if the value at the given
lua_rotate[-0, +0, –] void lua_rotate (lua_State *L, int idx, int n); Rotates the stack elements between
3.3.3 – Assignment Lua allows multiple assignments. Therefore, the syntax for assignment defines a list of variables on the left side and a list of expressions on the right side. The elements
lua_Alloc typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize,
_VERSION A global variable (not a function) that holds a string containing the running Lua version. The current value of this variable is "Lua 5.3".
luaL_checknumber[-0, +0, v] lua_Number luaL_checknumber (lua_State *L, int arg); Checks whether
os.setlocale (locale [, category]) Sets the current locale of the program. locale is a system-dependent string specifying a locale; category is an optional
debug.upvaluejoin (f1, n1, f2, n2) Make the n1-th upvalue of the Lua closure f1 refer to the n2-th upvalue of the Lua closure f2
Page 5 of 36