Files
cbindgen/tests/expectations/generic-pointer.cpp
T
Emilio Cobos Álvarez 33d9ecf11f Handle mangling pointers.
Ugly, but better than crashing.

Closes #506.
Closes #453.
2020-04-10 15:22:16 +02:00

18 lines
195 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <new>
template<typename T>
struct Foo {
T a;
};
using Boo = Foo<uint8_t*>;
extern "C" {
void root(Boo x);
} // extern "C"