[Geany-Devel] On document pointer recycling
Thomas Martitz
thomas.martitz at xxxxx
Thu Oct 24 09:48:23 UTC 2013
Am 24.10.2013 11:24, schrieb Lex Trotman:
>
> I currently do not have access to a dev environment where I can grab
> the plugins and search for places the index is used. But if its not
> used anywhere (or even if its not used much) then it should be
> deprecated immediately so nobody uses it in new code. Use G_DEPRECATED
> I guess, plus \deprecated in the doxygen comments, I don't know if
> we've deprecated anything before have we?
>
> @Colomban, do we have a process for plugin API deprecation and removal?
Deprecation is difficult with our plugin mechanism, because all API
function calls are macros that, after expansion, call via pointer. I
don't think G_DEPRECATED (gcc's __attribute__((deprecated))) works via
such indirect calls.
Best regards.
More information about the Devel
mailing list