Skip to content

Commit 332ce32

Browse files
committed
Fix #6505, set typedef for Mac size_t in bindings
1 parent 2296b5d commit 332ce32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python/core/qgsgeometry.sip

+5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ typedef QVector< QVector<QgsPoint> > QgsMultiPolyline;
1414
/** a collection of QgsPolygons that share a common collection of attributes */
1515
typedef QVector< QVector< QVector<QgsPoint> > > QgsMultiPolygon;
1616

17+
%If (WS_MACX)
18+
typedef unsigned long size_t;
19+
%End
20+
%If (WS_X11 || WS_WIN)
1721
typedef unsigned int size_t;
22+
%End
1823

1924
class QgsGeometry
2025
{

0 commit comments

Comments
 (0)