File tree 3 files changed +23
-1
lines changed
3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -659,7 +659,11 @@ sub remove_constructor_or_body {
659
659
$is_override = 0;
660
660
next ;
661
661
}
662
- elsif ( $line =~ m /\/\/ / || $line =~ m /\s *typedef / || $line =~ m /\s *struct / || $line =~ m / operator\[\]\( / ){
662
+ elsif ( $line =~ m /\/\/ / ||
663
+ $line =~ m /\s *typedef / ||
664
+ $line =~ m /\s *struct / ||
665
+ $line =~ m / operator\[\]\( / ||
666
+ $line =~ m / ^\s *% \w +(.*)?$ / ){
663
667
dbg_info(' skipping comment' );
664
668
$comment = ' ' ;
665
669
$return_type = ' ' ;
Original file line number Diff line number Diff line change 9
9
10
10
11
11
12
+ % ModuleHeaderCode
13
+ #include <qgsnetworkspeedstrategy.h>
14
+ #include <qgsnetworkdistancestrategy.h>
15
+ %End
16
+
17
+
18
+
19
+
12
20
13
21
14
22
Original file line number Diff line number Diff line change @@ -16,9 +16,17 @@ email : denis.rouzaud@gmail.com
16
16
#ifndef SIPIFYHEADER_H
17
17
#define SIPIFYHEADER_H
18
18
19
+
19
20
#include " qgis_core.h"
20
21
#include < QtClass>
21
22
23
+ #ifdef SIP_RUN
24
+ % ModuleHeaderCode
25
+ #include < qgsnetworkspeedstrategy.h>
26
+ #include < qgsnetworkdistancestrategy.h>
27
+ % End
28
+ #endif
29
+
22
30
#include " sipifyheader.h"
23
31
24
32
// one shall include qgis.h to use SIP annotations
@@ -27,6 +35,8 @@ email : denis.rouzaud@gmail.com
27
35
class QgsForwardDeclaration ;
28
36
29
37
38
+
39
+
30
40
/* **************************************************************************
31
41
* This is some random block comment that will not be displayed.
32
42
* Block comments shall will placed upon class, method, enum without
You can’t perform that action at this time.
0 commit comments