From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8E2D7429E2E for ; Wed, 14 Sep 2011 15:23:47 -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 RMvz6qx61sLc for ; Wed, 14 Sep 2011 15:23:45 -0700 (PDT) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 6B30E429E28 for ; Wed, 14 Sep 2011 15:23:45 -0700 (PDT) Received: by mail-ww0-f45.google.com with SMTP id 36so2235195wwi.2 for ; Wed, 14 Sep 2011 15:23:45 -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=ItH4Lyv7DqaeWdZA2VrIzVRy1NpQzmbguGcuXwpIr0z0AlAXuARmwyPna5LAxPw4Pl mWOnRr1WPC2khrWyuuroEUUtppSRPgYQc7bHc0f3sRvNLGmsClsrEmfO46v+91X3MHJF t3zUPwJAF4yCxdBO3AzSFypZMFjWEDdyiR3Cg= Received: by 10.227.53.212 with SMTP id n20mr363422wbg.58.1316039025005; Wed, 14 Sep 2011 15:23:45 -0700 (PDT) Received: from osdor.le-roi-du-couscous.fr ([78.222.14.116]) by mx.google.com with ESMTPS id h20sm50709wbo.22.2011.09.14.15.23.44 (version=SSLv3 cipher=OTHER); Wed, 14 Sep 2011 15:23:44 -0700 (PDT) Sender: Louis Rilling From: Louis Rilling To: notmuch@notmuchmail.org Subject: [PATCH 1/4] lib: Kill last usage of C++ type bool Date: Thu, 15 Sep 2011 00:23:18 +0200 Message-Id: <1316039001-32602-2-git-send-email-l.rilling@av7.net> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1316039001-32602-1-git-send-email-l.rilling@av7.net> References: <1316039001-32602-1-git-send-email-l.rilling@av7.net> Cc: Michal Sojka , 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: Wed, 14 Sep 2011 22:23:48 -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