| 3455 | #if mxModuleStuff |
| 3456 | |
| 3457 | txSlot* fxCheckModuleStuffInstance(txMachine* the, txSlot* slot) |
| 3458 | { |
| 3459 | if (slot->kind == XS_REFERENCE_KIND) { |
| 3460 | txSlot* instance = slot->value.reference; |
| 3461 | if (((slot = instance->next)) && (slot->flag & XS_INTERNAL_FLAG) && (slot->kind == XS_MODULE_STUFF_KIND)) { |
| 3462 | return instance; |
| 3463 | } |
| 3464 | } |
| 3465 | mxTypeError("this: not a ModuleStuff instance"); |
| 3466 | return C_NULL; |
| 3467 | } |
| 3468 | |
| 3469 | txSlot* fxImportModuleStuff(txMachine* the, txSlot* realm, txSlot* queue, txSlot* reference, txSlot* name, txBoolean now) |
| 3470 | { |