Debian Codegraph @

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

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 struct PREFIXFoo {
8 int32_t a;
9 uint32_t b;
10 };
11 constexpr static const PREFIXFoo PREFIXFoo_FOO = PREFIXFoo{ /* .a = */ 42, /* .b = */ 47 };
12
13 constexpr static const PREFIXFoo PREFIXBAR = PREFIXFoo{ /* .a = */ 42, /* .b = */ 1337 };
14
15 extern "C" {
16
17 void root(PREFIXFoo x);
18
19 } // extern "C"