Ir al código fuente de este archivo.
Clases |
struct | st_list |
'defines' |
#define | list_rest(a) ((a)->next) |
#define | list_push(a, b) (a)=list_cons((b),(a)) |
#define | list_pop(A) {LIST *old=(A); (A)=list_delete(old,old) ; my_free((gptr) old,MYF(MY_FAE)); } |
'typedefs' |
typedef struct st_list | LIST |
typedef int(* | list_walk_action )(void *, void *) |
Funciones |
LIST * | list_add (LIST *root, LIST *element) |
LIST * | list_delete (LIST *root, LIST *element) |
LIST * | list_cons (void *data, LIST *root) |
LIST * | list_reverse (LIST *root) |
void | list_free (LIST *root, unsigned int free_data) |
unsigned int | list_length (LIST *) |
int | list_walk (LIST *, list_walk_action action, gptr argument) |
Documentación de los 'defines'
#define list_pop |
( |
|
A | ) |
{LIST *old=(A); (A)=list_delete(old,old) ; my_free((gptr) old,MYF(MY_FAE)); } |
#define list_push |
( |
|
a, |
|
|
|
b |
|
) |
| (a)=list_cons((b),(a)) |
#define list_rest |
( |
|
a | ) |
((a)->next) |
Documentación de los 'typedefs'
Documentación de las funciones
LIST* list_cons |
( |
void * |
data, |
|
|
LIST * |
root |
|
) |
| |
void list_free |
( |
LIST * |
root, |
|
|
unsigned int |
free_data |
|
) |
| |
unsigned int list_length |
( |
LIST * |
| ) |
|