[gst-devel] gst-indent changes

Benjamin Otte in7y118 at public.uni-hamburg.de
Mon Jul 19 02:30:06 CEST 2004


Hi gang,

I'd like to add "--braces-on-struct-decl-line" to gst-indent. Is that ok?

This is not really what I was after, but indent doesn't seem to be able to
fix my problem.
My problem is that I like this indentation (taken from gstbin.c):

typedef struct
{
  GstElementState pending;
  GstElementStateReturn result;
}
SetKidStateData;

into this:

typedef struct {
  GstElementState pending;
  GstElementStateReturn result;
} SetKidStateData;

Is that somehow possible with indent? I couldn't find a way to make indent
do this.


Benjamin





More information about the gstreamer-devel mailing list