| 1015 | } |
| 1016 | |
| 1017 | txSlot* fxNewSetIteratorInstance(txMachine* the, txSlot* iterable, txInteger kind) |
| 1018 | { |
| 1019 | txSlot* instance; |
| 1020 | txSlot* property; |
| 1021 | mxPush(mxSetIteratorPrototype); |
| 1022 | instance = fxNewIteratorInstance(the, iterable, mxID(_Set)); |
| 1023 | property = fxLastProperty(the, instance); |
| 1024 | property->kind = XS_LIST_KIND; |
| 1025 | property->value.list.first = C_NULL; |
| 1026 | property->value.list.last = C_NULL; |
| 1027 | property = fxNextIntegerProperty(the, property, kind, XS_NO_ID, XS_INTERNAL_FLAG); |
| 1028 | mxPullSlot(mxResult); |
| 1029 | return instance; |
| 1030 | } |
| 1031 | |
| 1032 | void fx_SetIterator_prototype_next(txMachine* the) |
| 1033 | { |
no test coverage detected