| 48 | /* Slot */ |
| 49 | |
| 50 | txKind fxTypeOf(txMachine* the, txSlot* theSlot) |
| 51 | { |
| 52 | if (theSlot->kind == XS_STRING_X_KIND) |
| 53 | return XS_STRING_KIND; |
| 54 | if (theSlot->kind == XS_BIGINT_X_KIND) |
| 55 | return XS_BIGINT_KIND; |
| 56 | #if mxHostFunctionPrimitive |
| 57 | if (theSlot->kind == XS_HOST_FUNCTION_KIND) |
| 58 | return XS_REFERENCE_KIND; |
| 59 | #endif |
| 60 | return theSlot->kind; |
| 61 | } |
| 62 | |
| 63 | /* Primitives */ |
| 64 |
no outgoing calls
no test coverage detected