| 2035 | } |
| 2036 | |
| 2037 | void fxWriteChunkData(txMachine* the, txSnapshot* snapshot, void* address) |
| 2038 | { |
| 2039 | txChunk* chunk = (txChunk*)(((txByte*)(address)) - sizeof(txChunk)); |
| 2040 | if (chunk->size & mxChunkFlag) { |
| 2041 | txByte* temporary = chunk->temporary; |
| 2042 | chunk->size &= ~mxChunkFlag; |
| 2043 | chunk->temporary = C_NULL; |
| 2044 | mxThrowIf((*snapshot->write)(snapshot->stream, chunk, chunk->size)); |
| 2045 | chunk->temporary = temporary; |
| 2046 | } |
| 2047 | } |
| 2048 | |
| 2049 | void fxWriteChunkTable(txMachine* the, txSnapshot* snapshot, txSlot** address, txSize length) |
| 2050 | { |