| 123 | } |
| 124 | |
| 125 | void Free(void* ptr) |
| 126 | { |
| 127 | if(!ptr) |
| 128 | return; |
| 129 | MySmallBlock* freedBlock = static_cast<MySmallBlock*>(static_cast<void*>(ptr)); |
| 130 | freedBlock->next = (MySmallBlock*)((intptr_t)freeBlocks | NULLC::OBJECT_FREED); |
| 131 | freeBlocks = freedBlock; |
| 132 | } |
| 133 | bool IsBasePointer(void* ptr) |
| 134 | { |
| 135 | MyLargeBlock *curr = activePages; |
nothing calls this directly
no outgoing calls
no test coverage detected