I wonder how and if it is possible to retrieve the pointer of an overloaded function.
If I have
var MyFunction(var a)
{
return a*a;
}
I can get the pointer to the function by using solely it's name like
void* functionPointer = MyFunction
Though how can I get a pointer to a specific overloaded function like this?
var MyFunction(var a) //I'll call this first function
{
return a*a;
}
var MyFunction(var a, var b) //and this second function
{
return a*b;
}
So how can I get the pointer to the second function now?
Overloaded function are differenciated by their parameters. Though if I give parameters it will execute the function and give the function's return value instead of the pointer to it!
greetings
K-Duke