Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/function_ptr.cpp

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 using MyCallback = void(*)(uintptr_t a, uintptr_t b);
8
9 using MyOtherCallback = void(*)(uintptr_t a,
10 uintptr_t lot,
11 uintptr_t of,
12 uintptr_t args,
13 uintptr_t and_then_some);
14
15 extern "C" {
16
17 void my_function(MyCallback a, MyOtherCallback b);
18
19 } // extern "C"