Pārlūkot izejas kodu

Use `[^]` on `PeepEvents`

gingerBill 4 gadi atpakaļ
vecāks
revīzija
ad943f0189
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      vendor/sdl2/sdl_events.odin

+ 1 - 1
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) ---