I must cast a function pointer from a C++ class to hand over the function as parameter of a plain C function that only excpected pointers of void* and not Foo::void*.
Any ideas how to cast it?
typedef void* (Foo::*from) (void*) ;
typedef void* (*to)(void *);
The C++ function has the following signatur:
void* Foo::bar(void *ptr)
Best regards