Reduct  v4.0.5-1-g4851deb
A functional and immutable language.
Loading...
Searching...
No Matches
reduct_item_block_t Struct Reference

Item block structure. More...

#include <item.h>

Collaboration diagram for reduct_item_block_t:

Data Fields

void * allocated
 The actual pointer returned by the memory allocation.
 
struct reduct_item_block * next
 
uint8_t _padding [REDUCT_ALIGNMENT - sizeof(void *) - sizeof(struct reduct_item_block *)]
 
reduct_item_t items [REDUCT_ITEM_BLOCK_MAX]
 

Detailed Description

Item block structure.

Should be a power of two size as that should help most memory allocators.

Definition at line 94 of file item.h.

Field Documentation

◆ allocated

void* reduct_item_block_t::allocated

The actual pointer returned by the memory allocation.

Definition at line 96 of file item.h.

◆ next

struct reduct_item_block* reduct_item_block_t::next

Definition at line 97 of file item.h.

◆ _padding

uint8_t reduct_item_block_t::_padding[REDUCT_ALIGNMENT - sizeof(void *) - sizeof(struct reduct_item_block *)]

Definition at line 98 of file item.h.

◆ items

reduct_item_t reduct_item_block_t::items[REDUCT_ITEM_BLOCK_MAX]

Definition at line 99 of file item.h.


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