Skip to content
Permalink
Browse files

Fix #6505, set typedef for Mac size_t in bindings

  • Loading branch information
dakcarto committed Oct 22, 2012
1 parent 2296b5d commit 332ce329afb61609f1f224eec41b552535437dfe
Showing with 5 additions and 0 deletions.
  1. +5 −0 python/core/qgsgeometry.sip
@@ -14,7 +14,12 @@ typedef QVector< QVector<QgsPoint> > QgsMultiPolyline;
/** a collection of QgsPolygons that share a common collection of attributes */
typedef QVector< QVector< QVector<QgsPoint> > > QgsMultiPolygon;

%If (WS_MACX)
typedef unsigned long size_t;
%End
%If (WS_X11 || WS_WIN)
typedef unsigned int size_t;
%End

class QgsGeometry
{

0 comments on commit 332ce32

Please sign in to comment.
You can’t perform that action at this time.