Rantanen / intercom

Object based cross-language FFI for Rust
MIT License
63 stars 7 forks source link

Add the ExternType trait #119

Closed Rantanen closed 4 years ago

Rantanen commented 4 years ago

Finally!

There's still some tweaking to be done. For one I'm not sure if having Output and Input types is really needed. Currently it's only used for string pointer types and we could just as well have them both as *mut - it's not like the FFI guarantees anything anyway for either of them.

Rantanen commented 4 years ago

I'm going to push this in because it affects so much of the implementation. So many things are going to be easier to implement once we have this.