unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Louis Rilling <l.rilling@av7.net>
To: Carl Worth <cworth@cworth.org>
Cc: notmuch@notmuchmail.org, Austin Clements <amdragon@MIT.EDU>
Subject: [PATCH 1/3] lib: Kill last usage of C++ type bool
Date: Tue, 12 Jul 2011 15:59:48 +0200	[thread overview]
Message-ID: <1310479190-6973-2-git-send-email-l.rilling@av7.net> (raw)
In-Reply-To: <1310479190-6973-1-git-send-email-l.rilling@av7.net>

Signed-off-by: Louis Rilling <l.rilling@av7.net>
---
 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

  reply	other threads:[~2011-07-12 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12 13:59 [PATCH 0/3 v3] lib: Maildir flags synchronization fixes Louis Rilling
2011-07-12 13:59 ` Louis Rilling [this message]
2011-07-16 18:06   ` [PATCH 1/3] lib: Kill last usage of C++ type bool Felipe Contreras
2011-07-16 18:32     ` Austin Clements
2011-07-12 13:59 ` [PATCH 2/3] tags_to_maildir_flags: Cleanup double assignement Louis Rilling
2011-07-12 13:59 ` [PATCH 3/3] tags_to_maildir_flags: Don't rename if no flags change Louis Rilling
2011-07-14  0:06   ` [PATCH] test: Adding non-maildir tags does not move message from new to cur Michal Sojka
2011-07-14 14:11     ` Louis Rilling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1310479190-6973-2-git-send-email-l.rilling@av7.net \
    --to=l.rilling@av7.net \
    --cc=amdragon@MIT.EDU \
    --cc=cworth@cworth.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).