mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
Fix typos
This commit is contained in:
parent
649e3c2b88
commit
8a44161b46
@ -36,7 +36,7 @@ for file in $*; do
|
|||||||
echo ""
|
echo ""
|
||||||
case $n in
|
case $n in
|
||||||
g)
|
g)
|
||||||
echo "Genreating the SIP file ..."
|
echo "Generating the SIP file ..."
|
||||||
${DIR}/scripts/sipify.pl ${DIR}/$header > ${DIR}/python/$d/$f.sip
|
${DIR}/scripts/sipify.pl ${DIR}/$header > ${DIR}/python/$d/$f.sip
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
@ -175,7 +175,7 @@ while(!eof $header){
|
|||||||
if ( $line =~ m/^(\s*class)\s*([A-Z]+_EXPORT)?(\s+\w+)(\s*\:.*)?$/ ){
|
if ( $line =~ m/^(\s*class)\s*([A-Z]+_EXPORT)?(\s+\w+)(\s*\:.*)?$/ ){
|
||||||
do {no warnings 'uninitialized';
|
do {no warnings 'uninitialized';
|
||||||
my $classname = $3;
|
my $classname = $3;
|
||||||
$line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class$classname in $headerfile shoud be exported with appropriate [LIB]_EXPORT macro. If this should not be available in python, wrap it in a `#ifndef SIP_RUN` block.";
|
$line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class$classname in $headerfile should be exported with appropriate [LIB]_EXPORT macro. If this should not be available in python, wrap it in a `#ifndef SIP_RUN` block.";
|
||||||
};
|
};
|
||||||
$line = "$1$3";
|
$line = "$1$3";
|
||||||
# Inheritance
|
# Inheritance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user