From 5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 5 Jun 2002 14:24:04 -0300 Subject: new names for standard libraries --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 847b91ef..e146318d 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -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); -- cgit v1.2.3-55-g6feb