Re: [MPlayer-dev-eng] uncrustify config
- Date: Sat, 13 Feb 2016 23:59:09 +0100
- From: Reimar Döffinger <Reimar.Doeffinger@xxxxxx>
- Subject: Re: [MPlayer-dev-eng] uncrustify config
On Sat, Feb 13, 2016 at 09:44:50PM +0100, Ingo Brückl wrote:
> do we prefer
> typedef void * (*foo)(void);
> 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.
MPlayer-dev-eng mailing list