getditto/safer_ffi

Support type aliases

TheButlah opened this issue · 0 comments

It would be cool if we could tag things like this:

#[derive_ReprC]
#[ReprC::opaque]
pub type ContractDataHandle = arena::Index<ContractData>;

Any ideas how that would work? Would I still need to tag arena::Index with #[ReprC]?