[Geany-devel] Plugin Version control (explained?)
lists.ban at xxxxx
Sat Aug 20 15:15:55 UTC 2011
Le 19/08/2011 02:02, Lex Trotman a écrit :
>>> 3. interface wrapper functions should be used to hide the
>>> implementation and side effects.
>> What do you mean by "interface wrapper functions"?
> In a situation where Geany does something by calling a few local
> static functions or if it calls a few functions from different
> modules, don't put the static functions in the API or expect the
> plugins to call groups of functions, instead make a wrapper function
> that calls the correct sequence so the exact implementation is hidden
> and it only needs to be changed in one place.
OK, so of course I agree :)
More information about the Devel