-
I ended up declaring something like that, still somewhat ugly though: namespace Windows.Win32
{
class K
{
public static readonly Foundation.BOOLEAN TRUE = new Foundation.BOOLEAN(1);
public static readonly Foundation.BOOLEAN FALSE = new Foundation.BOOLEAN(0);
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
AArnott
Jun 15, 2022
Replies: 1 comment 6 replies
-
Oh, that's interesting. We have both |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Slion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, that's interesting. We have both
BOOL
andBOOLEAN
types (of different lengths) in the metadata. We already take steps in CsWin32 to makeBOOL
feel as much likebool
as possible. We can do the same forBOOLEAN
.