Debian Codegraph @

libc/newhdrgen/tests/input/test_small.yaml

raw
1 header: test_header.h
2 macros:
3 - macro_name: MACRO_A
4 macro_value: 1
5 - macro_name: MACRO_B
6 macro_value: 2
7 types:
8 - type_name: type_a
9 - type_name: type_b
10 enums:
11 - name: enum_a
12 value: value_1
13 - name: enum_b
14 value: value_2
15 objects:
16 - object_name: object_1
17 object_type: obj
18 - object_name: object_2
19 object_type: obj
20 functions:
21 - name: func_a
22 return_type: void
23 arguments: []
24 standards:
25 - stdc
26 attributes:
27 - CONST_FUNC_A
28 - name: func_b
29 return_type: float128
30 arguments: []
31 standards:
32 - stdc
33 guard: LIBC_TYPES_HAS_FLOAT128
34 - name: func_c
35 return_type: _Float16
36 arguments:
37 - type: int
38 - type: float
39 standards:
40 - stdc
41 guard: LIBC_TYPES_HAS_FLOAT16
42 - name: func_d
43 return_type: _Float16
44 arguments:
45 - type: int
46 - type: float
47 standards:
48 - stdc
49 guard: LIBC_TYPES_HAS_FLOAT16
50 - name: func_e
51 return_type: _Float16
52 arguments:
53 - type: float128
54 standards:
55 - stdc
56 guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
57 - name: func_f
58 return_type: _Float16
59 arguments:
60 - type: int
61 - type: double
62 - type: float
63 standards:
64 - stdc
65
66