The entire code base should use nint/nuint instead of IntPtr/UIntPtr
aybe opened this issue · 2 comments
aybe commented
Currently, even if using type maps, CppSharp ends up resolving the formers to the latters.
ds5678 commented
In C#11 and later, this makes no difference. nint
is an alias for IntPtr
in the exact same way that int
is an alias for Int32
.
aybe commented
Thank you, I will just live with that fact and move on; porting to it was a pain anyway, I tried and failed.😅