summaryrefslogtreecommitdiff
path: root/src/lauxlib.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r--src/lauxlib.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js
index 15d8dab..3dfc072 100644
--- a/src/lauxlib.js
+++ b/src/lauxlib.js
@@ -1,6 +1,9 @@
"use strict";
const {
+ LUAL_BUFFERSIZE
+} = require('./luaconf.js');
+const {
LUA_ERRERR,
LUA_MULTRET,
LUA_REGISTRYINDEX,
@@ -471,8 +474,6 @@ const luaL_buffinitsize = function(L, B, sz) {
return luaL_prepbuffsize(B, sz);
};
-const LUAL_BUFFERSIZE = 8192;
-
const luaL_prepbuffer = function(B) {
return luaL_prepbuffsize(B, LUAL_BUFFERSIZE);
};