[PATCH 1/1] uncrustify.cfg: added 3 new types for uncrustify to know

Tomi Ollila tomi.ollila at iki.fi
Fri Nov 2 07:07:06 PDT 2012


Added FILE, notmuch_show_params_t and sprinter_t to be
types when uncrustifying sources. This affect spacing
when uncrustify is deciding for type declaration instead
of binary multiplication operation.
---
 devel/uncrustify.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/uncrustify.cfg b/devel/uncrustify.cfg
index d24cf6e..6a8769c 100644
--- a/devel/uncrustify.cfg
+++ b/devel/uncrustify.cfg
@@ -62,8 +62,10 @@ nl_after_struct = 0
 # uncrustify doesn't know whether a 'token' is part of pointer type
 # or left operand of a binary multiplication operation.
 
+type FILE
 type GMimeObject GMimeCryptoContext GMimeCipherContext
-type mime_node_t notmuch_message_t
+type mime_node_t notmuch_message_t notmuch_show_params_t
+type sprinter_t
 
 #
 # inter-character spacing options
-- 
1.8.0



More information about the notmuch mailing list