Files
cbindgen/tests/expectations/workspace.cpp
T
Emilio Cobos Álvarez 0bcd54f9c3 Add an option to generate consts / globals / fn from parsed dependencies.
This is a limitation that may not be useful if you're using it to parse known
dependencies.
2019-06-25 21:28:11 +02:00

17 lines
211 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <new>
static const int32_t EXT_CONST = 0;
struct ExtType {
uint32_t data;
};
extern "C" {
void consume_ext(ExtType _ext);
} // extern "C"