| 405 | }; |
| 406 | |
| 407 | MemoryAccountantAllocationNode* MemoryAccountant::createNewAccountantAllocationNode(size_t size, MemoryAccountantAllocationNode* next) const |
| 408 | { |
| 409 | MemoryAccountantAllocationNode* node = (MemoryAccountantAllocationNode*) (void*) allocator_->alloc_memory(sizeof(MemoryAccountantAllocationNode), __FILE__, __LINE__); |
| 410 | node->size_ = size; |
| 411 | node->allocations_ = 0; |
| 412 | node->deallocations_ = 0; |
| 413 | node->maxAllocations_ = 0; |
| 414 | node->currentAllocations_ = 0; |
| 415 | node->next_ = next; |
| 416 | return node; |
| 417 | } |
| 418 | |
| 419 | void MemoryAccountant::destroyAccountantAllocationNode(MemoryAccountantAllocationNode* node) const |
| 420 | { |
nothing calls this directly
no test coverage detected