On 26/12/2007, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> Hi Mikkel,
>
> On Mon, 2007-12-24 at 14:41 +0100, Mikkel Kamstrup Erlandsen wrote:
> > Here's a patch to make the generated C code follow the GLib style more 
> > closely.
> >
> > What it does is to put newlines after the method return type and
> > before the code block. Method decls are not affected. Output looks
> > like this:
>
> Thanks for the patch. Unfortunately this breaks line numbering for
> debugging, i.e. we'd need multiple #line directives if we split the C
> code we output. I don't consider minor stylistic improvements very
> important right now.


That's ok. I use it because I wanted to use Vala to write some stub C
code and then tweak things myself. Ie using Vala as a glorified code
generator and it eased up my workflow using this tweak.

Anyways thanks for Vala! I've put it to the first real spin and I love it!

Cheers,
Mikkel
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to