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
#if 0
DEF FOO = 0
DEF BAR = 0
#endif
#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
#if defined(FOO)
constexpr static const int32_t FOO = 1;
#endif
#if defined(BAR)
constexpr static const int32_t BAR = 2;
#endif
#if defined(FOO)
struct Foo {
};
#endif
#if defined(BAR)
struct Bar {
};
#endif
extern "C" {
#if defined(FOO)
void foo(const Foo *foo);
#endif
#if defined(BAR)
void bar(const Bar *bar);
#endif
} // extern "C"