From 567e12ce3f1ef413afa510cb583d6ac8442a7a4a Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 23 Feb 2017 08:59:35 +0100 Subject: coroutines --- src/lualib.js | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'src/lualib.js') diff --git a/src/lualib.js b/src/lualib.js index 1eff812..d87cfbc 100644 --- a/src/lualib.js +++ b/src/lualib.js @@ -7,5 +7,26 @@ const lua = require('./lua.js'); const LUA_VERSUFFIX = "_" + lua.LUA_VERSION_MAJOR + "_" + lua.LUA_VERSION_MINOR; +const LUA_COLIBNAME = "coroutine"; +const LUA_TABLIBNAME = "table" +const LUA_IOLIBNAME = "io" +const LUA_OSLIBNAME = "os" +const LUA_STRLIBNAME = "string" +const LUA_UTF8LIBNAME = "utf8" +const LUA_BITLIBNAME = "bit32" +const LUA_MATHLIBNAME = "math" +const LUA_DBLIBNAME = "debug" +const LUA_LOADLIBNAME = "package" -module.exports.LUA_VERSUFFIX = LUA_VERSUFFIX; \ No newline at end of file + +module.exports.LUA_BITLIBNAME = LUA_BITLIBNAME; +module.exports.LUA_COLIBNAME = LUA_COLIBNAME; +module.exports.LUA_DBLIBNAME = LUA_DBLIBNAME; +module.exports.LUA_IOLIBNAME = LUA_IOLIBNAME; +module.exports.LUA_LOADLIBNAME = LUA_LOADLIBNAME; +module.exports.LUA_MATHLIBNAME = LUA_MATHLIBNAME; +module.exports.LUA_OSLIBNAME = LUA_OSLIBNAME; +module.exports.LUA_STRLIBNAME = LUA_STRLIBNAME; +module.exports.LUA_TABLIBNAME = LUA_TABLIBNAME; +module.exports.LUA_UTF8LIBNAME = LUA_UTF8LIBNAME; +module.exports.LUA_VERSUFFIX = LUA_VERSUFFIX; \ No newline at end of file -- cgit v1.2.3-54-g00ecf