- atPanic
lua_CFunction atPanic(lua_CFunction func)
Undocumented in source. Be warned that the author may not have intended to support it.
- call
void call(int nargs, int nresults)
Undocumented in source. Be warned that the author may not have intended to support it.
- callMetamethod
bool callMetamethod(int index, char[] method)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkAny
void checkAny(int arg)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkArg
void checkArg(bool condition, int argNum, const(char)[] extraMsg)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkInt
ptrdiff_t checkInt(int arg)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkNumber
LuaNumber checkNumber(int arg)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkStack
bool checkStack(int amount)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkString
string checkString(int arg)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkStringWeak
const(char)[] checkStringWeak(int arg)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkType
void checkType(LuaValue.Kind type, int arg)
Undocumented in source. Be warned that the author may not have intended to support it.
- concat
void concat(int nargs)
Undocumented in source. Be warned that the author may not have intended to support it.
- copy
void copy(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- doFile
void doFile(char[] file)
Undocumented in source. Be warned that the author may not have intended to support it.
- doString
void doString(char[] str)
Undocumented in source. Be warned that the author may not have intended to support it.
- enforceType
void enforceType(LuaValue.Kind expected, int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- equal
bool equal(int index1, int index2)
Undocumented in source. Be warned that the author may not have intended to support it.
- error
void error()
Undocumented in source. Be warned that the author may not have intended to support it.
- error
void error(char[] msg)
Undocumented in source. Be warned that the author may not have intended to support it.
- get
T get(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- getGlobal
void getGlobal(char[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getMetatable
LuaTable getMetatable(int ofIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- globalTable
LuaTablePseudo globalTable()
Undocumented in source. Be warned that the author may not have intended to support it.
- insert
void insert(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- len
size_t len(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- lessThan
bool lessThan(int index1, int index2)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadFile
void loadFile(char[] file)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadString
void loadString(char[] str)
Undocumented in source. Be warned that the author may not have intended to support it.
- next
bool next(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- optInt
ptrdiff_t optInt(int arg, ptrdiff_t default_)
Undocumented in source. Be warned that the author may not have intended to support it.
- optNumber
LuaNumber optNumber(int arg, LuaNumber default_)
Undocumented in source. Be warned that the author may not have intended to support it.
- pcall
LuaStatus pcall(int nargs, int nresults, int errFuncIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- pop
void pop(int amount)
Undocumented in source. Be warned that the author may not have intended to support it.
- printStack
void printStack()
Undocumented in source. Be warned that the author may not have intended to support it.
- push
void push(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
- push
void push(LuaValue value)
Undocumented in source. Be warned that the author may not have intended to support it.
- pushMetatable
LuaTableWeak pushMetatable(int ofIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- pushTable
void pushTable(int tableIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- rawEqual
bool rawEqual(int index1, int index2)
Undocumented in source. Be warned that the author may not have intended to support it.
- rawGet
void rawGet(int tableIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- rawGet
void rawGet(int tableIndex, int indexIntoTable)
Undocumented in source. Be warned that the author may not have intended to support it.
- rawSet
void rawSet(int tableIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- rawSet
void rawSet(int tableIndex, int indexIntoTable)
Undocumented in source. Be warned that the author may not have intended to support it.
- register
void register(char[] name, LuaCFunc func)
Undocumented in source. Be warned that the author may not have intended to support it.
- register
void register(char[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
- register
void register(char[] libname)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
void remove(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- replace
void replace(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- setGlobal
void setGlobal(char[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
- setMetatable
void setMetatable(int ofIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- top
int top()
Undocumented in source. Be warned that the author may not have intended to support it.
- type
LuaValue.Kind type(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
A light wrapper around lua_State with some higher level functions for quality of life purposes.
This struct cannot be copied, so put it on the heap or store it as a global.