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

lua_pushliteral[-0, +1, m] const char *lua_pushliteral (lua_State *L, const char *s); This macro

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

string.len (s)"""a\000bc\000"

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
io.lines()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

io.lines ([filename, ···]) Opens the given file name in read mode and returns an iterator function that works like file:lines(···) over the opened file. When the

2025-01-10 15:47:30
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
luaL_addstring
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_addstring[-?, +?, m] void luaL_addstring (luaL_Buffer *B, const char *s); Adds the zero-terminated

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

os.date ([format [, time]]) Returns a string or a table containing date and time, formatted according to the given string format. If the time

2025-01-10 15:47:30
lua_getstack
  • References/Lua/Lua/API/The Debug Interface

lua_getstack[-0, +0, –] int lua_getstack (lua_State *L, int level, lua_Debug *ar); Gets information about

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
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