From: Behdad Esfahbod Date: Sat, 15 May 2010 01:41:04 +0000 (-0400) Subject: Remove the unused BUFFER macro X-Git-Tag: submit/2.0alpha-wayland/20121130.004132~9^2~654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22f668eb9ad5f62d9fcd2e0c826ea78977687e5c;p=profile%2Fivi%2Forg.tizen.video-player.git Remove the unused BUFFER macro --- diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh index 03cc697..fabfbd4 100644 --- a/src/hb-buffer-private.hh +++ b/src/hb-buffer-private.hh @@ -62,7 +62,6 @@ ASSERT_STATIC (sizeof (hb_glyph_position_t) == sizeof (hb_internal_glyph_positio ASSERT_STATIC (sizeof (hb_glyph_info_t) == sizeof (hb_glyph_position_t)); - HB_INTERNAL void _hb_buffer_swap (hb_buffer_t *buffer); @@ -150,11 +149,6 @@ struct _hb_buffer_t { }; - -#ifndef BUFFER -#define BUFFER buffer -#endif - HB_END_DECLS #endif /* HB_BUFFER_PRIVATE_H */ diff --git a/src/hb-ot-layout-gpos-private.hh b/src/hb-ot-layout-gpos-private.hh index 72817a0..e021b09 100644 --- a/src/hb-ot-layout-gpos-private.hh +++ b/src/hb-ot-layout-gpos-private.hh @@ -30,10 +30,6 @@ #include "hb-ot-layout-gsubgpos-private.hh" -#undef BUFFER -#define BUFFER c->buffer - - #define HB_OT_LAYOUT_GPOS_NO_LAST ((unsigned int) -1) /* Shared Tables: ValueRecord, Anchor Table, and MarkArray */ @@ -1531,8 +1527,6 @@ struct PosLookup : Lookup hb_buffer_t *buffer, hb_mask_t mask) const { -#undef BUFFER -#define BUFFER buffer bool ret = false; if (unlikely (!buffer->in_length)) diff --git a/src/hb-ot-layout-gsub-private.hh b/src/hb-ot-layout-gsub-private.hh index 75ce90e..59c498e 100644 --- a/src/hb-ot-layout-gsub-private.hh +++ b/src/hb-ot-layout-gsub-private.hh @@ -30,10 +30,6 @@ #include "hb-ot-layout-gsubgpos-private.hh" -#undef BUFFER -#define BUFFER c->buffer - - struct SingleSubstFormat1 { friend struct SingleSubst; @@ -822,8 +818,6 @@ struct SubstLookup : Lookup hb_buffer_t *buffer, hb_mask_t mask) const { -#undef BUFFER -#define BUFFER buffer bool ret = false; if (unlikely (!buffer->in_length)) diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index 4957bfb..f11080e 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -52,11 +52,6 @@ struct hb_apply_context_t - -#undef BUFFER -#define BUFFER c->buffer - - typedef bool (*match_func_t) (hb_codepoint_t glyph_id, const USHORT &value, const void *data); typedef bool (*apply_lookup_func_t) (hb_apply_context_t *c, unsigned int lookup_index);