forked from enlightenment/efl
eina: rename to eina_module_symbol_global_set
As discussed on the ML, eina_module_global_set should become eina_module_symbol_global_set.
This commit is contained in:
parent
c746d4b181
commit
3fbe90ae53
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue