aboutsummaryrefslogtreecommitdiff
path: root/lcorolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcorolib.c')
-rw-r--r--lcorolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcorolib.c b/lcorolib.c
index fdcbc6de..1eef89c9 100644
--- a/lcorolib.c
+++ b/lcorolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcorolib.c,v $ 2** $Id: lcorolib.c,v 1.1 2010/06/10 21:30:26 roberto Exp roberto $
3** Coroutine Library 3** Coroutine Library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -148,7 +148,7 @@ static const luaL_Reg co_funcs[] = {
148 148
149 149
150LUAMOD_API int luaopen_coroutine (lua_State *L) { 150LUAMOD_API int luaopen_coroutine (lua_State *L) {
151 luaL_register(L, LUA_COLIBNAME, co_funcs); 151 luaL_newlib(L, co_funcs);
152 return 1; 152 return 1;
153} 153}
154 154