Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Allocator_AddressSpace< commitSize, pageType, prot > Struct Template Reference

#include <stateless_allocators.h>

Public Member Functions

void * allocate (size_t size)
 
void deallocate (void *p, size_t size)
 

Member Function Documentation

◆ allocate()

template<size_t commitSize = g_LargePageSize, vm::PageType pageType = vm::kDefault, int prot = PROT_READ|PROT_WRITE>
void * Allocator_AddressSpace< commitSize, pageType, prot >::allocate ( size_t  size)
inline

◆ deallocate()

template<size_t commitSize = g_LargePageSize, vm::PageType pageType = vm::kDefault, int prot = PROT_READ|PROT_WRITE>
void Allocator_AddressSpace< commitSize, pageType, prot >::deallocate ( void *  p,
size_t  size 
)
inline

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