Memory containers module
Memory containers in various types: buffers, arrays, linked lists, ring buffers, ....
Classes
- struct zpl_buffer_header
- struct zpl_array_header
Typedefs
-
using zpl_buffer_header = struct zpl_
buffer_ header - using zpl_list = struct zpl__list
-
using zpl_array_header = struct zpl_
array_ header
Functions
-
auto zpl_list_init(zpl_
list* list, void const* ptr) -> void -
auto zpl_list_add(zpl_
list* list, zpl_ list* item) -> zpl_ list* -
auto zpl_list_remove(zpl_
list* list) -> zpl_ list* - ZPL_STATIC_ASSERT((2*(0)+8), 0)
Defines
- #define zpl_buffer(Type)
- #define zpl_buffer_make(Type, Name, allocator, cap)
- #define ZPL_BUFFER_HEADER(x)
- #define zpl_buffer_count(x)
- #define zpl_buffer_capacity(x)
- #define zpl_buffer_end(x)
- #define zpl_buffer_init(x, allocator, cap)
- #define zpl_buffer_free(x, allocator)
- #define zpl_buffer_free2(x)
- #define zpl_buffer_append(x, item)
- #define zpl_buffer_appendv(x, items, item_count)
- #define zpl_buffer_copy_init(y, x)
- #define zpl_buffer_pop(x)
- #define zpl_buffer_clear(x)
- #define zpl_array(Type)
- #define zpl_array_make(Type, Name, allocator)
- #define ZPL_ARRAY_GROW_FORMULA(x)
- #define ZPL_ARRAY_HEADER(x)
- #define zpl_array_allocator(x)
- #define zpl_array_count(x)
- #define zpl_array_capacity(x)
- #define zpl_array_end(x)
- #define zpl_array_init_reserve(x, allocator_, cap)
- #define zpl_array_init(x, allocator)
- #define zpl_array_free(x)
- #define zpl_array_set_capacity(x, capacity)
- #define zpl_array_grow(x, min_capacity)
- #define zpl_array_append(x, item)
- #define zpl_array_append_at(x, item, ind)
- #define zpl_array_appendv(x, items, item_count)
- #define zpl_array_remove_at(x, index)
- #define zpl_array_copy_init(y, x)
- #define zpl_array_pop(x)
- #define zpl_array_back(x)
- #define zpl_array_front(x)
- #define zpl_array_clear(x)
- #define zpl_array_resize(x, new_count)
- #define zpl_array_reserve(x, new_capacity)
- #define ZPL_RING_DECLARE(type)
- #define ZPL_RING_DEFINE(type)