See, I have two functions, one to get a char, and other to put a char like this.
void function_get_char (input);
void function_put_char (output);
I have a function pointer to these functions like this.
void (*function_operators[])(input_or_output) = {function_get_char, function_put_char};
I need of, when I'll call my function_operator, I want to don't need to specify if I want to get it in of output or of my input.
Do I need to build my function pointer like this?
void (*function_operators[])(input_or_output) = {function_get_char(input), function_put_char(output)};
How can I do it? Thanks in advance.
NOTE
input or output parameter, is not run_time parameter.