18 #if !defined(AT_CORE_H_INSIDE) 19 #error "Only <at/core.h> can be included directly." 23 #include <at/core/macro.h> 39 typedef struct _AtList{
53 at_listu64_new_array(uint64_t n_items);
65 at_listu64_destroy_array(
AtListU64** list);
149 AtList* at_list_prepend_item_at_index(
AtList* list, uint32_t index,
AtList* item_new);
178 AtList* at_list_remove_at_index(
AtList* list, uint32_t index);
195 void at_list_free(
AtList* list);
202 int32_t at_list_index_of(
AtList* list,
void*
value);
220 uint32_t at_list_length(
AtList* list);
226 uint8_t at_list_is_empty(
AtList* list);
240 void* at_list_value_at(
AtList* list, uint32_t index);
282 AtList* at_list_swap_items_at(
AtList* list, uint32_t index1, uint32_t index2);
298 AtList* at_list_swap_at(
AtList* list, uint32_t index1, uint32_t index2);
332 AtList* at_list_sort(
AtList* list, AtCompareFunc compare_function);
339 uint8_t at_list_is_different(
AtList* list,
AtList* list2);
360 void at_list_foreach(
AtList* list, AtDataFunc data_function,
void*
value);
367 AtList* at_list_append_sorted(
AtList* list, AtCompareFunc compare_function,
void*
value);
375 AtList* at_list_append_sorted_with_data(
AtList* list, AtCompareDataFunc compare_function,
void*
value,
void* user_data);
382 AtList* at_list_prepend_sorted(
AtList* list, AtCompareFunc compare_function,
void*
value);
390 AtList* at_list_prepend_sorted_with_data(
AtList* list, AtCompareDataFunc compare_function,
void*
value,
void* user_data);
414 void* at_list_value(
AtList* item);
List 64 bits.
Definition: list.h:33
AtListU64 * next
Definition: list.h:35
AtListU64 * prev
Definition: list.h:34
struct _AtList * prev
Definition: list.h:41
uint64_t value
Definition: list.h:36
AtSList base
Definition: list.h:40