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