| 90 | } |
| 91 | |
| 92 | txSlot* fxCheckFunctionInstance(txMachine* the, txSlot* slot) |
| 93 | { |
| 94 | if (slot->kind == XS_REFERENCE_KIND) { |
| 95 | slot = slot->value.reference; |
| 96 | if (fxIsFunction(the, slot)) |
| 97 | return slot; |
| 98 | } |
| 99 | mxTypeError("this: not a Function instance"); |
| 100 | return C_NULL; |
| 101 | } |
| 102 | |
| 103 | txBoolean fxIsCallable(txMachine* the, txSlot* slot) |
| 104 | { |
no test coverage detected