Skip to content


Browse files Browse the repository at this point in the history
Corrected python version of QgsGeometry.wkbBuffer()
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Oct 9, 2008
1 parent 3263d1a commit d6cd10c
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();
sipRes = PyString_FromStringAndSize(sipCpp->wkbBuffer(), sipCpp->wkbSize());

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

0 comments on commit d6cd10c

Please sign in to comment.