summaryrefslogtreecommitdiff
path: root/libs/liblua/src/lauxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/liblua/src/lauxlib.h')
-rw-r--r--libs/liblua/src/lauxlib.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/libs/liblua/src/lauxlib.h b/libs/liblua/src/lauxlib.h
index ddb7c22838..1d65c975ad 100644
--- a/libs/liblua/src/lauxlib.h
+++ b/libs/liblua/src/lauxlib.h
@@ -1,5 +1,5 @@
/*
-** $Id: lauxlib.h,v 1.129 2015/11/23 11:29:43 roberto Exp $
+** $Id: lauxlib.h,v 1.130 2016/12/04 20:17:24 roberto Exp roberto $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -16,10 +16,18 @@
-/* extra error code for 'luaL_load' */
+/* extra error code for 'luaL_loadfilex' */
#define LUA_ERRFILE (LUA_ERRERR+1)
+/* key, in the registry, for table of loaded modules */
+#define LUA_LOADED_TABLE "_LOADED"
+
+
+/* key, in the registry, for table of preloaded loaders */
+#define LUA_PRELOAD_TABLE "_PRELOAD"
+
+
typedef struct luaL_Reg {
const char *name;
lua_CFunction func;