-
Notifications
You must be signed in to change notification settings - Fork 5
/
token.h
56 lines (49 loc) · 806 Bytes
/
token.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* SPDX-License-Identifier: MIT */
/*
* Author: Jianhui Zhao <zhaojh329@gmail.com>
*/
#ifndef __FFI_TOKEN__
#define __FFI_TOKEN__
enum {
TOK_NAME = 256,
TOK_TYPEDEF,
TOK_VAL,
TOK_INTEGER,
TOK_STRUCT,
TOK_UNION,
TOK_CONST,
TOK_SIGNED,
TOK_UNSIGNED,
TOK_BOOL,
TOK_VOID,
TOK_CHAR,
TOK_SHORT,
TOK_INT,
TOK_LONG,
TOK_FLOAT,
TOK_DOUBLE,
TOK_INT8_T,
TOK_INT16_T,
TOK_INT32_T,
TOK_INT64_T,
TOK_UINT8_T,
TOK_UINT16_T,
TOK_UINT32_T,
TOK_UINT64_T,
TOK_INO_T,
TOK_DEV_T,
TOK_GID_T,
TOK_MODE_T,
TOK_NLINK_T,
TOK_UID_T,
TOK_OFF_T,
TOK_PID_T,
TOK_SIZE_T,
TOK_SSIZE_T,
TOK_USECONDS_T,
TOK_SUSECONDS_T,
TOK_BLKSIZE_T,
TOK_BLKCNT_T,
TOK_TIME_T,
};
#endif