author | Tero Marttila <terom@fixme.fi> |
Thu, 21 May 2009 16:57:00 +0300 | |
changeset 211 | b460d958a685 |
parent 210 | 05abca972db0 |
child 212 | ddc79529a1e0 |
src/lua_objs.c | file | annotate | diff | comparison | revisions |
--- a/src/lua_objs.c Thu May 21 16:56:42 2009 +0300 +++ b/src/lua_objs.c Thu May 21 16:57:00 2009 +0300 @@ -1,6 +1,7 @@ #include "lua_objs.h" #include "lua_irc.h" #include "lua_func.h" +#include "lua_thread.h" #include "log.h" #include <stdlib.h> @@ -373,7 +374,7 @@ return luaL_error(L, "event_base_once"); // yield - return lua_yield(L, 0); + return lua_thread_yield_state(L); } static struct lua_method lua_nexus_methods[] = LUA_METHODS(