Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use withFunctionPointerParameter #1753

Open
mundodisco8 opened this issue May 22, 2023 · 0 comments
Open

How to use withFunctionPointerParameter #1753

mundodisco8 opened this issue May 22, 2023 · 0 comments

Comments

@mundodisco8
Copy link

Hi!

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant