Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
EDLAllocator Class Reference

#include <edl/edlallocator.h>

Public Types

typedef void *(* AllocatorFn) (size_t n)
typedef void(* DeallocatorFn) (void *p)
typedef void *(* ReallocateFn) (void *p, size_t newSize)

Public Member Functions

 EDLAllocator ()
virtual ~EDLAllocator ()
 EDLAllocator (AllocatorFn allocator, DeallocatorFn deallocator, ReallocateFn reallocator)
void * allocate (size_t size)
void deallocate (void *p)
void * reallocate (void *p, size_t newSize)

Member Typedef Documentation

◆ AllocatorFn

typedef void *(* EDLAllocator::AllocatorFn) (size_t n)

◆ DeallocatorFn

typedef void(* EDLAllocator::DeallocatorFn) (void *p)

◆ ReallocateFn

typedef void *(* EDLAllocator::ReallocateFn) (void *p, size_t newSize)

Constructor & Destructor Documentation

◆ EDLAllocator() [1/2]

EDLAllocator::EDLAllocator ( )

◆ ~EDLAllocator()

virtual EDLAllocator::~EDLAllocator ( )
inlinevirtual

◆ EDLAllocator() [2/2]

EDLAllocator::EDLAllocator ( AllocatorFn allocator,
DeallocatorFn deallocator,
ReallocateFn reallocator )
inline

Member Function Documentation

◆ allocate()

void * EDLAllocator::allocate ( size_t size)
inline

◆ deallocate()

void EDLAllocator::deallocate ( void * p)
inline

◆ reallocate()

void * EDLAllocator::reallocate ( void * p,
size_t newSize )
inline

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