|
@@ -1,9 +1,9 @@ |
|
|
#!/bin/sh |
|
|
#!/bin/sh |
|
|
ed -s asio.h <<< $'g/unsigned long/s//ULONG/g\nw\nq' |
|
|
|
|
|
ed -s asio.h <<< $'g/long long int/s//LONGLONG/g\nw\nq' |
|
|
|
|
|
ed -s asio.h <<< $'g/long int/s//LONG/g\nw\nq' |
|
|
|
|
|
ed -s asio.h <<< $'g/long/s//LONG/g\nw\nq' |
|
|
|
|
|
ed -s asio.h <<< $'g/(\*bufferSwitch)/s//(CALLBACK *bufferSwitch)/g\nw\nq' |
|
|
|
|
|
ed -s asio.h <<< $'g/(\*sampleRateDidChange)/s//(CALLBACK *sampleRateDidChange)/g\nw\nq' |
|
|
|
|
|
ed -s asio.h <<< $'g/(\*asioMessage)/s//(CALLBACK *asioMessage)/g\nw\nq' |
|
|
|
|
|
ed -s asio.h <<< $'g/(\*bufferSwitchTimeInfo)/s//(CALLBACK *bufferSwitchTimeInfo)/g\nw\nq' |
|
|
|
|
|
|
|
|
sed -i asio.h -e 's/unsigned long/ULONG/g' |
|
|
|
|
|
sed -i asio.h -e 's/long long int/LONGLONG/g' |
|
|
|
|
|
sed -i asio.h -e 's/long int/LONG/g' |
|
|
|
|
|
sed -i asio.h -e 's/long/LONG/g' |
|
|
|
|
|
sed -i asio.h -e 's/(\*bufferSwitch)/(CALLBACK *bufferSwitch)/g' |
|
|
|
|
|
sed -i asio.h -e 's/(\*sampleRateDidChange)/(CALLBACK *sampleRateDidChange)/g' |
|
|
|
|
|
sed -i asio.h -e 's/(\*asioMessage)/(CALLBACK *asioMessage)/g' |
|
|
|
|
|
sed -i asio.h -e 's/(\*bufferSwitchTimeInfo)/(CALLBACK *bufferSwitchTimeInfo)/g' |