MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxUnprojectCallback

Function fxUnprojectCallback

xs/sources/xsSnapshot.c:1811–1821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1809}
1810
1811txCallback 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
1823txSlot* fxUnprojectSlot(txMachine* the, txSnapshot* snapshot, txSlot* slot)
1824{

Callers 1

fxReadSlotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected