Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #6505, set typedef for Mac size_t in bindings
  • Loading branch information
dakcarto committed Oct 22, 2012
1 parent 2296b5d commit 332ce32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/core/qgsgeometry.sip
Expand Up @@ -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
{
Expand Down

0 comments on commit 332ce32

Please sign in to comment.