HomeSort by: relevance | last modified time | path
    Searched refs:LUA_YIELD (Results 1 - 6 of 6) sorted by relevancy

  /src/external/mit/lua/dist/src/
lcorolib.c 44 if (l_likely(status == LUA_OK || status == LUA_YIELD)) {
82 if (stat != LUA_OK && stat != LUA_YIELD) { /* error in the coroutine? */
117 return lua_yield(L, lua_gettop(L));
135 case LUA_YIELD:
ldo.c 42 #define errorstatus(s) ((s) > LUA_YIELD)
682 status = LUA_YIELD; /* was interrupted by an yield */
720 int status = LUA_YIELD; /* default if there were no errors */
796 lua_assert(L->status == LUA_YIELD);
805 n = (*ci->u.c.k)(L, LUA_YIELD, ci->u.c.ctx); /* call continuation */
821 ** (status == LUA_YIELD), or an unprotected error ('findpcall' doesn't
845 else if (L->status != LUA_YIELD) /* ended with errors? */
863 *nresults = (status == LUA_YIELD) ? L->ci->u2.nyield
888 L->status = LUA_YIELD;
898 luaD_throw(L, LUA_YIELD);
    [all...]
lbaselib.c 470 if (l_unlikely(status != LUA_OK && status != LUA_YIELD)) { /* error? */
ldebug.c 919 if (L->status == LUA_YIELD) { /* did hook yield? */
924 luaD_throw(L, LUA_YIELD);
lstate.c 332 if (status == LUA_YIELD)
lua.h 54 #define LUA_YIELD 1
339 #define lua_yield(L,n) lua_yieldk(L, (n), 0, NULL) macro

Completed in 17 milliseconds