mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-27 05:31:15 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
14 lines
250 B
C++
14 lines
250 B
C++
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq -- -std=c++14
|
|
|
|
namespace JS {
|
|
namespace detail {
|
|
template <typename T>
|
|
using Wrapped = T;
|
|
}
|
|
|
|
template <typename T>
|
|
struct Rooted {
|
|
detail::Wrapped<T> ptr;
|
|
};
|
|
}
|