Is it possible to pass variable type as part of a function parameter, e.g.:
void foo(varType type) { // Cast to global static unsigned char bar; bar =
I don't see how you could do this in the general case, given that C is a statically typed language.
The compiler needs to know at compile time what the type of type * is in order to be able to generate the reference to ->member.
type *
->member