summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/blocklist-item.hpp
blob: 2d795d5a5abd166b7f68ac9f3035e5c56a936668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// bindgen-flags: --blocklist-item "SomeFunction" --blocklist-item "SOME_DEFUN" --blocklist-item "someVar" --blocklist-item "ExternFunction" --blocklist-item "foo::NamespacedFunction" --blocklist-item "someClass.*" --enable-cxx-namespaces

void SomeFunction();
extern int someVar;
#define SOME_DEFUN 123

class someClass {
  void somePrivateMethod();
public:
  void somePublicMethod(int foo);
};

extern "C" void ExternFunction();

namespace foo {
  void NamespacedFunction();
}

namespace bar {
  void NamespacedFunction();
}