| 492 | } |
| 493 | |
| 494 | txSlot* fxNewMapIteratorInstance(txMachine* the, txSlot* iterable, txInteger kind) |
| 495 | { |
| 496 | txSlot* instance; |
| 497 | txSlot* property; |
| 498 | mxPush(mxMapIteratorPrototype); |
| 499 | instance = fxNewIteratorInstance(the, iterable, mxID(_Map)); |
| 500 | property = fxLastProperty(the, instance); |
| 501 | property->kind = XS_LIST_KIND; |
| 502 | property->value.list.first = C_NULL; |
| 503 | property->value.list.last = C_NULL; |
| 504 | property = fxNextIntegerProperty(the, property, kind, XS_NO_ID, XS_INTERNAL_FLAG); |
| 505 | mxPullSlot(mxResult); |
| 506 | return instance; |
| 507 | } |
| 508 | |
| 509 | void fx_MapIterator_prototype_next(txMachine* the) |
| 510 | { |
no test coverage detected