File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ sub fix_annotations {
253
253
}
254
254
# see https://regex101.com/r/5iNptO/4
255
255
$line =~ s / (?<coma>, +)?(const )?(\w +)(\< (?>[^<>]|(?4))*\> )?\s +[\w &*]+\s +SIP_PYARGREMOVE( = [^()]*(\(\s *(?:[^()]++|(?6))*\s *\) )?)?(?(<coma>)|,?)// g ;
256
+ $line =~ s /\(\s +\) / ()/ ;
256
257
}
257
258
$line =~ s / SIP_FORCE// ;
258
259
return $line ;
Original file line number Diff line number Diff line change @@ -304,15 +304,15 @@ Mulitline body
304
304
void combinedAnnotations() /Factory,PyName=otherName/;
305
305
void multiAnnotationArg( SomeClass **object /Out,TransferBack/, int &another /Out/ );
306
306
307
- void simple( );
307
+ void simple();
308
308
%Docstring
309
309
remove argument
310
310
%End
311
311
void method( );
312
312
void test( );
313
313
void avoidIntersections( const QList<QgsVectorLayer *> &avoidIntersectionsLayers );
314
314
315
- void position( );
315
+ void position();
316
316
void position( bool keep );
317
317
void position( bool keep, bool keep );
318
318
void position( bool keep );
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ class CORE_EXPORT QgsSipifyHeader : public QtClass<QVariant>, private Ui::QgsBas
333
333
334
334
// ! remove argument
335
335
void simple ( bool test SIP_PYARGREMOVE );
336
- void method ( bool myArg SIP_PYARGREMOVE = test );
336
+ void method ( bool myArg SIP_PYARGREMOVE = test );
337
337
void test ( QgsMapLayer *vl SIP_PYARGREMOVE = nullptr );
338
338
void avoidIntersections ( const QList<QgsVectorLayer *> &avoidIntersectionsLayers,
339
339
const QHash<QgsVectorLayer *, QSet<QgsFeatureId> > &ignoreFeatures SIP_PYARGREMOVE = ( QHash<QgsVectorLayer *, QSet<QgsFeatureId> >() ) );
You can’t perform that action at this time.
0 commit comments