Blender V5.0
BLI_array_store_utils.h File Reference
#include <stddef.h>

Go to the source code of this file.

Classes

struct  BArrayStore_AtSize

Functions

struct BArrayStoreBLI_array_store_at_size_ensure (struct BArrayStore_AtSize *bs_stride, int stride, int chunk_size)
struct BArrayStoreBLI_array_store_at_size_get (struct BArrayStore_AtSize *bs_stride, int stride)
void BLI_array_store_at_size_clear (struct BArrayStore_AtSize *bs_stride)
void BLI_array_store_at_size_calc_memory_usage (const struct BArrayStore_AtSize *bs_stride, size_t *r_size_expanded, size_t *r_size_compacted)

Function Documentation

◆ BLI_array_store_at_size_calc_memory_usage()

void BLI_array_store_at_size_calc_memory_usage ( const struct BArrayStore_AtSize * bs_stride,
size_t * r_size_expanded,
size_t * r_size_compacted )

◆ BLI_array_store_at_size_clear()

void BLI_array_store_at_size_clear ( struct BArrayStore_AtSize * bs_stride)

Definition at line 49 of file array_store_utils.cc.

References BLI_array_store_destroy(), bs_stride, i, and MEM_SAFE_FREE.

Referenced by uf_arraystore_free(), and um_arraystore_free().

◆ BLI_array_store_at_size_ensure()

struct BArrayStore * BLI_array_store_at_size_ensure ( struct BArrayStore_AtSize * bs_stride,
int stride,
int chunk_size )

◆ BLI_array_store_at_size_get()

struct BArrayStore * BLI_array_store_at_size_get ( struct BArrayStore_AtSize * bs_stride,
int stride )

Definition at line 43 of file array_store_utils.cc.

References BLI_assert, and bs_stride.

Referenced by um_arraystore_cd_free(), and um_arraystore_free().