| 1243 | } |
| 1244 | |
| 1245 | void fxMeasureChunkArray(txMachine* the, txSnapshot* snapshot, txSlot* address, txSize* chunkSize) |
| 1246 | { |
| 1247 | txChunk* chunk = (txChunk*)(((txByte*)(address)) - sizeof(txChunk)); |
| 1248 | if (!(chunk->size & mxChunkFlag)) { |
| 1249 | txSize size = chunk->size - sizeof(txChunk); |
| 1250 | chunk->temporary = (txByte*)(*chunkSize + sizeof(txChunk)); |
| 1251 | *chunkSize += chunk->size; |
| 1252 | chunk->size |= mxChunkFlag; |
| 1253 | while (size > 0) { |
| 1254 | fxMeasureSlot(the, snapshot, address, chunkSize); |
| 1255 | address++; |
| 1256 | size -= sizeof(txSlot); |
| 1257 | } |
| 1258 | } |
| 1259 | } |
| 1260 | |
| 1261 | txCallback fxProjectCallback(txMachine* the, txSnapshot* snapshot, txCallback callback) |
| 1262 | { |
no test coverage detected