note description: "This file has been generated by WrapC. Do not edit. Changes will be lost!" generator: "Eiffel Wrapper Generator" class SDL_EVENTS_FUNCTIONS_API create default_create feature -- Access sdl_pump_events external "C inline use <SDL.h>" alias "[ SDL_PumpEvents (); ]" end sdl_peep_events (events: SDL_EVENT_UNION_API; numevents: INTEGER_32; action: INTEGER_32; mintype: NATURAL_32; maxtype: NATURAL_32): INTEGER_32 do Result := c_sdl_peep_events (events.item, numevents, action, mintype, maxtype) ensure instance_free: class end sdl_has_event (type: NATURAL_32): INTEGER_32 external "C inline use <SDL.h>" alias "[ return SDL_HasEvent ((Uint32)$type); ]" end sdl_has_events (mintype: NATURAL_32; maxtype: NATURAL_32): INTEGER_32 external "C inline use <SDL.h>" alias "[ return SDL_HasEvents ((Uint32)$mintype, (Uint32)$maxtype); ]" end sdl_flush_event (type: NATURAL_32) external "C inline use <SDL.h>" alias "[ SDL_FlushEvent ((Uint32)$type); ]" end sdl_flush_events (mintype: NATURAL_32; maxtype: NATURAL_32) external "C inline use <SDL.h>" alias "[ SDL_FlushEvents ((Uint32)$mintype, (Uint32)$maxtype); ]" end sdl_poll_event (event: SDL_EVENT_UNION_API): INTEGER_32 do Result := c_sdl_poll_event (event.item) ensure instance_free: class end sdl_wait_event (event: SDL_EVENT_UNION_API): INTEGER_32 do Result := c_sdl_wait_event (event.item) ensure instance_free: class end sdl_push_event (event: SDL_EVENT_UNION_API): INTEGER_32 do Result := c_sdl_push_event (event.item) ensure instance_free: class end sdl_filter_events (filter: POINTER; userdata: POINTER) do c_sdl_filter_events (filter, userdata) ensure instance_free: class end sdl_register_events (numevents: INTEGER_32): NATURAL_32 external "C inline use <SDL.h>" alias "[ return SDL_RegisterEvents ((int)$numevents); ]" end feature -- Externals c_sdl_peep_events (events: POINTER; numevents: INTEGER_32; action: INTEGER_32; mintype: NATURAL_32; maxtype: NATURAL_32): INTEGER_32 external "C inline use <SDL.h>" alias "[ return SDL_PeepEvents ((SDL_Event*)$events, (int)$numevents, (SDL_eventaction)$action, (Uint32)$mintype, (Uint32)$maxtype); ]" end c_sdl_poll_event (event: POINTER): INTEGER_32 external "C inline use <SDL.h>" alias "[ return SDL_PollEvent ((SDL_Event*)$event); ]" end c_sdl_wait_event (event: POINTER): INTEGER_32 external "C inline use <SDL.h>" alias "[ return SDL_WaitEvent ((SDL_Event*)$event); ]" end c_sdl_push_event (event: POINTER): INTEGER_32 external "C inline use <SDL.h>" alias "[ return SDL_PushEvent ((SDL_Event*)$event); ]" end c_sdl_filter_events (filter: POINTER; userdata: POINTER) external "C inline use <SDL.h>" alias "[ SDL_FilterEvents ((SDL_EventFilter)$filter, (void*)$userdata); ]" end end -- class SDL_EVENTS_FUNCTIONS_API
Generated by ISE EiffelStudio