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 ); |