diff options
Diffstat (limited to 'lcorolib.c')
-rw-r--r-- | lcorolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcorolib.c,v 1.5 2013/02/21 13:44:53 roberto Exp roberto $ | 2 | ** $Id: lcorolib.c,v 1.6 2014/05/08 13:52:20 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 | */ |
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | static lua_State *getco (lua_State *L) { | 20 | static lua_State *getco (lua_State *L) { |
21 | lua_State *co = lua_tothread(L, 1); | 21 | lua_State *co = lua_tothread(L, 1); |
22 | luaL_argcheck(L, co, 1, "coroutine expected"); | 22 | luaL_argcheck(L, co, 1, "thread expected"); |
23 | return co; | 23 | return co; |
24 | } | 24 | } |
25 | 25 | ||