| 195 | beginBlockIdx = 0; |
| 196 | } |
| 197 | ~MemoryArena() { |
| 198 | for (size_t i = 0; i < blocks.size(); ++i) |
| 199 | FreeAligned(blocks[i]); |
| 200 | } |
| 201 | void *Alloc(size_t sz) { |
| 202 | // Round up _sz_ to minimum machine alignment |
| 203 | #if defined(LUX_ALIGNMENT) |
nothing calls this directly
no test coverage detected