[Qgis-developer] Question re api freeze

Hugo Mercier hugo.mercier at oslandia.com
Fri May 16 01:07:54 PDT 2014

Le 15/05/2014 12:03, Nyall Dawson a écrit :
> Hi all,
> Quick question about the api freeze for the qgis 2 series - am I
> allowed to change a function which is currently a void to instead
> return a bool? Does this classify as an api break, or would this be
> allowed?

Hi Nyall,

Good question :)
I would say : we have to ensure that the new API does not break
compilation of a code designed with the previous API.
And since calling a function returning bool and ignoring its returned
parameter is not a compilation error in C++, and it does not neither
break a Python code calling it, I'd see no problem.

Can others confirm ?

Hugo Mercier

More information about the Qgis-developer mailing list