Coercions and Conversions
  • References/Lua/Lua/Language/Expressions

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

2025-01-10 15:47:30
utf8.offset()
  • References/Lua/Lua/Standard Libraries/UTF-8 Support

utf8.offset (s, n [, i])nsiniin#s + 1utf8.offset(s, -n)nnil

2025-01-10 15:47:30
lua_typename
  • References/Lua/Lua/API/Functions and Types

lua_typename[-0, +0, –] const char *lua_typename (lua_State *L, int tp); Returns the name of the type encoded

2025-01-10 15:47:30
luaL_newstate
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_newstate[-0, +0, –] lua_State *luaL_newstate (void); Creates a new Lua state. It calls

2025-01-10 15:47:30
lua_tocfunction
  • References/Lua/Lua/API/Functions and Types

lua_tocfunction[-0, +0, –] lua_CFunction lua_tocfunction (lua_State *L, int index); Converts a value at

2025-01-10 15:47:30
lua_pushboolean
  • References/Lua/Lua/API/Functions and Types

lua_pushboolean[-0, +1, –] void lua_pushboolean (lua_State *L, int b); Pushes a boolean value with value

2025-01-10 15:47:30
rawlen()
  • References/Lua/Lua/Standard Libraries/Basic Functions

rawlen (v)v__len

2025-01-10 15:47:30
package.loaded
  • References/Lua/Lua/Standard Libraries/Modules

package.loaded A table used by require to control which modules are already loaded

2025-01-10 15:47:30
lua_tolstring
  • References/Lua/Lua/API/Functions and Types

lua_tolstring[-0, +0, m] const char *lua_tolstring (lua_State *L, int index, size_t *len); Converts

2025-01-10 15:47:30
luaL_addlstring
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_addlstring[-?, +?, m] void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l); Adds

2025-01-10 15:47:30