Debian Codegraph @

texk/web2c/mfluadir/otfcc/lib/libcff/cff-value.h

raw
1 #ifndef CARYLL_cff_VALUE_H
2 #define CARYLL_cff_VALUE_H
3
4 #include <stdint.h>
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include <string.h>
8 #include "support/util.h"
9
10 typedef enum {
11 cff_OPERATOR = 1,
12 CS2_OPERATOR = 1,
13 cff_INTEGER = 2,
14 CS2_OPERAND = 2,
15 cff_DOUBLE = 3,
16 CS2_FRACTION = 3
17 } cff_Value_Type;
18
19 typedef struct {
20 cff_Value_Type t;
21 union {
22 int32_t i;
23 double d;
24 };
25 } cff_Value;
26
27 double cffnum(cff_Value v);
28
29 #endif