summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eolian_database.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-11 15:55:10 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-11 17:35:13 +0100
commit665fc62916d735f858d8dde992a9eb2b702b2cbb (patch)
treeca925ccf30790b1e070a531b4dafd94719d25860 /src/lib/eolian/eolian_database.h
parent2355df0e4f20dfa9cf322be7521f7916ad1ea9c5 (diff)
eolian: simplify namespace handling
This is mostly a preparation for rework of name(space) APIs.
Diffstat (limited to 'src/lib/eolian/eolian_database.h')
-rw-r--r--src/lib/eolian/eolian_database.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index bca488b..bed0c20 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -111,8 +111,6 @@ struct _Eolian_Documentation
111struct _Eolian_Class 111struct _Eolian_Class
112{ 112{
113 Eolian_Object base; 113 Eolian_Object base;
114 Eina_List *namespaces; /* List Eina_Stringshare * */
115 Eina_Stringshare *name;
116 Eolian_Class_Type type; 114 Eolian_Class_Type type;
117 Eolian_Documentation *doc; 115 Eolian_Documentation *doc;
118 Eina_Stringshare *legacy_prefix; 116 Eina_Stringshare *legacy_prefix;
@@ -199,8 +197,6 @@ struct _Eolian_Type
199 Eolian_Type_Builtin_Type btype; 197 Eolian_Type_Builtin_Type btype;
200 Eolian_Type *base_type; 198 Eolian_Type *base_type;
201 Eolian_Type *next_type; 199 Eolian_Type *next_type;
202 Eina_Stringshare *name;
203 Eina_List *namespaces;
204 Eina_Stringshare *freefunc; 200 Eina_Stringshare *freefunc;
205 union 201 union
206 { 202 {
@@ -218,8 +214,6 @@ struct _Eolian_Typedecl
218 Eolian_Object base; 214 Eolian_Object base;
219 Eolian_Typedecl_Type type; 215 Eolian_Typedecl_Type type;
220 Eolian_Type *base_type; 216 Eolian_Type *base_type;
221 Eina_Stringshare *name;
222 Eina_List *namespaces;
223 Eina_Hash *fields; 217 Eina_Hash *fields;
224 Eina_List *field_list; 218 Eina_List *field_list;
225 Eolian_Function *function_pointer; 219 Eolian_Function *function_pointer;
@@ -312,8 +306,6 @@ struct _Eolian_Variable
312{ 306{
313 Eolian_Object base; 307 Eolian_Object base;
314 Eolian_Variable_Type type; 308 Eolian_Variable_Type type;
315 Eina_Stringshare *name;
316 Eina_List *namespaces;
317 Eolian_Type *base_type; 309 Eolian_Type *base_type;
318 Eolian_Expression *value; 310 Eolian_Expression *value;
319 Eolian_Documentation *doc; 311 Eolian_Documentation *doc;
@@ -325,6 +317,9 @@ Eina_Bool database_validate(Eolian_State *state, const Eolian_Unit *src);
325 317
326void database_object_add(Eolian_Unit *unit, const Eolian_Object *obj); 318void database_object_add(Eolian_Unit *unit, const Eolian_Object *obj);
327 319
320Eina_Iterator *database_object_namespaces_get(const Eolian_Object *obj);
321const char *database_object_short_name_get(const Eolian_Object *obj);
322
328void database_doc_del(Eolian_Documentation *doc); 323void database_doc_del(Eolian_Documentation *doc);
329 324
330void database_unit_init(Eolian_State *state, Eolian_Unit *unit, const char *file); 325void database_unit_init(Eolian_State *state, Eolian_Unit *unit, const char *file);