From 46049c9df73a446192957af1f50df19167c79f07 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 26 Apr 2017 17:15:37 +1000 Subject: Remove lua.CT and lua.constant_types (still available from defs) --- src/lua.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/lua.js') diff --git a/src/lua.js b/src/lua.js index f54f679..37ecadd 100644 --- a/src/lua.js +++ b/src/lua.js @@ -4,7 +4,6 @@ const defs = require("./defs.js"); module.exports.char = defs.char; -module.exports.CT = defs.CT; module.exports.FENGARI_AUTHORS = defs.FENGARI_AUTHORS; module.exports.FENGARI_COPYRIGHT = defs.FENGARI_COPYRIGHT; module.exports.FENGARI_RELEASE = defs.FENGARI_RELEASE; @@ -52,13 +51,22 @@ module.exports.LUA_RIDX_GLOBALS = defs.LUA_RIDX_GLOBALS; module.exports.LUA_RIDX_LAST = defs.LUA_RIDX_LAST; module.exports.LUA_RIDX_MAINTHREAD = defs.LUA_RIDX_MAINTHREAD; module.exports.LUA_SIGNATURE = defs.LUA_SIGNATURE; +module.exports.LUA_TNONE = defs.CT.LUA_TNONE; +module.exports.LUA_TNIL = defs.CT.LUA_TNIL; +module.exports.LUA_TBOOLEAN = defs.CT.LUA_TBOOLEAN; +module.exports.LUA_TLIGHTUSERDATA = defs.CT.LUA_TLIGHTUSERDATA; +module.exports.LUA_TNUMBER = defs.CT.LUA_TNUMBER; +module.exports.LUA_TSTRING = defs.CT.LUA_TSTRING; +module.exports.LUA_TTABLE = defs.CT.LUA_TTABLE; +module.exports.LUA_TFUNCTION = defs.CT.LUA_TFUNCTION; +module.exports.LUA_TUSERDATA = defs.CT.LUA_TUSERDATA; +module.exports.LUA_TTHREAD = defs.CT.LUA_TTHREAD; module.exports.LUA_VERSION = defs.LUA_VERSION; module.exports.LUA_VERSION_MAJOR = defs.LUA_VERSION_MAJOR; module.exports.LUA_VERSION_MINOR = defs.LUA_VERSION_MINOR; module.exports.LUA_VERSION_NUM = defs.LUA_VERSION_NUM; module.exports.LUA_VERSION_RELEASE = defs.LUA_VERSION_RELEASE; module.exports.LUA_VERSUFFIX = defs.LUA_VERSUFFIX; -module.exports.constant_types = defs.constant_types; module.exports.lua_Debug = defs.lua_Debug; module.exports.lua_upvalueindex = defs.lua_upvalueindex; module.exports.print_version = defs.print_version; -- cgit v1.2.3-54-g00ecf