I would not use a linked-list of function pointers. An Array of function pointers might be best. And if in fact you are just emmulating OOP then I'd suggest doing it the C++ way where you know the...
Type: Posts; User: iMalc
I would not use a linked-list of function pointers. An Array of function pointers might be best. And if in fact you are just emmulating OOP then I'd suggest doing it the C++ way where you know the...
This should suffice as a generic function pointer if that's what you are asking.
typedef void (*voidFunc)(void);
Of course if you want to store a function pointer to something with a different...