mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 11:20:08 +00:00
fix EventMaskAny definition
This commit is contained in:
@@ -5,8 +5,8 @@ Event :: struct {using _: Object}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
EventMask :: distinct bit_set[EventType; UInteger]
|
EventMask :: distinct bit_set[EventType; UInteger]
|
||||||
EventMaskAny :: ~EventMask{}
|
EventMaskAny :: transmute(EventMask)(max(UInteger))
|
||||||
|
|
||||||
when size_of(UInteger) == 4 {
|
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
|
// We don't support a 32-bit darwin system but this is mostly to shut up the type checker for the time being
|
||||||
|
|||||||
Reference in New Issue
Block a user