Functions
Eo iterators

Functions

EAPI Eina_Iteratoreo_classes_iterator_new (void)
 Get an iterator on the Eo classes. More...
 
EAPI Eina_Iteratoreo_objects_iterator_new (void)
 Get an iterator on the Eo objects. More...
 
EAPI Eina_Bool efl_ownable_get (const Eo *obj)
 Check if a object can be owned. More...
 

Detailed Description

Function Documentation

◆ eo_classes_iterator_new()

EAPI Eina_Iterator* eo_classes_iterator_new ( void  )

Get an iterator on the Eo classes.

You can use this function to go over the Eo classes.

Returns
an iterator on success, NULL otherwise

References EINA_MAGIC_SET.

◆ eo_objects_iterator_new()

EAPI Eina_Iterator* eo_objects_iterator_new ( void  )

Get an iterator on the Eo objects.

You can use this function to go over the Eo objects.

Returns
an iterator on success, NULL otherwise

References EFL_ID_DOMAIN_MAIN, and EINA_MAGIC_SET.

Referenced by efl_object_shutdown().

◆ efl_ownable_get()

EAPI Eina_Bool efl_ownable_get ( const Eo obj)

Check if a object can be owned.

This API checks if the passed object has at least one free reference that is not taken by the parent relation. If this is not the case, a ERR will be printed.

Returns
EINA_TRUE if the object is ownable. EINA_FALSE if not.

References efl_ref_count(), and ERR.