Download

Support

Doubly Linked List Removing Functions

Functions that remove nodes from an Ecore_DList. More...

Functions

EAPI void * ecore_dlist_remove (Ecore_DList *list)
 Removes the current item from the given doubly linked list.
EAPI void * ecore_dlist_first_remove (Ecore_DList *list)
 Removes the first item from the given doubly linked list.
EAPI int ecore_dlist_remove_destroy (Ecore_DList *list)
 Removes and frees the data at the current position in the given doubly linked list.
EAPI void * ecore_dlist_last_remove (Ecore_DList *list)
 Removes the last item from the given doubly linked list.

Detailed Description

Functions that remove nodes from an Ecore_DList.


Function Documentation

EAPI void* ecore_dlist_first_remove ( Ecore_DList *  list  ) 

Removes the first item from the given doubly linked list.

Parameters:
list The given doubly linked list.
Returns:
A pointer to the removed data on success, NULL on failure.
EAPI void* ecore_dlist_last_remove ( Ecore_DList *  list  ) 

Removes the last item from the given doubly linked list.

Parameters:
list The given doubly linked list.
Returns:
A pointer to the removed data on success, NULL otherwise.

References ecore_list_empty_is(), and ecore_list_node_destroy().

EAPI void* ecore_dlist_remove ( Ecore_DList *  list  ) 

Removes the current item from the given doubly linked list.

Parameters:
list The given doubly linked list.
Returns:
A pointer to the removed data on success, NULL otherwise.

Referenced by ecore_dlist_remove_destroy().

EAPI int ecore_dlist_remove_destroy ( Ecore_DList *  list  ) 

Removes and frees the data at the current position in the given doubly linked list.

Parameters:
list The given doubly linked list.
Returns:
TRUE on success, FALSE otherwise.

References ecore_dlist_remove().


Copyright © Enlightenment.org

Ecore Documentation