Files
Christian Poveda 1213b3dfb1 split the repo into a workspace
remove `clap` dependency 🎉

update the book installation instructions
2022-10-04 20:47:17 -05:00

24 lines
393 B
C++

// bindgen-flags: -- --std=c++14
namespace JS {
namespace detail {
/// Notice how this doesn't use T.
template <typename T>
using MaybeWrapped = int;
}
template <typename T>
class Rooted {
detail::MaybeWrapped<T> ptr;
};
}
/// But the replacement type does use T!
///
/// <div rustbindgen replaces="JS::detail::MaybeWrapped" />
template <typename T>
using replaces_MaybeWrapped = T;