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 Oslandia _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
