From 214dcf73833f7a29c58eef2b85d68ee3277039f0 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 18 Jan 2018 04:29:58 +1100 Subject: src/: Start using lua_assert() instead of plain assert() --- src/lualib.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lualib.js') 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) {}; -- cgit v1.2.3-54-g00ecf