|
Blender
V2.93
|
#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 54 of file BLI_allocator.hh.
|
inline |
Definition at line 56 of file BLI_allocator.hh.
References MEM_mallocN_aligned, and size().
|
inline |
Definition at line 62 of file BLI_allocator.hh.