Skip to content
Browse files
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 d6cd10c5a614011eb645a14d7ea70cb9f0097a85
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/core/qgsgeometry.sip
@@ -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().

0 comments on commit d6cd10c

Please sign in to comment.