diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-27 15:47:32 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-27 15:47:32 -0300 |
commit | 34b00c16e28c2bbc3e633b4007de956130905ed6 (patch) | |
tree | fca960c3f8f1945a052a776722ccef4944b748fa /linit.c | |
parent | 12110dec0eda3813b7609051aedb0cde932fbf93 (diff) | |
download | lua-34b00c16e28c2bbc3e633b4007de956130905ed6.tar.gz lua-34b00c16e28c2bbc3e633b4007de956130905ed6.tar.bz2 lua-34b00c16e28c2bbc3e633b4007de956130905ed6.zip |
removed compatibility code with older versions
Diffstat (limited to 'linit.c')
-rw-r--r-- | linit.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: linit.c,v 1.39 2016/12/04 20:17:24 roberto Exp roberto $ | 2 | ** $Id: linit.c,v 1.40 2017/06/27 18:32:49 roberto Exp roberto $ |
3 | ** Initialization of libraries for lua.c and other clients | 3 | ** Initialization of libraries for lua.c and other clients |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -50,9 +50,6 @@ static const luaL_Reg loadedlibs[] = { | |||
50 | {LUA_MATHLIBNAME, luaopen_math}, | 50 | {LUA_MATHLIBNAME, luaopen_math}, |
51 | {LUA_UTF8LIBNAME, luaopen_utf8}, | 51 | {LUA_UTF8LIBNAME, luaopen_utf8}, |
52 | {LUA_DBLIBNAME, luaopen_debug}, | 52 | {LUA_DBLIBNAME, luaopen_debug}, |
53 | #if defined(LUA_COMPAT_BITLIB) | ||
54 | {LUA_BITLIBNAME, luaopen_bit32}, | ||
55 | #endif | ||
56 | {NULL, NULL} | 53 | {NULL, NULL} |
57 | }; | 54 | }; |
58 | 55 | ||