int Foo(int x) {
}
int Thing::Foo(int x) {
}
I'm trying to call a function that expects a void* InCallback, when I call it as Function(Foo) it does work.
When I try to call it Function(Thing::Foo) i get this error:
argument of type "int (Thing::*)(int x)" is incompatible with parameter of type "void *"
Is possible somehow to call the class function?