Class: luastate

luastates are instances of a luavm. Luastates can be invoked independently of each other. Each luastate has its own tables and functions.

Methods:

Method overview:


new ()
returns: (luastate)
Threadsafe
creates a new luastate
delete (luastate)
returns: ()
Threadsafe
deletes a luastate. You should kill any thrads that are still running on it and remove any callbackfunctions still refering to that luastate. Otherwise Luxinia might crash.
dofile (luastate,path)
returns: ()
Threadsafe
loads file for that luastate and executes it.
inject (luastate,string)
returns: ()
Threadsafe
executes the string in the given luastate.