|
Reduct
v4.0.5-1-g4851deb
A functional and immutable language.
|
List structure. More...
#include <list.h>
Public Member Functions | |
| _Atomic (reduct_list_flags_t) flags | |
| List flags. | |
Data Fields | ||
| uint32_t | length | |
The length of the list (must be first, check the reduct_item_t structure). | ||
| uint32_t | capacity | |
| The current capacity of the handle buffer. | ||
| uint32_t | offset | |
| Offset of elements from the start of the buffer. | ||
| uint8_t | _padding [3] | |
| reduct_handle_t * | handles | |
| Pointer to the handle data. | ||
| union { | ||
| reduct_handle_t smallHandles [REDUCT_LIST_SMALL_MAX] | ||
| Small list data. More... | ||
| reduct_arena_t * arena | ||
| The arena this list was allocated from. More... | ||
| }; | ||
| reduct_list_t::_Atomic | ( | reduct_list_flags_t | ) |
List flags.
| uint32_t reduct_list_t::length |
The length of the list (must be first, check the reduct_item_t structure).
| uint32_t reduct_list_t::capacity |
| uint32_t reduct_list_t::offset |
| reduct_handle_t* reduct_list_t::handles |
| reduct_handle_t reduct_list_t::smallHandles[REDUCT_LIST_SMALL_MAX] |
| reduct_arena_t* reduct_list_t::arena |
| union { ... } reduct_list_t |