Classes | Macros | Typedefs | Functions
arraylist.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  array_list
 

Macros

#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_listarray_list_new (array_list_free_fn *free_fn)
 
int array_list_put_idx (struct array_list *al, int i, void *data)
 

Macro Definition Documentation

#define ARRAY_LIST_DEFAULT_SIZE   32

Definition at line 15 of file arraylist.h.

Typedef Documentation

typedef void( array_list_free_fn) (void *data)

Definition at line 17 of file arraylist.h.

Function Documentation

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)

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.



csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23