Blender V5.0
BLI_freenode Struct Reference

Public Attributes

BLI_freenodenext
intptr_t freeword

Detailed Description

A free element from BLI_mempool_chunk. Data is cast to this type and stored in BLI_mempool.free as a single linked list, each item BLI_mempool.esize large.

Each element represents a block which BLI_mempool_alloc may return.

Definition at line 83 of file BLI_mempool.cc.

Member Data Documentation

◆ freeword

intptr_t BLI_freenode::freeword

Used to identify this as a freed node.

Definition at line 86 of file BLI_mempool.cc.

Referenced by BLI_mempool_alloc(), BLI_mempool_free(), and mempool_chunk_add().

◆ next

BLI_freenode* BLI_freenode::next

Definition at line 84 of file BLI_mempool.cc.

Referenced by BLI_mempool_alloc(), BLI_mempool_free(), and mempool_chunk_add().


The documentation for this struct was generated from the following file: