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
Perhaps unbelievably, it has come to my attention that some BOOL types carry more than just a binary zero/non-zero state. We should expose this in CsWin32 rather than hide it by only exposing it as bool.
Activity
jnm2 commentedon Mar 10, 2021
Side note in case it's interesting :D C#'s
boolcarries more than just a binary state, too. The fact that it's actually eight bits can be observed this way: dotnet/csharplang#544 (comment)Or this way: dotnet/csharplang#544 (comment)
AArnott commentedon Mar 11, 2021
Funny. Well, BOOL is 4 bytes, so
booljust doesn't quite cut it, theoretically.Expose `int` value behind BOOL
Expose `int` value behind BOOL
Expose `int` value behind BOOL