Skip to content

Commit e1c3588

Browse files
alexbruy3nids
authored andcommittedMay 4, 2017
[sipify] remove space before ModuleTypeHeader
also update network analysis SIP files
1 parent f626613 commit e1c3588

File tree

5 files changed

+53
-5
lines changed

5 files changed

+53
-5
lines changed
 

‎python/analysis/network/qgsgraphbuilderinterface.sip

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,23 @@
99

1010

1111

12-
% ModuleHeaderCode
12+
%ModuleHeaderCode
13+
%Docstring
14+
*************************************************************************
15+
qgsgraphbuilderinterface.h
16+
--------------------------------------
17+
Date : 2010-10-22
18+
Copyright : (C) 2010 by Yakushev Sergey
19+
Email : YakushevS <at> list.ru
20+
***************************************************************************
21+
*
22+
This program is free software; you can redistribute it and/or modify *
23+
it under the terms of the GNU General Public License as published by *
24+
the Free Software Foundation; either version 2 of the License, or *
25+
(at your option) any later version. *
26+
*
27+
**************************************************************************
28+
%End
1329
#include <qgsgraphbuilder.h>
1430
%End
1531

‎python/analysis/network/qgsgraphdirector.sip

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,23 @@
1010

1111

1212

13-
% ModuleHeaderCode
13+
%ModuleHeaderCode
14+
%Docstring
15+
*************************************************************************
16+
qgsgraphdirector.h
17+
--------------------------------------
18+
Date : 2010-10-18
19+
Copyright : (C) 2010 by Yakushev Sergey
20+
Email : YakushevS <at> list.ru
21+
***************************************************************************
22+
*
23+
This program is free software; you can redistribute it and/or modify *
24+
it under the terms of the GNU General Public License as published by *
25+
the Free Software Foundation; either version 2 of the License, or *
26+
(at your option) any later version. *
27+
*
28+
**************************************************************************
29+
%End
1430
#include <qgsvectorlayerdirector.h>
1531
%End
1632

‎python/analysis/network/qgsnetworkstrategy.sip

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,23 @@
99

1010

1111

12-
% ModuleHeaderCode
12+
%ModuleHeaderCode
13+
%Docstring
14+
*************************************************************************
15+
qgsnetworkstrategy.h
16+
--------------------------------------
17+
Date : 2011-04-01
18+
Copyright : (C) 2010 by Yakushev Sergey
19+
Email : YakushevS <at> list.ru
20+
***************************************************************************
21+
*
22+
This program is free software; you can redistribute it and/or modify *
23+
it under the terms of the GNU General Public License as published by *
24+
the Free Software Foundation; either version 2 of the License, or *
25+
(at your option) any later version. *
26+
*
27+
**************************************************************************
28+
%End
1329
#include <qgsnetworkspeedstrategy.h>
1430
#include <qgsnetworkdistancestrategy.h>
1531
%End

‎scripts/sipify.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ sub remove_constructor_or_body {
604604
$line =~ s/SIP_FORCE//;
605605

606606
# fix astyle placing space after % character
607-
$line =~ s/\s*% (MappedType|TypeCode|TypeHeaderCode|ConvertFromTypeCode|ConvertToTypeCode|MethodCode|End)/%$1/;
607+
$line =~ s/\s*% (MappedType|TypeCode|TypeHeaderCode|ModuleHeaderCode|ConvertFromTypeCode|ConvertToTypeCode|MethodCode|End)/%$1/;
608608
$line =~ s/\/\s+GetWrapper\s+\//\/GetWrapper\//;
609609

610610
push @output, dbg("NOR")."$line\n";

‎tests/scripts/sipifyheader.expected.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111

12-
% ModuleHeaderCode
12+
%ModuleHeaderCode
1313
#include <qgsnetworkspeedstrategy.h>
1414
#include <qgsnetworkdistancestrategy.h>
1515
%End

0 commit comments

Comments
 (0)
Please sign in to comment.