RetroArch
Classes | Typedefs | Functions | Variables
mylist.h File Reference
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
Include dependency graph for mylist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MyList_t
 

Typedefs

typedef void(* destructor_t) (void *)
 
typedef struct MyList_t MyList
 

Functions

voidmylist_add_element (MyList *list)
 
void mylist_resize (MyList *list, int newSize, bool runConstructor)
 
void mylist_create (MyList **list_p, int initialCapacity, constructor_t constructor, destructor_t destructor)
 
void mylist_destroy (MyList **list_p)
 
void mylist_assign (MyList *list, int index, void *value)
 
void mylist_remove_at (MyList *list, int index)
 
void mylist_pop_front (MyList *list)
 

Variables

RETRO_BEGIN_DECLS typedef void *(* constructor_t )(void)
 

Typedef Documentation

◆ destructor_t

typedef void(* destructor_t) (void *)

◆ MyList

typedef struct MyList_t MyList

Function Documentation

◆ mylist_add_element()

void* mylist_add_element ( MyList list)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mylist_assign()

void mylist_assign ( MyList list,
int  index,
void value 
)
Here is the caller graph for this function:

◆ mylist_create()

void mylist_create ( MyList **  list_p,
int  initialCapacity,
constructor_t  constructor,
destructor_t  destructor 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mylist_destroy()

void mylist_destroy ( MyList **  list_p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mylist_pop_front()

void mylist_pop_front ( MyList list)
Here is the call graph for this function:

◆ mylist_remove_at()

void mylist_remove_at ( MyList list,
int  index 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mylist_resize()

void mylist_resize ( MyList list,
int  newSize,
bool  runConstructor 
)
Here is the caller graph for this function:

Variable Documentation

◆ constructor_t

RETRO_BEGIN_DECLS typedef void*(* constructor_t) (void)