Files
cbindgen/tests/expectations/fns.cpp
T
2019-01-03 09:46:55 -06:00

18 lines
331 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
struct Fns {
void (*noArgs)();
void (*anonymousArg)(int32_t);
int32_t (*returnsNumber)();
int8_t (*namedArgs)(int32_t first, int16_t snd);
int8_t (*namedArgsWildcards)(int32_t _, int16_t named, int64_t _1);
};
extern "C" {
void root(Fns _fns);
} // extern "C"