std::list< T, ut::allocator< T > > list
Specialization of list which uses ut_allocator.
Definition: ut0new.h:2879
Definition: ut0list.h:113
mem_heap_t * heap
memory heap
Definition: ut0list.h:114
void * data
user data
Definition: ut0list.h:115
Definition: ut0list.h:104
void * data
user data
Definition: ut0list.h:107
ib_list_node_t * next
next node
Definition: ut0list.h:106
ib_list_node_t * prev
previous node
Definition: ut0list.h:105
ib_list_node_t * first
first node
Definition: ut0list.h:99
ib_list_node_t * last
last node
Definition: ut0list.h:100
The info structure stored at the beginning of a heap block.
Definition: mem0mem.h:302
static bool ib_list_is_empty(const ib_list_t *list)
ib_list_node_t * ib_list_add_last(ib_list_t *list, void *data, mem_heap_t *heap)
Add the data to the end of the list.
Definition: ut0list.cc:109
static ib_list_node_t * ib_list_get_last(ib_list_t *list)
Get the last node in the list.
void ib_list_remove(ib_list_t *list, ib_list_node_t *node)
Remove the node from the list.
Definition: ut0list.cc:120
static ib_list_node_t * ib_list_get_first(ib_list_t *list)
Get the first node in the list.
ib_list_t * ib_list_create(void)
Create a new list using mem_alloc.
Definition: ut0list.cc:40
void ib_list_free(ib_list_t *list)
Free a list.
Definition: ut0list.cc:46