1 // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq -- -std=c++14 2 3 namespace JS { 4 namespace detail { 5 template <typename T> 6 using Wrapped = T; 7 } 8 9 template <typename T> 10 struct Rooted { 11 detail::Wrapped<T> ptr; 12 }; 13 } 14