| 102 | }; |
| 103 | |
| 104 | void fx_deepEqual(txMachine* the) |
| 105 | { |
| 106 | txSlot* limit = the->stack; |
| 107 | txBoolean strict = 0; |
| 108 | if (mxArgc > 0) |
| 109 | mxPushSlot(mxArgv(0)); |
| 110 | else |
| 111 | mxPushUndefined(); |
| 112 | if (mxArgc > 1) |
| 113 | mxPushSlot(mxArgv(1)); |
| 114 | else |
| 115 | mxPushUndefined(); |
| 116 | if (mxArgc > 2) { |
| 117 | mxPushSlot(mxArgv(2)); |
| 118 | mxGetID(fxID(the, "strict")); |
| 119 | strict = fxToBoolean(the, the->stack); |
| 120 | mxPop(); |
| 121 | } |
| 122 | mxResult->value.boolean = fx_deepEqualSlots(the, limit, strict); |
| 123 | mxResult->kind = XS_BOOLEAN_KIND; |
| 124 | } |
| 125 | |
| 126 | txBoolean fx_deepEqualEntries(txMachine* the, txSlot* limit, txBoolean strict, txBoolean paired) |
| 127 | { |
nothing calls this directly
no test coverage detected