Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/namespace_constant.cpp

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 namespace constants {
8
9 constexpr static const int32_t FOO = 10;
10
11 constexpr static const float ZOM = 3.14;
12
13 struct Foo {
14 int32_t x[FOO];
15 };
16
17 extern "C" {
18
19 void root(Foo x);
20
21 } // extern "C"
22
23 } // namespace constants