luaL_typename[-0, +0, –] const char *luaL_typename (lua_State *L, int index); Returns the name of the type
io.type (obj) Checks whether obj is a valid file handle. Returns the string "file" if obj is an open file handle, "closed file"
lua_gc[-0, +0, m] int lua_gc (lua_State *L, int what, int data); Controls the garbage collector
lua_tonumberx[-0, +0, –] lua_Number lua_tonumberx (lua_State *L, int index, int *isnum); Converts the Lua
io.output ([file]) Similar to io.input, but operates
lua_status[-0, +0, –] int lua_status (lua_State *L); Returns the status of the thread L.
dofile ([filename])dofilestdindofiledofile
luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table
package.cpath The path used by require to search for a C loader. Lua
string.dump (function [, strip]) Returns a string containing a binary representation (a binary chunk) of the given function, so that a later
Page 3 of 36