Open malsyned opened 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.
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.