[Github-comments] [geany/geany] api: new function geany_api_version (#1406)

Thomas Martitz notifications at xxxxx
Thu Feb 23 06:46:26 UTC 2017


This allows plugins to detect the API version of Geany at runtime. This enables
switching behavior based on the API version (perhaps using a new feature
with a fallback for older API versions). Previously the only alternatives
were to hard-depend on a more recent Geany version or ignoring new features.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1406

-- Commit Summary --

  * api: new function geany_api_version

-- File Changes --

    M src/plugindata.h (2)
    M src/pluginutils.c (9)
    M src/pluginutils.h (1)

-- Patch Links --

https://github.com/geany/geany/pull/1406.patch
https://github.com/geany/geany/pull/1406.diff

-- 
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/1406
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170222/523e7333/attachment.html>


More information about the Github-comments mailing list