Skip to content

Commit

Permalink
Add In,Out annotations to QgsFeatureSink methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 26, 2017
1 parent 7ae71de commit 8d0a9d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/core/qgsfeaturesink.sip
Expand Up @@ -24,15 +24,15 @@ class QgsFeatureSink

virtual ~QgsFeatureSink();

virtual bool addFeature( QgsFeature &feature ) = 0;
virtual bool addFeature( QgsFeature &feature /In,Out/ ) = 0;
%Docstring
Adds a single ``feature`` to the sink.
\see addFeatures()
:return: true in case of success and false in case of failure
:rtype: bool
%End

virtual bool addFeatures( QgsFeatureList &features ) = 0;
virtual bool addFeatures( QgsFeatureList &features /In,Out/ ) = 0;
%Docstring
Adds a list of ``features`` to the sink.
\see addFeature()
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsfeaturesink.h
Expand Up @@ -40,14 +40,14 @@ class CORE_EXPORT QgsFeatureSink
* \see addFeatures()
* \returns true in case of success and false in case of failure
*/
virtual bool addFeature( QgsFeature &feature ) = 0;
virtual bool addFeature( QgsFeature &feature SIP_INOUT ) = 0;

/**
* Adds a list of \a features to the sink.
* \see addFeature()
* \returns true in case of success and false in case of failure
*/
virtual bool addFeatures( QgsFeatureList &features ) = 0;
virtual bool addFeatures( QgsFeatureList &features SIP_INOUT ) = 0;

};

Expand Down

0 comments on commit 8d0a9d6

Please sign in to comment.