Re: Tool to rename a GObject written in C?

Hi Sébastien,

On Thu, Sep 10, 2015 at 10:52 PM, Sébastien Wilmet <swilmet gnome org> 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?

A few years ago, LWN did some coverage of a semantic
patching/indentation project for C called Coccinelle:

I think this does exactly what you are looking for (and more).


~Nirbheek Chauhan

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