Remove the unused BUFFER macro

This commit is contained in:
Behdad Esfahbod 2010-05-14 21:41:04 -04:00
parent 7e53ebe478
commit 22f668eb9a
4 changed files with 0 additions and 23 deletions

View File

@ -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 */

View File

@ -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))

View File

@ -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))

View File

@ -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);