|
Blender V5.3
|
#include <BLI_allocator.hh>
Public Member Functions | |
| void * | allocate (size_t size, size_t alignment, const char *name) |
| void * | allocate_zero (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 blender::MEM_new_uninitialized_aligned().
Referenced by allocate_zero().
|
inline |
Definition at line 49 of file BLI_allocator.hh.
References allocate(), and blender::MEM_new_zeroed().
|
inline |
Definition at line 60 of file BLI_allocator.hh.
References blender::MEM_delete_void().