lua_error[-1, +0, v] int lua_error (lua_State *L); Generates a Lua error, using the value at the
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
os.setlocale (locale [, category]) Sets the current locale of the program. locale is a system-dependent string specifying a locale; category is an optional
lua_tonumberx[-0, +0, –] lua_Number lua_tonumberx (lua_State *L, int index, int *isnum); Converts the Lua
utf8.char (···)
debug.getmetatable (value) Returns the metatable of the given value or nil if it does not have a metatable.
luaL_typename[-0, +0, –] const char *luaL_typename (lua_State *L, int index); Returns the name of the type
luaL_getmetafield[-0, +(0|1), m] int luaL_getmetafield (lua_State *L, int obj, const char *e);
lua_isthread[-0, +0, –] int lua_isthread (lua_State *L, int index); Returns 1 if the value at the given
utf8.codepoint (s [, i [, j]])sijiji
Page 2 of 36