lua_newuserdata[-0, +1, m] void *lua_newuserdata (lua_State *L, size_t size); This function allocates
string.pack (fmt, v1, v2, ···) Returns a binary string containing the values v1, v2, etc. packed (that is, serialized in binary form) according to the
string.reverse (s)s
lua_pushnumber[-0, +1, –] void lua_pushnumber (lua_State *L, lua_Number n); Pushes a float with value n
luaL_checktype[-0, +0, v] void luaL_checktype (lua_State *L, int arg, int t); Checks whether the
math.random ([m [, n]]) When called without arguments, returns a pseudo-random float with uniform distribution in the range [0,1). When called with two integers m
lua_KFunction typedef int (*lua_KFunction) (lua_State *L, int status, lua_KContext ctx); Type for continuation functions (see
lua_setallocf[-0, +0, –] void lua_setallocf (lua_State *L, lua_Alloc f, void *ud); Changes the allocator
string.char (···) Numeric codes are not necessarily portable across platforms.
file:setvbuf (mode [, size]) Sets the buffering mode for an output file. There are three available modes: "no": no buffering; the result of
Page 30 of 36