new names for functions that open C libraries

This commit is contained in:
Roberto Ierusalimschy
2003-03-11 09:24:34 -03:00
parent 430d6db928
commit 034de1fe73
9 changed files with 43 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltablib.c,v 1.18 2002/12/20 10:26:33 roberto Exp roberto $
** $Id: ltablib.c,v 1.19 2003/01/27 13:46:16 roberto Exp roberto $
** Library for Table Manipulation
** See Copyright Notice in lua.h
*/
@@ -243,7 +243,7 @@ static const luaL_reg tab_funcs[] = {
};
LUALIB_API int lua_tablibopen (lua_State *L) {
LUALIB_API int luaopen_table (lua_State *L) {
luaL_openlib(L, LUA_TABLIBNAME, tab_funcs, 0);
return 1;
}