| 1574 | } |
| 1575 | |
| 1576 | txSlot* fxCheckWeakSetValue(txMachine* the, txBoolean mutable) |
| 1577 | { |
| 1578 | if (mxArgc > 0) { |
| 1579 | txSlot* slot = fxCanBeHeldWeakly(the, mxArgv(0)); |
| 1580 | if (slot && mutable && (slot->flag & XS_MARK_FLAG)) |
| 1581 | mxTypeError("value: read-only"); |
| 1582 | return slot; |
| 1583 | } |
| 1584 | return C_NULL; |
| 1585 | } |
| 1586 | |
| 1587 | txSlot* fxNewWeakSetInstance(txMachine* the) |
| 1588 | { |
no test coverage detected