Skip to content

Commit 835ffb0

Browse files
committed
sipdiff also remove nullptr
1 parent 02c2886 commit 835ffb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/sipdiff

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ for file in $*; do
3535
# Remove function definition in header
3636
${GP}sed -i -r 's/^(\s*)?(inline )?(void|bool|int|double|Q\w+)(\s+[^ ]*?\(.*?\)( const)?)\s*\{.*?\}$/\1\3\4;/g' $tempfile
3737

38+
# Remove nullptr
39+
${GP}sed -i 's/nullptr/0/g' $tempfile
40+
3841
vimdiff $tempfile python/$d/$f.sip
3942

4043
rm $tempfile

0 commit comments

Comments
 (0)