Skip to content

Commit a4dac6a

Browse files
committed
Define params as /Out/
1 parent f9ba905 commit a4dac6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/core/geometry/qgsgeometry.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ Returns true if WKB of the geometry is of WKBMulti* type
490490
:rtype: OperationResult
491491
%End
492492

493-
OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries, bool topological, QList<QgsPointXY> &topologyTestPoints );
493+
OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries /Out/, bool topological, QList<QgsPointXY> &topologyTestPoints /Out/ );
494494
%Docstring
495495
Splits this geometry according to a given line.
496496
\param splitLine the line that splits the geometry

src/core/geometry/qgsgeometry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class CORE_EXPORT QgsGeometry
509509
* \param[out] topologyTestPoints points that need to be tested for topological completeness in the dataset
510510
* \returns OperationResult a result code: success or reason of failure
511511
*/
512-
OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries, bool topological, QList<QgsPointXY> &topologyTestPoints );
512+
OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries SIP_OUT, bool topological, QList<QgsPointXY> &topologyTestPoints SIP_OUT );
513513

514514
/**
515515
* Replaces a part of this geometry with another line

0 commit comments

Comments
 (0)