1 // 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
2 
3 void SomeFunction();
4 extern int someVar;
5 #define SOME_DEFUN 123
6 
7 class someClass {
8   void somePrivateMethod();
9 public:
10   void somePublicMethod(int foo);
11 };
12 
13 extern "C" void ExternFunction();
14 
15 namespace foo {
16   void NamespacedFunction();
17 }
18 
19 namespace bar {
20   void NamespacedFunction();
21 }
22