bitlib renamed to 'bit32' + new function for arithmetic shift

This commit is contained in:
Roberto Ierusalimschy
2010-10-25 12:32:36 -02:00
parent d72ec210c7
commit 9e8e60dd5f
3 changed files with 26 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: linit.c,v 1.27 2010/06/30 17:40:27 roberto Exp roberto $
** $Id: linit.c,v 1.28 2010/07/02 11:38:13 roberto Exp roberto $
** Initialization of libraries for lua.c and other clients
** See Copyright Notice in lua.h
*/
@@ -34,7 +34,7 @@ static const luaL_Reg loadedlibs[] = {
{LUA_IOLIBNAME, luaopen_io},
{LUA_OSLIBNAME, luaopen_os},
{LUA_STRLIBNAME, luaopen_string},
{LUA_BITLIBNAME, luaopen_bit},
{LUA_BITLIBNAME, luaopen_bit32},
{LUA_MATHLIBNAME, luaopen_math},
#if defined(LUA_COMPAT_DEBUGLIB)
{LUA_DBLIBNAME, luaopen_debug},