Macaulay2 Engine
Loading...
Searching...
No Matches

◆ Allocate()

void * BIBasis::FastAllocator::Allocate ( )
inline

Definition at line 75 of file allocator.hpp.

76 {
77 if (!FreeBlock)
78 {
80 }
81
82 void* pointer = static_cast<void*>(FreeBlock);
83 FreeBlock = static_cast<void**>(*FreeBlock);
84 return pointer;
85 }

References ExpandMemory(), and FreeBlock.