Files
cbindgen/tests/expectations/constant.cpp
T
Axel Nennker 58e85439c5 escape chars
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
2019-04-15 07:57:09 +02:00

26 lines
353 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
static const wchar_t DELIMITER = ':';
static const int32_t FOO = 10;
static const wchar_t NEWLINE = '\n';
static const wchar_t QUOTE = '\'';
static const wchar_t TAB = '\t';
static const float ZOM = 3.14;
struct Foo {
int32_t x[FOO];
};
extern "C" {
void root(Foo x);
} // extern "C"