new names for standard libraries

This commit is contained in:
Roberto Ierusalimschy
2002-06-05 14:24:04 -03:00
parent 2cd6161060
commit 5b8ee9fa8d
7 changed files with 27 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lbaselib.c,v 1.76 2002/06/03 20:11:41 roberto Exp roberto $
** $Id: lbaselib.c,v 1.77 2002/06/05 16:59:21 roberto Exp roberto $
** Basic library
** See Copyright Notice in lua.h
*/
@@ -459,7 +459,7 @@ static const luaL_reg co_funcs[] = {
static void co_open (lua_State *L) {
luaL_opennamedlib(L, "co", co_funcs, 0);
luaL_opennamedlib(L, LUA_COLIBNAME, co_funcs, 0);
/* create metatable for coroutines */
lua_pushliteral(L, "Coroutine");
lua_newtable(L);