| 1761 | } |
| 1762 | |
| 1763 | void fxKeepDuringJobs(txMachine* the, txSlot* target) |
| 1764 | { |
| 1765 | txSlot* instance = mxDuringJobs.value.reference; |
| 1766 | txSlot** address = &(instance->next); |
| 1767 | txSlot* slot; |
| 1768 | while ((slot = *address)) { |
| 1769 | if (slot->value.reference == target) |
| 1770 | return; |
| 1771 | address = &(slot->next); |
| 1772 | } |
| 1773 | *address = slot = fxNewSlot(the); |
| 1774 | slot->value.reference = target; |
| 1775 | slot->kind = XS_REFERENCE_KIND; |
| 1776 | } |
| 1777 | |
| 1778 | txSlot* fxCheckWeakRefInstance(txMachine* the, txSlot* slot) |
| 1779 | { |
no test coverage detected