acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
windows::heap_allocator Class Reference
Inheritance diagram for windows::heap_allocator:
heap::allocator heap::allocator_base

Public Member Functions

void initialize_allocator (::acme::acme *pacme) override
void * allocate (memsize s, const_char_pointer pszAnnotation=nullptr) override
void * reallocate (void *p, memsize s, const_char_pointer pszAnnotation=nullptr) override
void free (void *p) override
memsize size (void *p) override
bool has_size () const override
Public Member Functions inherited from heap::allocator
void * allocate (memsize size, memsize *psizeActuallyAllocated, const_char_pointer pszAnnotation=nullptr) override

Public Attributes

HANDLE m_handle
::critical_section m_criticalsection
Public Attributes inherited from heap::allocator
::acme::acme * m_pacme

Friends

class ::c::malloc

Member Function Documentation

◆ free()

void windows::heap_allocator::free ( void * p)
overridevirtual

Reimplemented from heap::allocator.

◆ has_size()

bool windows::heap_allocator::has_size ( ) const
overridevirtual

Reimplemented from heap::allocator.

◆ initialize_allocator()

void windows::heap_allocator::initialize_allocator ( ::acme::acme * pacme)
overridevirtual

Reimplemented from heap::allocator.

◆ reallocate()

void * windows::heap_allocator::reallocate ( void * p,
memsize s,
const_char_pointer pszAnnotation = nullptr )
overridevirtual

Reimplemented from heap::allocator.

◆ size()

memsize windows::heap_allocator::size ( void * p)
overridevirtual

Reimplemented from heap::allocator.


The documentation for this class was generated from the following files: