From ac1a9dea6ec4bc39d4b24b7795c2fb32abf72353 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Fri, 2 Nov 2012 16:07:06 +0200 Subject: [PATCH] [PATCH 1/1] uncrustify.cfg: added 3 new types for uncrustify to know --- c0/d2497322d32dfda3a99ba1a8a51985e6122cdc | 69 +++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 c0/d2497322d32dfda3a99ba1a8a51985e6122cdc diff --git a/c0/d2497322d32dfda3a99ba1a8a51985e6122cdc b/c0/d2497322d32dfda3a99ba1a8a51985e6122cdc new file mode 100644 index 000000000..60547e626 --- /dev/null +++ b/c0/d2497322d32dfda3a99ba1a8a51985e6122cdc @@ -0,0 +1,69 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 09E91431FBC + for ; Fri, 2 Nov 2012 07:07:09 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id xWUx-5BpEKXB for ; + Fri, 2 Nov 2012 07:07:08 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id EBE74431FAE + for ; Fri, 2 Nov 2012 07:07:07 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 0AB5110007E; Fri, 2 Nov 2012 16:07:09 +0200 (EET) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Subject: [PATCH 1/1] uncrustify.cfg: added 3 new types for uncrustify to know +Date: Fri, 2 Nov 2012 16:07:06 +0200 +Message-Id: <1351865226-916-1-git-send-email-tomi.ollila@iki.fi> +X-Mailer: git-send-email 1.8.0 +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 02 Nov 2012 14:07:09 -0000 + +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 + -- 2.26.2