summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/derive-fn-ptr.h
blob: 93b980e6f43f55de7bb7db8128d2a5f5317a542f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
//
typedef void (*my_fun_t)(int, int, int, int,
                         int, int, int, int,
                         int, int, int, int,
                         int, int, int, int);

struct Foo {
  my_fun_t callback;
};

typedef void (*my_fun2_t)(int, int, int, int,
                         int, int, int, int,
                         int, int, int, int);

struct Bar {
  my_fun2_t callback;
};