|
Blender V5.3
|
#include <algorithm>#include <cstdlib>#include <cstring>#include "BLI_utildefines.hh"#include "BLI_memblock.hh"#include "MEM_guardedalloc.h"#include "BLI_strict_flags.hh"Go to the source code of this file.
Classes | |
| struct | blender::BLI_memblock |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | CHUNK_LIST_SIZE 16 |
Functions | |
| BLI_memblock * | blender::BLI_memblock_create_ex (uint elem_size, uint chunk_size) ATTR_WARN_UNUSED_RESULT |
| void | blender::BLI_memblock_destroy (BLI_memblock *mblk, MemblockValFreeFP free_callback) ATTR_NONNULL(1) |
| void | blender::BLI_memblock_clear (BLI_memblock *mblk, MemblockValFreeFP free_callback) ATTR_NONNULL(1) |
| void * | blender::BLI_memblock_alloc (BLI_memblock *mblk) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
| void | blender::BLI_memblock_iternew (BLI_memblock *mblk, BLI_memblock_iter *iter) ATTR_NONNULL() |
| void * | blender::BLI_memblock_iterstep (BLI_memblock_iter *iter) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
| void * | blender::BLI_memblock_elem_get (BLI_memblock *mblk, int chunk, int elem) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
Dead simple, fast memory allocator for allocating many elements of the same size.
Definition in file BLI_memblock.cc.
| #define CHUNK_LIST_SIZE 16 |
Definition at line 25 of file BLI_memblock.cc.
Referenced by blender::BLI_memblock_alloc(), blender::BLI_memblock_clear(), and blender::BLI_memblock_create_ex().