mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix typos
This commit is contained in:
parent
649e3c2b88
commit
8a44161b46
@ -36,7 +36,7 @@ for file in $*; do
|
||||
echo ""
|
||||
case $n in
|
||||
g)
|
||||
echo "Genreating the SIP file ..."
|
||||
echo "Generating the SIP file ..."
|
||||
${DIR}/scripts/sipify.pl ${DIR}/$header > ${DIR}/python/$d/$f.sip
|
||||
break
|
||||
;;
|
||||
|
@ -175,7 +175,7 @@ while(!eof $header){
|
||||
if ( $line =~ m/^(\s*class)\s*([A-Z]+_EXPORT)?(\s+\w+)(\s*\:.*)?$/ ){
|
||||
do {no warnings 'uninitialized';
|
||||
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";
|
||||
# Inheritance
|
||||
|
Loading…
x
Reference in New Issue
Block a user