diff options
Diffstat (limited to 'bindgen-tests/tests/headers/blocklist-function.hpp')
-rw-r--r-- | bindgen-tests/tests/headers/blocklist-function.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/blocklist-function.hpp b/bindgen-tests/tests/headers/blocklist-function.hpp new file mode 100644 index 00000000..d7c8bb35 --- /dev/null +++ b/bindgen-tests/tests/headers/blocklist-function.hpp @@ -0,0 +1,16 @@ +// bindgen-flags: --blocklist-function "ExternFunction" --blocklist-function "foo::NamespacedFunction" --blocklist-function "C_ClassMethod" --enable-cxx-namespaces + +extern "C" void ExternFunction(); + +namespace foo { + void NamespacedFunction(); +} + +namespace bar { + void NamespacedFunction(); +} + +class C { +public: + void ClassMethod(); +}; |