List Node Functions
Functions that are used in the creation, maintenance and destruction of Ecore_List nodes. More...
Functions | |
EAPI Ecore_List_Node * | ecore_list_node_new () |
Allocates and initializes a new list node. | |
EAPI int | ecore_list_node_destroy (Ecore_List_Node *node, Ecore_Free_Cb free_func) |
Calls the function to free the data and the node. |
Detailed Description
Functions that are used in the creation, maintenance and destruction of Ecore_List nodes.
Function Documentation
EAPI int ecore_list_node_destroy | ( | Ecore_List_Node * | node, | |
Ecore_Free_Cb | free_func | |||
) |
Calls the function to free the data and the node.
- Parameters:
-
node Node to destroy. free_func Function to call if node
points to data to free.
- Returns:
TRUE
.
Referenced by ecore_dlist_last_remove().
EAPI Ecore_List_Node* ecore_list_node_new | ( | void | ) |
Allocates and initializes a new list node.
- Returns:
- A new Ecore_List_Node on success,
NULL
otherwise.
Referenced by ecore_list_append(), ecore_list_insert(), and ecore_list_prepend().