Replace simple macros with inline functions for better type safety
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 27 Apr 2011 05:49:03 +0000 (01:49 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 27 Apr 2011 06:07:46 +0000 (02:07 -0400)
commit153142dac8dd9abaf164bb88af07c600c17fc3a1
tree65e9dec4f5943d48407d763eeadb7c1ba51891c3
parent40a9b8154f929947f4693bf90c64301afa407c3f
Replace simple macros with inline functions for better type safety

Now that we use C++ for all source code, lets benefit from it!

The hb_be_int16/32_get/put/eq() macros grow code size if replaced with
inline functions, so leave them as is.
src/hb-open-type-private.hh
src/hb-private.hh