| 101 | } |
| 102 | |
| 103 | txBoolean fxIsCallable(txMachine* the, txSlot* slot) |
| 104 | { |
| 105 | if (slot->kind == XS_REFERENCE_KIND) |
| 106 | return fxIsFunction(the, slot->value.reference); |
| 107 | #if mxHostFunctionPrimitive |
| 108 | if (slot->kind == XS_HOST_FUNCTION_KIND) |
| 109 | return 1; |
| 110 | #endif |
| 111 | return 0; |
| 112 | } |
| 113 | |
| 114 | txBoolean fxIsFunction(txMachine* the, txSlot* instance) |
| 115 | { |
no test coverage detected