forked from enlightenment/enlightenment
add module file to E_Module struct
This commit is contained in:
parent
cb80d5157c
commit
daedf48a4b
|
@ -405,6 +405,7 @@ e_module_new(const char *name)
|
|||
m->error = 1;
|
||||
goto init_done;
|
||||
}
|
||||
m->file = eina_stringshare_ref(modpath);
|
||||
m->api = dlsym(m->handle, "e_modapi");
|
||||
m->func.init = dlsym(m->handle, "e_modapi_init");
|
||||
m->func.shutdown = dlsym(m->handle, "e_modapi_shutdown");
|
||||
|
|
|
@ -31,6 +31,7 @@ struct _E_Module
|
|||
E_Module_Api *api;
|
||||
|
||||
Eina_Stringshare *name;
|
||||
Eina_Stringshare *file;
|
||||
Eina_Stringshare *dir;
|
||||
void *handle;
|
||||
|
||||
|
|
Loading…
Reference in New Issue