29 #ifndef NVBLASTALLOCATOR_H 30 #define NVBLASTALLOCATOR_H 53 void*
allocate(
size_t size,
const char* filename,
int line)
69 #endif // #ifndef NVBLASTALLOCATOR_H virtual void deallocate(void *ptr)=0
Frees memory previously allocated by allocate().
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.
Allocator(const char *=0)
Definition: NvBlastAllocator.h:49
void deallocate(void *ptr)
Definition: NvBlastAllocator.h:58
NVBLAST_API Nv::Blast::AllocatorCallback * NvBlastGlobalGetAllocatorCallback()
void * allocate(size_t size, const char *filename, int line)
Definition: NvBlastAllocator.h:53
Definition: NvBlastArray.h:37
Definition: NvBlastAllocator.h:46