Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
DynArray Struct Reference

provides a memory range that can be expanded but doesn't waste physical memory or relocate itself. More...

#include <dynarray.h>

Public Attributes

u8base
 
size_t max_size_pa
 
size_t cur_size
 reserved More...
 
size_t cur_size_pa
 committed More...
 
size_t pos
 

Detailed Description

provides a memory range that can be expanded but doesn't waste physical memory or relocate itself.

works by preallocating address space and committing as needed. used as a building block for other allocators.

Member Data Documentation

◆ base

u8* DynArray::base

◆ cur_size

size_t DynArray::cur_size

reserved

◆ cur_size_pa

size_t DynArray::cur_size_pa

committed

◆ max_size_pa

size_t DynArray::max_size_pa

◆ pos

size_t DynArray::pos

The documentation for this struct was generated from the following file: