diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-02-15 22:13:01 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-02-15 22:19:14 +0100 |
commit | 9d6afeba223c22163928557c69a102877223d3bd (patch) | |
tree | 481efe9bfaf1095792ca1612603ef3505352d1f8 /src/ldo.js | |
parent | 43474e4c411709e3c1ab1b1d13283d2bc4789d1d (diff) | |
download | fengari-9d6afeba223c22163928557c69a102877223d3bd.tar.gz fengari-9d6afeba223c22163928557c69a102877223d3bd.tar.bz2 fengari-9d6afeba223c22163928557c69a102877223d3bd.zip |
Everything need to make luaL_newstate work, lua_pushnil test
Diffstat (limited to 'src/ldo.js')
-rw-r--r-- | src/ldo.js | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -182,6 +182,7 @@ const luaD_rawrunprotected = function(L, f, ud) { try { f(L, ud); } catch (e) { + console.log(e); if (lj.status == 0) lj.status = -1; } @@ -223,13 +224,14 @@ const luaD_callnoyield = function(L, off, nResults) { L.nny--; }; -module.exports.nil = nil; -module.exports.luaD_precall = luaD_precall; -module.exports.luaD_poscall = luaD_poscall; -module.exports.moveresults = moveresults; -module.exports.adjust_varargs = adjust_varargs; -module.exports.tryfuncTM = tryfuncTM; -module.exports.stackerror = stackerror; -module.exports.luaD_call = luaD_call; -module.exports.luaD_callnoyield = luaD_callnoyield; -module.exports.luaD_pcall = luaD_pcall;
\ No newline at end of file +module.exports.nil = nil; +module.exports.luaD_precall = luaD_precall; +module.exports.luaD_poscall = luaD_poscall; +module.exports.moveresults = moveresults; +module.exports.adjust_varargs = adjust_varargs; +module.exports.tryfuncTM = tryfuncTM; +module.exports.stackerror = stackerror; +module.exports.luaD_call = luaD_call; +module.exports.luaD_callnoyield = luaD_callnoyield; +module.exports.luaD_pcall = luaD_pcall; +module.exports.luaD_rawrunprotected = luaD_rawrunprotected;
\ No newline at end of file |