diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-24 23:58:06 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-25 00:31:13 -0700 |
commit | 28dd86af05688e96f7da8297099230b77d34f17a (patch) | |
tree | 63e6a62d0045c266415757fea96421c05e3a4005 /notmuch-private.h | |
parent | 9ec68aa9c4694bdf1b948bb93299e0270ec071ae (diff) |
Implement notmuch_tags_t on top of new notmuch_terms_t
The generic notmuch_terms_t iterator should provide support for
notmuch_thread_ids_t when we switch as well, (And it would be
interesting to see if we could reasonably make this support a
PostingIterator too. Time will tell.)
Diffstat (limited to 'notmuch-private.h')
-rw-r--r-- | notmuch-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-private.h b/notmuch-private.h index 53e99bd..602d1a9 100644 --- a/notmuch-private.h +++ b/notmuch-private.h @@ -45,6 +45,8 @@ NOTMUCH_BEGIN_DECLS #include "xutil.h" +#define COMPILE_TIME_ASSERT(pred) ((void)sizeof(char[1 - 2*!(pred)])) + /* Thanks to Andrew Tridgell's (SAMBA's) talloc for this definition of * unlikely. The talloc source code comes to us via the GNU LGPL v. 3. */ |