Skip to content

Commit 71c5d4c

Browse files
committed
sip fixes
1 parent ee593e8 commit 71c5d4c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎python/core/qgssnapper.sip‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ class QgsSnapper
7676
@param snappingResult the list where the results are inserted (everything in map coordinate system)
7777
@param excludePoints a list with (map coordinate) points that should be excluded in the snapping result. Useful e.g. for vertex moves where a vertex should not be snapped to its original position
7878
@return 0 in case of success*/
79-
int snapPoint( const QPoint& startPoint, QList<QgsSnappingResult>& snappingResult, const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );
79+
int snapPoint( const QPoint& startPoint, QList<QgsSnappingResult>& snappingResult /Out/, const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );
8080

8181
//setters
8282
void setSnapLayers( const QList<QgsSnapper::SnapLayer>& snapLayers );
8383
void setSnapMode( QgsSnapper::SnappingMode snapMode );
8484

85-
};
85+
};

‎python/core/qgsvectorlayer.sip‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class QgsVectorLayer : QgsMapLayer
193193
void setRenderer( QgsRenderer * r /Transfer/ );
194194

195195
/** Sets diagram rendering object (takes ownership) */
196-
void setDiagramRenderer( QgsDiagramRendererV2* r );
196+
void setDiagramRenderer( QgsDiagramRendererV2* r /Transfer/ );
197197
const QgsDiagramRendererV2* diagramRenderer() const;
198198

199199
void setDiagramLayerSettings( const QgsDiagramLayerSettings& s );

0 commit comments

Comments
 (0)