[Github-comments] [geany/geany] Proxy Plugins Filename Pattern Matching (#1236)
Matthew Brush
notifications at xxxxx
Mon Oct 24 07:22:47 UTC 2016
> How if geany_plugin_register_proxy() has changed behavior?
By those proxy plugins checking the API version and changing the extensions. It's either that or we bump the ABI version and break all plugins and still have to update the proxy plugins.
The code would look like:
```c
...
#if GEANY_API_VERSION >= 230
const gchar *patterns[] = { "*.so", "*.dll", "*.plugin", NULL };
#else
const gchar *patterns[] = { "so", "dll", "plugin", NULL };
#endif
geany_plugin_register_proxy(plugin, patterns);
...
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1236#issuecomment-255666164
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161024/a332ef65/attachment.html>
More information about the Github-comments
mailing list