lua_tointeger
  • References/Lua/Lua/API/Functions and Types

lua_tointeger[-0, +0, –] lua_Integer lua_tointeger (lua_State *L, int index); Equivalent to

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

utf8.codes (s) Returns values so that the construction for p, c in utf8.codes(s) do body end will iterate over all characters

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

lua_checkstack[-0, +0, –] int lua_checkstack (lua_State *L, int n); Ensures that the stack has space for

2025-01-10 15:47:30
string.lower()
  • References/Lua/Lua/Standard Libraries/String Manipulation

string.lower (s)

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

luaL_checklstring[-0, +0, v] const char *luaL_checklstring (lua_State *L, int arg, size_t *l);

2025-01-10 15:47:30
table.pack()
  • References/Lua/Lua/Standard Libraries/Table Manipulation

table.pack (···) Returns a new table with all parameters stored into keys 1, 2, etc. and with a field "n" with the total number of parameters. Note that the resulting

2025-01-10 15:47:30
math.floor()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.floor (x) Returns the largest integral value smaller than or equal to x.

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

lua_Writer typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz,

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

lua_rawget[-1, +1, –] int lua_rawget (lua_State *L, int index); Similar to

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

os.difftime (t2, t1) Returns the difference, in seconds, from time t1 to time t2 (where the times are values returned by

2025-01-10 15:47:30