| 6334 | static void fxDTOASetup(txMachine* the, ThInfo* DTOA); |
| 6335 | |
| 6336 | void fxDTOACleanup(txMachine* the, ThInfo* DTOA) |
| 6337 | { |
| 6338 | #if mxUseChunkHeap |
| 6339 | if (DTOA->dirty) |
| 6340 | #endif |
| 6341 | { |
| 6342 | Bigint* b; |
| 6343 | int i, c = Kmax +1 ; |
| 6344 | for (i = 0; i < c; i++) { |
| 6345 | b = DTOA->Freelist[i]; |
| 6346 | while(b) { |
| 6347 | Bigint* next = b->next; |
| 6348 | fxDTOAFree(b, DTOA); |
| 6349 | b = next; |
| 6350 | } |
| 6351 | } |
| 6352 | |
| 6353 | b = DTOA->P5s; |
| 6354 | while(b) { |
| 6355 | Bigint* next = b->next; |
| 6356 | fxDTOAFree(b, DTOA); |
| 6357 | b = next; |
| 6358 | } |
| 6359 | } |
| 6360 | } |
| 6361 | |
| 6362 | static void* fxDTOAMalloc(size_t size, void* it) |
| 6363 | { |
no test coverage detected