Blender  V3.3
Public Attributes | List of all members
BLI_memblock Struct Reference

Public Attributes

void ** chunk_list
 
int elem_size
 
int elem_next
 
int elem_last
 
int elem_next_ofs
 
int chunk_max_ofs
 
int chunk_next
 
int chunk_size
 
int chunk_len
 

Detailed Description

Definition at line 26 of file BLI_memblock.c.

Member Data Documentation

◆ chunk_len

int BLI_memblock::chunk_len

Number of allocated chunk.

Definition at line 44 of file BLI_memblock.c.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), BLI_memblock_create_ex(), and BLI_memblock_destroy().

◆ chunk_list

void** BLI_memblock::chunk_list

◆ chunk_max_ofs

int BLI_memblock::chunk_max_ofs

Max offset in a chunk.

Definition at line 38 of file BLI_memblock.c.

Referenced by BLI_memblock_alloc(), BLI_memblock_create_ex(), and BLI_memblock_iternew().

◆ chunk_next

int BLI_memblock::chunk_next

Id of the chunk used for the next allocation.

Definition at line 40 of file BLI_memblock.c.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), and BLI_memblock_create_ex().

◆ chunk_size

int BLI_memblock::chunk_size

◆ elem_last

int BLI_memblock::elem_last

Last "touched" element.

Definition at line 34 of file BLI_memblock.c.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), BLI_memblock_create_ex(), and BLI_memblock_destroy().

◆ elem_next

int BLI_memblock::elem_next

First unused element index.

Definition at line 32 of file BLI_memblock.c.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), BLI_memblock_create_ex(), and BLI_memblock_iternew().

◆ elem_next_ofs

int BLI_memblock::elem_next_ofs

Offset in a chunk of the next elem.

Definition at line 36 of file BLI_memblock.c.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), and BLI_memblock_create_ex().

◆ elem_size

int BLI_memblock::elem_size

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