bottlenoselabs / c2cs

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

Add option for generating bindings using marshaling #74

Open lithiumtoast opened 2 years ago

lithiumtoast commented 2 years ago

Use MarshalAs attribute for strings, arrays, etc. Don't use CString in this case in bindgen.

shayded-exe commented 1 year ago

It would be awesome to support the new C# 11 UTF-8 strings!