mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-26 21:21:14 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
17 lines
339 B
C++
17 lines
339 B
C++
// 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();
|
|
};
|