[Geany-devel] Improving plugin API @since information?

Enrico Tröger enrico.troeger at xxxxx
Sun Apr 17 14:01:22 UTC 2011

On Thu, 14 Apr 2011 00:19:24 +0200, Colomban wrote:

>Hi all,
>I'm thinking about adding an extra information to "since" tag of the
>plugin API documentation.
>It currently only gives the Geany version the symbol appeared on, but
>generally the developer also need to know the plugin API version in
>which it was introduced, e.g. in order to get the API requirement
>So, I'm suggesting to add this information whenever we add a new plugin
>API function (and why not update the current doc when we can), e.g.:
>  @since 0.21 (API 206)
>or whatever format we prefer.

I'd say why not.
It doesn't hurt. I don't find it totally necessary as plugin developers
always should depend on the latest available API version of the current
development version of Geany if they use any new features. Still, it's
only a bit more information and so why not.

About the format:
I'd say:

 * @since 0.21 (GEANY_API_VERSION 209)

I used this for now in SVN r5727.
But I'm totally open about this.


Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20110417/98e4318a/attachment.pgp>

More information about the Devel mailing list