Navigation Menu

Skip to content

Commit

Permalink
sipdiff also remove nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 7, 2017
1 parent 02c2886 commit 835ffb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/sipdiff
Expand Up @@ -35,6 +35,9 @@ for file in $*; do
# Remove function definition in header
${GP}sed -i -r 's/^(\s*)?(inline )?(void|bool|int|double|Q\w+)(\s+[^ ]*?\(.*?\)( const)?)\s*\{.*?\}$/\1\3\4;/g' $tempfile

# Remove nullptr
${GP}sed -i 's/nullptr/0/g' $tempfile

vimdiff $tempfile python/$d/$f.sip

rm $tempfile
Expand Down

0 comments on commit 835ffb0

Please sign in to comment.