1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* Package version: 0.1.0 */ #include <cstdarg> #include <cstdint> #include <cstdlib> #include <ostream> #include <new> struct Foo { uint64_t bar; }; extern "C" { void doit(const Foo*); } // extern "C"