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

Function fxReadSlotArray

xs/sources/xsSnapshot.c:1775–1784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1773}
1774
1775void fxReadSlotArray(txMachine* the, txSnapshot* snapshot, txSlot* address, txSize length)
1776{
1777 txChunk* chunk = (txChunk*)(((txByte*)(address)) - sizeof(txChunk));
1778 txSize size = chunk->size - sizeof(txChunk);
1779 while (size > 0) {
1780 fxReadSlot(the, snapshot, address, 0);
1781 address++;
1782 size -= sizeof(txSlot);
1783 }
1784}
1785
1786void fxReadSlotTable(txMachine* the, txSnapshot* snapshot, txSlot** address, txSize length)
1787{

Callers 1

fxReadSlotFunction · 0.85

Calls 1

fxReadSlotFunction · 0.85

Tested by

no test coverage detected