Why does the function plugin_init() accept the one parameter GeanyData*?
The reason that is a question is that the three global variablesare available to a plugin and you will notice that one of those global variables is geany_data which is suspiciously similar to the parameter to plugin_init().
GeanyPlugin *geany_plugin;
GeanyData *geany_data;
GeanyFunctions *geany_functions;
So either there is no reason to pass the parameter to plugin_init() or there is a good reason to pass the parameter to plugin_init().
[...]
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel