Turnstone Operating System
Loading...
Searching...
No Matches
list_array.64.c File Reference

array list types implementations More...

#include <types.h>
#include <list.h>
#include <indexer.h>
#include <cpu/sync.h>
#include <strings.h>
#include <logging.h>

Classes

struct  list_item_t
 
struct  list_t
 list internal interface More...
 

Typedefs

typedef struct list_item_t list_item_t
 short hand for struct
 
typedef struct list_t list_t
 short hand for struct
 

Functions

 MODULE ("turnstone.lib")
 
list_tarraylist_create_with_type (memory_heap_t *heap, list_type_t type, list_data_comparator_f comparator, indexer_t indexer)
 
int8_t arraylist_set_capacity (list_t *list, size_t capacity)
 
uint8_t arraylist_destroy_with_type (list_t *list, list_destroy_type_t type, list_item_destroyer_callback_f destroyer)
 
size_t arraylist_insert_at (list_t *list, const void *data, list_insert_delete_at_t where, size_t position)
 
const void * arraylist_delete_at (list_t *list, const void *data, list_insert_delete_at_t where, size_t position)
 
const void * arraylist_get_data_at_position (list_t *list, size_t position)
 
int8_t arraylist_get_position (list_t *list, const void *data, size_t *position)
 
list_tarraylist_duplicate_list_with_heap (memory_heap_t *heap, list_t *list)
 
iterator_tarraylist_iterator_create (list_t *list)
 

Detailed Description

array list types implementations

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.