Re: [Geany-Devel] New plugin loader mechanisms

2015-03-25 Thread Thomas Martitz
Am 20.03.2015 um 19:45 schrieb Dimitar Zhekov: Thinking about it, if the plugin can't run because it's missing resource files required for its operation, then I think it should be treaded like incompatible plugins. There seem like two different things to me. The first thing a loader needs

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-25 Thread Thomas Martitz
Am 18.03.2015 um 22:55 schrieb Matthew Brush: On 15-03-18 09:42 AM, Thomas Martitz wrote: tl;dr - Key functions gboolean geany_load_module(GeanyPlugin *, GModule *) What is the GModule* for? Is it a .dll that Geany opened on behalf of the plugin based on selection in Plugin Manager?

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-25 Thread Matthew Brush
On 15-03-25 04:22 PM, Thomas Martitz wrote: Am 18.03.2015 um 22:55 schrieb Matthew Brush: On 15-03-18 09:42 AM, Thomas Martitz wrote: tl;dr - Key functions gboolean geany_load_module(GeanyPlugin *, GModule *) What is the GModule* for? Is it a .dll that Geany opened on behalf of the plugin

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-25 Thread Matthew Brush
On 15-03-25 04:22 PM, Thomas Martitz wrote: Am 18.03.2015 um 22:55 schrieb Matthew Brush: [snip] ``` static Plugin my_plugin = { .name= Foo, .version = 0.1, .author = Me, .description = Foo plugin, .api_min = 200, .abi_ver = GEANY_ABI_VERSION, .init