summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-21 02:15:39 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-21 02:15:39 -0400
commit2c9fd2adce5a6a9dcd62c874bd64613ea68d8d9b (patch)
treeecec6f953cebc74004f7ae7a88bcd7928f5ba071
parent7a52f281178867379adb6e6c6fb0022102f75d17 (diff)
Remove unused macro
-rw-r--r--src/hb-open-type-private.hh15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh
index 2a19755..ec65ba2 100644
--- a/src/hb-open-type-private.hh
+++ b/src/hb-open-type-private.hh
@@ -338,21 +338,6 @@ struct Sanitizer
* Int types
*/
-/* TODO On machines that allow unaligned access, use this version. */
-#define _DEFINE_INT_TYPE1_UNALIGNED(NAME, TYPE, BIG_ENDIAN, BYTES) \
- struct NAME \
- { \
- inline NAME& set (TYPE i) { (TYPE&) v = BIG_ENDIAN (i); return *this; } \
- inline operator TYPE(void) const { return BIG_ENDIAN ((TYPE&) v); } \
- inline bool operator == (const NAME &o) const { return (TYPE&) v == (TYPE&) o.v; } \
- inline bool sanitize (SANITIZE_ARG_DEF) { \
- TRACE_SANITIZE (); \
- return SANITIZE_SELF (); \
- } \
- private: unsigned char v[BYTES]; \
- }; \
- ASSERT_SIZE (NAME, BYTES)
-
#define DEFINE_INT_TYPE1(NAME, TYPE, BIG_ENDIAN, BYTES) \
struct NAME \
{ \