30#ifndef PXFOUNDATION_PXALLOCATORCALLBACK_H
31#define PXFOUNDATION_PXALLOCATORCALLBACK_H
37#include "foundation/Px.h"
52class PxAllocatorCallback
77 virtual void*
allocate(
size_t size,
const char* typeName,
const char* filename,
int line) = 0;
virtual void deallocate(void *ptr)=0
Frees memory previously allocated by allocate().
virtual ~PxAllocatorCallback()
destructor
Definition PxAllocatorCallback.h:58
virtual void * allocate(size_t size, const char *typeName, const char *filename, int line)=0
Allocates size bytes of memory, which must be 16-byte aligned.
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39