From ad943f0189c405d847ad16af1c8102d74e26e5e4 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 25 Aug 2021 15:50:35 +0100 Subject: Use `[^]` on `PeepEvents` --- vendor/sdl2/sdl_events.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) --- -- cgit v1.2.3