luaL_argerror[-0, +0, v] int luaL_argerror (lua_State *L, int arg, const char *extramsg); Raises
luaL_dostring[-0, +?, –] int luaL_dostring (lua_State *L, const char *str); Loads and runs the given string
lua_pushstring[-0, +1, m] const char *lua_pushstring (lua_State *L, const char *s); Pushes the
lua_setlocal[-(0|1), +0, –] const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n); Sets the
math.tointeger (x) If the value x is convertible to an integer, returns that integer. Otherwise, returns nil.
os.time ([table]) Returns the current time when called without arguments, or a time representing the local date and time specified by the given table. This table must have fields
3.4.2 – Bitwise Operators Lua supports the following bitwise operators: &: bitwise AND |: bitwise OR ~:
luaL_gsub[-0, +1, m] const char *luaL_gsub (lua_State *L, const char *s,
lua_gettop[-0, +0, –] int lua_gettop (lua_State *L); Returns the index of the top element in the stack
lua_tostring[-0, +0, m] const char *lua_tostring (lua_State *L, int index); Equivalent to
Page 21 of 36