| 1 |
#include <stdarg.h> |
| 2 |
#include <stdbool.h> |
| 3 |
#include <stdint.h> |
| 4 |
#include <stdlib.h> |
| 5 |
|
| 6 |
#define PREFIX_LEN 22 |
| 7 |
|
| 8 |
#define PREFIX_X (22 << 22) |
| 9 |
|
| 10 |
#define PREFIX_Y (PREFIX_X + PREFIX_X) |
| 11 |
|
| 12 |
typedef int32_t PREFIX_NamedLenArray[PREFIX_LEN]; |
| 13 |
|
| 14 |
typedef int32_t PREFIX_ValuedLenArray[22]; |
| 15 |
|
| 16 |
enum PREFIX_AbsoluteFontWeight_Tag |
| 17 |
#ifdef __cplusplus |
| 18 |
: uint8_t |
| 19 |
#endif // __cplusplus |
| 20 |
{ |
| 21 |
Weight, |
| 22 |
Normal, |
| 23 |
Bold, |
| 24 |
}; |
| 25 |
#ifndef __cplusplus |
| 26 |
typedef uint8_t PREFIX_AbsoluteFontWeight_Tag; |
| 27 |
#endif // __cplusplus |
| 28 |
|
| 29 |
typedef union { |
| 30 |
PREFIX_AbsoluteFontWeight_Tag tag; |
| 31 |
struct { |
| 32 |
PREFIX_AbsoluteFontWeight_Tag weight_tag; |
| 33 |
float weight; |
| 34 |
}; |
| 35 |
} PREFIX_AbsoluteFontWeight; |
| 36 |
|
| 37 |
#ifdef __cplusplus |
| 38 |
extern "C" { |
| 39 |
#endif // __cplusplus |
| 40 |
|
| 41 |
void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, PREFIX_AbsoluteFontWeight z); |
| 42 |
|
| 43 |
#ifdef __cplusplus |
| 44 |
} // extern "C" |
| 45 |
#endif // __cplusplus |