| 1155 | } |
| 1156 | |
| 1157 | void Free(void* ptr) |
| 1158 | { |
| 1159 | if(!ptr) |
| 1160 | return; |
| 1161 | MySmallBlock* freedBlock = static_cast<MySmallBlock*>(static_cast<void*>(ptr)); |
| 1162 | freedBlock->next = freeBlocks; |
| 1163 | freeBlocks = freedBlock; |
| 1164 | } |
| 1165 | bool IsBasePointer(void* ptr) |
| 1166 | { |
| 1167 | MyLargeBlock *curr = activePages; |
nothing calls this directly
no outgoing calls
no test coverage detected