LuaState

Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bindUserData
ManagedUserData!T bindUserData()

Creates a binding to some user data (via pointer)

executeFile
void executeFile(string path, bool coroutine)

Execute a file.

executeString
void executeString(string code, string name, bool coroutine)

Execute a string.

getRegistry
LuaRegistry getRegistry()
Undocumented in source. Be warned that the author may not have intended to support it.
newLocalTable
LuaLocalTable newLocalTable()

Creates a new table, which doesn't exist globally. Values can only get set while the table is active. Table becomes inactive as soon as other data is managed.

newTable
LuaTable newTable(string name)

Creates a new table.

newThread
LuaThread newThread()

Creates a new callstack (called threads in lua)

Meta