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

Public Member Functions

void initialize_allocator (::acme::acme *pacme) override
void * allocate (memsize s, memsize *psizeAllocated, const_char_pointer pszAnnotation) override
void * reallocate (void *p, memsize s, const_char_pointer pszAnnotation) override
void free (void *p) override
memsize size (void *p) override
bool has_size () const override
void check_bounds (::u8 *p)

Friends

class ::c::malloc

Additional Inherited Members

Public Attributes inherited from heap::allocator
::acme::acme * m_pacme

Member Function Documentation

◆ allocate()

void * heap::malloc_allocator::allocate ( memsize s,
memsize * psizeAllocated,
const_char_pointer pszAnnotation )
overridevirtual

Reimplemented from heap::allocator.

◆ free()

void heap::malloc_allocator::free ( void * p)
overridevirtual

Reimplemented from heap::allocator.

◆ has_size()

bool heap::malloc_allocator::has_size ( ) const
overridevirtual

Reimplemented from heap::allocator.

◆ initialize_allocator()

void heap::malloc_allocator::initialize_allocator ( ::acme::acme * pacme)
overridevirtual

Reimplemented from heap::allocator.

◆ reallocate()

void * heap::malloc_allocator::reallocate ( void * p,
memsize s,
const_char_pointer pszAnnotation )
overridevirtual

Reimplemented from heap::allocator.

◆ size()

memsize heap::malloc_allocator::size ( void * p)
overridevirtual

Reimplemented from heap::allocator.


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