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
The method takes a pointer. Not an arbitrary pointer-sized integer. While this is just semantics, it is more intuitive to use IntPtr or (even better) void* for the parameter type.
As it is, I have to cast pointers to nint to call this method.
Same for the return type.
The text was updated successfully, but these errors were encountered:
Actual behavior
The
LocalFree
method is declared by CsWin32 as taking annint
:Expected behavior
The method takes a pointer. Not an arbitrary pointer-sized integer. While this is just semantics, it is more intuitive to use
IntPtr
or (even better)void*
for the parameter type.As it is, I have to cast pointers to
nint
to call this method.Same for the return type.
The text was updated successfully, but these errors were encountered: