Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Corrected python version of QgsGeometry.wkbBuffer()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9466 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Oct 9, 2008
1 parent 62ea0be commit 7a5649a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/core/qgsgeometry.sip
Expand Up @@ -71,7 +71,10 @@ class QgsGeometry
Returns the buffer containing this geometry in WKB format.
You may wish to use in conjunction with wkbSize().
*/
unsigned char * wkbBuffer();
SIP_PYOBJECT wkbBuffer();
%MethodCode
sipRes = PyString_FromStringAndSize(sipCpp->wkbBuffer(), sipCpp->wkbSize());
%End

/**
Returns the size of the WKB in wkbBuffer().
Expand Down

0 comments on commit 7a5649a

Please sign in to comment.