cbindgen/tests/expectations/namespace_constant.cpp
2022-04-21 18:48:00 +02:00

24 lines
309 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
namespace constants {
constexpr static const int32_t FOO = 10;
constexpr static const float ZOM = 3.14;
struct Foo {
int32_t x[FOO];
};
extern "C" {
void root(Foo x);
} // extern "C"
} // namespace constants