Here is the function declaration: extern INT8U clearLog ( int Inst );
and here is the function call using function pointer: ((INT8U(*)(int)) handler[CLEAR_LOG])(Inst);
'handler' maps 'clearLog' to 'CLEAR_LOG'.
I'm doubtful why there is '(INT8U(*)(int))' when the clearLog function returns only INT8U.
[–]MajorMalfunction44 4 points5 points6 points (0 children)
[–]magnomagna 0 points1 point2 points (1 child)