[MPlayer-dev-eng] uncrustify config
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat Feb 13 23:59:09 CET 2016
On Sat, Feb 13, 2016 at 09:44:50PM +0100, Ingo Brückl wrote:
> Reimar,
>
> do we prefer
>
> typedef void * (*foo)(void);
>
> or
>
> typedef void *(*foo)(void);
>
> Uncrustify needs the typedef to recognize the function pointer
> (necessary anyway?). Without typedef it outputs the 2nd one
> (i.e. removes spaces between pointer star and parenthesis).
I don't think I've ever though about that.
Function pointers look horrible either way...
Looking at gl_common.h indicates no real consistency.
I'd probably vote for the second if I had to decide.
More information about the MPlayer-dev-eng
mailing list