Files
cbindgen/tests/expectations/decl_name_conflicting.cpp
T
Emilio Cobos Álvarez 750745831a ir: Deal with name conflicts correctly in declaration type resolution.
So, basically, make opaque items last, and make previous names override
them.

Fixes #649
2021-01-26 12:55:05 +01:00

21 lines
285 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
enum class BindingType : uint32_t {
Buffer = 0,
NotBuffer = 1,
};
struct BindGroupLayoutEntry {
BindingType ty;
};
extern "C" {
void root(BindGroupLayoutEntry entry);
} // extern "C"