Static variables

@:value((-10001))staticinlineread onlyLUA_ENVIRONINDEX:Int = (-10001)

@:value(5)staticinlineread onlyLUA_ERRERR:Int = 5

@:value(4)staticinlineread onlyLUA_ERRMEM:Int = 4

@:value(2)staticinlineread onlyLUA_ERRRUN:Int = 2

@:value(3)staticinlineread onlyLUA_ERRSYNTAX:Int = 3

@:value(2)staticinlineread onlyLUA_GCCOLLECT:Int = 2

@:value(3)staticinlineread onlyLUA_GCCOUNT:Int = 3

@:value(4)staticinlineread onlyLUA_GCCOUNTB:Int = 4

@:value(1)staticinlineread onlyLUA_GCRESTART:Int = 1

@:value(6)staticinlineread onlyLUA_GCSETPAUSE:Int = 6

@:value(7)staticinlineread onlyLUA_GCSETSTEPMUL:Int = 7

@:value(5)staticinlineread onlyLUA_GCSTEP:Int = 5

@:value(0)staticinlineread onlyLUA_GCSTOP:Int = 0

@:value((-10002))staticinlineread onlyLUA_GLOBALSINDEX:Int = (-10002)

@:value(0)staticinlineread onlyLUA_HOOKCALL:Int = 0

@:value(3)staticinlineread onlyLUA_HOOKCOUNT:Int = 3

@:value(2)staticinlineread onlyLUA_HOOKLINE:Int = 2

@:value(1)staticinlineread onlyLUA_HOOKRET:Int = 1

@:value(4)staticinlineread onlyLUA_HOOKTAILRET:Int = 4

@:value((1 << LUA_HOOKCALL))staticinlineread onlyLUA_MASKCALL:Int = (1 << LUA_HOOKCALL)

@:value((1 << LUA_HOOKCOUNT))staticinlineread onlyLUA_MASKCOUNT:Int = (1 << LUA_HOOKCOUNT)

@:value((1 << LUA_HOOKLINE))staticinlineread onlyLUA_MASKLINE:Int = (1 << LUA_HOOKLINE)

@:value((1 << LUA_HOOKRET))staticinlineread onlyLUA_MASKRET:Int = (1 << LUA_HOOKRET)

@:value(20)staticinlineread onlyLUA_MINSTACK:Int = 20

@:value((-1))staticinlineread onlyLUA_MULTRET:Int = (-1)

@:value(0)staticinlineread onlyLUA_OK:Int = 0

@:value((-10000))staticinlineread onlyLUA_REGISTRYINDEX:Int = (-10000)

@:value(1)staticinlineread onlyLUA_TBOOLEAN:Int = 1

@:value(6)staticinlineread onlyLUA_TFUNCTION:Int = 6

@:value(2)staticinlineread onlyLUA_TLIGHTUSERDATA:Int = 2

@:value(0)staticinlineread onlyLUA_TNIL:Int = 0

@:value((-1))staticinlineread onlyLUA_TNONE:Int = (-1)

@:value(3)staticinlineread onlyLUA_TNUMBER:Int = 3

@:value(4)staticinlineread onlyLUA_TSTRING:Int = 4

@:value(5)staticinlineread onlyLUA_TTABLE:Int = 5

@:value(8)staticinlineread onlyLUA_TTHREAD:Int = 8

@:value(7)staticinlineread onlyLUA_TUSERDATA:Int = 7

@:value(1)staticinlineread onlyLUA_YIELD:Int = 1

Static methods

@:native("linc::callbacks::add_callback_function")staticadd_callback_function(l:State, name:String):Void

@:native("lua_call")staticcall(l:State, nargs:Int, nresults:Int):Void

@:native("lua_checkstack")staticcheckstack(l:State, sz:Int):Int

@:native("lua_close")staticclose(l:State):Void

@:native("lua_concat")staticconcat(l:State, n:Int):Void

@:native("lua_createtable")staticcreatetable(l:State, narr:Int, nrec:Int):Void

@:native("lua_equal")staticequal(l:State, idx1:Int, idx2:Int):Int

@:native("lua_error")staticerror(l:State):Int

@:native("lua_gc")staticgc(l:State, what:Int, data:Int):Int

@:native("lua_getfenv")staticgetfenv(l:State, int:Int):Void

@:native("lua_getfield")staticgetfield(l:State, idx:Int, k:String):Void

@:native("lua_getglobal")staticgetglobal(l:State, name:String):Void

@:native("lua_gethookcount")staticgethookcount(l:State):Int

@:native("lua_gethookmask")staticgethookmask(l:State):Int

@:native("linc::lua::getinfo")staticgetinfo(l:State, what:String, ar:Lua_Debug):Int

@:native("lua_getmetatable")staticgetmetatable(l:State, objindex:Int):Int

@:native("lua_getref")staticgetref(l:State, ref:Int):Void

@:native("linc::lua::getstack")staticgetstack(l:State, level:Int, ar:Lua_Debug):Int

@:native("lua_gettable")staticgettable(l:State, idx:Int):Void

@:native("lua_gettop")staticgettop(l:State):Int

@:native("lua_getupvalue")staticgetupvalue(l:State, funcindex:Int, n:Int):String

staticinlineinit_callbacks(l:State):Void

@:native("lua_insert")staticinsert(l:State, idx:Int):Void

staticinlineisboolean(l:State, idx:Int):Bool

staticinlineiscfunction(l:State, idx:Int):Bool

staticinlineisfunction(l:State, idx:Int):Bool

@:native("lua_islightuserdata")staticislightuserdata(l:State, idx:Int):Int

@:native("lua_isnil")staticisnil(l:State, idx:Int):Int

@:native("lua_isnone")staticisnone(l:State, idx:Int):Int

@:native("lua_isnoneornil")staticisnoneornil(l:State, idx:Int):Int

staticinlineisnumber(l:State, idx:Int):Bool

staticinlineisstring(l:State, idx:Int):Bool

@:native("lua_istable")staticistable(l:State, idx:Int):Int

@:native("lua_isthread")staticisthread(l:State, idx:Int):Int

staticinlineisuserdata(l:State, idx:Int):Bool

@:native("lua_lessthan")staticlessthan(l:State, idx1:Int, idx2:Int):Int

@:native("lua_setfenv")staticlua_setfenv(l:State, idx:Int):Int

@:native("lua_newtable")staticnewtable(l:State):Void

@:native("lua_newthread")staticnewthread(l:State):State

@:native("lua_newuserdata")staticnewuserdata(l:State, size:Int):Void

@:native("lua_next")staticnext(l:State, idx:Int):Int

@:native("lua_objlen")staticobjlen(l:State, idx:Int):Int

@:native("lua_pcall")staticpcall(l:State, nargs:Int, nresults:Int, errfunc:Int):Int

@:native("lua_pop")staticpop(l:State, n:Int):Void

staticinlinepushboolean(l:State, b:Bool):Void

@:native("linc::lua::pushcclosure")staticpushcclosure(l:State, fn:Callable<StatePointer>, n:Int):Void

@:native("linc::lua::pushcfunction")staticpushcfunction(l:State, f:Callable<StatePointer ‑> Int>):Void

@:native("lua_pushinteger")staticpushinteger(l:State, n:Int):Void

@:native("lua_pushliteral")staticpushliteral(l:State, s:String):Void

@:native("lua_pushlstring")staticpushlstring(l:State, s:String, len:Int):Void

@:native("lua_pushnil")staticpushnil(l:State):Void

@:native("lua_pushnumber")staticpushnumber(l:State, n:Float):Void

@:native("lua_pushstring")staticpushstring(l:State, s:String):Void

@:native("lua_pushthread")staticpushthread(l:State):Int

@:native("lua_pushvalue")staticpushvalue(l:State, idx:Int):Void

@:native("lua_rawequal")staticrawequal(l:State, idx1:Int, idx2:Int):Int

@:native("lua_rawget")staticrawget(l:State, idx:Int):Void

@:native("lua_rawgeti")staticrawgeti(l:State, idx:Int, n:Int):Void

@:native("lua_rawset")staticrawset(l:State, idx:Int):Void

@:native("lua_rawseti")staticrawseti(l:State, idx:Int, n:Int):Void

@:native("lua_ref")staticref(l:State, lock:Bool):Int

staticinlineregister(l:State, name:String, f:Dynamic):Void

@:native("linc::helpers::register_hxtrace_func")staticregister_hxtrace_func(f:Callable<String ‑> Int>):Void

@:native("linc::helpers::register_hxtrace_lib")staticregister_hxtrace_lib(l:State):Void

@:native("lua_remove")staticremove(l:State, idx:Int):Void

@:native("linc::callbacks::remove_callback_function")staticremove_callback_function(l:State, name:String):Void

@:native("lua_replace")staticreplace(l:State, idx:Int):Void

@:native("lua_resume")staticresume(l:State, narg:Int):Int

@:native("linc::callbacks::set_callbacks_function")staticset_callbacks_function(f:Callable<(State, String) ‑> Int>):Void

@:native("lua_setfield")staticsetfield(l:State, idx:Int, s:String):Void

@:native("lua_setglobal")staticsetglobal(l:State, name:String):Void

@:native("lua_setlevel")staticsetlevel(from:State, to:State):Void

@:native("lua_setmetatable")staticsetmetatable(l:State, objindex:Int):Int

@:native("lua_settable")staticsettable(l:State, idx:Int):Void

@:native("lua_settop")staticsettop(l:State, idx:Int):Void

@:native("lua_setupvalue")staticsetupvalue(l:State, funcindex:Int, n:Int):String

@:native("lua_status")staticstatus(l:State):Int

@:native("lua_strlen")staticstrlen(l:State, idx:Int):Int

staticinlinetoboolean(l:State, idx:Int):Bool

@:native("linc::lua::tocfunction")statictocfunction(l:State, idx:Int):Callable<StatePointer ‑> Int>

@:native("lua_tointeger")statictointeger(l:State, idx:Int):Int

@:native("linc::lua::tolstring")statictolstring(l:State, idx:Int, len:UInt):String

@:native("lua_tonumber")statictonumber(l:State, idx:Int):Float

@:native("lua_topointer")statictopointer(l:State, idx:Int):Void

@:native("linc::lua::tostring")statictostring(l:State, idx:Int):String

@:native("lua_tothread")statictothread(l:State, idx:Int):State

@:native("lua_touserdata")statictouserdata(l:State, idx:Int):Void

@:native("lua_type")statictype(l:State, idx:Int):Int

@:native("linc::lua::_typename")statictypename(l:State, tp:Int):String

@:native("lua_unref")staticunref(l:State, ref:Int):Void

@:native("lua_upvalueid")staticupvalueid(l:State, idx:Int, n:Int):Void

@:native("lua_upvalueindex")staticupvalueindex(i:Int):Int

@:native("lua_upvaluejoin")staticupvaluejoin(l:State, idx1:Int, n1:Int, idx2:Int, n2:Int):Void

@:native("linc::lua::version")staticversion():String

@:native("linc::lua::versionJIT")staticversionJIT():String

@:native("lua_xmove")staticxmove(from:State, to:State, n:Int):Void

@:native("lua_yield")staticyield(l:State, n:Int):Int