cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3fbe90ae539cfc68c2acb27e9a35f25dc4401230
commit 3fbe90ae539cfc68c2acb27e9a35f25dc4401230 Author: Cedric BAIL <[email protected]> Date: Mon Aug 11 14:52:04 2014 +0200 eina: rename to eina_module_symbol_global_set As discussed on the ML, eina_module_global_set should become eina_module_symbol_global_set. --- src/lib/eina/eina_module.c | 2 +- src/lib/eina/eina_module.h | 2 +- src/lib/evas/file/evas_module.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/eina/eina_module.c b/src/lib/eina/eina_module.c index 2be0a40..468fc5a 100644 --- a/src/lib/eina/eina_module.c +++ b/src/lib/eina/eina_module.c @@ -391,7 +391,7 @@ EAPI const char *eina_module_file_get(const Eina_Module *m) return m->file; } -EAPI void eina_module_global_set(Eina_Module *module, Eina_Bool global) +EAPI void eina_module_symbol_global_set(Eina_Module *module, Eina_Bool global) { module->global = !!global; } diff --git a/src/lib/eina/eina_module.h b/src/lib/eina/eina_module.h index f48ca27..54d66a2 100644 --- a/src/lib/eina/eina_module.h +++ b/src/lib/eina/eina_module.h @@ -211,7 +211,7 @@ EAPI const char * * @param module The module to turn off/on symbol to be exposed * @since 1.11 */ -EAPI void eina_module_global_set(Eina_Module *module, Eina_Bool global) EINA_ARG_NONNULL(1); +EAPI void eina_module_symbol_global_set(Eina_Module *module, Eina_Bool global) EINA_ARG_NONNULL(1); /** * @brief Return the path built from the location of a library and a diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c index 4bc5d86..db10d53 100644 --- a/src/lib/evas/file/evas_module.c +++ b/src/lib/evas/file/evas_module.c @@ -467,7 +467,7 @@ evas_module_find_type(Evas_Module_Type type, const char *name) en = eina_module_new(buffer); if (!en) continue; - if (type == EVAS_MODULE_TYPE_ENGINE) eina_module_global_set(en, EINA_TRUE); + if (type == EVAS_MODULE_TYPE_ENGINE) eina_module_symbol_global_set(en, EINA_TRUE); if (!eina_module_load(en)) { --
