3.4.3 – Coercions and Conversions Lua provides some automatic conversions between some types and representations at run time. Bitwise operators always convert float operands to integers. Exponentiation
utf8.offset (s, n [, i])nsiniin#s + 1utf8.offset(s, -n)nnil
lua_typename[-0, +0, –] const char *lua_typename (lua_State *L, int tp); Returns the name of the type encoded
luaL_newstate[-0, +0, –] lua_State *luaL_newstate (void); Creates a new Lua state. It calls
lua_tocfunction[-0, +0, –] lua_CFunction lua_tocfunction (lua_State *L, int index); Converts a value at
lua_pushboolean[-0, +1, –] void lua_pushboolean (lua_State *L, int b); Pushes a boolean value with value
rawlen (v)v__len
package.loaded A table used by require to control which modules are already loaded
lua_tolstring[-0, +0, m] const char *lua_tolstring (lua_State *L, int index, size_t *len); Converts
luaL_addlstring[-?, +?, m] void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l); Adds
Page 11 of 36