diff options
Diffstat (limited to 'Build/source/texk/dvipos/utils.c')
-rw-r--r-- | Build/source/texk/dvipos/utils.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/dvipos/utils.c b/Build/source/texk/dvipos/utils.c index de91f464082..563565608ae 100644 --- a/Build/source/texk/dvipos/utils.c +++ b/Build/source/texk/dvipos/utils.c @@ -59,6 +59,15 @@ UNSIGNED_TRIPLE get_unsigned_triple (FILE *fp) return triple; } +UNSIGNED_TRIPLE get_unsigned_triple_kanji (FILE *fp) +{ + /* yy zz XX -> XXyyzz */ + UNSIGNED_TRIPLE triple = get_unsigned_byte(fp); + triple = triple << 8; triple += get_unsigned_byte(fp); + triple += get_unsigned_byte(fp) << 16; + return triple; +} + SIGNED_TRIPLE get_signed_triple (FILE *fp) { UNSIGNED_TRIPLE triple; |