[Qgis-developer] Can I change QgsAbstractGeometryV2::fromWkb signature ?

Sandro Santilli strk at keybit.net
Tue Jan 26 07:45:43 PST 2016


On Tue, Jan 26, 2016 at 01:52:41PM +0100, Matthias Kuhn wrote:
> I would add a second method with size param and deprecate the current one.
> This way we can prepare our own code and remove the dangerous method in 3.0

Consider that QgsGeometry::fromWkb() already takes a size parameter:

https://github.com/qgis/QGIS/blob/master/src/core/geometry/qgsgeometry.h#L141-L145

It's just not passed over to the QgsAbstractGeometryV2::fromWkb.
Is the "internal" call still to be considered part of the API ?

--strk;


More information about the Qgis-developer mailing list