Functions
arraylist.c File Reference
#include "config.h"
#include "bits.h"
#include "arraylist.h"
Include dependency graph for arraylist.c:

Go to the source code of this file.

Functions

int array_list_add (struct array_list *this, void *data)
static int array_list_expand_internal (struct array_list *this, int max)
void array_list_free (struct array_list *this)
void * array_list_get_idx (struct array_list *this, int i)
int array_list_length (struct array_list *this)
struct array_listarray_list_new (array_list_free_fn *free_fn)
int array_list_put_idx (struct array_list *this, int idx, void *data)

Function Documentation

int array_list_add ( struct array_list this,
void *  data 
)

Definition at line 84 of file arraylist.c.

static int array_list_expand_internal ( struct array_list this,
int  max 
) [static]

Definition at line 59 of file arraylist.c.

void array_list_free ( struct array_list this)

Definition at line 43 of file arraylist.c.

void* array_list_get_idx ( struct array_list this,
int  i 
)

Definition at line 53 of file arraylist.c.

int array_list_length ( struct array_list this)

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 this,
int  idx,
void *  data 
)

Definition at line 74 of file arraylist.c.



csm
Author(s): Andrea Censi
autogenerated on Mon Jan 16 2017 03:48:29