[QGIS Commit] r9629 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Nov 12 14:54:21 EST 2008


Author: wonder
Date: 2008-11-12 14:54:21 -0500 (Wed, 12 Nov 2008)
New Revision: 9629

Modified:
   trunk/qgis/python/core/qgsfeature.sip
   trunk/qgis/python/core/qgsgeometry.sip
Log:
typedef for size_t changed to be defined outside classes.


Modified: trunk/qgis/python/core/qgsfeature.sip
===================================================================
--- trunk/qgis/python/core/qgsfeature.sip	2008-11-12 12:00:59 UTC (rev 9628)
+++ trunk/qgis/python/core/qgsfeature.sip	2008-11-12 19:54:21 UTC (rev 9629)
@@ -8,8 +8,6 @@
     
   public:
 
-    typedef unsigned int size_t;
-    
     //! Constructor
     QgsFeature(int id = 0, QString typeName = "" );
 

Modified: trunk/qgis/python/core/qgsgeometry.sip
===================================================================
--- trunk/qgis/python/core/qgsgeometry.sip	2008-11-12 12:00:59 UTC (rev 9628)
+++ trunk/qgis/python/core/qgsgeometry.sip	2008-11-12 19:54:21 UTC (rev 9629)
@@ -14,6 +14,7 @@
 /** a collection of QgsPolygons that share a common collection of attributes */
 typedef QVector< QVector< QVector<QgsPoint> > > QgsMultiPolygon;
 
+typedef unsigned int size_t;
     
 class QgsGeometry
 {
@@ -52,7 +53,6 @@
     /** construct geometry from a rectangle */
     static QgsGeometry* fromRect(const QgsRectangle& rect) /Factory/;
         
-    typedef unsigned int size_t;
 
     
     /** 



More information about the QGIS-commit mailing list