rglua::lua

Module types

Source

Structs§

  • Lua’s lua_Debug type
  • luaL_Reg type, used for defining large amounts of functions with names to be - registered into lua with luaL_register / openlibs.

Enums§

Type Aliases§

  • Lua “C” Functions are C ABI functions that return the number returns that will be passed to the Lua stack.
  • All lua numbers < Lua 5.3 are doubles (float 64). GLua is no different as it runs on LuaJIT which mimics 5.1
  • This is not an actual lua state, in fact it’s just a pointer to it. However you will never have ownership of a lua state here, so I opted to make the type follow suit.
  • The type of the writer function used by lua_dump.
    Every time it produces another piece of chunk, lua_dump calls the writer, passing along the buffer to be written (p), its size (sz), and the data parameter supplied to lua_dump.
  • Equivalent to C’s char type.
  • Equivalent to C’s signed int (int) type.
  • Equivalent to C’s void type when used as a pointer.