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
lua_yieldk
  • References/Lua/Lua/API/Functions and Types

lua_yieldk[-?, +?, e] int lua_yieldk (lua_State *L, int nresults, lua_KContext

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

luaL_dofile[-0, +?, e] int luaL_dofile (lua_State *L, const char *filename); Loads and runs the

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

luaL_testudata[-0, +0, m] void *luaL_testudata (lua_State *L, int arg, const char *tname); This

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

lua_next[-1, +(2|0), e] int lua_next (lua_State *L, int index); Pops a key from the stack, and

2025-01-10 15:47:30
os.exit()
  • References/Lua/Lua/Standard Libraries/Operating System Facilities

os.exit ([code [, close]]) Calls the ISO C function exit to terminate the host program. If code is true, the returned status is EXIT_SUCCESS;

2025-01-10 15:47:30
debug.gethook()
  • References/Lua/Lua/Standard Libraries/The Debug Library

debug.gethook ([thread]) Returns the current hook settings of the thread, as three values: the current hook function, the current hook mask, and the current hook count (as set

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

luaL_fileresult[-0, +(1|3), m] int luaL_fileresult (lua_State *L, int stat, const char *fname);

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
math.fmod()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.fmod (x, y) Returns the remainder of the division of x by y that rounds the quotient towards zero. (integer/float)

2025-01-10 15:47:30