bottlenoselabs / c2cs

Generate C# bindings from a C header.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create fixed buffer struct for cleaner C style arrays

lithiumtoast opened this issue · comments

Proposed here: https://github.com/dotnet/csharplang/blob/a3d67d141501101af9dbb9e8192ca8b4c717e316/proposals/fixed-sized-buffers.md

It's possible to simply to generate the C# code which would be functionally the same as the proposed solution in the above link