summaryrefslogtreecommitdiff
path: root/src/lua.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-26 18:28:30 +1000
committerdaurnimator <quae@daurnimator.com>2017-04-26 18:32:07 +1000
commitcc035ba6ef2ecf3884c12c2af8ad4e5fd6616f0f (patch)
tree2832ff0d9ea13b3fa2224eee24810889998f1975 /src/lua.js
parent99eec25ab0ca2d4722c4d54eccc57cffe2d3b370 (diff)
downloadfengari-cc035ba6ef2ecf3884c12c2af8ad4e5fd6616f0f.tar.gz
fengari-cc035ba6ef2ecf3884c12c2af8ad4e5fd6616f0f.tar.bz2
fengari-cc035ba6ef2ecf3884c12c2af8ad4e5fd6616f0f.zip
Export ldo.js functions from lua.js
Diffstat (limited to 'src/lua.js')
-rw-r--r--src/lua.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua.js b/src/lua.js
index 17df09b..047926f 100644
--- a/src/lua.js
+++ b/src/lua.js
@@ -4,6 +4,7 @@
const defs = require("./defs.js");
const lapi = require("./lapi.js");
const ldebug = require("./ldebug.js");
+const ldo = require("./ldo.js");
const lstate = require("./lstate.js");
module.exports.FENGARI_AUTHORS = defs.FENGARI_AUTHORS;
@@ -120,6 +121,7 @@ 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_isyieldable = ldo.lua_isyieldable;
module.exports.lua_len = lapi.lua_len;
module.exports.lua_load = lapi.lua_load;
module.exports.lua_newtable = lapi.lua_newtable;
@@ -155,6 +157,7 @@ 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_resume = ldo.lua_resume;
module.exports.lua_replace = lapi.lua_replace;
module.exports.lua_rotate = lapi.lua_rotate;
module.exports.lua_setfield = lapi.lua_setfield;
@@ -187,3 +190,5 @@ 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;
+module.exports.lua_yield = ldo.lua_yield;
+module.exports.lua_yieldk = ldo.lua_yieldk;