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

automock treats function pointers like pointers to objects #32

Open
malsyned opened this issue Oct 8, 2017 · 0 comments
Open

automock treats function pointers like pointers to objects #32

malsyned opened this issue Oct 8, 2017 · 0 comments

Comments

@malsyned
Copy link
Owner

malsyned commented Oct 8, 2017

A function pointer is not a pointer to an object, and so isn't guaranteed to be convertable to a void* and back again without loss of information. automock should notice pointers to functions and treat them as opaque data instead of pointers.

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