mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[API] Add HB_UNTAG()
Useful in C API only.
This commit is contained in:
1 parent
3cc6e9dcb4
commit
d3b30be378
1 file changed
+1
@@ -74,6 +74,7 @@ typedef union _hb_var_int_t {
|
||||
typedef uint32_t hb_tag_t;
|
||||
|
||||
#define HB_TAG(a,b,c,d) ((hb_tag_t)((((uint8_t)(a))<<24)|(((uint8_t)(b))<<16)|(((uint8_t)(c))<<8)|((uint8_t)(d))))
|
||||
#define HB_UNTAG(tag) ((uint8_t)((tag)>>24)), ((uint8_t)((tag)>>16)), ((uint8_t)((tag)>>8)), ((uint8_t)(tag))
|
||||
|
||||
#define HB_TAG_NONE HB_TAG(0,0,0,0)
|
||||
|
||||
|
||||
Reference in new issue
Block a user