Next: , Previous: , Up: The List Library   [Index]


13.3.9 Data Type Generic List Front Functions

l_front

object l_front(list l);

is the data in the first position in the l list

l_insert

void l_insert(list l,);

inserts data of the type and value described by the second argument in the first position in the l list

lf_delete

list lf_delete(list l);

is l, deletes the first element in the l list

lf_get

object lf_get(&, list l);

is the data in the first position in the l list, sets the first argument as the same data (data is linked if allowed, copied otherwise)

lf_pick

object lf_pick(list l);

is the data in the first position in the l list, the data is removed from the list

lf_push

void lf_push(list l,);

inserts data of the type and value described by the second argument in the first position in the l list

lf_query

object lf_query(list l);

is the data in the first position in the l list (same as ‘l_front’)

lf_yank

object lf_yank(&, list l);

is the data in the first position in the l list, sets the first argument as the same data and removes it from the list


Next: Data Type Generic List Back Functions, Previous: Data Type Generic List Functions, Up: The List Library   [Index]