lib: Introduce macros for bit operations
authorAustin Clements <aclements@csail.mit.edu>
Fri, 24 Oct 2014 12:49:15 +0000 (08:49 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 25 Oct 2014 17:26:43 +0000 (19:26 +0200)
commitd99491f27440d83f937131a861ca547bffb8bdf1
treecfe2a017a4c2a6d6668413eabea1a8aadbae6f9d
parentd9f5da00bb7707f3244654b4e44df2284e3634be
lib: Introduce macros for bit operations

These macros help clarify basic bit-twiddling code and are written to
be robust against C undefined behavior of shift operators.
lib/message.cc
lib/notmuch-private.h