diff options
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); |