randomPoison / cs-bindgen

Experiment in using Rust to build a library that can be loaded by Unity across multiple platforms
4 stars 0 forks source link

Add support for marshaling types by reference #49

Closed randomPoison closed 4 years ago

randomPoison commented 4 years ago

Add Abi::as_abi method to allow getting the ABI-compatible version of a value without needing ownership of that value. This is a necessary step for supporting passing arrays of user-defined types across language boundaries.