diff options
author | aunsane <aunsane@gmail.com> | 2016-12-27 00:46:46 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2016-12-27 00:47:12 +0300 |
commit | 4f5ab8c9b5866c4445d8f37f608244ea9bf4494f (patch) | |
tree | 2e1e5a3dee91e0c8f9aed1cdc8f2465d9e1b3d35 /libs/liblua/src/lauxlib.h | |
parent | ab80b3e01ac99d5f31e2de10bf8299579afa87b4 (diff) |
Updated lua lib to 5.3.4
Diffstat (limited to 'libs/liblua/src/lauxlib.h')
-rw-r--r-- | libs/liblua/src/lauxlib.h | 12 |
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; |