lua_pushcfunction[-0, +1, –] void lua_pushcfunction (lua_State *L, lua_CFunction f); Pushes a C function
math.tan (x) Returns the tangent of x (assumed to be in radians).
luaL_execresult[-0, +3, m] int luaL_execresult (lua_State *L, int stat); This function produces
lua_rawgetp[-0, +1, –] int lua_rawgetp (lua_State *L, int index, const void *p); Pushes onto the stack
luaL_ref[-1, +0, m] int luaL_ref (lua_State *L, int t); Creates and returns a reference
lua_pushboolean[-0, +1, –] void lua_pushboolean (lua_State *L, int b); Pushes a boolean value with value
luaL_optinteger[-0, +0, v] lua_Integer luaL_optinteger (lua_State *L, int arg
luaL_addlstring[-?, +?, m] void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l); Adds
lua_tocfunction[-0, +0, –] lua_CFunction lua_tocfunction (lua_State *L, int index); Converts a value at
luaL_pushresultsize[-?, +1, m] void luaL_pushresultsize (luaL_Buffer *B, size_t sz); Equivalent
Page 9 of 36