Use [^] on PeepEvents

This commit is contained in:
gingerBill
2021-08-25 15:50:35 +01:00
parent 224496dca7
commit ad943f0189

View File

@@ -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) ---