diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-26 21:47:54 +1000 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-04-26 14:00:02 +0200 |
commit | 6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2 (patch) | |
tree | d60c55ad8a4621f1a339e6f240675bd32059b347 /src/lauxlib.js | |
parent | f93607f954c002b251fba4e0b85493e0b2b619b4 (diff) | |
download | fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.tar.gz fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.tar.bz2 fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.zip |
Export luaL_openlibs from lauxlib.js
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r-- | src/lauxlib.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js index 8bf9a37..7d48e11 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -4,6 +4,7 @@ const lapi = require('./lapi.js'); const lua = require('./lua.js'); const lobject = require('./lobject.js'); +const linit = require('./linit.js'); const LUA_LOADED_TABLE = "_LOADED"; @@ -725,6 +726,7 @@ module.exports.luaL_loadstring = luaL_loadstring; module.exports.luaL_newlib = luaL_newlib; module.exports.luaL_newmetatable = luaL_newmetatable; module.exports.luaL_newstate = luaL_newstate; +module.exports.luaL_openlibs = linit.luaL_openlibs; module.exports.luaL_opt = luaL_opt; module.exports.luaL_optinteger = luaL_optinteger; module.exports.luaL_optlstring = luaL_optlstring; |