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

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

Date: Fri, 2 Nov 2012 16:07:06 +0200

To: notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: Tomi Ollila


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


Thread: