Re: Tool to rename a GObject written in C?

On Thu, 2015-09-10 at 19:22 +0200, Sébastien Wilmet wrote:

Renaming a GObject written in C can be done with some sed substitutions,
but after that the indentation is broken.

Do you know a tool to rename a GObject while still keeping a good
indentation and coding style?


In any case, it should be scriptable, to re-indent a list of files in
one command, for example after changing the namespace of a group of

For function definitions, I've already written a script:

It seems you are re-inventing the good old indent(1) utility.

Germán Poo-Caamaño

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