summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2014-08-11 14:52:04 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-08-11 14:52:51 +0200
commit3fbe90ae539cfc68c2acb27e9a35f25dc4401230 (patch)
treebc816fc37489dfdc9d9176eefa7105b2372ab118 /src
parentc746d4b1819583516790b49baef354bd6ba3931e (diff)
eina: rename to eina_module_symbol_global_set
As discussed on the ML, eina_module_global_set should become eina_module_symbol_global_set.
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_module.c2
-rw-r--r--src/lib/eina/eina_module.h2
-rw-r--r--src/lib/evas/file/evas_module.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eina/eina_module.c b/src/lib/eina/eina_module.c
index 2be0a40343..468fc5acf8 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)
391 return m->file; 391 return m->file;
392} 392}
393 393
394EAPI void eina_module_global_set(Eina_Module *module, Eina_Bool global) 394EAPI void eina_module_symbol_global_set(Eina_Module *module, Eina_Bool global)
395{ 395{
396 module->global = !!global; 396 module->global = !!global;
397} 397}
diff --git a/src/lib/eina/eina_module.h b/src/lib/eina/eina_module.h
index f48ca27244..54d66a2b04 100644
--- a/src/lib/eina/eina_module.h
+++ b/src/lib/eina/eina_module.h
@@ -211,7 +211,7 @@ EAPI const char *
211 * @param module The module to turn off/on symbol to be exposed 211 * @param module The module to turn off/on symbol to be exposed
212 * @since 1.11 212 * @since 1.11
213 */ 213 */
214EAPI void eina_module_global_set(Eina_Module *module, Eina_Bool global) EINA_ARG_NONNULL(1); 214EAPI void eina_module_symbol_global_set(Eina_Module *module, Eina_Bool global) EINA_ARG_NONNULL(1);
215 215
216/** 216/**
217 * @brief Return the path built from the location of a library and a 217 * @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 4bc5d86dce..db10d538e5 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)
467 en = eina_module_new(buffer); 467 en = eina_module_new(buffer);
468 if (!en) continue; 468 if (!en) continue;
469 469
470 if (type == EVAS_MODULE_TYPE_ENGINE) eina_module_global_set(en, EINA_TRUE); 470 if (type == EVAS_MODULE_TYPE_ENGINE) eina_module_symbol_global_set(en, EINA_TRUE);
471 471
472 if (!eina_module_load(en)) 472 if (!eina_module_load(en))
473 { 473 {