math.modf()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.modf (x) Returns the integral part of x and the fractional part of x. Its second result is always a float.

2025-01-10 15:47:30
coroutine.create()
  • References/Lua/Lua/Standard Libraries/Coroutine Manipulation

coroutine.create (f) Creates a new coroutine, with body f. f must be a function. Returns this new coroutine, an object with type "thread"

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

lua_KContext typedef ... lua_KContext; The type for continuation-function contexts. It must be a numeric type. This type is defined

2025-01-10 15:47:30
Garbage-Collection Metamethods
  • References/Lua/Lua/Basic Concepts/Garbage Collection

2.5.1 – Garbage-Collection Metamethods You can set garbage-collector metamethods for tables and, using the C API, for full userdata (see

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

lua_newstate[-0, +0, –] lua_State *lua_newstate (lua_Alloc f, void *ud); Creates a new thread running in

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

lua_settable[-2, +0, e] void lua_settable (lua_State *L, int index); Does the equivalent to t[k]

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

lua_tointegerx[-0, +0, –] lua_Integer lua_tointegerx (lua_State *L, int index, int *isnum); Converts the

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

luaL_checkstring[-0, +0, v] const char *luaL_checkstring (lua_State *L, int arg); Checks whether

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

debug.getinfo ([thread,] f [, what]) Returns a table with information about a function. You can give the function directly or you can give a number as the value of f

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

debug.setlocal ([thread,] level, local, value) This function assigns the value value to the local variable with index local of the function at level

2025-01-10 15:47:30