From c2b5c46ef4ab2de1281c1d8099daa49621e29794 Mon Sep 17 00:00:00 2001 From: Joe Ellis Date: Tue, 27 Oct 2020 18:17:45 +0000 Subject: Add tests for dynamic binding generation --- tests/headers/dynamic_loading_with_class.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/headers/dynamic_loading_with_class.hpp (limited to 'tests/headers/dynamic_loading_with_class.hpp') diff --git a/tests/headers/dynamic_loading_with_class.hpp b/tests/headers/dynamic_loading_with_class.hpp new file mode 100644 index 00000000..632db4d0 --- /dev/null +++ b/tests/headers/dynamic_loading_with_class.hpp @@ -0,0 +1,15 @@ +// bindgen-flags: --dynamic-loading TestLib + +int foo(void *x); + +class A { + int _x; + + public: + A(int x); + + void some_function(); + void some_other_function(); +}; + +void bar(); -- cgit v1.2.3