diff options
Diffstat (limited to 'pango/opentype/hb-private.h')
-rw-r--r-- | pango/opentype/hb-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/opentype/hb-private.h b/pango/opentype/hb-private.h index dbeafef1..cdc2b845 100644 --- a/pango/opentype/hb-private.h +++ b/pango/opentype/hb-private.h @@ -201,6 +201,9 @@ _hb_popcount32 (uint32_t mask) } +/* Multiplies a 16dot16 value by another value, then truncates the result */ +#define _hb_16dot16_mul_trunc(A,B) ((int64_t) (A) * (B) / 0x10000) + #include "hb-object-private.h" #endif /* HB_PRIVATE_H */ |