Skip to content
Permalink
Browse files

sipdiff also remove nullptr

  • Loading branch information
3nids committed Feb 7, 2017
1 parent 02c2886 commit 835ffb0fb2b30b26929f992f0c8a8e63953d4460
Showing with 3 additions and 0 deletions.
  1. +3 −0 scripts/sipdiff
@@ -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

0 comments on commit 835ffb0

Please sign in to comment.
You can’t perform that action at this time.