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

Initial support for exporting enums #27

Closed randomPoison closed 4 years ago

randomPoison commented 4 years ago

Support exporting simple (C-like) enums to C#. Only the default repr is supported for now, though most of the pieces needed for supporting it are in place. Support for data-carrying enums will be implemented separately, since it requires handling more complex, nested types than what we currently can support.