|
Blender V4.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 41 of file BLI_allocator.hh.
|
inline |
Definition at line 43 of file BLI_allocator.hh.
References MEM_mallocN_aligned().
|
inline |
Definition at line 49 of file BLI_allocator.hh.
References MEM_freeN(), and ptr.