Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
m-kuhn committed Mar 30, 2017
1 parent 649e3c2 commit 8a44161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/sipdiff
Expand Up @@ -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
;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/sipify.pl
Expand Up @@ -175,7 +175,7 @@
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
Expand Down

0 comments on commit 8a44161

Please sign in to comment.