1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <cstdarg> #include <cstdint> #include <cstdlib> #include <ostream> #include <new> struct Foo { uint32_t a; }; extern "C" { void root(Foo a); } // extern "C"