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

◆ array_list_add()

int array_list_add ( struct array_list this,
void *  data 
)

Definition at line 84 of file arraylist.c.

◆ array_list_expand_internal()

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

Definition at line 59 of file arraylist.c.

◆ array_list_free()

void array_list_free ( struct array_list this)

Definition at line 43 of file arraylist.c.

◆ array_list_get_idx()

void* array_list_get_idx ( struct array_list this,
int  i 
)

Definition at line 53 of file arraylist.c.

◆ array_list_length()

int array_list_length ( struct array_list this)

Definition at line 90 of file arraylist.c.

◆ array_list_new()

struct array_list* array_list_new ( array_list_free_fn free_fn)

Definition at line 27 of file arraylist.c.

◆ array_list_put_idx()

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 Wed Aug 17 2022 02:50:34