summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-07-15 18:29:48 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-07-21 20:53:12 -0300
commit8ef9f49e9493b40995ab1028c95c9d6c149aca68 (patch)
treedc9f19c7ef4d7547d4a6d4b62d57a204f83b8463
parent7e7d48cba6eb7cfabc69ad0782d3505fe93c65d9 (diff)
Fixes order of typedefs
C++ compilers refuse to compile typedefs for types not declared yet. The typedefs in the elm_interface_atspi_accessible.h were out of order with the definition (and consequently its declaration) of its struct. This fixes by modifying the order of the typedefs to be after the struct definition.
-rw-r--r--src/lib/elm_interface_atspi_accessible.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/elm_interface_atspi_accessible.h b/src/lib/elm_interface_atspi_accessible.h
index 0cfdaa7e1..b38ef0897 100644
--- a/src/lib/elm_interface_atspi_accessible.h
+++ b/src/lib/elm_interface_atspi_accessible.h
@@ -20,8 +20,6 @@ typedef uint64_t Elm_Atspi_State_Set;
20#define STATE_TYPE_GET(state_set, type) (state_set & (1 << type)) 20#define STATE_TYPE_GET(state_set, type) (state_set & (1 << type))
21 21
22 22
23typedef enum _Elm_Atspi_Role Elm_Atspi_Role;
24
25/** 23/**
26 * @enum _Elm_Atspi_Role 24 * @enum _Elm_Atspi_Role
27 * Describes the role of an object visible to AT-SPI Clients. 25 * Describes the role of an object visible to AT-SPI Clients.
@@ -134,7 +132,7 @@ enum _Elm_Atspi_Role
134 ELM_ATSPI_ROLE_LAST_DEFINED, 132 ELM_ATSPI_ROLE_LAST_DEFINED,
135}; 133};
136 134
137typedef enum _Elm_Atspi_State_Type Elm_Atspi_State_Type; 135typedef enum _Elm_Atspi_Role Elm_Atspi_Role;
138 136
139/** 137/**
140 * @enum _Elm_Atspi_State_Type 138 * @enum _Elm_Atspi_State_Type
@@ -186,7 +184,7 @@ enum _Elm_Atspi_State_Type
186 ELM_ATSPI_STATE_LAST_DEFINED, 184 ELM_ATSPI_STATE_LAST_DEFINED,
187}; 185};
188 186
189typedef enum _Elm_Atspi_Relation_Type Elm_Atspi_Relation_Type; 187typedef enum _Elm_Atspi_State_Type Elm_Atspi_State_Type;
190 188
191/** 189/**
192 * Elm_Atspi_Relation_Type describes relation between two objects. 190 * Elm_Atspi_Relation_Type describes relation between two objects.
@@ -214,8 +212,7 @@ enum _Elm_Atspi_Relation_Type {
214 ELM_ATSPI_RELATION_LAST_DEFINED, 212 ELM_ATSPI_RELATION_LAST_DEFINED,
215}; 213};
216 214
217 215typedef enum _Elm_Atspi_Relation_Type Elm_Atspi_Relation_Type;
218typedef struct _Elm_Atspi_Event_State_Changed_Data Elm_Atspi_Event_State_Changed_Data;
219 216
220struct _Elm_Atspi_Event_State_Changed_Data 217struct _Elm_Atspi_Event_State_Changed_Data
221{ 218{
@@ -223,7 +220,8 @@ struct _Elm_Atspi_Event_State_Changed_Data
223 Eina_Bool new_value; 220 Eina_Bool new_value;
224}; 221};
225 222
226typedef struct _Elm_Atspi_Event_Children_Changed_Data Elm_Atspi_Event_Children_Changed_Data; 223
224typedef struct _Elm_Atspi_Event_State_Changed_Data Elm_Atspi_Event_State_Changed_Data;
227 225
228struct _Elm_Atspi_Event_Children_Changed_Data 226struct _Elm_Atspi_Event_Children_Changed_Data
229{ 227{
@@ -231,7 +229,7 @@ struct _Elm_Atspi_Event_Children_Changed_Data
231 Eo *child; 229 Eo *child;
232}; 230};
233 231
234typedef struct _Elm_Atspi_Attribute Elm_Atspi_Attribute; 232typedef struct _Elm_Atspi_Event_Children_Changed_Data Elm_Atspi_Event_Children_Changed_Data;
235 233
236struct _Elm_Atspi_Attribute 234struct _Elm_Atspi_Attribute
237{ 235{
@@ -239,7 +237,7 @@ struct _Elm_Atspi_Attribute
239 const char *value; 237 const char *value;
240}; 238};
241 239
242typedef struct _Elm_Atspi_Relation Elm_Atspi_Relation; 240typedef struct _Elm_Atspi_Attribute Elm_Atspi_Attribute;
243 241
244struct _Elm_Atspi_Relation 242struct _Elm_Atspi_Relation
245{ 243{
@@ -247,6 +245,8 @@ struct _Elm_Atspi_Relation
247 const Eo *obj; 245 const Eo *obj;
248}; 246};
249 247
248typedef struct _Elm_Atspi_Relation Elm_Atspi_Relation;
249
250/** 250/**
251 * Free Elm_Atspi_Attributes_List 251 * Free Elm_Atspi_Attributes_List
252 */ 252 */