summaryrefslogtreecommitdiff
path: root/tests/headers/dynamic_loading_with_allowlist.hpp
blob: 995fbdd531e5b4233978fe2e5bb243a87ed5cc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// bindgen-flags: --dynamic-loading TestLib --allowlist-function baz --allowlist-function foo --allowlist-function bazz

class X {
  int _x;

 public:
  X(int x);

  void some_function();
  void some_other_function();
};

int foo(void *x);
int bar(void *x);
int baz(void *x);
int bazz(int, ...);