Download

Support

List Item Adding Functions

Functions that are used to add nodes to an Ecore_List. More...

Functions

EAPI int ecore_list_append (Ecore_List *list, void *data)
 Append data to the list.
EAPI int ecore_list_prepend (Ecore_List *list, void *data)
 Prepend data to the beginning of the list.
EAPI int ecore_list_insert (Ecore_List *list, void *data)
 Insert data in front of the current point in the list.
EAPI int ecore_list_append_list (Ecore_List *list, Ecore_List *append)
 Append a list to the list.
EAPI int ecore_list_prepend_list (Ecore_List *list, Ecore_List *prepend)
 Prepend a list to the beginning of the list.

Detailed Description

Functions that are used to add nodes to an Ecore_List.


Function Documentation

EAPI int ecore_list_append ( Ecore_List *  list,
void *  data 
) [inline]

Append data to the list.

Parameters:
list The list.
data The data to append.
Returns:
FALSE if an error occurs, TRUE if appended successfully

References ecore_list_node_new().

Referenced by ecore_hash_keys().

EAPI int ecore_list_append_list ( Ecore_List *  list,
Ecore_List *  append 
)

Append a list to the list.

Parameters:
list The list.
append The list to append.
Returns:
FALSE if an error occurs, TRUE if appended successfully

References ecore_list_empty_is(), and ecore_list_init().

Referenced by ecore_list_merge().

EAPI int ecore_list_insert ( Ecore_List *  list,
void *  data 
) [inline]

Insert data in front of the current point in the list.

Parameters:
list The list to hold the inserted data.
data The data to insert into list.
Returns:
FALSE if there is an error, TRUE on success

References ecore_list_node_new().

EAPI int ecore_list_prepend ( Ecore_List *  list,
void *  data 
) [inline]

Prepend data to the beginning of the list.

Parameters:
list The list.
data The data to prepend.
Returns:
FALSE if an error occurs, TRUE if prepended successfully.

References ecore_list_node_new().

EAPI int ecore_list_prepend_list ( Ecore_List *  list,
Ecore_List *  prepend 
)

Prepend a list to the beginning of the list.

Parameters:
list The list.
prepend The list to prepend.
Returns:
FALSE if an error occurs, TRUE if prepended successfully.

References ecore_list_empty_is(), and ecore_list_init().


Copyright © Enlightenment.org

Ecore Documentation Generated: Sat Sep 5 11:39:02 2009