You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling with the withFunctionPointerParameter() function in CPPUMock. My callbacks have a different type to void(*)(), so the compiler will complain they are the wrong type, and casting a function pointer seems a bit... "wrong"
I couldn't find any examples of it, nor any other form of documentation, for the matter, could someone show me how to use it?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi!
I'm struggling with the
withFunctionPointerParameter()
function in CPPUMock. My callbacks have a different type tovoid(*)()
, so the compiler will complain they are the wrong type, and casting a function pointer seems a bit... "wrong"I couldn't find any examples of it, nor any other form of documentation, for the matter, could someone show me how to use it?
Thanks!
The text was updated successfully, but these errors were encountered: