luaL_checkany[-0, +0, v] void luaL_checkany (lua_State *L, int arg); Checks whether the function
luaL_checkversion[-0, +0, v] void luaL_checkversion (lua_State *L); Checks whether the core running
lua_isinteger[-0, +0, –] int lua_isinteger (lua_State *L, int index); Returns 1 if the value at the given
luaL_len[-0, +0, e] lua_Integer luaL_len (lua_State *L, int index); Returns the "length" of the
lua_len[-0, +1, e] void lua_len (lua_State *L, int index); Returns the length of the value at
3.4.11 – Function Definitions The syntax for function definition is functiondef ::= function funcbody funcbody ::= ‘(’ [parlist] ‘)’ block end
io.input ([file]) When called with a file name, it opens the named file (in text mode), and sets its handle as the default input file. When called with a file handle, it simply
lua_State typedef struct lua_State lua_State; An opaque structure that points to a thread and indirectly (through the thread) to the
math.min (x, ···) Returns the argument with the minimum value, according to the Lua operator <. (integer/float)
luaL_checkudata[-0, +0, v] void *luaL_checkudata (lua_State *L, int arg, const char *tname); Checks
Page 10 of 36