Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -253,6 +253,7 @@ sub fix_annotations { |
|
|
} |
|
|
# see https://regex101.com/r/5iNptO/4 |
|
|
$line =~ s/(?<coma>, +)?(const )?(\w+)(\<(?>[^<>]|(?4))*\>)?\s+[\w&*]+\s+SIP_PYARGREMOVE( = [^()]*(\(\s*(?:[^()]++|(?6))*\s*\))?)?(?(<coma>)|,?)//g; |
|
|
$line =~ s/\(\s+\)/()/; |
|
|
} |
|
|
$line =~ s/SIP_FORCE//; |
|
|
return $line; |
|
|
|
@@ -304,15 +304,15 @@ Mulitline body |
|
|
void combinedAnnotations() /Factory,PyName=otherName/; |
|
|
void multiAnnotationArg( SomeClass **object /Out,TransferBack/, int &another /Out/ ); |
|
|
|
|
|
void simple( ); |
|
|
void simple(); |
|
|
%Docstring |
|
|
remove argument |
|
|
%End |
|
|
void method( ); |
|
|
void test( ); |
|
|
void avoidIntersections( const QList<QgsVectorLayer *> &avoidIntersectionsLayers ); |
|
|
|
|
|
void position( ); |
|
|
void position(); |
|
|
void position( bool keep ); |
|
|
void position( bool keep, bool keep ); |
|
|
void position( bool keep ); |
|
|
|
@@ -333,7 +333,7 @@ class CORE_EXPORT QgsSipifyHeader : public QtClass<QVariant>, private Ui::QgsBas |
|
|
|
|
|
//! remove argument |
|
|
void simple( bool test SIP_PYARGREMOVE ); |
|
|
void method( bool myArg SIP_PYARGREMOVE = test ); |
|
|
void method( bool myArg SIP_PYARGREMOVE = test ); |
|
|
void test( QgsMapLayer *vl SIP_PYARGREMOVE = nullptr ); |
|
|
void avoidIntersections( const QList<QgsVectorLayer *> &avoidIntersectionsLayers, |
|
|
const QHash<QgsVectorLayer *, QSet<QgsFeatureId> > &ignoreFeatures SIP_PYARGREMOVE = ( QHash<QgsVectorLayer *, QSet<QgsFeatureId> >() ) ); |
|
|