Blender
V3.3
|
#include <BLI_allocator.hh>
Public Member Functions | |
void * | allocate (size_t size, size_t alignment, const char *name) |
void | deallocate (void *ptr) |
Use Blender's guarded allocator (aka MEM_*). This should always be used except there is a good reason not to use it.
Definition at line 40 of file BLI_allocator.hh.
|
inline |
Definition at line 42 of file BLI_allocator.hh.
References MEM_mallocN_aligned, and size().
Definition at line 48 of file BLI_allocator.hh.