lua_pushboolean[-0, +1, –] void lua_pushboolean (lua_State *L, int b); Pushes a boolean value with value
lua_isnumber[-0, +0, –] int lua_isnumber (lua_State *L, int index); Returns 1 if the value at the given
os.getenv (varname) Returns the value of the process environment variable varname, or nil if the variable is not defined.
utf8.offset (s, n [, i])nsiniin#s + 1utf8.offset(s, -n)nnil
luaL_testudata[-0, +0, m] void *luaL_testudata (lua_State *L, int arg, const char *tname); This
luaL_argcheck[-0, +0, v] void luaL_argcheck (lua_State *L, int cond,
luaL_newstate[-0, +0, –] lua_State *luaL_newstate (void); Creates a new Lua state. It calls
luaL_fileresult[-0, +(1|3), m] int luaL_fileresult (lua_State *L, int stat, const char *fname);
package.path The path used by require to search for a Lua loader. At
lua_getextraspace[-0, +0, –] void *lua_getextraspace (lua_State *L); Returns a pointer to a raw memory
Page 12 of 36