more dTHX optimizations in /win32/*
authorDaniel Dragan <bulk88@hotmail.com>
Sat, 10 Nov 2012 02:58:22 +0000 (21:58 -0500)
committerSteve Hay <steve.m.hay@googlemail.com>
Wed, 5 Dec 2012 08:21:27 +0000 (08:21 +0000)
commit04a2c3d983bd747e36e82c5d52cd4af7878e8d9f
tree1c5f412cce82a722ad6f30321876857205bf75ef
parent3db6cbfca39da94d152d3e860e2aa79b9c6bb161
more dTHX optimizations in /win32/*

In some places, where there is a higher risk of a NULL my_perl happening
at an unknown point in the future IMO new scopes were created. In other
places dTHXa(NULL) and aTHXa were used to avoid large whitespace changes.
win32_rename and win32_getenv I determined would have no benefit from
changing them. More context passing was added to static funcs called by
win32_kill and win32_waitpid removing the need to move the dTHXs in the
2 funcs.
win32/win32.c
win32/win32sck.c
win32/wince.c