diff options
author | daurnimator <quae@daurnimator.com> | 2018-01-18 04:29:58 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-01-18 06:27:15 +1100 |
commit | 214dcf73833f7a29c58eef2b85d68ee3277039f0 (patch) | |
tree | e48560b5193f81e5dc4ba5ea4ff78004d274234b /src/lualib.js | |
parent | 2fec758ebe4205ffdbd955967890dbbe4b1869b9 (diff) | |
download | fengari-214dcf73833f7a29c58eef2b85d68ee3277039f0.tar.gz fengari-214dcf73833f7a29c58eef2b85d68ee3277039f0.tar.bz2 fengari-214dcf73833f7a29c58eef2b85d68ee3277039f0.zip |
src/: Start using lua_assert() instead of plain assert()
Diffstat (limited to 'src/lualib.js')
-rw-r--r-- | src/lualib.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lualib.js b/src/lualib.js index 4fbae44..61bbc76 100644 --- a/src/lualib.js +++ b/src/lualib.js @@ -49,3 +49,6 @@ module.exports.LUA_LOADLIBNAME = LUA_LOADLIBNAME; module.exports.luaopen_package = require("./loadlib.js").luaopen_package; module.exports.luaL_openlibs = linit.luaL_openlibs; + +/* customary export */ +module.exports.lua_assert = function(c) {}; |