aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-03-29 02:31:15 +1100
committerdaurnimator <quae@daurnimator.com>2018-03-29 02:31:15 +1100
commitcf6463724e06075fc608529df92b1bb026fe740e (patch)
tree160eb4372c4d76b9af560ac81ef80acfe423949a
parent7cf80a5afec725868dee622fc99050ce33ec288b (diff)
downloadfengari-cf6463724e06075fc608529df92b1bb026fe740e.tar.gz
fengari-cf6463724e06075fc608529df92b1bb026fe740e.tar.bz2
fengari-cf6463724e06075fc608529df92b1bb026fe740e.zip
src/{defs,lua}.js: LUA_INIT_VAR and LUA_INITVARVERSION are not normal exports
-rw-r--r--src/defs.js5
-rw-r--r--src/lua.js2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/defs.js b/src/defs.js
index e761f86..6478571 100644
--- a/src/defs.js
+++ b/src/defs.js
@@ -245,9 +245,6 @@ const LUA_AUTHORS = "R. Ierusalimschy, L. H. de Figueiredo, W. Celes
const LUA_VERSUFFIX = "_" + LUA_VERSION_MAJOR + "_" + LUA_VERSION_MINOR;
-const LUA_INIT_VAR = "LUA_INIT";
-const LUA_INITVARVERSION = LUA_INIT_VAR + LUA_VERSUFFIX;
-
const thread_status = {
LUA_OK: 0,
LUA_YIELD: 1,
@@ -477,8 +474,6 @@ module.exports.LUA_HOOKCOUNT = LUA_HOOKCOUNT;
module.exports.LUA_HOOKLINE = LUA_HOOKLINE;
module.exports.LUA_HOOKRET = LUA_HOOKRET;
module.exports.LUA_HOOKTAILCALL = LUA_HOOKTAILCALL;
-module.exports.LUA_INITVARVERSION = LUA_INITVARVERSION;
-module.exports.LUA_INIT_VAR = LUA_INIT_VAR;
module.exports.LUA_MASKCALL = LUA_MASKCALL;
module.exports.LUA_MASKCOUNT = LUA_MASKCOUNT;
module.exports.LUA_MASKLINE = LUA_MASKLINE;
diff --git a/src/lua.js b/src/lua.js
index 3dd15a5..8e4b1fd 100644
--- a/src/lua.js
+++ b/src/lua.js
@@ -18,8 +18,6 @@ module.exports.LUA_HOOKCOUNT = defs.LUA_HOOKCOUNT;
module.exports.LUA_HOOKLINE = defs.LUA_HOOKLINE;
module.exports.LUA_HOOKRET = defs.LUA_HOOKRET;
module.exports.LUA_HOOKTAILCALL = defs.LUA_HOOKTAILCALL;
-module.exports.LUA_INITVARVERSION = defs.LUA_INITVARVERSION;
-module.exports.LUA_INIT_VAR = defs.LUA_INIT_VAR;
module.exports.LUA_MASKCALL = defs.LUA_MASKCALL;
module.exports.LUA_MASKCOUNT = defs.LUA_MASKCOUNT;
module.exports.LUA_MASKLINE = defs.LUA_MASKLINE;