You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe at this time adding an option to generate bindings using specific marshalling or custom marshalling is not aligned to the goals of this project and thus won't be implemented by me directly. I am happy to leave this issue open and have other people submit a pull request if they want to.
Use
MarshalAs
attribute for strings, arrays, etc. Don't useCString
in this case in bindgen.See Microsoft docs for an example tutorial: https://learn.microsoft.com/en-us/dotnet/standard/native-interop/tutorial-custom-marshaller?source=recommendations.
The text was updated successfully, but these errors were encountered: