forked from enlightenment/efl
eolian: remove unneeded hashes
This commit is contained in:
parent
1425523bd4
commit
2be79061fd
|
@ -9,11 +9,8 @@
|
||||||
|
|
||||||
Eina_Hash *_classes = NULL;
|
Eina_Hash *_classes = NULL;
|
||||||
Eina_Hash *_aliases = NULL;
|
Eina_Hash *_aliases = NULL;
|
||||||
Eina_Hash *_aliasesd = NULL;
|
|
||||||
Eina_Hash *_structs = NULL;
|
Eina_Hash *_structs = NULL;
|
||||||
Eina_Hash *_structsd = NULL;
|
|
||||||
Eina_Hash *_enums = NULL;
|
Eina_Hash *_enums = NULL;
|
||||||
Eina_Hash *_enumsd = NULL;
|
|
||||||
Eina_Hash *_globals = NULL;
|
Eina_Hash *_globals = NULL;
|
||||||
Eina_Hash *_constants = NULL;
|
Eina_Hash *_constants = NULL;
|
||||||
Eina_Hash *_classesf = NULL;
|
Eina_Hash *_classesf = NULL;
|
||||||
|
@ -47,11 +44,8 @@ database_init()
|
||||||
eina_init();
|
eina_init();
|
||||||
_classes = eina_hash_stringshared_new(EINA_FREE_CB(database_class_del));
|
_classes = eina_hash_stringshared_new(EINA_FREE_CB(database_class_del));
|
||||||
_aliases = eina_hash_stringshared_new(EINA_FREE_CB(database_typedef_del));
|
_aliases = eina_hash_stringshared_new(EINA_FREE_CB(database_typedef_del));
|
||||||
_aliasesd = eina_hash_stringshared_new(EINA_FREE_CB(database_typedecl_del));
|
|
||||||
_structs = eina_hash_stringshared_new(EINA_FREE_CB(database_type_del));
|
_structs = eina_hash_stringshared_new(EINA_FREE_CB(database_type_del));
|
||||||
_structsd = eina_hash_stringshared_new(EINA_FREE_CB(database_typedecl_del));
|
|
||||||
_enums = eina_hash_stringshared_new(EINA_FREE_CB(database_type_del));
|
_enums = eina_hash_stringshared_new(EINA_FREE_CB(database_type_del));
|
||||||
_enumsd = eina_hash_stringshared_new(EINA_FREE_CB(database_typedecl_del));
|
|
||||||
_globals = eina_hash_stringshared_new(EINA_FREE_CB(database_var_del));
|
_globals = eina_hash_stringshared_new(EINA_FREE_CB(database_var_del));
|
||||||
_constants = eina_hash_stringshared_new(EINA_FREE_CB(database_var_del));
|
_constants = eina_hash_stringshared_new(EINA_FREE_CB(database_var_del));
|
||||||
_classesf = eina_hash_stringshared_new(NULL);
|
_classesf = eina_hash_stringshared_new(NULL);
|
||||||
|
@ -84,11 +78,8 @@ database_shutdown()
|
||||||
{
|
{
|
||||||
eina_hash_free(_classes ); _classes = NULL;
|
eina_hash_free(_classes ); _classes = NULL;
|
||||||
eina_hash_free(_aliases ); _aliases = NULL;
|
eina_hash_free(_aliases ); _aliases = NULL;
|
||||||
eina_hash_free(_aliasesd ); _aliasesd = NULL;
|
|
||||||
eina_hash_free(_structs ); _structs = NULL;
|
eina_hash_free(_structs ); _structs = NULL;
|
||||||
eina_hash_free(_structsd ); _structsd = NULL;
|
|
||||||
eina_hash_free(_enums ); _enums = NULL;
|
eina_hash_free(_enums ); _enums = NULL;
|
||||||
eina_hash_free(_enumsd ); _enumsd = NULL;
|
|
||||||
eina_hash_free(_globals ); _globals = NULL;
|
eina_hash_free(_globals ); _globals = NULL;
|
||||||
eina_hash_free(_constants ); _constants = NULL;
|
eina_hash_free(_constants ); _constants = NULL;
|
||||||
eina_hash_free(_classesf ); _classesf = NULL;
|
eina_hash_free(_classesf ); _classesf = NULL;
|
||||||
|
|
|
@ -33,11 +33,8 @@ extern Eina_Prefix *_eolian_prefix;
|
||||||
|
|
||||||
extern Eina_Hash *_classes;
|
extern Eina_Hash *_classes;
|
||||||
extern Eina_Hash *_aliases;
|
extern Eina_Hash *_aliases;
|
||||||
extern Eina_Hash *_aliasesd;
|
|
||||||
extern Eina_Hash *_structs;
|
extern Eina_Hash *_structs;
|
||||||
extern Eina_Hash *_structsd;
|
|
||||||
extern Eina_Hash *_enums;
|
extern Eina_Hash *_enums;
|
||||||
extern Eina_Hash *_enumsd;
|
|
||||||
extern Eina_Hash *_globals;
|
extern Eina_Hash *_globals;
|
||||||
extern Eina_Hash *_constants;
|
extern Eina_Hash *_constants;
|
||||||
extern Eina_Hash *_classesf;
|
extern Eina_Hash *_classesf;
|
||||||
|
|
Loading…
Reference in New Issue