ThrowTheSwitch / CMock

CMock - Mock/stub generator for C
http://throwtheswitch.org
MIT License
653 stars 269 forks source link

ReturnArrayThruPtr needs parenthesis around parameters #415

Closed gorogbalazs closed 3 months ago

gorogbalazs commented 1 year ago

Just found an unexpected behavior (or bug?). Not sure whether it's reported (haven't found anything) or whether it is already solved.

I have a call like this: Wrapper_SpiTransfer_ReturnArrayThruPtr_bufRead(rspData, 5-1);

It expands to something like this: 2022-12-15_16h34_38

mvandervoord commented 1 year ago

This is definitely a bug. Thanks for identifying it!

mvandervoord commented 3 months ago

:) Thanks! This is fixed.