malsyned / pfstest

Professional Firmware Services Unit Test Framework
Other
1 stars 0 forks source link

automock treats function pointers like pointers to objects #32

Open malsyned opened 6 years ago

malsyned commented 6 years ago

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.