TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

Guideline:  8.6.3#3Checked automatically with code checker

Synopsis:Pointers to functions should be declared and indirected using a typedef.
Language:C
Severity Level:5
Category:DECLARATIONS


Description:
Raw declarations of pointers to functions are notoriously difficult to read.

Example:

typedef int COMPARE_IT( int i, int j )
...
void a_func( int stat, COMPARE_IT *callback );