Re: uncrustify config

Reimar Döffinger <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
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.
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.