_Eina_Accessor Struct Reference
[Accessor Functions]
Type to provide random access to data structures. More...
Data Fields | |
| int | version |
| Version of the Accessor API. | |
| Eina_Accessor_Get_At_Callback | get_at |
| Callback called when a data element is requested. | |
| Eina_Accessor_Get_Container_Callback | get_container |
| Callback called when the container is requested. | |
| Eina_Accessor_Free_Callback | free |
| Callback called when the container is freed. | |
| Eina_Accessor_Lock_Callback | lock |
| Callback called when the container is locked. | |
| Eina_Accessor_Lock_Callback | unlock |
| Callback called when the container is unlocked. | |
Detailed Description
Type to provide random access to data structures.
If creating an accessor remember to set the type using EINA_MAGIC_SET.
- Examples:
Field Documentation
Version of the Accessor API.
Callback called when a data element is requested.
Referenced by eina_accessor_data_get(), and eina_accessor_over().
Callback called when the container is requested.
Referenced by eina_accessor_container_get(), and eina_accessor_over().
Callback called when the container is freed.
Referenced by eina_accessor_free().
Callback called when the container is locked.
Referenced by eina_accessor_lock().
Callback called when the container is unlocked.
Referenced by eina_accessor_unlock().
