fengari library
Basic fengari bindings, see https://github.com/fengari-lua/fengari/ for documentation
Classes
Functions
-
interop_checkjs(
lua_State L, int index) → dynamic -
interop_push(
lua_State L, dynamic value) → void -
interop_pushjs(
lua_State L, dynamic value) → void -
interop_testjs(
lua_State L, int index) → dynamic -
interop_tojs(
lua_State L, int index) → dynamic -
lua_absindex(
lua_State L, int index) → dynamic -
lua_arith(
lua_State L, int op) → void -
lua_atnativeerror(
lua_State L, dynamic func) → void -
lua_atpanic(
lua_State L, dynamic panicf) → dynamic -
lua_call(
lua_State L, int nargs, int nresults) → void -
lua_callk(
lua_State L, int nargs, int nresults, lua_KContext ctx, dynamic k) → void -
lua_checkstack(
lua_State L, int n) → int -
lua_close(
lua_State L) → void -
lua_compare(
lua_State L, int index1, int index2, int op) → int -
lua_concat(
lua_State L, int n) → void -
lua_copy(
lua_State L, int fromidx, int toidx) → void -
lua_createtable(
lua_State L, int narr, int nrec) → void -
lua_dump(
lua_State L, dynamic writer, dynamic r, dynamic n) → int -
lua_error(
lua_State L) → int -
lua_gc(
lua_State L, int what, int data) → int -
lua_getfield(
lua_State L, int index, dynamic k) → int -
lua_getglobal(
lua_State L, int index, int i) → int -
lua_gethook(
lua_State L) → dynamic -
lua_gethookcount(
lua_State L) → int -
lua_gethookmask(
lua_State L) → int -
lua_geti(
lua_State L, int inex, int i) → int -
lua_getinfo(
lua_State L, dynamic what, lua_Debug ar) → int -
lua_getlocal(
lua_State L, lua_Debug ar, int n) → dynamic -
lua_getmetatable(
lua_State L, int index) → int -
lua_getstack(
lua_State L, int level, lua_Debug ar) → int -
lua_gettable(
lua_State L, int index) → int -
lua_gettop(
lua_State L) → int -
lua_getupvalue(
lua_State L, int funcindex, int n) → dynamic -
lua_getuservalue(
lua_State L, int index) → int -
lua_insert(
lua_State L, int index) → void -
lua_isboolean(
lua_State L, int index) → bool -
lua_iscfunction(
lua_State L, int index) → bool -
lua_isfunction(
lua_State L, int index) → bool -
lua_isinteger(
lua_State L, int index) → bool -
lua_islightuserdata(
lua_State L, int index) → bool -
lua_isnil(
lua_State L, int index) → bool -
lua_isnone(
lua_State L, int index) → bool -
lua_isnoneornil(
lua_State L, int index) → bool -
lua_isnumber(
lua_State L, int index) → bool -
lua_isproxy(
lua_State L, int index) → bool -
lua_isstring(
lua_State L, int index) → bool -
lua_istable(
lua_State L, int index) → bool -
lua_isthread(
lua_State L, int index) → bool -
lua_isuserdata(
lua_State L, int index) → bool -
lua_isyieldable(
lua_State L) → bool -
lua_len(
lua_State L, int index) → void -
lua_load(
lua_State L, dynamic reader, dynamic data, dynamic chunkname, dynamic mode) → int -
lua_newstate(
dynamic f, dynamic ud) → lua_State -
lua_newtable(
lua_State L) → void -
lua_newthread(
lua_State L) → lua_State -
lua_newuserdata(
lua_State L, int size) → dynamic -
lua_next(
lua_State L, int index) → int -
lua_pcall(
lua_State L, int nargs, int nresults, int msgh) → int -
lua_pcallk(
lua_State L, int nargs, int nresults, int msgh, lua_KContext ctx, dynamic k) → int -
lua_pop(
lua_State L, int n) → void -
lua_pushboolean(
lua_State L, int b) → void -
lua_pushcclosure(
lua_State L, dynamic fn, int n) → void -
lua_pushcfunction(
lua_State L, dynamic f) → void -
lua_pushglobaltable(
lua_State L) → void -
lua_pushinteger(
lua_State L, int n) → void -
lua_pushlightuserdata(
lua_State L, dynamic p) → void -
lua_pushliteral(
lua_State L, dynamic s) → dynamic -
lua_pushlstring(
lua_State L, dynamic s, int len) → dynamic -
lua_pushnil(
lua_State L) → void -
lua_pushnumber(
lua_State L, double n) → void -
lua_pushstring(
lua_State L, dynamic s) → dynamic -
lua_pushthread(
lua_State L) → int -
lua_pushvalue(
lua_State L, int index) → void -
lua_pushvfstring(
lua_State L, dynamic fmt, JsArray argp) → dynamic -
lua_rawequal(
lua_State L, int index1, int index2) → int -
lua_rawget(
lua_State L, int index) → int -
lua_rawgeti(
lua_State L, int index, int n) → int -
lua_rawgetp(
lua_State L, int index, dynamic p) → int -
lua_rawlen(
lua_State L, int index) → int -
lua_rawset(
lua_State L, int index) → void -
lua_rawseti(
lua_State L, int index, int i) → void -
lua_rawsetp(
lua_State L, int index, dynamic p) → void -
lua_register(
lua_State L, dynamic name, dynamic f) → void -
lua_remove(
lua_State L, int index) → void -
lua_replace(
lua_State L, int index) → void -
lua_resume(
lua_State L, lua_State from, int nargs) → int -
lua_rotate(
lua_State L, int idx, int n) → void -
lua_setfield(
lua_State L, int index, dynamic k) → void -
lua_setglobal(
lua_State L, dynamic name) → void -
lua_sethook(
lua_State L, dynamic f, int mask, int count) → void -
lua_seti(
lua_State L, int index, int n) → void -
lua_setlocal(
lua_State L, lua_Debug ar, int n) → dynamic -
lua_setmetatable(
lua_State L, dynamic tname) → void -
lua_settable(
lua_State L, int index) → void -
lua_settop(
lua_State L, int index) → void -
lua_setupvalue(
lua_State L, int funcindex, int n) → dynamic -
lua_setuservalue(
lua_State L, int index) → void -
lua_status(
lua_State L) → int -
lua_stringtonumber(
lua_State L, dynamic s) → int -
lua_toboolean(
lua_State L, int index) → int -
lua_tocfunction(
lua_State L, int index) → dynamic -
lua_todataview(
lua_State L, int index) → dynamic -
lua_tointeger(
lua_State L, int index) → int -
lua_tointegerx(
lua_State L, int index) → int -
lua_tojsstring(
lua_State L, int index) → String -
lua_tolstring(
lua_State L, int index) → dynamic -
lua_tonumber(
lua_State L, int index) → double -
lua_tonumberx(
lua_State L, int index) → double -
lua_topointer(
lua_State L, int index) → dynamic -
lua_toproxy(
lua_State L, int index) → dynamic -
lua_tostring(
lua_State L, int index) → dynamic -
lua_tothread(
lua_State L, int index) → lua_State -
lua_touserdata(
lua_State L, int index) → dynamic -
lua_type(
lua_State L, int index) → int -
lua_typename(
lua_State L, int tp) → dynamic -
lua_upvalueid(
lua_State L, int funcindex, int n) → int -
lua_upvalueindex(
int i) → int -
lua_upvaluejoin(
lua_State L, int funcindex1, int n1, int funcindex2, int n2) → void -
lua_version(
lua_State L) → int -
lua_xmove(
lua_State from, lua_State to, int n) → void -
lua_yield(
lua_State L, int nresults) → int -
lua_yieldk(
lua_State L, int nresults, lua_KContext ctx, dynamic k) → int -
luaL_argcheck(
lua_State L, int cond, int arg, dynamic extramsg) → void -
luaL_argerror(
lua_State L, int arg, dynamic extramsg) → int -
luaL_callmeta(
lua_State L, int obj, dynamic e) → int -
luaL_checkany(
lua_State L, int arg) → void -
luaL_checkinteger(
lua_State L, int arg) → int -
luaL_checklstring(
lua_State L, int arg) → dynamic -
luaL_checknumber(
lua_State L, int arg) → double -
luaL_checkoption(
lua_State L, int arg, dynamic def, JsArray lst) → int -
luaL_checkstack(
lua_State L, int sz, dynamic msg) → void -
luaL_checkstring(
lua_State L, int arg) → dynamic -
luaL_checktype(
lua_State L, int arg, int t) → void -
luaL_checkudata(
lua_State L, int arg, dynamic tname) → void -
luaL_checkversion(
lua_State L) → void -
luaL_checkversion_(
lua_State L, int ver, int sz) → void -
luaL_dofile(
lua_State L, dynamic filename) → int -
luaL_dostring(
lua_State L, dynamic str) → int -
luaL_error(
lua_State L) → int -
luaL_execresult(
lua_State L, int stat) → int -
luaL_fileresult(
lua_State L, int stat, dynamic fname, [dynamic e]) → int -
luaL_getmetafield(
lua_State L, int obj, dynamic e) → int -
luaL_getmetatable(
lua_State L, dynamic tname) → int -
luaL_getsubtable(
lua_State L, int idx, dynamic fname) → int -
luaL_gsub(
lua_State L, dynamic s, dynamic p, dynamic r) → dynamic -
luaL_len(
lua_State L, int index) → int -
luaL_loadbuffer(
lua_State L, dynamic buff, int sz, dynamic name) → int -
luaL_loadbufferx(
lua_State L, dynamic buff, int sz, dynamic name, dynamic mode) → int -
luaL_loadfile(
lua_State L, dynamic filename) → int -
luaL_loadfilex(
lua_State L, dynamic filename, dynamic mode) → int -
luaL_loadstring(
lua_State L, dynamic s) → int -
luaL_newlib(
lua_State L, JsArray< luaL_Reg> l) → void -
luaL_newlibtable(
lua_State L) → void -
luaL_newmetatable(
lua_State L, dynamic tname) → int -
luaL_newstate(
) → lua_State -
luaL_openlibs(
lua_State L) → void -
luaL_opt(
lua_State L, dynamic func, dynamic arg, dynamic dflt) → dynamic -
luaL_optinteger(
lua_State L, int arg, int d) → int -
luaL_optlstring(
lua_State L, int arg, dynamic d) → dynamic -
luaL_optnumber(
lua_State L, int arg, double d) → double -
luaL_optstring(
lua_State L, int arg, dynamic d) → dynamic -
luaL_ref(
lua_State L, int t) → int -
luaL_requiref(
lua_State L, dynamic modname, dynamic openf, int glb) → void -
luaL_setfuncs(
lua_State L, luaL_Reg l, int nup) → void -
luaL_setmetatable(
lua_State L, dynamic tname) → void -
luaL_testudata(
lua_State L, int arg, dynamic tname) → dynamic -
luaL_tolstring(
lua_State L, int idx) → dynamic -
luaL_traceback(
lua_State L, lua_State L1, dynamic msg, int level) → void -
luaL_typename(
lua_State L, int index) → void -
luaL_unref(
lua_State L, int t, int ref) → void -
luaL_where(
lua_State L, int lvl) → void -
luaopen_base(
lua_State L) → int -
luaopen_coroutine(
lua_State L) → int -
luaopen_debug(
lua_State L) → int -
luaopen_fengari(
lua_State L) → int -
luaopen_js(
lua_State L) → int -
luaopen_math(
lua_State L) → int -
luaopen_os(
lua_State L) → int -
luaopen_package(
lua_State L) → int -
luaopen_string(
lua_State L) → int -
luaopen_table(
lua_State L) → int -
luaopen_utf8(
lua_State L) → int -
luastring_eq(
dynamic a, dynamic b) → bool -
luastring_indexOf(
dynamic src, dynamic str, [int from = 0]) → int -
luastring_of(
String str) → dynamic -
to_jsstring(
dynamic src) → String -
to_luastring(
String str) → dynamic -
to_uristring(
dynamic src) → String -
toUint8Array(
List< int> data) → dynamic
Typedefs
- lua_CFunction = int Function(lua_State L)