summaryrefslogtreecommitdiff
path: root/src/lua.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-26 17:55:37 +1000
committerdaurnimator <quae@daurnimator.com>2017-04-26 18:06:57 +1000
commitb688ef577a10e8b6f2cf948faaa8d1af70c7949c (patch)
tree0ff07d75f65442b92d8a95259b9ab6845e66b27a /src/lua.js
parent53bd1fcc4b90f24427064419354ad07c552a93d5 (diff)
downloadfengari-b688ef577a10e8b6f2cf948faaa8d1af70c7949c.tar.gz
fengari-b688ef577a10e8b6f2cf948faaa8d1af70c7949c.tar.bz2
fengari-b688ef577a10e8b6f2cf948faaa8d1af70c7949c.zip
Export lapi.js functions from lua.js
Diffstat (limited to 'src/lua.js')
-rw-r--r--src/lua.js99
1 files changed, 99 insertions, 0 deletions
diff --git a/src/lua.js b/src/lua.js
index 7e22b83..e15654e 100644
--- a/src/lua.js
+++ b/src/lua.js
@@ -2,6 +2,7 @@
"use strict";
const defs = require("./defs.js");
+const lapi = require("./lapi.js");
module.exports.FENGARI_AUTHORS = defs.FENGARI_AUTHORS;
module.exports.FENGARI_COPYRIGHT = defs.FENGARI_COPYRIGHT;
@@ -76,3 +77,101 @@ module.exports.LUA_YIELD = defs.thread_status.LUA_YIELD;
module.exports.lua_Debug = defs.lua_Debug;
module.exports.lua_upvalueindex = defs.lua_upvalueindex;
module.exports.to_luastring = defs.to_luastring;
+
+module.exports.lua_absindex = lapi.lua_absindex;
+module.exports.lua_atpanic = lapi.lua_atpanic;
+module.exports.lua_call = lapi.lua_call;
+module.exports.lua_callk = lapi.lua_callk;
+module.exports.lua_checkstack = lapi.lua_checkstack;
+module.exports.lua_compare = lapi.lua_compare;
+module.exports.lua_concat = lapi.lua_concat;
+module.exports.lua_copy = lapi.lua_copy;
+module.exports.lua_createtable = lapi.lua_createtable;
+module.exports.lua_dump = lapi.lua_dump;
+module.exports.lua_error = lapi.lua_error;
+module.exports.lua_gc = lapi.lua_gc;
+module.exports.lua_getallocf = lapi.lua_getallocf;
+module.exports.lua_getextraspace = lapi.lua_getextraspace;
+module.exports.lua_getfield = lapi.lua_getfield;
+module.exports.lua_getglobal = lapi.lua_getglobal;
+module.exports.lua_geti = lapi.lua_geti;
+module.exports.lua_getmetatable = lapi.lua_getmetatable;
+module.exports.lua_gettable = lapi.lua_gettable;
+module.exports.lua_gettop = lapi.lua_gettop;
+module.exports.lua_getupvalue = lapi.lua_getupvalue;
+module.exports.lua_getuservalue = lapi.lua_getuservalue;
+module.exports.lua_insert = lapi.lua_insert;
+module.exports.lua_iscfunction = lapi.lua_iscfunction;
+module.exports.lua_isfunction = lapi.lua_isfunction;
+module.exports.lua_isinteger = lapi.lua_isinteger;
+module.exports.lua_isnil = lapi.lua_isnil;
+module.exports.lua_isnone = lapi.lua_isnone;
+module.exports.lua_isnoneornil = lapi.lua_isnoneornil;
+module.exports.lua_isnumber = lapi.lua_isnumber;
+module.exports.lua_isstring = lapi.lua_isstring;
+module.exports.lua_istable = lapi.lua_istable;
+module.exports.lua_isthread = lapi.lua_isthread;
+module.exports.lua_isuserdata = lapi.lua_isuserdata;
+module.exports.lua_len = lapi.lua_len;
+module.exports.lua_load = lapi.lua_load;
+module.exports.lua_newtable = lapi.lua_newtable;
+module.exports.lua_newuserdata = lapi.lua_newuserdata;
+module.exports.lua_next = lapi.lua_next;
+module.exports.lua_pcall = lapi.lua_pcall;
+module.exports.lua_pcallk = lapi.lua_pcallk;
+module.exports.lua_pop = lapi.lua_pop;
+module.exports.lua_pushboolean = lapi.lua_pushboolean;
+module.exports.lua_pushcclosure = lapi.lua_pushcclosure;
+module.exports.lua_pushcfunction = lapi.lua_pushcfunction;
+module.exports.lua_pushglobaltable = lapi.lua_pushglobaltable;
+module.exports.lua_pushinteger = lapi.lua_pushinteger;
+module.exports.lua_pushjsclosure = lapi.lua_pushjsclosure;
+module.exports.lua_pushjsfunction = lapi.lua_pushjsfunction;
+module.exports.lua_pushlightuserdata = lapi.lua_pushlightuserdata;
+module.exports.lua_pushliteral = lapi.lua_pushliteral;
+module.exports.lua_pushlstring = lapi.lua_pushlstring;
+module.exports.lua_pushnil = lapi.lua_pushnil;
+module.exports.lua_pushnumber = lapi.lua_pushnumber;
+module.exports.lua_pushobject = lapi.lua_pushobject;
+module.exports.lua_pushstring = lapi.lua_pushstring;
+module.exports.lua_pushthread = lapi.lua_pushthread;
+module.exports.lua_pushtvalue = lapi.lua_pushtvalue;
+module.exports.lua_pushvalue = lapi.lua_pushvalue;
+module.exports.lua_rawequal = lapi.lua_rawequal;
+module.exports.lua_rawget = lapi.lua_rawget;
+module.exports.lua_rawgeti = lapi.lua_rawgeti;
+module.exports.lua_rawgetp = lapi.lua_rawgetp;
+module.exports.lua_rawlen = lapi.lua_rawlen;
+module.exports.lua_rawset = lapi.lua_rawset;
+module.exports.lua_rawsetp = lapi.lua_rawsetp;
+module.exports.lua_remove = lapi.lua_remove;
+module.exports.lua_replace = lapi.lua_replace;
+module.exports.lua_rotate = lapi.lua_rotate;
+module.exports.lua_setfield = lapi.lua_setfield;
+module.exports.lua_setglobal = lapi.lua_setglobal;
+module.exports.lua_seti = lapi.lua_seti;
+module.exports.lua_setmetatable = lapi.lua_setmetatable;
+module.exports.lua_settable = lapi.lua_settable;
+module.exports.lua_settop = lapi.lua_settop;
+module.exports.lua_setupvalue = lapi.lua_setupvalue;
+module.exports.lua_setuservalue = lapi.lua_setuservalue;
+module.exports.lua_status = lapi.lua_status;
+module.exports.lua_stringtonumber = lapi.lua_stringtonumber;
+module.exports.lua_toboolean = lapi.lua_toboolean;
+module.exports.lua_todataview = lapi.lua_todataview;
+module.exports.lua_tointeger = lapi.lua_tointeger;
+module.exports.lua_tointegerx = lapi.lua_tointegerx;
+module.exports.lua_tojsstring = lapi.lua_tojsstring;
+module.exports.lua_toljsstring = lapi.lua_toljsstring;
+module.exports.lua_tolstring = lapi.lua_tolstring;
+module.exports.lua_tonumber = lapi.lua_tonumber;
+module.exports.lua_topointer = lapi.lua_topointer;
+module.exports.lua_tostring = lapi.lua_tostring;
+module.exports.lua_tothread = lapi.lua_tothread;
+module.exports.lua_touserdata = lapi.lua_touserdata;
+module.exports.lua_type = lapi.lua_type;
+module.exports.lua_typename = lapi.lua_typename;
+module.exports.lua_upvalueid = lapi.lua_upvalueid;
+module.exports.lua_upvaluejoin = lapi.lua_upvaluejoin;
+module.exports.lua_version = lapi.lua_version;
+module.exports.lua_xmove = lapi.lua_xmove;