add module file to E_Module struct

This commit is contained in:
Mike Blumenkrantz 2017-08-04 16:23:38 -04:00
parent cb80d5157c
commit daedf48a4b
2 changed files with 2 additions and 0 deletions

View File

@ -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");

View File

@ -31,6 +31,7 @@ struct _E_Module
E_Module_Api *api;
Eina_Stringshare *name;
Eina_Stringshare *file;
Eina_Stringshare *dir;
void *handle;