I don\'t know how to accomplish this! how to get the function pointer in va_list arguments? thanks so much.
Use a typedef for the function pointer type.