Use bit tricks for HB_DIRECTION_IS_*
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 12 May 2010 22:29:25 +0000 (18:29 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 12 May 2010 22:29:25 +0000 (18:29 -0400)
commit1ce4dc95dbb28842085342aea4f9d12cbe9671a9
tree497c573d032ff8278df529c5bb26f772ae6630ee
parent22da7fd94d6318c52df69d70470a85464ffc533d
Use bit tricks for HB_DIRECTION_IS_*

We already depend on the exact values of the direction enum
in HB_DIRECTION_REVERSE(), so we may as well use that.
src/hb-common.h