lua_stringtonumber[-0, +1, –] size_t lua_stringtonumber (lua_State *L, const char *s); Converts the zero-terminated
lua_tonumber[-0, +0, –] lua_Number lua_tonumber (lua_State *L, int index); Equivalent to
3.4.3 – Coercions and Conversions Lua provides some automatic conversions between some types and representations at run time. Bitwise operators always convert float operands to integers. Exponentiation
io.write (···) Equivalent to io.output():write(···).
3.4.11 – Function Definitions The syntax for function definition is functiondef ::= function funcbody funcbody ::= ‘(’ [parlist] ‘)’ block end
luaL_execresult[-0, +3, m] int luaL_execresult (lua_State *L, int stat); This function produces
lua_isinteger[-0, +0, –] int lua_isinteger (lua_State *L, int index); Returns 1 if the value at the given
utf8.charpattern[\0-\x7F\xC2-\xF4][\x80-\xBF]*§6.4.1
lua_tolstring[-0, +0, m] const char *lua_tolstring (lua_State *L, int index, size_t *len); Converts
package.config A string describing some compile-time configurations for packages. This string is a sequence of lines: The first line is the directory separator string
Page 14 of 36