Debian Codegraph @

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

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 struct Opaque;
8
9 template<typename T = void>
10 struct Option;
11
12 struct Foo {
13 const Opaque *x;
14 Opaque *y;
15 void (*z)();
16 void (**zz)();
17 };
18
19 union Bar {
20 const Opaque *x;
21 Opaque *y;
22 void (*z)();
23 void (**zz)();
24 };
25
26 extern "C" {
27
28 void root(const Opaque *a, Opaque *b, Foo c, Bar d, Option<Opaque*> *e, void (*f)(const Opaque*));
29
30 } // extern "C"