aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-02 13:46:57 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-02 13:46:57 +0100
commitb45dc505cdd05af7f99919fbbded86e09eb3c98d (patch)
tree41d147cca1863ed86e2f779067ed4373e1536b68
parentelua: remove old dir scan/parse APIs (diff)
downloadefl-b45dc505cdd05af7f99919fbbded86e09eb3c98d.tar.gz
eolian: remove old directory_scan/file_parse APIs
-rw-r--r--src/lib/eolian/Eolian.h15
-rw-r--r--src/lib/eolian/eolian_database.c32
2 files changed, 1 insertions, 46 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index bf8918be23..fac64953ba 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -2773,21 +2773,6 @@ EAPI char *eolian_doc_token_text_get(const Eolian_Doc_Token *tok);
EAPI Eolian_Doc_Ref_Type eolian_doc_token_ref_get(const Eolian_Unit *unit, const Eolian_Doc_Token *tok, const void **data, const void **data2);
/* DEPRECATED */
-EAPI Eina_Bool eolian_directory_scan(Eolian_State *state, const char *dir);
-
-/* DEPRECATED */
-EAPI Eina_Bool eolian_system_directory_scan(Eolian_State *state);
-
-/* DEPRECATED */
-EAPI const Eolian_Unit *eolian_file_parse(Eolian_State *state, const char *filepath);
-
-/* DEPRECATED */
-EAPI Eina_Bool eolian_all_eo_files_parse(Eolian_State *state);
-
-/* DEPRECATED */
-EAPI Eina_Bool eolian_all_eot_files_parse(Eolian_State *state);
-
-/* DEPRECATED */
EAPI Eina_Iterator *eolian_all_eo_file_paths_get(const Eolian_State *state);
/* DEPRECATED */
diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index d6d7915fb0..d4025fa070 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -645,23 +645,11 @@ eolian_state_system_directory_add(Eolian_State *state)
Eina_Strbuf *buf = eina_strbuf_new();
eina_strbuf_append(buf, eina_prefix_data_get(_eolian_prefix));
eina_strbuf_append(buf, "/include");
- ret = eolian_directory_scan(state, eina_strbuf_string_get(buf));
+ ret = eolian_state_directory_add(state, eina_strbuf_string_get(buf));
eina_strbuf_free(buf);
return ret;
}
-EAPI Eina_Bool
-eolian_directory_scan(Eolian_State *state, const char *dir)
-{
- return eolian_state_directory_add(state, dir);
-}
-
-EAPI Eina_Bool
-eolian_system_directory_scan(Eolian_State *state)
-{
- return eolian_state_system_directory_add(state);
-}
-
EAPI Eina_Iterator *
eolian_state_eot_files_get(const Eolian_State *state)
{
@@ -835,12 +823,6 @@ eolian_state_file_parse(Eolian_State *state, const char *filepath)
return &state->unit;
}
-EAPI const Eolian_Unit *
-eolian_file_parse(Eolian_State *state, const char *filepath)
-{
- return eolian_state_file_parse(state, filepath);
-}
-
typedef struct _Parse_Data
{
Eolian_State *state;
@@ -876,12 +858,6 @@ eolian_state_all_eot_files_parse(Eolian_State *state)
return pd.ret;
}
-EAPI Eina_Bool
-eolian_all_eot_files_parse(Eolian_State *state)
-{
- return eolian_state_all_eot_files_parse(state);
-}
-
static Eina_Bool _file_parse(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata)
{
Parse_Data *pd = fdata;
@@ -911,12 +887,6 @@ eolian_state_all_eo_files_parse(Eolian_State *state)
return pd.ret;
}
-EAPI Eina_Bool
-eolian_all_eo_files_parse(Eolian_State *state)
-{
- return eolian_state_all_eo_files_parse(state);
-}
-
EAPI const Eolian_Unit *
eolian_state_unit_by_file_get(const Eolian_State *state, const char *file_name)
{