lua_isstring

lua_isstring[-0, +0, –] int lua_isstring (lua_State *L, int index); Returns 1 if the value at the given index is a string or a number (which is always convertible to a string), and 0 otherwise.

lua_pushthread

lua_pushthread[-0, +1, –] int lua_pushthread (lua_State *L); Pushes the thread represented by L onto the stack. Returns 1 if this thread is the main thread of its state.

math.maxinteger

math.maxinteger

string.lower()

string.lower (s)

collectgarbage()

collectgarbage ([opt [, arg]]) This function is a generic interface to the garbage collector. It performs different functions according to its first argument, opt: "collect": performs a full garbage-collection cycle. This is the default option. "stop": stops automatic execution of the garbage collector. The collector will run only when explicitly invoked, until a call to restart it. "restart": restarts automatic execution of the garbage collector. "count": returns the total memory

lua_isfunction

lua_isfunction[-0, +0, –] int lua_isfunction (lua_State *L, int index); Returns 1 if the value at the given index is a function (either C or Lua), and 0 otherwise.

dofile()

dofile ([filename])dofilestdindofiledofile

lua_rawlen

lua_rawlen[-0, +0, –] size_t lua_rawlen (lua_State *L, int index); Returns the raw "length" of the value at the given index: for strings, this is the string length; for tables, this is the result of the length operator ('#') with no metamethods; for userdata, this is the size of the block of memory allocated for the userdata; for other values, it is 0.

string.match()

string.match (s, pattern [, init])matchpattern§6.4.1smatchnilpatterninit

debug.setuservalue()

debug.setuservalue (udata, value) Sets the given value as the Lua value associated to the given udata. udata must be a full userdata. Returns udata.