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


11.3.3 Data Type Specific List Front Functions

lf_e_<type-name>

<type> lf_e_<type-name>(<type> &d, list l);

is the data in the first position in the l list, sets d as the same data (assumed of the <type> data type) and removes it from the list

lf_g_<type-name>

<type> lf_g_<type-name>(<type> &d, list l);

is the data in the first position in the l list, sets d as the same (data is linked if allowed, copied otherwise, data assumed of the <type> data type)

lf_l_<type-name>

void lf_l_<type-name>(list l, <type> d);

inserts a reference to the d data in the first position in the l list (the function applies only to data types allowing for multiple references)

See Referable Objects.

lf_p_<type-name>

void lf_p_<type-name>(list l, <type> d);

inserts data of the <type> data type and d value in the first position in the l list

lf_q_<type-name>

<type> lf_q_<type-name>(list l);

is the data in the first position in the l list (assumed of the <type> data type)

lf_x_<type-name>

<type> lf_x_<type-name>(list l);

is the data in the first position in the l list (assumed of the <type> data type), the data is removed from the list