summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eolian_database.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-02-11 15:21:12 +0000
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-03-03 18:58:11 +0000
commitcf9dbaa7dac5a51a414784149eea3cc4d17f5b6d (patch)
tree167e43a864759d0fbfb4e7afe3b30a90dc57530d /src/lib/eolian/eolian_database.c
parent6e2497bc014397c4ec9fe78cf06b1f9412cabb68 (diff)
downloadefl-cf9dbaa7dac5a51a414784149eea3cc4d17f5b6d.tar.gz
eolian: add matching APIs to get typedecls by file
Diffstat (limited to 'src/lib/eolian/eolian_database.c')
-rw-r--r--src/lib/eolian/eolian_database.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index fa0931088e..a9bcd97968 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -17,6 +17,9 @@ Eina_Hash *_classesf = NULL;
Eina_Hash *_aliasesf = NULL;
Eina_Hash *_structsf = NULL;
Eina_Hash *_enumsf = NULL;
+Eina_Hash *_aliasesd = NULL;
+Eina_Hash *_structsd = NULL;
+Eina_Hash *_enumsd = NULL;
Eina_Hash *_globalsf = NULL;
Eina_Hash *_constantsf = NULL;
Eina_Hash *_filenames = NULL;
@@ -54,6 +57,9 @@ database_init()
_enumsf = eina_hash_stringshared_new(_hashlist_free);
_globalsf = eina_hash_stringshared_new(_hashlist_free);
_constantsf = eina_hash_stringshared_new(_hashlist_free);
+ _aliasesd = eina_hash_stringshared_new(_hashlist_free);
+ _structsd = eina_hash_stringshared_new(_hashlist_free);
+ _enumsd = eina_hash_stringshared_new(_hashlist_free);
_filenames = eina_hash_string_small_new(free);
_tfilenames = eina_hash_string_small_new(free);
_decls = eina_hash_stringshared_new(free);
@@ -88,6 +94,9 @@ database_shutdown()
eina_hash_free(_enumsf ); _enumsf = NULL;
eina_hash_free(_globalsf ); _globalsf = NULL;
eina_hash_free(_constantsf); _constantsf = NULL;
+ eina_hash_free(_aliasesd ); _aliasesd = NULL;
+ eina_hash_free(_structsd ); _structsd = NULL;
+ eina_hash_free(_enumsd ); _enumsd = NULL;
eina_hash_free(_filenames ); _filenames = NULL;
eina_hash_free(_tfilenames); _tfilenames = NULL;
eina_hash_free(_decls ); _decls = NULL;