diff options
Diffstat (limited to 'src/luaconf.js')
-rw-r--r-- | src/luaconf.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/luaconf.js b/src/luaconf.js index c415a65..7297b28 100644 --- a/src/luaconf.js +++ b/src/luaconf.js @@ -14,7 +14,11 @@ const LUAI_MAXSTACK = 1000000; @@ of a function in debug information. ** CHANGE it if you want a different size. */ -const LUA_IDSIZE = 60 +const LUA_IDSIZE = 60; + +const lua_numbertointeger = function(n) { + return n|0; +}; module.exports.LUAI_MAXSTACK = LUAI_MAXSTACK; module.exports.LUA_IDSIZE = LUA_IDSIZE;
\ No newline at end of file |