harfbuzz/src/harfbuzz-open.h

18 lines
426 B
C
Raw Normal View History

#ifndef HARFBUZZ_OPEN_H
#define HARFBUZZ_OPEN_H
#include "harfbuzz-common.h"
HARFBUZZ_BEGIN_DECLS();
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))
2008-01-23 07:38:10 +01:00
#define HB_TAG_STR(s) (HB_TAG(((const char *) s)[0], \
((const char *) s)[1], \
((const char *) s)[2], \
((const char *) s)[3]))
HARFBUZZ_END_DECLS();
#endif /* HARFBUZZ_OPEN_H */