summaryrefslogtreecommitdiff
path: root/src/lua.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-26 18:25:07 +1000
committerdaurnimator <quae@daurnimator.com>2017-04-26 18:25:07 +1000
commit99eec25ab0ca2d4722c4d54eccc57cffe2d3b370 (patch)
tree490cde5ae4a2acffa897e5d8e0a3b0327d1e9777 /src/lua.js
parentb5f52154a498452ffede27368211e14962715423 (diff)
downloadfengari-99eec25ab0ca2d4722c4d54eccc57cffe2d3b370.tar.gz
fengari-99eec25ab0ca2d4722c4d54eccc57cffe2d3b370.tar.bz2
fengari-99eec25ab0ca2d4722c4d54eccc57cffe2d3b370.zip
Export ldebug.js functions from lua.js
Diffstat (limited to 'src/lua.js')
-rw-r--r--src/lua.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lua.js b/src/lua.js
index 13eef9a..17df09b 100644
--- a/src/lua.js
+++ b/src/lua.js
@@ -3,6 +3,7 @@
const defs = require("./defs.js");
const lapi = require("./lapi.js");
+const ldebug = require("./ldebug.js");
const lstate = require("./lstate.js");
module.exports.FENGARI_AUTHORS = defs.FENGARI_AUTHORS;
@@ -95,8 +96,14 @@ 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_gethook = ldebug.lua_gethook;
+module.exports.lua_gethookcount = ldebug.lua_gethookcount;
+module.exports.lua_gethookmask = ldebug.lua_gethookmask;
module.exports.lua_geti = lapi.lua_geti;
+module.exports.lua_getinfo = ldebug.lua_getinfo;
+module.exports.lua_getlocal = ldebug.lua_getlocal;
module.exports.lua_getmetatable = lapi.lua_getmetatable;
+module.exports.lua_getstack = ldebug.lua_getstack;
module.exports.lua_gettable = lapi.lua_gettable;
module.exports.lua_gettop = lapi.lua_gettop;
module.exports.lua_getupvalue = lapi.lua_getupvalue;
@@ -152,7 +159,9 @@ 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_sethook = ldebug.lua_sethook;
module.exports.lua_seti = lapi.lua_seti;
+module.exports.lua_setlocal = ldebug.lua_setlocal;
module.exports.lua_setmetatable = lapi.lua_setmetatable;
module.exports.lua_settable = lapi.lua_settable;
module.exports.lua_settop = lapi.lua_settop;