[ot] Debug get_coverage

This commit is contained in:
Behdad Esfahbod 2014-12-12 20:43:18 -08:00
parent 00f6a8e334
commit 295ef1dd52
1 changed files with 5 additions and 1 deletions

View File

@ -228,10 +228,14 @@ struct hb_collect_glyphs_context_t
#ifndef HB_DEBUG_GET_COVERAGE
#define HB_DEBUG_GET_COVERAGE (HB_DEBUG+0)
#endif
struct hb_get_coverage_context_t
{
inline const char *get_name (void) { return "GET_COVERAGE"; }
static const unsigned int max_debug_depth = 0;
static const unsigned int max_debug_depth = HB_DEBUG_GET_COVERAGE;
typedef const Coverage &return_t;
template <typename T>
inline return_t dispatch (const T &obj) { return obj.get_coverage (); }