bottlenoselabs / c2cs

Generate C# bindings from a C header.
MIT License
245 stars 18 forks source link

Add new ref types for ref structs? #109

Open kkukshtel opened 2 years ago

kkukshtel commented 2 years ago

I was catching up on the latest in Dotnet 7 and I see the ability for ref types in ref structs seems like it could be a major boon for this project. This isn't so much an issue as a flagging to see if something like this would be possible to implement for c2cs.

https://github.com/dotnet/csharplang/blob/main/proposals/low-level-struct-improvements.md

lithiumtoast commented 1 year ago

Thanks for link! (Moved to https://github.com/dotnet/csharplang/blob/main/proposals/csharp-11.0/low-level-struct-improvements.md)

When .NET 7 / C# 11 is dropped I will be sure to look into this.