| 1809 | } |
| 1810 | |
| 1811 | txCallback fxUnprojectCallback(txMachine* the, txSnapshot* snapshot, txCallback callback) |
| 1812 | { |
| 1813 | size_t callbackIndex = (size_t)callback; |
| 1814 | if (callbackIndex < mxCallbacksLength) |
| 1815 | return gxCallbacks[callbackIndex]; |
| 1816 | callbackIndex -= mxCallbacksLength; |
| 1817 | if (callbackIndex < (size_t)snapshot->callbacksLength) |
| 1818 | return snapshot->callbacks[callbackIndex]; |
| 1819 | mxAssert(0, "# snapshot: unknown callback!\n"); |
| 1820 | return C_NULL; |
| 1821 | } |
| 1822 | |
| 1823 | txSlot* fxUnprojectSlot(txMachine* the, txSnapshot* snapshot, txSlot* slot) |
| 1824 | { |