7f3b8f4dcd
The tests are based on https://github.com/vmx/cbindgen-expand-dep-bug
16 lines
200 B
C++
16 lines
200 B
C++
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <new>
|
|
|
|
struct dep_struct {
|
|
uint32_t x;
|
|
double y;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
uint32_t get_x(const dep_struct *dep_struct);
|
|
|
|
} // extern "C"
|