| 1989 | } |
| 1990 | |
| 1991 | void fxAsyncFromSyncIteratorDone(txMachine* the) |
| 1992 | { |
| 1993 | txSlot* slot = mxFunctionInstanceHome(mxFunction->value.reference); |
| 1994 | txSlot* instance = slot->value.home.object; |
| 1995 | txSlot* iterator = instance->next; |
| 1996 | txSlot* nextFunction = iterator->next; |
| 1997 | txSlot* doneFunction = nextFunction->next; |
| 1998 | txSlot* doneFlag = doneFunction->next; |
| 1999 | mxPushSlot(mxArgv(0)); |
| 2000 | fxNewGeneratorResult(the, doneFlag->value.boolean); |
| 2001 | mxPullSlot(mxResult); |
| 2002 | } |
| 2003 | |
| 2004 | void fxAsyncFromSyncIteratorFailed(txMachine* the) |
| 2005 | { |
nothing calls this directly
no test coverage detected