forked from external/yambar
modules: rename module_info -> plugin_info
This is the same name used by particles.
This commit is contained in:
parent
307a1f5ec8
commit
ec4a47e5db
12 changed files with 12 additions and 12 deletions
2
plugin.c
2
plugin.c
|
@ -69,7 +69,7 @@ plugin_load(const char *name, enum plugin_type type)
|
|||
|
||||
/* TODO: rename to plugin_info or so, in both modules and particles */
|
||||
dlerror(); /* Clear previous error */
|
||||
plug->sym = dlsym(lib, type == PLUGIN_MODULE ? "module_info" : "plugin_info");
|
||||
plug->sym = dlsym(lib, "plugin_info");
|
||||
|
||||
const char *dlsym_error = dlerror();
|
||||
if (dlsym_error != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue