diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-25 15:50:35 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-25 15:50:35 +0100 |
| commit | ad943f0189c405d847ad16af1c8102d74e26e5e4 (patch) | |
| tree | fcf676d8505cb673c37508a9263a732d01845a64 | |
| parent | 224496dca7ce281cf45d6d9cac42a3dcc090dd79 (diff) | |
Use `[^]` on `PeepEvents`
| -rw-r--r-- | vendor/sdl2/sdl_events.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/sdl2/sdl_events.odin b/vendor/sdl2/sdl_events.odin index 6d0a4dc36..aee17ddad 100644 --- a/vendor/sdl2/sdl_events.odin +++ b/vendor/sdl2/sdl_events.odin @@ -482,7 +482,7 @@ GetEventState :: #force_inline proc "c" (type: EventType) -> u8 { return EventSt @(default_calling_convention="c", link_prefix="SDL_") foreign lib { PumpEvents :: proc() --- - PeepEvents :: proc(event: ^Event, numevents: c.int, action: eventaction, minType, maxType: EventType) -> c.int --- + PeepEvents :: proc(events: [^]Event, numevents: c.int, action: eventaction, minType, maxType: EventType) -> c.int --- HasEvent :: proc(type: EventType) -> bool --- HasEvents :: proc(minType, maxType: EventType) -> bool --- FlushEvent :: proc(type: EventType) --- |