Re: indentation of c code



ma., 18.08.2008 kl. 08.52 +0200, skrev BJörn Lindqvist:
> 2008/8/17 daniel g. siegel <dgsiegel gmail com>:
> > hi all!
> >
> > i just wanted to know if someone out there has already an option file or
> > a small script for gnu indent to indent c code to the "gnome standard"?
> 
> There is no GNOME standard for indenting C code -- every project use
> their own indentation style (unfortunately). But to reformat a file to
> an indentation style many projects use, you can just run "indent"
> without any arguments.
> 
Once upon a time there was this:

http://developer.gnome.org/doc/guides/programming-guidelines/code-style.html

So, basically GNOME was supports to be using the linux kernel coding
style to begin with, but that has probably been watered out by now.

Cheers
Kjartan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]