Skip to content
Permalink
Browse files

[pyqgis] move constructor docstring after the class docstring

  • Loading branch information
3nids committed Mar 22, 2021
1 parent 97dced9 commit 8d7ec8b69bebc5d6e91e28eebf9da3379ceb5aa2
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/sipify.pl
@@ -466,7 +466,7 @@ sub fix_annotations {
$line =~ s/\bSIP_NODEFAULTCTORS\b/\/NoDefaultCtors\//;
$line =~ s/\bSIP_OUT\b/\/Out\//g;
$line =~ s/\bSIP_RELEASEGIL\b/\/ReleaseGIL\//;
$line =~ s/\bSIP_HOLDGIL\b/\/HoldGIL\//;
$line =~ s/\bSIP_HOLDGIL\b/\/HoldGIL\//;
$line =~ s/\bSIP_TRANSFER\b/\/Transfer\//g;
$line =~ s/\bSIP_TRANSFERBACK\b/\/TransferBack\//;
$line =~ s/\bSIP_TRANSFERTHIS\b/\/TransferThis\//;
@@ -899,7 +899,7 @@ sub detect_non_method_member{

$LINE .= "\n{\n";
if ( $COMMENT !~ m/^\s*$/ ){
$LINE .= "%Docstring\n$COMMENT\n%End\n";
$LINE .= "%Docstring(signature=\"appended\")\n$COMMENT\n%End\n";
}
$LINE .= "\n%TypeHeaderCode\n#include \"" . basename($headerfile) . "\"";
# for template based inheritance, add a typedef to define the base type

0 comments on commit 8d7ec8b

Please sign in to comment.