Originally Posted by Gene Poole View Post
Is there some reason why you can't use a dummy parameter in the functions that don't need the extra parameter and just ignore it?
No inevitable reason apart from clean code, I use the mapping function a zillion times in the code and I don't like passing extra parameters which aren't being used.

I mean, I've got a solution, not nice but it works. It was more of an educational question. I really would like to learn how to do this (if it is possible) with function pointers.

Thanks a lot anyway