Is is possible to create a lookup table of function pointers to functions with variable numbers/types of arguments?
If not, can anyone recommend a solution for my problem? I have a list of commands corresponding to functions with variable types/numbers of arguments. Some don't take any arguments. I was planning to use a LUT of function pointers; is there any alternative apart from a long list of if/else statements?
Please note I am restricted to using ansi C library functions (embedded project).
Any help greatly appreciated.
Edited 6 Years Ago by ftl25: n/a