| 1036 | } |
| 1037 | |
| 1038 | void fxRunProgramFile(txMachine* the, txString path, txUnsigned flags) |
| 1039 | { |
| 1040 | txSlot* realm = mxProgram.value.reference->next->value.module.realm; |
| 1041 | txScript* script = fxLoadScript(the, path, flags); |
| 1042 | mxModuleInstanceInternal(mxProgram.value.reference)->value.module.id = fxID(the, path); |
| 1043 | fxRunScript(the, script, mxRealmGlobal(realm), C_NULL, mxRealmClosures(realm)->value.reference, C_NULL, mxProgram.value.reference); |
| 1044 | mxPullSlot(mxResult); |
| 1045 | } |
| 1046 | |
| 1047 | void fxAbort(txMachine* the, int status) |
| 1048 | { |
no test coverage detected