Go to the source code of this file.
Classes | |
struct | array_list |
Defines | |
#define | ARRAY_LIST_DEFAULT_SIZE 32 |
Typedefs | |
typedef void( | array_list_free_fn )(void *data) |
Functions | |
int | array_list_add (struct array_list *al, void *data) |
void | array_list_free (struct array_list *al) |
void * | array_list_get_idx (struct array_list *al, int i) |
int | array_list_length (struct array_list *al) |
struct array_list * | array_list_new (array_list_free_fn *free_fn) |
int | array_list_put_idx (struct array_list *al, int i, void *data) |
#define ARRAY_LIST_DEFAULT_SIZE 32 |
Definition at line 15 of file arraylist.h.
typedef void( array_list_free_fn)(void *data) |
Definition at line 17 of file arraylist.h.
int array_list_add | ( | struct array_list * | al, |
void * | data | ||
) |
Definition at line 84 of file arraylist.c.
void array_list_free | ( | struct array_list * | al | ) |
Definition at line 43 of file arraylist.c.
void* array_list_get_idx | ( | struct array_list * | al, |
int | i | ||
) |
Definition at line 53 of file arraylist.c.
int array_list_length | ( | struct array_list * | al | ) |
Definition at line 90 of file arraylist.c.
struct array_list* array_list_new | ( | array_list_free_fn * | free_fn | ) | [read] |
Definition at line 27 of file arraylist.c.
int array_list_put_idx | ( | struct array_list * | al, |
int | i, | ||
void * | data | ||
) |
Definition at line 74 of file arraylist.c.