Files
cbindgen/tests/expectations/monomorph-2.cpp
T
2020-10-05 19:57:33 +02:00

24 lines
260 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
struct A;
struct B;
template<typename T>
struct List {
T *members;
uintptr_t count;
};
extern "C" {
void foo(List<A> a);
void bar(List<B> b);
} // extern "C"