22 lines
384 B
C++
22 lines
384 B
C++
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <ostream>
|
|
#include <new>
|
|
|
|
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);
|
|
|
|
void no_return();
|
|
|
|
} // extern "C"
|