aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-05 14:24:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-05 14:24:04 -0300
commit5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 (patch)
treee9d62d00cd762b64e30ce2297319f91064d54d7e /lbaselib.c
parent2cd6161060f3e9149e7a61a126bec76cd4f1b333 (diff)
downloadlua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.gz
lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.bz2
lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.zip
new names for standard libraries
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 847b91ef..e146318d 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.76 2002/06/03 20:11:41 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.77 2002/06/05 16:59:21 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -459,7 +459,7 @@ static const luaL_reg co_funcs[] = {
459 459
460 460
461static void co_open (lua_State *L) { 461static void co_open (lua_State *L) {
462 luaL_opennamedlib(L, "co", co_funcs, 0); 462 luaL_opennamedlib(L, LUA_COLIBNAME, co_funcs, 0);
463 /* create metatable for coroutines */ 463 /* create metatable for coroutines */
464 lua_pushliteral(L, "Coroutine"); 464 lua_pushliteral(L, "Coroutine");
465 lua_newtable(L); 465 lua_newtable(L);