Biohazrd
Biohazrd copied to clipboard
Allow for translation of C++ references as C# byrefs
C++ references and C# byrefs have similar (if not identical) semantics. Right now C++ references are emitted as C# pointers which isn't as nice to work with as the C++ API would be from C++.
We should (optionally) support emitting C++ references as C# byrefs.
IE:
ImVec2& xwould be emitted asref ImVec2 xconst ImVec& xwould be emitted either asImVec2 xorin ImVec2 xdepending on developer preference