LuaVM
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "lua_State" , cprefix = "lua_" , free_function = "lua_close" ) ]
public class LuaVM
Content:
Static methods:
- public static void xmove (LuaVM from, LuaVM to, int n)
Creation methods:
Methods:
- public int @yield (int nresults)
- public CallbackFunc at_panic (CallbackFunc f)
- public void call (int nargs = 0, int nresults = 0)
- public bool check_stack (int size)
- public void concat (int n)
- public int cpcall (CallbackFunc fun, void* ud = null)
- public void create_table (int narr, int nrec)
- public bool do_file (string filename)
- public bool do_string (string str)
- public int dump (WriterFunc writer)
- public bool equal (int index1, int index2)
- public int error ()
- public int gc (GarbageCollection what, int data)
- public AllocFunc get_alloc_func ()
- public void get_fenv (int index)
- public void get_field (int index, string k)
- public void get_global (string name)
- public HookFunc get_hook ()
- public int get_hook_count ()
- public EventMask get_hook_mask ()
- public bool get_info (string what, ref Debug ar)
- public unowned string? get_local (ref Debug ar, int n)
- public int get_metatable (int objindex)
- public bool get_stack (int level, ref Debug ar)
- public void get_table (int index)
- public int get_top ()
- public unowned string? get_upvalue (int funcindex, int n)
- public void insert (int index)
- public bool is_boolean (int n)
- public bool is_cfunction (int index)
- public bool is_function (int n)
- public bool is_lightuserdata (int n)
- public bool is_nil (int n)
- public bool is_none (int n)
- public bool is_none_or_nil (int n)
- public bool is_number (int index)
- public bool is_string (int index)
- public bool is_table (int n)
- public bool is_thread (int n)
- public bool is_userdata (int index)
- public bool less_than (int index1, int index2)
- public int load (ReaderFunc reader, string chunkname)
- public int load_buffer (char[] buffer, string? name = null)
- public int load_file (string filename)
- public int load_string (string s)
- public void new_table ()
- public unowned LuaVM new_thread ()
- public void* new_userdata (size_t sz)
- public int next (int index)
- public void open_libs ()
- public int pcall (int nargs = 0, int nresults = 0, int errfunc = 0)
- public void pop (int n)
- public void push_boolean (int b)
- public void push_cclosure (CallbackFunc f, int n)
- public void push_cfunction (CallbackFunc f)
- public unowned string push_fstring (string fmt, ...)
- public void push_integer (int n)
- public void push_lightuserdata (void* p)
- public void push_literal (string s)
- public void push_lstring (string s, size_t size)
- public void push_nil ()
- public void push_number (double n)
- public void push_string (string s)
- public bool push_thread ()
- public void push_value (int index)
- public bool raw_equal (int index1, int index2)
- public void raw_get (int index)
- public void raw_geti (int index, int n)
- public void raw_set (int index)
- public void raw_seti (int index, int n)
- public int reference (int t)
- public void register (string name, CallbackFunc f)
- public void remove (int index)
- public void replace (int index)
- public int resume (int narg)
- public void set_alloc_func (AllocFunc f)
- public bool set_fenv (int index)
- public void set_field (int index, string k)
- public void set_global (string name)
- public bool set_hook (HookFunc func, EventMask mask, int count)
- public unowned string? set_local (ref Debug ar, int n)
- public int set_metatable (int objindex)
- public void set_table (int index)
- public void set_top (int index)
- public unowned string? set_upvalue (int funcindex, int n)
- public int status ()
- public size_t strlen (int index)
- public bool to_boolean (int index)
- public CallbackFunc to_cfunction (int index)
- public int to_integer (int index)
- public unowned string to_lstring (int index, out size_t size)
- public double to_number (int index)
- public void* to_pointer (int index)
- public unowned string to_string (int index)
- public unowned LuaVM? to_thread (int index)
- public void* to_userdata (int index)
- public Type type (int index)
- public unowned string type_name (Type type)
- public void unreference (int t)