Blender V5.3
BLI_mempool.hh File Reference
#include "BLI_compiler_attrs.hh"
#include <type_traits>

Go to the source code of this file.

Classes

struct  blender::BLI_mempool_iter

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  { blender::BLI_MEMPOOL_NOP = 0 , blender::BLI_MEMPOOL_ALLOW_ITER = (1 << 0) }

Functions

BLI_mempool * blender::BLI_mempool_create (unsigned int esize, unsigned int elem_num, unsigned int pchunk, unsigned int flag) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL
void * blender::BLI_mempool_alloc (BLI_mempool *pool) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL ATTR_NONNULL(1)
void * blender::BLI_mempool_calloc (BLI_mempool *pool) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL ATTR_NONNULL(1)
template<typename T>
ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL blender::ATTR_NONNULL (1) T *BLI_mempool_alloc(BLI_mempool *pool)
void blender::BLI_mempool_free (BLI_mempool *pool, void *addr) ATTR_NONNULL(1
void void blender::BLI_mempool_clear_ex (BLI_mempool *pool, int elem_num_reserve) ATTR_NONNULL(1)
void blender::BLI_mempool_clear (BLI_mempool *pool) ATTR_NONNULL(1)
void blender::BLI_mempool_destroy (BLI_mempool *pool) ATTR_NONNULL(1)
int blender::BLI_mempool_len (const BLI_mempool *pool) ATTR_NONNULL(1)
void * blender::BLI_mempool_findelem (BLI_mempool *pool, unsigned int index) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void blender::BLI_mempool_as_array (BLI_mempool *pool, void *data) ATTR_NONNULL(1
void void * blender::BLI_mempool_as_arrayN (BLI_mempool *pool, const char *allocstr) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
void void void blender::BLI_mempool_set_memory_debug ()
void blender::BLI_mempool_iternew (BLI_mempool *pool, BLI_mempool_iter *iter) ATTR_NONNULL()
void * blender::BLI_mempool_iterstep (BLI_mempool_iter *iter) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()