Tizen Native API
4.0
|
_Eina_Value_Struct_Member Struct Reference
Public Attributes | |
const char * | name |
const Eina_Value_Type * | type |
unsigned int | offset |
Detailed Description
Describes a single member of struct.
The name is used to lookup the member description. This is done as specified as _Eina_Value_Struct_Operations::find_member(). For structures with huge number of members, consider using a better find_member function to quickly finding it! There are two helper operations provided to help this: EINA_VALUE_STRUCT_OPERATIONS_BINSEARCH and EINA_VALUE_STRUCT_OPERATIONS_STRINGSHARE, both depend on properly set _Eina_Value_Struct_Desc and _Eina_Value_Struct_Member.
- Since (EFL) :
- 1.2
- Examples:
- eina_model_03.c, and eina_value_02.c.
Member Data Documentation
const char* _Eina_Value_Struct_Member::name |
member name, used in lookups such as eina_value_struct_get()
unsigned int _Eina_Value_Struct_Member::offset |
where this member is located within the structure memory
how to use this member
- Examples:
- eina_model_03.c, and eina_value_02.c.