Files
cbindgen/tests/expectations/function_ptr.cpp
T
2022-11-10 14:23:33 +01:00

20 lines
474 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
using MyCallback = void(*)(uintptr_t a, uintptr_t b);
using MyOtherCallback = void(*)(uintptr_t a,
uintptr_t lot,
uintptr_t of,
uintptr_t args,
uintptr_t and_then_some);
extern "C" {
void my_function(MyCallback a, MyOtherCallback b);
} // extern "C"