Files
cbindgen/tests/expectations/function_args.cpp
T
Emilio Cobos Álvarez 5eae0bc07b function: Add support for wildcards in arguments.
We don't support unnamed arguments, and we give a terrible error
("Parameter has an unsupported type.") when you use them.

They're very simple to implement so we should just do it.
2020-07-25 13:50:11 +02:00

15 lines
199 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <new>
extern "C" {
void pointer_test(const uint64_t *a);
void print_from_rust();
void unnamed(const uint64_t*);
} // extern "C"