bug-indent
[Top][All Lists]
Advanced

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

indenting GLib attributes


From: Mike Gran
Subject: indenting GLib attributes
Date: Fri, 3 Apr 2020 08:24:48 -0700

Hello all-
I would like to be able to use GNU indent with some header files that
have GLib-style attribute defines.  GLib defines macros like these

#define G_GNUC_PURE __attribute__((__pure__))
#define G_GNUC_MALLOC __attribute__((__malloc__))
#define G_GNUC_NO_INLINE __attribute__((noinline))
and similarly for printf, noreturn, const, unused, etc

Would it be easy to make that sort of mod? Any hints?

Thanks,
Mike Gran


reply via email to

[Prev in Thread] Current Thread [Next in Thread]