|
|
|
@ -37,7 +37,7 @@ |
|
|
|
|
|
|
|
|
|
#if HB_DEBUG_APPLY |
|
|
|
|
#include <stdio.h> |
|
|
|
|
#define TRACE_APPLY_ARG_DEF , unsigned int apply_depth |
|
|
|
|
#define TRACE_APPLY_ARG_DEF , unsigned int apply_depth HB_GNUC_UNUSED |
|
|
|
|
#define TRACE_APPLY_ARG , apply_depth + 1 |
|
|
|
|
#define TRACE_APPLY_ARG_INIT , 1 |
|
|
|
|
#define TRACE_APPLY() \ |
|
|
|
@ -60,7 +60,7 @@ |
|
|
|
|
hb_buffer_t *buffer, \
|
|
|
|
|
unsigned int context_length HB_GNUC_UNUSED, \
|
|
|
|
|
unsigned int nesting_level_left HB_GNUC_UNUSED, \
|
|
|
|
|
unsigned int lookup_flag, \
|
|
|
|
|
unsigned int lookup_flag HB_GNUC_UNUSED, \
|
|
|
|
|
unsigned int property HB_GNUC_UNUSED /* propety of first glyph */ \
|
|
|
|
|
TRACE_APPLY_ARG_DEF |
|
|
|
|
#define APPLY_ARG \ |
|
|
|
@ -91,7 +91,7 @@ struct ContextFuncs |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static inline bool match_glyph (hb_codepoint_t glyph_id, const USHORT &value, char *data) |
|
|
|
|
static inline bool match_glyph (hb_codepoint_t glyph_id, const USHORT &value, char *data HB_GNUC_UNUSED) |
|
|
|
|
{ |
|
|
|
|
return glyph_id == value; |
|
|
|
|
} |
|
|
|
|