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 9CCE4429E2F for ; Tue, 12 Jul 2011 07:00:16 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 4I79jk5t9a8R for ; Tue, 12 Jul 2011 07:00:15 -0700 (PDT) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1F6CE429E27 for ; Tue, 12 Jul 2011 07:00:15 -0700 (PDT) Received: by mail-ey0-f181.google.com with SMTP id 5so1740488eyh.26 for ; Tue, 12 Jul 2011 07:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=nPZ4dPmHuBtrQCWUhMOY6YD4gi+2c566Wl6VS7TyvCM=; b=H8j3o9fxZNXY7ieBA9z3U2gAq8Wq6F7KQiixFmteHg5ulIZe+MMcjpOUA+mGbcwGnZ ByVUuq2zFEtH2Uagl1k85DEN15gIn/JkeUS5meqq71hT56VeFppLfQbwcj8+ocyfbqKo 3AZfuvvojEXDIEnX6FlzR2kVQN0IpVDqq3S6g= Received: by 10.213.16.83 with SMTP id n19mr34523eba.66.1310479214677; Tue, 12 Jul 2011 07:00:14 -0700 (PDT) Received: from osdor.le-roi-du-couscous.fr ([78.222.14.116]) by mx.google.com with ESMTPS id z49sm1538190eef.33.2011.07.12.07.00.12 (version=SSLv3 cipher=OTHER); Tue, 12 Jul 2011 07:00:13 -0700 (PDT) Sender: Louis Rilling From: Louis Rilling To: Carl Worth Subject: [PATCH 1/3] lib: Kill last usage of C++ type bool Date: Tue, 12 Jul 2011 15:59:48 +0200 Message-Id: <1310479190-6973-2-git-send-email-l.rilling@av7.net> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1310479190-6973-1-git-send-email-l.rilling@av7.net> References: <1310479190-6973-1-git-send-email-l.rilling@av7.net> Cc: notmuch@notmuchmail.org, Austin Clements 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: Tue, 12 Jul 2011 14:00:16 -0000 Signed-off-by: Louis Rilling --- lib/message.cc | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/message.cc b/lib/message.cc index d993cde..cf651e5 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -49,16 +49,16 @@ struct visible _notmuch_message { struct maildir_flag_tag { char flag; const char *tag; - bool inverse; + notmuch_bool_t inverse; }; /* ASCII ordered table of Maildir flags and associated tags */ static struct maildir_flag_tag flag2tag[] = { - { 'D', "draft", false}, - { 'F', "flagged", false}, - { 'P', "passed", false}, - { 'R', "replied", false}, - { 'S', "unread", true } + { 'D', "draft", FALSE}, + { 'F', "flagged", FALSE}, + { 'P', "passed", FALSE}, + { 'R', "replied", FALSE}, + { 'S', "unread", TRUE } }; /* We end up having to call the destructor explicitly because we had -- 1.7.2.5