diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-05 14:24:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-05 14:24:04 -0300 |
commit | 5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 (patch) | |
tree | e9d62d00cd762b64e30ce2297319f91064d54d7e /lbaselib.c | |
parent | 2cd6161060f3e9149e7a61a126bec76cd4f1b333 (diff) | |
download | lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.gz lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.bz2 lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.zip |
new names for standard libraries
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
461 | static void co_open (lua_State *L) { | 461 | static 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); |