[khmer] Remove unused khmer_position()

This commit is contained in:
Behdad Esfahbod 2018-10-02 18:20:16 +02:00
parent 5101abd42f
commit 77792187be
2 changed files with 3 additions and 6 deletions

View File

@ -34,10 +34,8 @@ main (void)
hb_glyph_info_t info; hb_glyph_info_t info;
info.codepoint = u; info.codepoint = u;
set_khmer_properties (info); set_khmer_properties (info);
if (info.khmer_category() != INDIC_SYLLABIC_CATEGORY_OTHER || if (info.khmer_category() != INDIC_SYLLABIC_CATEGORY_OTHER)
info.khmer_position() != INDIC_MATRA_CATEGORY_NOT_APPLICABLE) printf("U+%04X %u\n", u,
printf("U+%04X %u %u\n", u, info.khmer_category());
info.khmer_category(),
info.khmer_position());
} }
} }

View File

@ -34,7 +34,6 @@
/* buffer var allocations */ /* buffer var allocations */
#define khmer_category() indic_category() /* khmer_category_t */ #define khmer_category() indic_category() /* khmer_category_t */
#define khmer_position() indic_position() /* indic_position_t */
/* Note: This enum is duplicated in the -machine.rl source file. /* Note: This enum is duplicated in the -machine.rl source file.