Skip to content

How to use withFunctionPointerParameter #1753

Open

Description

@mundodisco8

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions