| 2466 | } |
| 2467 | |
| 2468 | void fxSetArchive(txMachine* the, void* archive) |
| 2469 | { |
| 2470 | the->archive = archive; |
| 2471 | if (archive) { |
| 2472 | fxNewHostObject(the, C_NULL); |
| 2473 | the->stack->value.reference->next->value.host.data = archive; |
| 2474 | mxPush(mxGlobal); |
| 2475 | mxDefineID(fxID(the, "archive"), XS_DONT_ENUM_FLAG, XS_GET_ONLY); |
| 2476 | mxPop(); |
| 2477 | } |
| 2478 | else { |
| 2479 | mxPush(mxGlobal); |
| 2480 | mxDeleteID(fxID(the, "archive")); |
| 2481 | } |
| 2482 | } |
| 2483 | |
| 2484 | txBoolean fxIsProfiling(txMachine* the) |
| 2485 | { |
no test coverage detected