fix EventMaskAny definition

This commit is contained in:
Laytan Laats
2024-09-12 00:11:27 +02:00
parent 27ed10746d
commit 201a7b90bb

View File

@@ -5,8 +5,8 @@ Event :: struct {using _: Object}
EventMask :: distinct bit_set[EventType; UInteger]
EventMaskAny :: ~EventMask{}
EventMask :: distinct bit_set[EventType; UInteger]
EventMaskAny :: transmute(EventMask)(max(UInteger))
when size_of(UInteger) == 4 {
// We don't support a 32-bit darwin system but this is mostly to shut up the type checker for the time being