# Module `occSDL` - Interface to foreign library occSDL

Interface to foreign library `occSDL`. Generated automatically using SWIG 1.3.31.

## Index

- Constant `AUDIO.S16` - Foreign constant AUDIO_S16
- Constant `AUDIO.S16LSB` - Foreign constant AUDIO_S16LSB
- Constant `AUDIO.S16MSB` - Foreign constant AUDIO_S16MSB
- Constant `AUDIO.S8` - Foreign constant AUDIO_S8
- Constant `AUDIO.U16` - Foreign constant AUDIO_U16
- Constant `AUDIO.U16LSB` - Foreign constant AUDIO_U16LSB
- Constant `AUDIO.U16MSB` - Foreign constant AUDIO_U16MSB
- Constant `AUDIO.U8` - Foreign constant AUDIO_U8
- Channel type `CT.SDLJOY` - Joystick server channel-type
  - Variable `in?` - Commands to joystick server
  - Variable `out!` - Responses from joystick server
- Channel type `CT.SDLJS` - Joystick channel-type
  - Variable `in?` - Commands to joystick
  - Variable `out!` - responses from joystick
- Channel type `CT.SDLJSCALIBRATE` - Joystick calibration channel-type
  - Variable `in?` - Commands to calibrator process
  - Variable `out!` - Responses from calibrator process
- Channel type `CT.SDLJSEVENT` - Joystick event channel-type
  - Variable `in?` - Commands to control joystick events
  - Variable `out!` - Joystick events
- Protocol `P.SDLJOY.IN` - Joystick server input protocol
  - Tag `connect` - Connect to specified joystick
  - Tag `num.sticks` - Report number of joysticks present
  - Tag `query.stick` - Query characteristics of a particular stick
  - Tag `quit` - Tell the server process to terminate
- Protocol `P.SDLJOY.OUT` - Joystick server output protocol
  - Tag `error` - General error result
  - Tag `joystick` - Connection to joystick handler
  - Tag `num.sticks` - Number of sticks
  - Tag `query` - Query result
- Protocol `P.SDLJS.EVENT` - Joystick event protocol
  - Tag `change` - Reporting change in joystick status
  - Tag `quit` - Joystick server process terminating
- Protocol `P.SDLJS.EVENT.IN` - Joystick event input protocol
  - Tag `force.event` - Pretend a change happened and generate a new event
- Protocol `P.SDLJS.IN` - Joystick input protocol
  - Tag `disable` - Disable joystick data capture
  - Tag `enable` - Enable joystick data capture, returns client channel-end
  - Tag `query` - Query joystick (number of axes and buttons)
- Protocol `P.SDLJS.OUT` - Joystick output protocol
  - Tag `event.chan` - Channel-end on which events are received
  - Tag `query` - Number of axes and buttons
- Protocol `P.SDLJSCALIBRATE.IN` - Joystick calibration input protocol
  - Tag `calibrate` - Start joystick calibration
- Protocol `P.SDLJSCALIBRATE.OUT` - Joystick calibration output protocol
  - Tag `done` - Calibration complete
  - Tag `message` - Message to be reported to the user
- Constant `SDL.ALL.HOTKEYS` - Foreign constant SDL_ALL_HOTKEYS
- Constant `SDL.ALLEVENTS` - Foreign constant SDL_ALLEVENTS
- Constant `SDL.ALPHA.OPAQUE` - Foreign constant SDL_ALPHA_OPAQUE
- Constant `SDL.ALPHA.TRANSPARENT` - Foreign constant SDL_ALPHA_TRANSPARENT
- Constant `SDL.ANYFORMAT` - Foreign constant SDL_ANYFORMAT
- Constant `SDL.ASYNCBLIT` - Foreign constant SDL_ASYNCBLIT
- Data type `SDL.ActiveEvent` - Foreign struct type SDL_ActiveEvent
- Process `SDL.ActiveEvent.gain.get` - Foreign function SDL_ActiveEvent_gain_get
- Process `SDL.ActiveEvent.gain.set` - Foreign function SDL_ActiveEvent_gain_set
- Process `SDL.ActiveEvent.state.get` - Foreign function SDL_ActiveEvent_state_get
- Process `SDL.ActiveEvent.state.set` - Foreign function SDL_ActiveEvent_state_set
- Process `SDL.ActiveEvent.type.get` - Foreign function SDL_ActiveEvent_type_get
- Process `SDL.ActiveEvent.type.set` - Foreign function SDL_ActiveEvent_type_set
- Data type `SDL.AudioCVT` - Foreign struct type SDL_AudioCVT
- Process `SDL.AudioCVT.buf.get` - Foreign function SDL_AudioCVT_buf_get
- Process `SDL.AudioCVT.buf.set` - Foreign function SDL_AudioCVT_buf_set
- Process `SDL.AudioCVT.dst.format.get` - Foreign function SDL_AudioCVT_dst_format_get
- Process `SDL.AudioCVT.dst.format.set` - Foreign function SDL_AudioCVT_dst_format_set
- Process `SDL.AudioCVT.filter.index.get` - Foreign function SDL_AudioCVT_filter_index_get
- Process `SDL.AudioCVT.filter.index.set` - Foreign function SDL_AudioCVT_filter_index_set
- Process `SDL.AudioCVT.len.cvt.get` - Foreign function SDL_AudioCVT_len_cvt_get
- Process `SDL.AudioCVT.len.cvt.set` - Foreign function SDL_AudioCVT_len_cvt_set
- Process `SDL.AudioCVT.len.get` - Foreign function SDL_AudioCVT_len_get
- Process `SDL.AudioCVT.len.mult.get` - Foreign function SDL_AudioCVT_len_mult_get
- Process `SDL.AudioCVT.len.mult.set` - Foreign function SDL_AudioCVT_len_mult_set
- Process `SDL.AudioCVT.len.ratio.get` - Foreign function SDL_AudioCVT_len_ratio_get
- Process `SDL.AudioCVT.len.ratio.set` - Foreign function SDL_AudioCVT_len_ratio_set
- Process `SDL.AudioCVT.len.set` - Foreign function SDL_AudioCVT_len_set
- Process `SDL.AudioCVT.needed.get` - Foreign function SDL_AudioCVT_needed_get
- Process `SDL.AudioCVT.needed.set` - Foreign function SDL_AudioCVT_needed_set
- Process `SDL.AudioCVT.rate.incr.get` - Foreign function SDL_AudioCVT_rate_incr_get
- Process `SDL.AudioCVT.rate.incr.set` - Foreign function SDL_AudioCVT_rate_incr_set
- Process `SDL.AudioCVT.src.format.get` - Foreign function SDL_AudioCVT_src_format_get
- Process `SDL.AudioCVT.src.format.set` - Foreign function SDL_AudioCVT_src_format_set
- Process `SDL.AudioDriverName` - Foreign function SDL_AudioDriverName
- Data type `SDL.AudioSpec` - Foreign struct type SDL_AudioSpec
- Process `SDL.AudioSpec.callback.get` - Foreign function SDL_AudioSpec_callback_get
- Process `SDL.AudioSpec.callback.set` - Foreign function SDL_AudioSpec_callback_set
- Process `SDL.AudioSpec.channels.get` - Foreign function SDL_AudioSpec_channels_get
- Process `SDL.AudioSpec.channels.set` - Foreign function SDL_AudioSpec_channels_set
- Process `SDL.AudioSpec.format.get` - Foreign function SDL_AudioSpec_format_get
- Process `SDL.AudioSpec.format.set` - Foreign function SDL_AudioSpec_format_set
- Process `SDL.AudioSpec.freq.get` - Foreign function SDL_AudioSpec_freq_get
- Process `SDL.AudioSpec.freq.set` - Foreign function SDL_AudioSpec_freq_set
- Process `SDL.AudioSpec.padding.get` - Foreign function SDL_AudioSpec_padding_get
- Process `SDL.AudioSpec.padding.set` - Foreign function SDL_AudioSpec_padding_set
- Process `SDL.AudioSpec.samples.get` - Foreign function SDL_AudioSpec_samples_get
- Process `SDL.AudioSpec.samples.set` - Foreign function SDL_AudioSpec_samples_set
- Process `SDL.AudioSpec.silence.get` - Foreign function SDL_AudioSpec_silence_get
- Process `SDL.AudioSpec.silence.set` - Foreign function SDL_AudioSpec_silence_set
- Process `SDL.AudioSpec.size.get` - Foreign function SDL_AudioSpec_size_get
- Process `SDL.AudioSpec.size.set` - Foreign function SDL_AudioSpec_size_set
- Process `SDL.AudioSpec.userdata.get` - Foreign function SDL_AudioSpec_userdata_get
- Process `SDL.AudioSpec.userdata.set` - Foreign function SDL_AudioSpec_userdata_set
- Data type `SDL.BlitMap` - Foreign struct type struct SDL_BlitMap
- Process `SDL.BlitSurface` - Foreign function SDL_BlitSurface
- Process `SDL.BuildAudioCVT` - Foreign function SDL_BuildAudioCVT
- Process `SDL.ClearError` - Foreign function SDL_ClearError
- Process `SDL.CloseAudio` - Foreign function SDL_CloseAudio
- Data type `SDL.Color` - Foreign struct type SDL_Color
- Process `SDL.Color.b.get` - Foreign function SDL_Color_b_get
- Process `SDL.Color.b.set` - Foreign function SDL_Color_b_set
- Process `SDL.Color.g.get` - Foreign function SDL_Color_g_get
- Process `SDL.Color.g.set` - Foreign function SDL_Color_g_set
- Process `SDL.Color.r.get` - Foreign function SDL_Color_r_get
- Process `SDL.Color.r.set` - Foreign function SDL_Color_r_set
- Process `SDL.Color.unused.get` - Foreign function SDL_Color_unused_get
- Process `SDL.Color.unused.set` - Foreign function SDL_Color_unused_set
- Process `SDL.ConvertAudio` - Foreign function SDL_ConvertAudio
- Process `SDL.ConvertSurface` - Foreign function SDL_ConvertSurface
- Process `SDL.CreateRGBSurface` - Foreign function SDL_CreateRGBSurface
- Process `SDL.CreateRGBSurfaceFrom` - Foreign function SDL_CreateRGBSurfaceFrom
- Process `SDL.CreateYUVOverlay` - Foreign function SDL_CreateYUVOverlay
- Constant `SDL.DEFAULT.REPEAT.DELAY` - Foreign constant SDL_DEFAULT_REPEAT_DELAY
- Constant `SDL.DEFAULT.REPEAT.INTERVAL` - Foreign constant SDL_DEFAULT_REPEAT_INTERVAL
- Constant `SDL.DISABLE` - Foreign constant SDL_DISABLE
- Constant `SDL.DOUBLEBUF` - Foreign constant SDL_DOUBLEBUF
- Data type `SDL.DUMMY.ENUM` - Foreign enumeration type SDL_DUMMY_ENUM
- Group `SDL.DUMMY.ENUM` - Foreign enumeration SDL_DUMMY_ENUM
- Process `SDL.DisplayFormat` - Foreign function SDL_DisplayFormat
- Process `SDL.DisplayFormatAlpha` - Foreign function SDL_DisplayFormatAlpha
- Process `SDL.DisplayYUVOverlay` - Foreign function SDL_DisplayYUVOverlay
- Constant `SDL.ENABLE` - Foreign constant SDL_ENABLE
- Process `SDL.EnableKeyRepeat` - Foreign function SDL_EnableKeyRepeat
- Process `SDL.EnableUNICODE` - Foreign function SDL_EnableUNICODE
- Data type `SDL.Event` - Foreign union type SDL_Event
- Process `SDL.Event.active.get` - Foreign function SDL_Event_active_get
- Process `SDL.Event.active.set` - Foreign function SDL_Event_active_set
- Process `SDL.Event.button.get` - Foreign function SDL_Event_button_get
- Process `SDL.Event.button.set` - Foreign function SDL_Event_button_set
- Process `SDL.Event.expose.get` - Foreign function SDL_Event_expose_get
- Process `SDL.Event.expose.set` - Foreign function SDL_Event_expose_set
- Process `SDL.Event.jaxis.get` - Foreign function SDL_Event_jaxis_get
- Process `SDL.Event.jaxis.set` - Foreign function SDL_Event_jaxis_set
- Process `SDL.Event.jball.get` - Foreign function SDL_Event_jball_get
- Process `SDL.Event.jball.set` - Foreign function SDL_Event_jball_set
- Process `SDL.Event.jbutton.get` - Foreign function SDL_Event_jbutton_get
- Process `SDL.Event.jbutton.set` - Foreign function SDL_Event_jbutton_set
- Process `SDL.Event.jhat.get` - Foreign function SDL_Event_jhat_get
- Process `SDL.Event.jhat.set` - Foreign function SDL_Event_jhat_set
- Process `SDL.Event.key.get` - Foreign function SDL_Event_key_get
- Process `SDL.Event.key.set` - Foreign function SDL_Event_key_set
- Process `SDL.Event.motion.get` - Foreign function SDL_Event_motion_get
- Process `SDL.Event.motion.set` - Foreign function SDL_Event_motion_set
- Process `SDL.Event.quit.get` - Foreign function SDL_Event_quit_get
- Process `SDL.Event.quit.set` - Foreign function SDL_Event_quit_set
- Process `SDL.Event.resize.get` - Foreign function SDL_Event_resize_get
- Process `SDL.Event.resize.set` - Foreign function SDL_Event_resize_set
- Process `SDL.Event.syswm.get` - Foreign function SDL_Event_syswm_get
- Process `SDL.Event.syswm.set` - Foreign function SDL_Event_syswm_set
- Process `SDL.Event.type.get` - Foreign function SDL_Event_type_get
- Process `SDL.Event.type.set` - Foreign function SDL_Event_type_set
- Process `SDL.Event.user.get` - Foreign function SDL_Event_user_get
- Process `SDL.Event.user.set` - Foreign function SDL_Event_user_set
- Data type `SDL.EventFilter` - Foreign function pointer typedef type SDL_EventFilter
- Process `SDL.EventState` - Foreign function SDL_EventState
- Data type `SDL.ExposeEvent` - Foreign struct type SDL_ExposeEvent
- Process `SDL.ExposeEvent.type.get` - Foreign function SDL_ExposeEvent_type_get
- Process `SDL.ExposeEvent.type.set` - Foreign function SDL_ExposeEvent_type_set
- Constant `SDL.FULLSCREEN` - Foreign constant SDL_FULLSCREEN
- Process `SDL.FillRect` - Foreign function SDL_FillRect
- Process `SDL.Flip` - Foreign function SDL_Flip
- Process `SDL.FreeSurface` - Foreign function SDL_FreeSurface
- Process `SDL.FreeWAV` - Foreign function SDL_FreeWAV
- Process `SDL.FreeYUVOverlay` - Foreign function SDL_FreeYUVOverlay
- Process `SDL.GL.GetAttribute` - Foreign function SDL_GL_GetAttribute
- Process `SDL.GL.GetProcAddress` - Foreign function SDL_GL_GetProcAddress
- Process `SDL.GL.LoadLibrary` - Foreign function SDL_GL_LoadLibrary
- Process `SDL.GL.Lock` - Foreign function SDL_GL_Lock
- Process `SDL.GL.SetAttribute` - Foreign function SDL_GL_SetAttribute
- Process `SDL.GL.SwapBuffers` - Foreign function SDL_GL_SwapBuffers
- Process `SDL.GL.Unlock` - Foreign function SDL_GL_Unlock
- Process `SDL.GL.UpdateRects` - Foreign function SDL_GL_UpdateRects
- Data type `SDL.GLattr` - Foreign enumeration type SDL_GLattr
- Group `SDL.GLattr` - Foreign enumeration SDL_GLattr
- Process `SDL.GetAudioStatus` - Foreign function SDL_GetAudioStatus
- Process `SDL.GetClipRect` - Foreign function SDL_GetClipRect
- Process `SDL.GetError` - Foreign function SDL_GetError
- Process `SDL.GetEventFilter` - Foreign function SDL_GetEventFilter
- Process `SDL.GetGammaRamp` - Foreign function SDL_GetGammaRamp
- Process `SDL.GetKeyName` - Foreign function SDL_GetKeyName
- Process `SDL.GetKeyState` - Foreign function SDL_GetKeyState
- Process `SDL.GetModState` - Foreign function SDL_GetModState
- Process `SDL.GetRGB` - Foreign function SDL_GetRGB
- Process `SDL.GetRGBA` - Foreign function SDL_GetRGBA
- Process `SDL.GetVideoInfo` - Foreign function SDL_GetVideoInfo
- Process `SDL.GetVideoSurface` - Foreign function SDL_GetVideoSurface
- Data type `SDL.GrabMode` - Foreign enumeration type SDL_GrabMode
- Group `SDL.GrabMode` - Foreign enumeration SDL_GrabMode
- Constant `SDL.HAT.CENTERED` - Foreign constant SDL_HAT_CENTERED
- Constant `SDL.HAT.DOWN` - Foreign constant SDL_HAT_DOWN
- Constant `SDL.HAT.LEFT` - Foreign constant SDL_HAT_LEFT
- Constant `SDL.HAT.RIGHT` - Foreign constant SDL_HAT_RIGHT
- Constant `SDL.HAT.UP` - Foreign constant SDL_HAT_UP
- Constant `SDL.HWACCEL` - Foreign constant SDL_HWACCEL
- Constant `SDL.HWPALETTE` - Foreign constant SDL_HWPALETTE
- Constant `SDL.HWSURFACE` - Foreign constant SDL_HWSURFACE
- Constant `SDL.IGNORE` - Foreign constant SDL_IGNORE
- Constant `SDL.INIT.AUDIO` - Foreign constant SDL_INIT_AUDIO
- Constant `SDL.INIT.CDROM` - Foreign constant SDL_INIT_CDROM
- Constant `SDL.INIT.EVENTTHREAD` - Foreign constant SDL_INIT_EVENTTHREAD
- Constant `SDL.INIT.EVERYTHING` - Foreign constant SDL_INIT_EVERYTHING
- Constant `SDL.INIT.JOYSTICK` - Foreign constant SDL_INIT_JOYSTICK
- Constant `SDL.INIT.NOPARACHUTE` - Foreign constant SDL_INIT_NOPARACHUTE
- Constant `SDL.INIT.TIMER` - Foreign constant SDL_INIT_TIMER
- Constant `SDL.INIT.VIDEO` - Foreign constant SDL_INIT_VIDEO
- Constant `SDL.IYUV.OVERLAY` - Foreign constant SDL_IYUV_OVERLAY
- Process `SDL.Init` - Foreign function SDL_Init
- Process `SDL.InitSubSystem` - Foreign function SDL_InitSubSystem
- Data type `SDL.JoyAxisEvent` - Foreign struct type SDL_JoyAxisEvent
- Process `SDL.JoyAxisEvent.axis.get` - Foreign function SDL_JoyAxisEvent_axis_get
- Process `SDL.JoyAxisEvent.axis.set` - Foreign function SDL_JoyAxisEvent_axis_set
- Process `SDL.JoyAxisEvent.type.get` - Foreign function SDL_JoyAxisEvent_type_get
- Process `SDL.JoyAxisEvent.type.set` - Foreign function SDL_JoyAxisEvent_type_set
- Process `SDL.JoyAxisEvent.value.get` - Foreign function SDL_JoyAxisEvent_value_get
- Process `SDL.JoyAxisEvent.value.set` - Foreign function SDL_JoyAxisEvent_value_set
- Process `SDL.JoyAxisEvent.which.get` - Foreign function SDL_JoyAxisEvent_which_get
- Process `SDL.JoyAxisEvent.which.set` - Foreign function SDL_JoyAxisEvent_which_set
- Data type `SDL.JoyBallEvent` - Foreign struct type SDL_JoyBallEvent
- Process `SDL.JoyBallEvent.ball.get` - Foreign function SDL_JoyBallEvent_ball_get
- Process `SDL.JoyBallEvent.ball.set` - Foreign function SDL_JoyBallEvent_ball_set
- Process `SDL.JoyBallEvent.type.get` - Foreign function SDL_JoyBallEvent_type_get
- Process `SDL.JoyBallEvent.type.set` - Foreign function SDL_JoyBallEvent_type_set
- Process `SDL.JoyBallEvent.which.get` - Foreign function SDL_JoyBallEvent_which_get
- Process `SDL.JoyBallEvent.which.set` - Foreign function SDL_JoyBallEvent_which_set
- Process `SDL.JoyBallEvent.xrel.get` - Foreign function SDL_JoyBallEvent_xrel_get
- Process `SDL.JoyBallEvent.xrel.set` - Foreign function SDL_JoyBallEvent_xrel_set
- Process `SDL.JoyBallEvent.yrel.get` - Foreign function SDL_JoyBallEvent_yrel_get
- Process `SDL.JoyBallEvent.yrel.set` - Foreign function SDL_JoyBallEvent_yrel_set
- Data type `SDL.JoyButtonEvent` - Foreign struct type SDL_JoyButtonEvent
- Process `SDL.JoyButtonEvent.button.get` - Foreign function SDL_JoyButtonEvent_button_get
- Process `SDL.JoyButtonEvent.button.set` - Foreign function SDL_JoyButtonEvent_button_set
- Process `SDL.JoyButtonEvent.state.get` - Foreign function SDL_JoyButtonEvent_state_get
- Process `SDL.JoyButtonEvent.state.set` - Foreign function SDL_JoyButtonEvent_state_set
- Process `SDL.JoyButtonEvent.type.get` - Foreign function SDL_JoyButtonEvent_type_get
- Process `SDL.JoyButtonEvent.type.set` - Foreign function SDL_JoyButtonEvent_type_set
- Process `SDL.JoyButtonEvent.which.get` - Foreign function SDL_JoyButtonEvent_which_get
- Process `SDL.JoyButtonEvent.which.set` - Foreign function SDL_JoyButtonEvent_which_set
- Data type `SDL.JoyHatEvent` - Foreign struct type SDL_JoyHatEvent
- Process `SDL.JoyHatEvent.hat.get` - Foreign function SDL_JoyHatEvent_hat_get
- Process `SDL.JoyHatEvent.hat.set` - Foreign function SDL_JoyHatEvent_hat_set
- Process `SDL.JoyHatEvent.type.get` - Foreign function SDL_JoyHatEvent_type_get
- Process `SDL.JoyHatEvent.type.set` - Foreign function SDL_JoyHatEvent_type_set
- Process `SDL.JoyHatEvent.value.get` - Foreign function SDL_JoyHatEvent_value_get
- Process `SDL.JoyHatEvent.value.set` - Foreign function SDL_JoyHatEvent_value_set
- Process `SDL.JoyHatEvent.which.get` - Foreign function SDL_JoyHatEvent_which_get
- Process `SDL.JoyHatEvent.which.set` - Foreign function SDL_JoyHatEvent_which_set
- Data type `SDL.Joystick` - Foreign struct typedef type SDL_Joystick
- Process `SDL.JoystickClose` - Foreign function SDL_JoystickClose
- Process `SDL.JoystickEventState` - Foreign function SDL_JoystickEventState
- Process `SDL.JoystickGetAxis` - Foreign function SDL_JoystickGetAxis
- Process `SDL.JoystickGetBall` - Foreign function SDL_JoystickGetBall
- Process `SDL.JoystickGetButton` - Foreign function SDL_JoystickGetButton
- Process `SDL.JoystickGetHat` - Foreign function SDL_JoystickGetHat
- Process `SDL.JoystickIndex` - Foreign function SDL_JoystickIndex
- Process `SDL.JoystickName` - Foreign function SDL_JoystickName
- Process `SDL.JoystickNumAxes` - Foreign function SDL_JoystickNumAxes
- Process `SDL.JoystickNumBalls` - Foreign function SDL_JoystickNumBalls
- Process `SDL.JoystickNumButtons` - Foreign function SDL_JoystickNumButtons
- Process `SDL.JoystickNumHats` - Foreign function SDL_JoystickNumHats
- Process `SDL.JoystickOpen` - Foreign function SDL_JoystickOpen
- Process `SDL.JoystickOpened` - Foreign function SDL_JoystickOpened
- Process `SDL.JoystickUpdate` - Foreign function SDL_JoystickUpdate
- Data type `SDL.KeyboardEvent` - Foreign struct type SDL_KeyboardEvent
- Process `SDL.KeyboardEvent.keysym.get` - Foreign function SDL_KeyboardEvent_keysym_get
- Process `SDL.KeyboardEvent.keysym.set` - Foreign function SDL_KeyboardEvent_keysym_set
- Process `SDL.KeyboardEvent.state.get` - Foreign function SDL_KeyboardEvent_state_get
- Process `SDL.KeyboardEvent.state.set` - Foreign function SDL_KeyboardEvent_state_set
- Process `SDL.KeyboardEvent.type.get` - Foreign function SDL_KeyboardEvent_type_get
- Process `SDL.KeyboardEvent.type.set` - Foreign function SDL_KeyboardEvent_type_set
- Process `SDL.KeyboardEvent.which.get` - Foreign function SDL_KeyboardEvent_which_get
- Process `SDL.KeyboardEvent.which.set` - Foreign function SDL_KeyboardEvent_which_set
- Constant `SDL.LOGPAL` - Foreign constant SDL_LOGPAL
- Process `SDL.ListModes` - Foreign function SDL_ListModes
- Process `SDL.LoadBMP.RW` - Foreign function SDL_LoadBMP_RW
- Process `SDL.LoadWAV.RW` - Foreign function SDL_LoadWAV_RW
- Process `SDL.LockAudio` - Foreign function SDL_LockAudio
- Process `SDL.LockSurface` - Foreign function SDL_LockSurface
- Process `SDL.LockYUVOverlay` - Foreign function SDL_LockYUVOverlay
- Process `SDL.LowerBlit` - Foreign function SDL_LowerBlit
- Constant `SDL.MIX.MAXVOLUME` - Foreign constant SDL_MIX_MAXVOLUME
- Process `SDL.MapRGB` - Foreign function SDL_MapRGB
- Process `SDL.MapRGBA` - Foreign function SDL_MapRGBA
- Process `SDL.MixAudio` - Foreign function SDL_MixAudio
- Data type `SDL.MouseButtonEvent` - Foreign struct type SDL_MouseButtonEvent
- Process `SDL.MouseButtonEvent.button.get` - Foreign function SDL_MouseButtonEvent_button_get
- Process `SDL.MouseButtonEvent.button.set` - Foreign function SDL_MouseButtonEvent_button_set
- Process `SDL.MouseButtonEvent.state.get` - Foreign function SDL_MouseButtonEvent_state_get
- Process `SDL.MouseButtonEvent.state.set` - Foreign function SDL_MouseButtonEvent_state_set
- Process `SDL.MouseButtonEvent.type.get` - Foreign function SDL_MouseButtonEvent_type_get
- Process `SDL.MouseButtonEvent.type.set` - Foreign function SDL_MouseButtonEvent_type_set
- Process `SDL.MouseButtonEvent.which.get` - Foreign function SDL_MouseButtonEvent_which_get
- Process `SDL.MouseButtonEvent.which.set` - Foreign function SDL_MouseButtonEvent_which_set
- Process `SDL.MouseButtonEvent.x.get` - Foreign function SDL_MouseButtonEvent_x_get
- Process `SDL.MouseButtonEvent.x.set` - Foreign function SDL_MouseButtonEvent_x_set
- Process `SDL.MouseButtonEvent.y.get` - Foreign function SDL_MouseButtonEvent_y_get
- Process `SDL.MouseButtonEvent.y.set` - Foreign function SDL_MouseButtonEvent_y_set
- Data type `SDL.MouseMotionEvent` - Foreign struct type SDL_MouseMotionEvent
- Process `SDL.MouseMotionEvent.state.get` - Foreign function SDL_MouseMotionEvent_state_get
- Process `SDL.MouseMotionEvent.state.set` - Foreign function SDL_MouseMotionEvent_state_set
- Process `SDL.MouseMotionEvent.type.get` - Foreign function SDL_MouseMotionEvent_type_get
- Process `SDL.MouseMotionEvent.type.set` - Foreign function SDL_MouseMotionEvent_type_set
- Process `SDL.MouseMotionEvent.which.get` - Foreign function SDL_MouseMotionEvent_which_get
- Process `SDL.MouseMotionEvent.which.set` - Foreign function SDL_MouseMotionEvent_which_set
- Process `SDL.MouseMotionEvent.x.get` - Foreign function SDL_MouseMotionEvent_x_get
- Process `SDL.MouseMotionEvent.x.set` - Foreign function SDL_MouseMotionEvent_x_set
- Process `SDL.MouseMotionEvent.xrel.get` - Foreign function SDL_MouseMotionEvent_xrel_get
- Process `SDL.MouseMotionEvent.xrel.set` - Foreign function SDL_MouseMotionEvent_xrel_set
- Process `SDL.MouseMotionEvent.y.get` - Foreign function SDL_MouseMotionEvent_y_get
- Process `SDL.MouseMotionEvent.y.set` - Foreign function SDL_MouseMotionEvent_y_set
- Process `SDL.MouseMotionEvent.yrel.get` - Foreign function SDL_MouseMotionEvent_yrel_get
- Process `SDL.MouseMotionEvent.yrel.set` - Foreign function SDL_MouseMotionEvent_yrel_set
- Constant `SDL.NOFRAME` - Foreign constant SDL_NOFRAME
- Process `SDL.NumJoysticks` - Foreign function SDL_NumJoysticks
- Constant `SDL.OPENGL` - Foreign constant SDL_OPENGL
- Constant `SDL.OPENGLBLIT` - Foreign constant SDL_OPENGLBLIT
- Process `SDL.OpenAudio` - Foreign function SDL_OpenAudio
- Data type `SDL.Overlay` - Foreign struct type SDL_Overlay
- Process `SDL.Overlay.UnusedBits.get` - Foreign function SDL_Overlay_UnusedBits_get
- Process `SDL.Overlay.UnusedBits.set` - Foreign function SDL_Overlay_UnusedBits_set
- Process `SDL.Overlay.format.get` - Foreign function SDL_Overlay_format_get
- Process `SDL.Overlay.format.set` - Foreign function SDL_Overlay_format_set
- Process `SDL.Overlay.h.get` - Foreign function SDL_Overlay_h_get
- Process `SDL.Overlay.h.set` - Foreign function SDL_Overlay_h_set
- Process `SDL.Overlay.hw.overlay.get` - Foreign function SDL_Overlay_hw_overlay_get
- Process `SDL.Overlay.hw.overlay.set` - Foreign function SDL_Overlay_hw_overlay_set
- Process `SDL.Overlay.hwdata.get` - Foreign function SDL_Overlay_hwdata_get
- Process `SDL.Overlay.hwdata.set` - Foreign function SDL_Overlay_hwdata_set
- Process `SDL.Overlay.hwfuncs.get` - Foreign function SDL_Overlay_hwfuncs_get
- Process `SDL.Overlay.hwfuncs.set` - Foreign function SDL_Overlay_hwfuncs_set
- Process `SDL.Overlay.pitches.get` - Foreign function SDL_Overlay_pitches_get
- Process `SDL.Overlay.pitches.set` - Foreign function SDL_Overlay_pitches_set
- Process `SDL.Overlay.pixels.get` - Foreign function SDL_Overlay_pixels_get
- Process `SDL.Overlay.pixels.set` - Foreign function SDL_Overlay_pixels_set
- Process `SDL.Overlay.planes.get` - Foreign function SDL_Overlay_planes_get
- Process `SDL.Overlay.planes.set` - Foreign function SDL_Overlay_planes_set
- Process `SDL.Overlay.w.get` - Foreign function SDL_Overlay_w_get
- Process `SDL.Overlay.w.set` - Foreign function SDL_Overlay_w_set
- Constant `SDL.PHYSPAL` - Foreign constant SDL_PHYSPAL
- Constant `SDL.PREALLOC` - Foreign constant SDL_PREALLOC
- Data type `SDL.Palette` - Foreign struct type SDL_Palette
- Process `SDL.Palette.colors.get` - Foreign function SDL_Palette_colors_get
- Process `SDL.Palette.colors.set` - Foreign function SDL_Palette_colors_set
- Process `SDL.Palette.ncolors.get` - Foreign function SDL_Palette_ncolors_get
- Process `SDL.Palette.ncolors.set` - Foreign function SDL_Palette_ncolors_set
- Process `SDL.PauseAudio` - Foreign function SDL_PauseAudio
- Process `SDL.PeepEvents` - Foreign function SDL_PeepEvents
- Data type `SDL.PixelFormat` - Foreign struct type SDL_PixelFormat
- Process `SDL.PixelFormat.Aloss.get` - Foreign function SDL_PixelFormat_Aloss_get
- Process `SDL.PixelFormat.Aloss.set` - Foreign function SDL_PixelFormat_Aloss_set
- Process `SDL.PixelFormat.Amask.get` - Foreign function SDL_PixelFormat_Amask_get
- Process `SDL.PixelFormat.Amask.set` - Foreign function SDL_PixelFormat_Amask_set
- Process `SDL.PixelFormat.Ashift.get` - Foreign function SDL_PixelFormat_Ashift_get
- Process `SDL.PixelFormat.Ashift.set` - Foreign function SDL_PixelFormat_Ashift_set
- Process `SDL.PixelFormat.BitsPerPixel.get` - Foreign function SDL_PixelFormat_BitsPerPixel_get
- Process `SDL.PixelFormat.BitsPerPixel.set` - Foreign function SDL_PixelFormat_BitsPerPixel_set
- Process `SDL.PixelFormat.Bloss.get` - Foreign function SDL_PixelFormat_Bloss_get
- Process `SDL.PixelFormat.Bloss.set` - Foreign function SDL_PixelFormat_Bloss_set
- Process `SDL.PixelFormat.Bmask.get` - Foreign function SDL_PixelFormat_Bmask_get
- Process `SDL.PixelFormat.Bmask.set` - Foreign function SDL_PixelFormat_Bmask_set
- Process `SDL.PixelFormat.Bshift.get` - Foreign function SDL_PixelFormat_Bshift_get
- Process `SDL.PixelFormat.Bshift.set` - Foreign function SDL_PixelFormat_Bshift_set
- Process `SDL.PixelFormat.BytesPerPixel.get` - Foreign function SDL_PixelFormat_BytesPerPixel_get
- Process `SDL.PixelFormat.BytesPerPixel.set` - Foreign function SDL_PixelFormat_BytesPerPixel_set
- Process `SDL.PixelFormat.Gloss.get` - Foreign function SDL_PixelFormat_Gloss_get
- Process `SDL.PixelFormat.Gloss.set` - Foreign function SDL_PixelFormat_Gloss_set
- Process `SDL.PixelFormat.Gmask.get` - Foreign function SDL_PixelFormat_Gmask_get
- Process `SDL.PixelFormat.Gmask.set` - Foreign function SDL_PixelFormat_Gmask_set
- Process `SDL.PixelFormat.Gshift.get` - Foreign function SDL_PixelFormat_Gshift_get
- Process `SDL.PixelFormat.Gshift.set` - Foreign function SDL_PixelFormat_Gshift_set
- Process `SDL.PixelFormat.Rloss.get` - Foreign function SDL_PixelFormat_Rloss_get
- Process `SDL.PixelFormat.Rloss.set` - Foreign function SDL_PixelFormat_Rloss_set
- Process `SDL.PixelFormat.Rmask.get` - Foreign function SDL_PixelFormat_Rmask_get
- Process `SDL.PixelFormat.Rmask.set` - Foreign function SDL_PixelFormat_Rmask_set
- Process `SDL.PixelFormat.Rshift.get` - Foreign function SDL_PixelFormat_Rshift_get
- Process `SDL.PixelFormat.Rshift.set` - Foreign function SDL_PixelFormat_Rshift_set
- Process `SDL.PixelFormat.alpha.get` - Foreign function SDL_PixelFormat_alpha_get
- Process `SDL.PixelFormat.alpha.set` - Foreign function SDL_PixelFormat_alpha_set
- Process `SDL.PixelFormat.colorkey.get` - Foreign function SDL_PixelFormat_colorkey_get
- Process `SDL.PixelFormat.colorkey.set` - Foreign function SDL_PixelFormat_colorkey_set
- Process `SDL.PixelFormat.palette.get` - Foreign function SDL_PixelFormat_palette_get
- Process `SDL.PixelFormat.palette.set` - Foreign function SDL_PixelFormat_palette_set
- Process `SDL.PollEvent` - Foreign function SDL_PollEvent
- Process `SDL.PumpEvents` - Foreign function SDL_PumpEvents
- Process `SDL.PushEvent` - Foreign function SDL_PushEvent
- Constant `SDL.QUERY` - Foreign constant SDL_QUERY
- Process `SDL.Quit` - Foreign function SDL_Quit
- Data type `SDL.QuitEvent` - Foreign struct type SDL_QuitEvent
- Process `SDL.QuitEvent.type.get` - Foreign function SDL_QuitEvent_type_get
- Process `SDL.QuitEvent.type.set` - Foreign function SDL_QuitEvent_type_set
- Process `SDL.QuitSubSystem` - Foreign function SDL_QuitSubSystem
- Constant `SDL.RESIZABLE` - Foreign constant SDL_RESIZABLE
- Constant `SDL.RLEACCEL` - Foreign constant SDL_RLEACCEL
- Constant `SDL.RLEACCELOK` - Foreign constant SDL_RLEACCELOK
- Data type `SDL.Rect` - Foreign struct type SDL_Rect
- Process `SDL.Rect.h.get` - Foreign function SDL_Rect_h_get
- Process `SDL.Rect.h.set` - Foreign function SDL_Rect_h_set
- Process `SDL.Rect.w.get` - Foreign function SDL_Rect_w_get
- Process `SDL.Rect.w.set` - Foreign function SDL_Rect_w_set
- Process `SDL.Rect.x.get` - Foreign function SDL_Rect_x_get
- Process `SDL.Rect.x.set` - Foreign function SDL_Rect_x_set
- Process `SDL.Rect.y.get` - Foreign function SDL_Rect_y_get
- Process `SDL.Rect.y.set` - Foreign function SDL_Rect_y_set
- Data type `SDL.ResizeEvent` - Foreign struct type SDL_ResizeEvent
- Process `SDL.ResizeEvent.h.get` - Foreign function SDL_ResizeEvent_h_get
- Process `SDL.ResizeEvent.h.set` - Foreign function SDL_ResizeEvent_h_set
- Process `SDL.ResizeEvent.type.get` - Foreign function SDL_ResizeEvent_type_get
- Process `SDL.ResizeEvent.type.set` - Foreign function SDL_ResizeEvent_type_set
- Process `SDL.ResizeEvent.w.get` - Foreign function SDL_ResizeEvent_w_get
- Process `SDL.ResizeEvent.w.set` - Foreign function SDL_ResizeEvent_w_set
- Constant `SDL.SRCALPHA` - Foreign constant SDL_SRCALPHA
- Constant `SDL.SRCCOLORKEY` - Foreign constant SDL_SRCCOLORKEY
- Constant `SDL.SWSURFACE` - Foreign constant SDL_SWSURFACE
- Process `SDL.SetAlpha` - Foreign function SDL_SetAlpha
- Process `SDL.SetClipRect` - Foreign function SDL_SetClipRect
- Process `SDL.SetColorKey` - Foreign function SDL_SetColorKey
- Process `SDL.SetColors` - Foreign function SDL_SetColors
- Process `SDL.SetEventFilter` - Foreign function SDL_SetEventFilter
- Process `SDL.SetGamma` - Foreign function SDL_SetGamma
- Process `SDL.SetGammaRamp` - Foreign function SDL_SetGammaRamp
- Process `SDL.SetModState` - Foreign function SDL_SetModState
- Process `SDL.SetPalette` - Foreign function SDL_SetPalette
- Process `SDL.SetVideoMode` - Foreign function SDL_SetVideoMode
- Process `SDL.SoftStretch` - Foreign function SDL_SoftStretch
- Data type `SDL.Surface` - Foreign struct type SDL_Surface
- Process `SDL.Surface.clip.rect.get` - Foreign function SDL_Surface_clip_rect_get
- Process `SDL.Surface.clip.rect.set` - Foreign function SDL_Surface_clip_rect_set
- Process `SDL.Surface.flags.get` - Foreign function SDL_Surface_flags_get
- Process `SDL.Surface.flags.set` - Foreign function SDL_Surface_flags_set
- Process `SDL.Surface.format.get` - Foreign function SDL_Surface_format_get
- Process `SDL.Surface.format.set` - Foreign function SDL_Surface_format_set
- Process `SDL.Surface.format.version.get` - Foreign function SDL_Surface_format_version_get
- Process `SDL.Surface.format.version.set` - Foreign function SDL_Surface_format_version_set
- Process `SDL.Surface.h.get` - Foreign function SDL_Surface_h_get
- Process `SDL.Surface.h.set` - Foreign function SDL_Surface_h_set
- Process `SDL.Surface.hwdata.get` - Foreign function SDL_Surface_hwdata_get
- Process `SDL.Surface.hwdata.set` - Foreign function SDL_Surface_hwdata_set
- Process `SDL.Surface.locked.get` - Foreign function SDL_Surface_locked_get
- Process `SDL.Surface.locked.set` - Foreign function SDL_Surface_locked_set
- Process `SDL.Surface.map.get` - Foreign function SDL_Surface_map_get
- Process `SDL.Surface.map.set` - Foreign function SDL_Surface_map_set
- Process `SDL.Surface.offset.get` - Foreign function SDL_Surface_offset_get
- Process `SDL.Surface.offset.set` - Foreign function SDL_Surface_offset_set
- Process `SDL.Surface.pitch.get` - Foreign function SDL_Surface_pitch_get
- Process `SDL.Surface.pitch.set` - Foreign function SDL_Surface_pitch_set
- Process `SDL.Surface.pixels.get` - Foreign function SDL_Surface_pixels_get
- Process `SDL.Surface.pixels.set` - Foreign function SDL_Surface_pixels_set
- Process `SDL.Surface.refcount.get` - Foreign function SDL_Surface_refcount_get
- Process `SDL.Surface.refcount.set` - Foreign function SDL_Surface_refcount_set
- Process `SDL.Surface.unused1.get` - Foreign function SDL_Surface_unused1_get
- Process `SDL.Surface.unused1.set` - Foreign function SDL_Surface_unused1_set
- Process `SDL.Surface.w.get` - Foreign function SDL_Surface_w_get
- Process `SDL.Surface.w.set` - Foreign function SDL_Surface_w_set
- Data type `SDL.SysWMEvent` - Foreign struct type SDL_SysWMEvent
- Process `SDL.SysWMEvent.msg.get` - Foreign function SDL_SysWMEvent_msg_get
- Process `SDL.SysWMEvent.msg.set` - Foreign function SDL_SysWMEvent_msg_set
- Process `SDL.SysWMEvent.type.get` - Foreign function SDL_SysWMEvent_type_get
- Process `SDL.SysWMEvent.type.set` - Foreign function SDL_SysWMEvent_type_set
- Data type `SDL.SysWMmsg` - Foreign struct type struct SDL_SysWMmsg
- Constant `SDL.UYVY.OVERLAY` - Foreign constant SDL_UYVY_OVERLAY
- Process `SDL.UnlockAudio` - Foreign function SDL_UnlockAudio
- Process `SDL.UnlockSurface` - Foreign function SDL_UnlockSurface
- Process `SDL.UnlockYUVOverlay` - Foreign function SDL_UnlockYUVOverlay
- Process `SDL.UpdateRect` - Foreign function SDL_UpdateRect
- Process `SDL.UpdateRects` - Foreign function SDL_UpdateRects
- Process `SDL.UpperBlit` - Foreign function SDL_UpperBlit
- Data type `SDL.UserEvent` - Foreign struct type SDL_UserEvent
- Process `SDL.UserEvent.code.get` - Foreign function SDL_UserEvent_code_get
- Process `SDL.UserEvent.code.set` - Foreign function SDL_UserEvent_code_set
- Process `SDL.UserEvent.data1.get` - Foreign function SDL_UserEvent_data1_get
- Process `SDL.UserEvent.data1.set` - Foreign function SDL_UserEvent_data1_set
- Process `SDL.UserEvent.data2.get` - Foreign function SDL_UserEvent_data2_get
- Process `SDL.UserEvent.data2.set` - Foreign function SDL_UserEvent_data2_set
- Process `SDL.UserEvent.type.get` - Foreign function SDL_UserEvent_type_get
- Process `SDL.UserEvent.type.set` - Foreign function SDL_UserEvent_type_set
- Process `SDL.VideoDriverName` - Foreign function SDL_VideoDriverName
- Data type `SDL.VideoInfo` - Foreign struct type SDL_VideoInfo
- Process `SDL.VideoInfo.UnusedBits1.get` - Foreign function SDL_VideoInfo_UnusedBits1_get
- Process `SDL.VideoInfo.UnusedBits1.set` - Foreign function SDL_VideoInfo_UnusedBits1_set
- Process `SDL.VideoInfo.UnusedBits2.get` - Foreign function SDL_VideoInfo_UnusedBits2_get
- Process `SDL.VideoInfo.UnusedBits2.set` - Foreign function SDL_VideoInfo_UnusedBits2_set
- Process `SDL.VideoInfo.UnusedBits3.get` - Foreign function SDL_VideoInfo_UnusedBits3_get
- Process `SDL.VideoInfo.UnusedBits3.set` - Foreign function SDL_VideoInfo_UnusedBits3_set
- Process `SDL.VideoInfo.blit.fill.get` - Foreign function SDL_VideoInfo_blit_fill_get
- Process `SDL.VideoInfo.blit.fill.set` - Foreign function SDL_VideoInfo_blit_fill_set
- Process `SDL.VideoInfo.blit.hw.A.get` - Foreign function SDL_VideoInfo_blit_hw_A_get
- Process `SDL.VideoInfo.blit.hw.A.set` - Foreign function SDL_VideoInfo_blit_hw_A_set
- Process `SDL.VideoInfo.blit.hw.CC.get` - Foreign function SDL_VideoInfo_blit_hw_CC_get
- Process `SDL.VideoInfo.blit.hw.CC.set` - Foreign function SDL_VideoInfo_blit_hw_CC_set
- Process `SDL.VideoInfo.blit.hw.get` - Foreign function SDL_VideoInfo_blit_hw_get
- Process `SDL.VideoInfo.blit.hw.set` - Foreign function SDL_VideoInfo_blit_hw_set
- Process `SDL.VideoInfo.blit.sw.A.get` - Foreign function SDL_VideoInfo_blit_sw_A_get
- Process `SDL.VideoInfo.blit.sw.A.set` - Foreign function SDL_VideoInfo_blit_sw_A_set
- Process `SDL.VideoInfo.blit.sw.CC.get` - Foreign function SDL_VideoInfo_blit_sw_CC_get
- Process `SDL.VideoInfo.blit.sw.CC.set` - Foreign function SDL_VideoInfo_blit_sw_CC_set
- Process `SDL.VideoInfo.blit.sw.get` - Foreign function SDL_VideoInfo_blit_sw_get
- Process `SDL.VideoInfo.blit.sw.set` - Foreign function SDL_VideoInfo_blit_sw_set
- Process `SDL.VideoInfo.hw.available.get` - Foreign function SDL_VideoInfo_hw_available_get
- Process `SDL.VideoInfo.hw.available.set` - Foreign function SDL_VideoInfo_hw_available_set
- Process `SDL.VideoInfo.vfmt.get` - Foreign function SDL_VideoInfo_vfmt_get
- Process `SDL.VideoInfo.vfmt.set` - Foreign function SDL_VideoInfo_vfmt_set
- Process `SDL.VideoInfo.video.mem.get` - Foreign function SDL_VideoInfo_video_mem_get
- Process `SDL.VideoInfo.video.mem.set` - Foreign function SDL_VideoInfo_video_mem_set
- Process `SDL.VideoInfo.wm.available.get` - Foreign function SDL_VideoInfo_wm_available_get
- Process `SDL.VideoInfo.wm.available.set` - Foreign function SDL_VideoInfo_wm_available_set
- Process `SDL.VideoInit` - Foreign function SDL_VideoInit
- Process `SDL.VideoModeOK` - Foreign function SDL_VideoModeOK
- Process `SDL.VideoQuit` - Foreign function SDL_VideoQuit
- Process `SDL.WM.GetCaption` - Foreign function SDL_WM_GetCaption
- Process `SDL.WM.GrabInput` - Foreign function SDL_WM_GrabInput
- Process `SDL.WM.IconifyWindow` - Foreign function SDL_WM_IconifyWindow
- Process `SDL.WM.SetCaption` - Foreign function SDL_WM_SetCaption
- Process `SDL.WM.SetIcon` - Foreign function SDL_WM_SetIcon
- Process `SDL.WM.ToggleFullScreen` - Foreign function SDL_WM_ToggleFullScreen
- Process `SDL.WaitEvent` - Foreign function SDL_WaitEvent
- Process `SDL.WasInit` - Foreign function SDL_WasInit
- Constant `SDL.YUY2.OVERLAY` - Foreign constant SDL_YUY2_OVERLAY
- Constant `SDL.YV12.OVERLAY` - Foreign constant SDL_YV12_OVERLAY
- Constant `SDL.YVYU.OVERLAY` - Foreign constant SDL_YVYU_OVERLAY
- Data type `SDL.audiostatus` - Foreign enumeration type SDL_audiostatus
- Group `SDL.audiostatus` - Foreign enumeration SDL_audiostatus
- Data type `SDL.blit` - Foreign function pointer typedef type SDL_blit
- Data type `SDL.bool` - Foreign enumeration type SDL_bool
- Group `SDL.bool` - Foreign enumeration SDL_bool
- Data type `SDL.eventaction` - Foreign enumeration type SDL_eventaction
- Group `SDL.eventaction` - Foreign enumeration SDL_eventaction
- Data type `SDL.keysym` - Foreign struct type SDL_keysym
- Process `SDL.keysym.mod.get` - Foreign function SDL_keysym_mod_get
- Process `SDL.keysym.mod.set` - Foreign function SDL_keysym_mod_set
- Process `SDL.keysym.scancode.get` - Foreign function SDL_keysym_scancode_get
- Process `SDL.keysym.scancode.set` - Foreign function SDL_keysym_scancode_set
- Process `SDL.keysym.sym.get` - Foreign function SDL_keysym_sym_get
- Process `SDL.keysym.sym.set` - Foreign function SDL_keysym_sym_set
- Process `SDL.keysym.unicode.get` - Foreign function SDL_keysym_unicode_get
- Process `SDL.keysym.unicode.set` - Foreign function SDL_keysym_unicode_set
- Data type `SDLKey` - Foreign enumeration type SDLKey
- Group `SDLKey` - Foreign enumeration SDLKey
- Data type `SDLMod` - Foreign enumeration type SDLMod
- Group `SDLMod` - Foreign enumeration SDLMod
- Process `delete.SDL.ActiveEvent` - Foreign function delete_SDL_ActiveEvent
- Process `delete.SDL.AudioCVT` - Foreign function delete_SDL_AudioCVT
- Process `delete.SDL.AudioSpec` - Foreign function delete_SDL_AudioSpec
- Process `delete.SDL.Color` - Foreign function delete_SDL_Color
- Process `delete.SDL.Event` - Foreign function delete_SDL_Event
- Process `delete.SDL.ExposeEvent` - Foreign function delete_SDL_ExposeEvent
- Process `delete.SDL.JoyAxisEvent` - Foreign function delete_SDL_JoyAxisEvent
- Process `delete.SDL.JoyBallEvent` - Foreign function delete_SDL_JoyBallEvent
- Process `delete.SDL.JoyButtonEvent` - Foreign function delete_SDL_JoyButtonEvent
- Process `delete.SDL.JoyHatEvent` - Foreign function delete_SDL_JoyHatEvent
- Process `delete.SDL.KeyboardEvent` - Foreign function delete_SDL_KeyboardEvent
- Process `delete.SDL.MouseButtonEvent` - Foreign function delete_SDL_MouseButtonEvent
- Process `delete.SDL.MouseMotionEvent` - Foreign function delete_SDL_MouseMotionEvent
- Process `delete.SDL.Overlay` - Foreign function delete_SDL_Overlay
- Process `delete.SDL.Palette` - Foreign function delete_SDL_Palette
- Process `delete.SDL.PixelFormat` - Foreign function delete_SDL_PixelFormat
- Process `delete.SDL.QuitEvent` - Foreign function delete_SDL_QuitEvent
- Process `delete.SDL.Rect` - Foreign function delete_SDL_Rect
- Process `delete.SDL.ResizeEvent` - Foreign function delete_SDL_ResizeEvent
- Process `delete.SDL.Surface` - Foreign function delete_SDL_Surface
- Process `delete.SDL.SysWMEvent` - Foreign function delete_SDL_SysWMEvent
- Process `delete.SDL.UserEvent` - Foreign function delete_SDL_UserEvent
- Process `delete.SDL.VideoInfo` - Foreign function delete_SDL_VideoInfo
- Process `delete.SDL.keysym` - Foreign function delete_SDL_keysym
- Process `new.SDL.ActiveEvent` - Foreign function new_SDL_ActiveEvent
- Process `new.SDL.AudioCVT` - Foreign function new_SDL_AudioCVT
- Process `new.SDL.AudioSpec` - Foreign function new_SDL_AudioSpec
- Process `new.SDL.Color` - Foreign function new_SDL_Color
- Process `new.SDL.Event` - Foreign function new_SDL_Event
- Process `new.SDL.ExposeEvent` - Foreign function new_SDL_ExposeEvent
- Process `new.SDL.JoyAxisEvent` - Foreign function new_SDL_JoyAxisEvent
- Process `new.SDL.JoyBallEvent` - Foreign function new_SDL_JoyBallEvent
- Process `new.SDL.JoyButtonEvent` - Foreign function new_SDL_JoyButtonEvent
- Process `new.SDL.JoyHatEvent` - Foreign function new_SDL_JoyHatEvent
- Process `new.SDL.KeyboardEvent` - Foreign function new_SDL_KeyboardEvent
- Process `new.SDL.MouseButtonEvent` - Foreign function new_SDL_MouseButtonEvent
- Process `new.SDL.MouseMotionEvent` - Foreign function new_SDL_MouseMotionEvent
- Process `new.SDL.Overlay` - Foreign function new_SDL_Overlay
- Process `new.SDL.Palette` - Foreign function new_SDL_Palette
- Process `new.SDL.PixelFormat` - Foreign function new_SDL_PixelFormat
- Process `new.SDL.QuitEvent` - Foreign function new_SDL_QuitEvent
- Process `new.SDL.Rect` - Foreign function new_SDL_Rect
- Process `new.SDL.ResizeEvent` - Foreign function new_SDL_ResizeEvent
- Process `new.SDL.Surface` - Foreign function new_SDL_Surface
- Process `new.SDL.SysWMEvent` - Foreign function new_SDL_SysWMEvent
- Process `new.SDL.UserEvent` - Foreign function new_SDL_UserEvent
- Process `new.SDL.VideoInfo` - Foreign function new_SDL_VideoInfo
- Process `new.SDL.keysym` - Foreign function new_SDL_keysym
- Process `occ.SDL.GetError` - Foreign function occ_SDL_GetError
- Process `occ.SDL.Init` - Foreign function occ_SDL_Init
- Process `occ.SDL.LoadBMP` - Foreign function occ_SDL_LoadBMP
- Process `occ.SDL.LoadWAV` - Foreign function occ_SDL_LoadWAV
- Process `occ.SDL.SaveBMP` - Foreign function occ_SDL_SaveBMP
- Process `occ.SDL.blit` - Blit a rectangle from one surface to another
- Process `occ.SDL.blit.raster` - Blit a rectangle from a raster onto a surface
- Process `occ.SDL.joy.calibrate` - Provides joystick calibration and subsequent adjustment of reported values
- Process `occ.SDL.joy.calibrator` - Launches a joystick calibration process
- Process `occ.SDL.joy.docalibrate` - Runs the joystick calibration routine
- Process `occ.SDL.joy.doread` - Reads the current axes and buttons for a joystick
- Process `occ.SDL.joy.server` - Provides a server process that monitors joysticks
- Process `occ.SDL.joy.start` - Starts a new instance of the SDL joystick server process
- Process `occ.SDL.make.surface` - Turn an occam array into an SDL surface
- Process `occ.SDL.set.rect` - Set the values in an SDL.Rect structure
- Process `occ.SDL.wait.button` - Waits for a button press event, discards other events
- Process `occ.SDL.wait.button.axes` - Waits for a button press event and records axes positions, discards other events
- Process `occ.SDL.waitfor.button` - Waits for a particular button press, discards other events
- Process `occ.SDL.waitfor.button.axes` - Waits for a particular button press and records axis values, discards other events
- Process `occ.SDL.zero.terminate` - Zero-terminate a string
- Process `occ.get.SDL.Surface.pixels` - Foreign function occ_get_SDL_Surface_pixels
- Data type `private.hwdata` - Foreign struct type struct private_hwdata
- Data type `private.yuvhwdata` - Foreign struct type struct private_yuvhwdata
- Data type `private.yuvhwfuncs` - Foreign struct type struct private_yuvhwfuncs
- Data type `underscore.SDL.Joystick` - Foreign struct type struct _SDL_Joystick

## Declarations

### `occSDL.inc`:17Data type `SDL.DUMMY.ENUM`

`DATA TYPE SDL.DUMMY.ENUM`

Foreign enumeration type `SDL_DUMMY_ENUM`.

### `occSDL.inc`:19Data type `SDL.ExposeEvent`

`DATA TYPE SDL.ExposeEvent`

Foreign struct type `SDL_ExposeEvent`.

### `occSDL.inc`:21Data type `SDL.UserEvent`

`DATA TYPE SDL.UserEvent`

Foreign struct type `SDL_UserEvent`.

### `occSDL.inc`:23Data type `SDL.eventaction`

`DATA TYPE SDL.eventaction`

Foreign enumeration type `SDL_eventaction`.

### `occSDL.inc`:25Data type `SDL.JoyBallEvent`

`DATA TYPE SDL.JoyBallEvent`

Foreign struct type `SDL_JoyBallEvent`.

### `occSDL.inc`:27Data type `SDL.JoyHatEvent`

`DATA TYPE SDL.JoyHatEvent`

Foreign struct type `SDL_JoyHatEvent`.

### `occSDL.inc`:29Data type `SDL.QuitEvent`

`DATA TYPE SDL.QuitEvent`

Foreign struct type `SDL_QuitEvent`.

### `occSDL.inc`:31Data type `SDL.Event`

`DATA TYPE SDL.Event`

Foreign union type `SDL_Event`.

### `occSDL.inc`:33Data type `SDL.Surface`

`DATA TYPE SDL.Surface`

Foreign struct type `SDL_Surface`.

### `occSDL.inc`:35Data type `SDL.GrabMode`

`DATA TYPE SDL.GrabMode`

Foreign enumeration type `SDL_GrabMode`.

### `occSDL.inc`:37Data type `SDL.blit`

`DATA TYPE SDL.blit`

Foreign function pointer typedef type `SDL_blit`.

### `occSDL.inc`:39Data type `SDL.bool`

`DATA TYPE SDL.bool`

Foreign enumeration type `SDL_bool`.

### `occSDL.inc`:41Data type `SDL.Palette`

`DATA TYPE SDL.Palette`

Foreign struct type `SDL_Palette`.

### `occSDL.inc`:43Data type `private.hwdata`

`DATA TYPE private.hwdata`

Foreign struct type `struct private_hwdata`.

### `occSDL.inc`:45Data type `private.yuvhwdata`

`DATA TYPE private.yuvhwdata`

Foreign struct type `struct private_yuvhwdata`.

### `occSDL.inc`:47Data type `SDL.ResizeEvent`

`DATA TYPE SDL.ResizeEvent`

Foreign struct type `SDL_ResizeEvent`.

### `occSDL.inc`:49Data type `SDL.ActiveEvent`

`DATA TYPE SDL.ActiveEvent`

Foreign struct type `SDL_ActiveEvent`.

### `occSDL.inc`:51Data type `SDL.AudioSpec`

`DATA TYPE SDL.AudioSpec`

Foreign struct type `SDL_AudioSpec`.

### `occSDL.inc`:53Data type `SDLKey`

`DATA TYPE SDLKey`

Foreign enumeration type `SDLKey`.

### `occSDL.inc`:55Data type `SDL.BlitMap`

`DATA TYPE SDL.BlitMap`

Foreign struct type `struct SDL_BlitMap`.

### `occSDL.inc`:57Data type `private.yuvhwfuncs`

`DATA TYPE private.yuvhwfuncs`

Foreign struct type `struct private_yuvhwfuncs`.

### `occSDL.inc`:59Data type `SDL.Rect`

`DATA TYPE SDL.Rect`

Foreign struct type `SDL_Rect`.

### `occSDL.inc`:61Data type `SDL.SysWMmsg`

`DATA TYPE SDL.SysWMmsg`

Foreign struct type `struct SDL_SysWMmsg`.

### `occSDL.inc`:63Data type `SDL.Joystick`

`DATA TYPE SDL.Joystick`

Foreign struct typedef type `SDL_Joystick`.

### `occSDL.inc`:65Data type `underscore.SDL.Joystick`

`DATA TYPE underscore.SDL.Joystick`

Foreign struct type `struct _SDL_Joystick`.

### `occSDL.inc`:67Data type `SDL.GLattr`

`DATA TYPE SDL.GLattr`

Foreign enumeration type `SDL_GLattr`.

### `occSDL.inc`:69Data type `SDL.JoyAxisEvent`

`DATA TYPE SDL.JoyAxisEvent`

Foreign struct type `SDL_JoyAxisEvent`.

### `occSDL.inc`:71Data type `SDL.Color`

`DATA TYPE SDL.Color`

Foreign struct type `SDL_Color`.

### `occSDL.inc`:73Data type `SDL.audiostatus`

`DATA TYPE SDL.audiostatus`

Foreign enumeration type `SDL_audiostatus`.

### `occSDL.inc`:75Data type `SDL.AudioCVT`

`DATA TYPE SDL.AudioCVT`

Foreign struct type `SDL_AudioCVT`.

### `occSDL.inc`:77Data type `SDL.SysWMEvent`

`DATA TYPE SDL.SysWMEvent`

Foreign struct type `SDL_SysWMEvent`.

### `occSDL.inc`:79Data type `SDL.PixelFormat`

`DATA TYPE SDL.PixelFormat`

Foreign struct type `SDL_PixelFormat`.

### `occSDL.inc`:81Data type `SDL.keysym`

`DATA TYPE SDL.keysym`

Foreign struct type `SDL_keysym`.

### `occSDL.inc`:83Data type `SDL.EventFilter`

`DATA TYPE SDL.EventFilter`

Foreign function pointer typedef type `SDL_EventFilter`.

### `occSDL.inc`:85Data type `SDL.KeyboardEvent`

`DATA TYPE SDL.KeyboardEvent`

Foreign struct type `SDL_KeyboardEvent`.

### `occSDL.inc`:87Data type `SDLMod`

`DATA TYPE SDLMod`

Foreign enumeration type `SDLMod`.

### `occSDL.inc`:89Data type `SDL.VideoInfo`

`DATA TYPE SDL.VideoInfo`

Foreign struct type `SDL_VideoInfo`.

### `occSDL.inc`:91Data type `SDL.JoyButtonEvent`

`DATA TYPE SDL.JoyButtonEvent`

Foreign struct type `SDL_JoyButtonEvent`.

### `occSDL.inc`:93Data type `SDL.MouseButtonEvent`

`DATA TYPE SDL.MouseButtonEvent`

Foreign struct type `SDL_MouseButtonEvent`.

### `occSDL.inc`:95Data type `SDL.MouseMotionEvent`

`DATA TYPE SDL.MouseMotionEvent`

Foreign struct type `SDL_MouseMotionEvent`.

### `occSDL.inc`:97Data type `SDL.Overlay`

`DATA TYPE SDL.Overlay`

Foreign struct type `SDL_Overlay`.

### `occSDL.inc`:101Constant `SDL.INIT.TIMER`

`VAL INT SDL.INIT.TIMER`

Foreign constant `SDL_INIT_TIMER`.

### `occSDL.inc`:105Constant `SDL.INIT.AUDIO`

`VAL INT SDL.INIT.AUDIO`

Foreign constant `SDL_INIT_AUDIO`.

### `occSDL.inc`:109Constant `SDL.INIT.VIDEO`

`VAL INT SDL.INIT.VIDEO`

Foreign constant `SDL_INIT_VIDEO`.

### `occSDL.inc`:113Constant `SDL.INIT.CDROM`

`VAL INT SDL.INIT.CDROM`

Foreign constant `SDL_INIT_CDROM`.

### `occSDL.inc`:117Constant `SDL.INIT.JOYSTICK`

`VAL INT SDL.INIT.JOYSTICK`

Foreign constant `SDL_INIT_JOYSTICK`.

### `occSDL.inc`:121Constant `SDL.INIT.NOPARACHUTE`

`VAL INT SDL.INIT.NOPARACHUTE`

Foreign constant `SDL_INIT_NOPARACHUTE`.

### `occSDL.inc`:125Constant `SDL.INIT.EVENTTHREAD`

`VAL INT SDL.INIT.EVENTTHREAD`

Foreign constant `SDL_INIT_EVENTTHREAD`.

### `occSDL.inc`:129Constant `SDL.INIT.EVERYTHING`

`VAL INT SDL.INIT.EVERYTHING`

Foreign constant `SDL_INIT_EVERYTHING`.

### `occSDL.inc`:132Group `SDL.bool`

``

Foreign enumeration `SDL_bool`.

### `occSDL.inc`:144Group `SDL.DUMMY.ENUM`

``

Foreign enumeration `SDL_DUMMY_ENUM`.

### `occSDL.inc`:154Constant `SDL.ALPHA.OPAQUE`

`VAL INT SDL.ALPHA.OPAQUE`

Foreign constant `SDL_ALPHA_OPAQUE`.

### `occSDL.inc`:158Constant `SDL.ALPHA.TRANSPARENT`

`VAL INT SDL.ALPHA.TRANSPARENT`

Foreign constant `SDL_ALPHA_TRANSPARENT`.

### `occSDL.inc`:162Constant `SDL.SWSURFACE`

`VAL INT SDL.SWSURFACE`

Foreign constant `SDL_SWSURFACE`.

### `occSDL.inc`:166Constant `SDL.HWSURFACE`

`VAL INT SDL.HWSURFACE`

Foreign constant `SDL_HWSURFACE`.

### `occSDL.inc`:170Constant `SDL.ASYNCBLIT`

`VAL INT SDL.ASYNCBLIT`

Foreign constant `SDL_ASYNCBLIT`.

### `occSDL.inc`:174Constant `SDL.ANYFORMAT`

`VAL INT SDL.ANYFORMAT`

Foreign constant `SDL_ANYFORMAT`.

### `occSDL.inc`:178Constant `SDL.HWPALETTE`

`VAL INT SDL.HWPALETTE`

Foreign constant `SDL_HWPALETTE`.

### `occSDL.inc`:182Constant `SDL.DOUBLEBUF`

`VAL INT SDL.DOUBLEBUF`

Foreign constant `SDL_DOUBLEBUF`.

### `occSDL.inc`:186Constant `SDL.FULLSCREEN`

`VAL INT SDL.FULLSCREEN`

Foreign constant `SDL_FULLSCREEN`.

### `occSDL.inc`:190Constant `SDL.OPENGL`

`VAL INT SDL.OPENGL`

Foreign constant `SDL_OPENGL`.

### `occSDL.inc`:194Constant `SDL.OPENGLBLIT`

`VAL INT SDL.OPENGLBLIT`

Foreign constant `SDL_OPENGLBLIT`.

### `occSDL.inc`:198Constant `SDL.RESIZABLE`

`VAL INT SDL.RESIZABLE`

Foreign constant `SDL_RESIZABLE`.

### `occSDL.inc`:202Constant `SDL.NOFRAME`

`VAL INT SDL.NOFRAME`

Foreign constant `SDL_NOFRAME`.

### `occSDL.inc`:206Constant `SDL.HWACCEL`

`VAL INT SDL.HWACCEL`

Foreign constant `SDL_HWACCEL`.

### `occSDL.inc`:210Constant `SDL.SRCCOLORKEY`

`VAL INT SDL.SRCCOLORKEY`

Foreign constant `SDL_SRCCOLORKEY`.

### `occSDL.inc`:214Constant `SDL.RLEACCELOK`

`VAL INT SDL.RLEACCELOK`

Foreign constant `SDL_RLEACCELOK`.

### `occSDL.inc`:218Constant `SDL.RLEACCEL`

`VAL INT SDL.RLEACCEL`

Foreign constant `SDL_RLEACCEL`.

### `occSDL.inc`:222Constant `SDL.SRCALPHA`

`VAL INT SDL.SRCALPHA`

Foreign constant `SDL_SRCALPHA`.

### `occSDL.inc`:226Constant `SDL.PREALLOC`

`VAL INT SDL.PREALLOC`

Foreign constant `SDL_PREALLOC`.

### `occSDL.inc`:230Constant `SDL.YV12.OVERLAY`

`VAL INT SDL.YV12.OVERLAY`

Foreign constant `SDL_YV12_OVERLAY`.

### `occSDL.inc`:234Constant `SDL.IYUV.OVERLAY`

`VAL INT SDL.IYUV.OVERLAY`

Foreign constant `SDL_IYUV_OVERLAY`.

### `occSDL.inc`:238Constant `SDL.YUY2.OVERLAY`

`VAL INT SDL.YUY2.OVERLAY`

Foreign constant `SDL_YUY2_OVERLAY`.

### `occSDL.inc`:242Constant `SDL.UYVY.OVERLAY`

`VAL INT SDL.UYVY.OVERLAY`

Foreign constant `SDL_UYVY_OVERLAY`.

### `occSDL.inc`:246Constant `SDL.YVYU.OVERLAY`

`VAL INT SDL.YVYU.OVERLAY`

Foreign constant `SDL_YVYU_OVERLAY`.

### `occSDL.inc`:249Group `SDL.GLattr`

``

Foreign enumeration `SDL_GLattr`.

### `occSDL.inc`:269Constant `SDL.LOGPAL`

`VAL INT SDL.LOGPAL`

Foreign constant `SDL_LOGPAL`.

### `occSDL.inc`:273Constant `SDL.PHYSPAL`

`VAL INT SDL.PHYSPAL`

Foreign constant `SDL_PHYSPAL`.

### `occSDL.inc`:276Group `SDL.GrabMode`

``

Foreign enumeration `SDL_GrabMode`.

### `occSDL.inc`:284Group `SDLKey`

``

Foreign enumeration `SDLKey`.

### `occSDL.inc`:522Group `SDLMod`

``

Foreign enumeration `SDLMod`.

### `occSDL.inc`:540Constant `SDL.ALL.HOTKEYS`

`VAL INT SDL.ALL.HOTKEYS`

Foreign constant `SDL_ALL_HOTKEYS`.

### `occSDL.inc`:544Constant `SDL.DEFAULT.REPEAT.DELAY`

`VAL INT SDL.DEFAULT.REPEAT.DELAY`

Foreign constant `SDL_DEFAULT_REPEAT_DELAY`.

### `occSDL.inc`:548Constant `SDL.DEFAULT.REPEAT.INTERVAL`

`VAL INT SDL.DEFAULT.REPEAT.INTERVAL`

Foreign constant `SDL_DEFAULT_REPEAT_INTERVAL`.

### `occSDL.inc`:552Constant `SDL.HAT.CENTERED`

`VAL INT SDL.HAT.CENTERED`

Foreign constant `SDL_HAT_CENTERED`.

### `occSDL.inc`:556Constant `SDL.HAT.UP`

`VAL INT SDL.HAT.UP`

Foreign constant `SDL_HAT_UP`.

### `occSDL.inc`:560Constant `SDL.HAT.RIGHT`

`VAL INT SDL.HAT.RIGHT`

Foreign constant `SDL_HAT_RIGHT`.

### `occSDL.inc`:564Constant `SDL.HAT.DOWN`

`VAL INT SDL.HAT.DOWN`

Foreign constant `SDL_HAT_DOWN`.

### `occSDL.inc`:568Constant `SDL.HAT.LEFT`

`VAL INT SDL.HAT.LEFT`

Foreign constant `SDL_HAT_LEFT`.

### `occSDL.inc`:572Constant `AUDIO.U8`

`VAL INT AUDIO.U8`

Foreign constant `AUDIO_U8`.

### `occSDL.inc`:576Constant `AUDIO.S8`

`VAL INT AUDIO.S8`

Foreign constant `AUDIO_S8`.

### `occSDL.inc`:580Constant `AUDIO.U16LSB`

`VAL INT AUDIO.U16LSB`

Foreign constant `AUDIO_U16LSB`.

### `occSDL.inc`:584Constant `AUDIO.S16LSB`

`VAL INT AUDIO.S16LSB`

Foreign constant `AUDIO_S16LSB`.

### `occSDL.inc`:588Constant `AUDIO.U16MSB`

`VAL INT AUDIO.U16MSB`

Foreign constant `AUDIO_U16MSB`.

### `occSDL.inc`:592Constant `AUDIO.S16MSB`

`VAL INT AUDIO.S16MSB`

Foreign constant `AUDIO_S16MSB`.

### `occSDL.inc`:596Constant `AUDIO.U16`

`VAL INT AUDIO.U16`

Foreign constant `AUDIO_U16`.

### `occSDL.inc`:600Constant `AUDIO.S16`

`VAL INT AUDIO.S16`

Foreign constant `AUDIO_S16`.

### `occSDL.inc`:603Group `SDL.audiostatus`

``

Foreign enumeration `SDL_audiostatus`.

### `occSDL.inc`:611Constant `SDL.MIX.MAXVOLUME`

`VAL INT SDL.MIX.MAXVOLUME`

Foreign constant `SDL_MIX_MAXVOLUME`.

### `occSDL.inc`:662Constant `SDL.ALLEVENTS`

`VAL INT SDL.ALLEVENTS`

Foreign constant `SDL_ALLEVENTS`.

### `occSDL.inc`:665Group `SDL.eventaction`

``

Foreign enumeration `SDL_eventaction`.

### `occSDL.inc`:673Constant `SDL.QUERY`

`VAL INT SDL.QUERY`

Foreign constant `SDL_QUERY`.

### `occSDL.inc`:677Constant `SDL.IGNORE`

`VAL INT SDL.IGNORE`

Foreign constant `SDL_IGNORE`.

### `occSDL.inc`:681Constant `SDL.DISABLE`

`VAL INT SDL.DISABLE`

Foreign constant `SDL_DISABLE`.

### `occSDL.inc`:685Constant `SDL.ENABLE`

`VAL INT SDL.ENABLE`

Foreign constant `SDL_ENABLE`.

### `occSDL.inc`:690Process `SDL.Init`

`INLINE PROC SDL.Init (VAL INT flags, RESULT INT return.value)`

Foreign function `SDL_Init`.

### `occSDL.inc`:697Process `occ.SDL.Init`

`INLINE PROC occ.SDL.Init (VAL INT flags, RESULT INT return.value)`

Foreign function `occ_SDL_Init`.

### `occSDL.inc`:704Process `SDL.InitSubSystem`

`INLINE PROC SDL.InitSubSystem (VAL INT flags, RESULT INT return.value)`

Foreign function `SDL_InitSubSystem`.

### `occSDL.inc`:711Process `SDL.QuitSubSystem`

`INLINE PROC SDL.QuitSubSystem (VAL INT flags)`

Foreign function `SDL_QuitSubSystem`.

### `occSDL.inc`:718Process `SDL.WasInit`

`INLINE PROC SDL.WasInit (VAL INT flags, RESULT INT return.value)`

Foreign function `SDL_WasInit`.

### `occSDL.inc`:725Process `SDL.Quit`

`INLINE PROC SDL.Quit ()`

Foreign function `SDL_Quit`.

### `occSDL.inc`:733Process `SDL.Rect.x.set`

`INLINE PROC SDL.Rect.x.set (VAL SDL.Rect self, VAL INT16 x)`

Foreign function `SDL_Rect_x_set`.

### `occSDL.inc`:740Process `SDL.Rect.x.get`

`INLINE PROC SDL.Rect.x.get (VAL SDL.Rect self, RESULT INT16 return.value)`

Foreign function `SDL_Rect_x_get`.

### `occSDL.inc`:747Process `SDL.Rect.y.set`

`INLINE PROC SDL.Rect.y.set (VAL SDL.Rect self, VAL INT16 y)`

Foreign function `SDL_Rect_y_set`.

### `occSDL.inc`:754Process `SDL.Rect.y.get`

`INLINE PROC SDL.Rect.y.get (VAL SDL.Rect self, RESULT INT16 return.value)`

Foreign function `SDL_Rect_y_get`.

### `occSDL.inc`:761Process `SDL.Rect.w.set`

`INLINE PROC SDL.Rect.w.set (VAL SDL.Rect self, VAL INT16 w)`

Foreign function `SDL_Rect_w_set`.

### `occSDL.inc`:768Process `SDL.Rect.w.get`

`INLINE PROC SDL.Rect.w.get (VAL SDL.Rect self, RESULT INT16 return.value)`

Foreign function `SDL_Rect_w_get`.

### `occSDL.inc`:775Process `SDL.Rect.h.set`

`INLINE PROC SDL.Rect.h.set (VAL SDL.Rect self, VAL INT16 h)`

Foreign function `SDL_Rect_h_set`.

### `occSDL.inc`:782Process `SDL.Rect.h.get`

`INLINE PROC SDL.Rect.h.get (VAL SDL.Rect self, RESULT INT16 return.value)`

Foreign function `SDL_Rect_h_get`.

### `occSDL.inc`:789Process `new.SDL.Rect`

`INLINE PROC new.SDL.Rect (RESULT SDL.Rect return.value)`

Foreign function `new_SDL_Rect`.

### `occSDL.inc`:796Process `delete.SDL.Rect`

`INLINE PROC delete.SDL.Rect (VAL SDL.Rect self)`

Foreign function `delete_SDL_Rect`.

### `occSDL.inc`:805Process `SDL.Color.r.set`

`INLINE PROC SDL.Color.r.set (VAL SDL.Color self, VAL BYTE r)`

Foreign function `SDL_Color_r_set`.

### `occSDL.inc`:812Process `SDL.Color.r.get`

`INLINE PROC SDL.Color.r.get (VAL SDL.Color self, RESULT BYTE return.value)`

Foreign function `SDL_Color_r_get`.

### `occSDL.inc`:819Process `SDL.Color.g.set`

`INLINE PROC SDL.Color.g.set (VAL SDL.Color self, VAL BYTE g)`

Foreign function `SDL_Color_g_set`.

### `occSDL.inc`:826Process `SDL.Color.g.get`

`INLINE PROC SDL.Color.g.get (VAL SDL.Color self, RESULT BYTE return.value)`

Foreign function `SDL_Color_g_get`.

### `occSDL.inc`:833Process `SDL.Color.b.set`

`INLINE PROC SDL.Color.b.set (VAL SDL.Color self, VAL BYTE b)`

Foreign function `SDL_Color_b_set`.

### `occSDL.inc`:840Process `SDL.Color.b.get`

`INLINE PROC SDL.Color.b.get (VAL SDL.Color self, RESULT BYTE return.value)`

Foreign function `SDL_Color_b_get`.

### `occSDL.inc`:847Process `SDL.Color.unused.set`

`INLINE PROC SDL.Color.unused.set (VAL SDL.Color self, VAL BYTE unused)`

Foreign function `SDL_Color_unused_set`.

### `occSDL.inc`:854Process `SDL.Color.unused.get`

`INLINE PROC SDL.Color.unused.get (VAL SDL.Color self, RESULT BYTE return.value)`

Foreign function `SDL_Color_unused_get`.

### `occSDL.inc`:861Process `new.SDL.Color`

`INLINE PROC new.SDL.Color (RESULT SDL.Color return.value)`

Foreign function `new_SDL_Color`.

### `occSDL.inc`:868Process `delete.SDL.Color`

`INLINE PROC delete.SDL.Color (VAL SDL.Color self)`

Foreign function `delete_SDL_Color`.

### `occSDL.inc`:877Process `SDL.Palette.ncolors.set`

`INLINE PROC SDL.Palette.ncolors.set (VAL SDL.Palette self, VAL INT ncolors)`

Foreign function `SDL_Palette_ncolors_set`.

### `occSDL.inc`:884Process `SDL.Palette.ncolors.get`

`INLINE PROC SDL.Palette.ncolors.get (VAL SDL.Palette self, RESULT INT return.value)`

Foreign function `SDL_Palette_ncolors_get`.

### `occSDL.inc`:891Process `SDL.Palette.colors.set`

`INLINE PROC SDL.Palette.colors.set (VAL SDL.Palette self, VAL SDL.Color colors)`

Foreign function `SDL_Palette_colors_set`.

### `occSDL.inc`:898Process `SDL.Palette.colors.get`

`INLINE PROC SDL.Palette.colors.get (VAL SDL.Palette self, RESULT SDL.Color return.value)`

Foreign function `SDL_Palette_colors_get`.

### `occSDL.inc`:905Process `new.SDL.Palette`

`INLINE PROC new.SDL.Palette (RESULT SDL.Palette return.value)`

Foreign function `new_SDL_Palette`.

### `occSDL.inc`:912Process `delete.SDL.Palette`

`INLINE PROC delete.SDL.Palette (VAL SDL.Palette self)`

Foreign function `delete_SDL_Palette`.

### `occSDL.inc`:921Process `SDL.PixelFormat.palette.set`

`INLINE PROC SDL.PixelFormat.palette.set (VAL SDL.PixelFormat self, VAL SDL.Palette palette)`

Foreign function `SDL_PixelFormat_palette_set`.

### `occSDL.inc`:928Process `SDL.PixelFormat.palette.get`

`INLINE PROC SDL.PixelFormat.palette.get (VAL SDL.PixelFormat self, RESULT SDL.Palette return.value)`

Foreign function `SDL_PixelFormat_palette_get`.

### `occSDL.inc`:935Process `SDL.PixelFormat.BitsPerPixel.set`

`INLINE PROC SDL.PixelFormat.BitsPerPixel.set (VAL SDL.PixelFormat self, VAL BYTE BitsPerPixel)`

Foreign function `SDL_PixelFormat_BitsPerPixel_set`.

### `occSDL.inc`:942Process `SDL.PixelFormat.BitsPerPixel.get`

`INLINE PROC SDL.PixelFormat.BitsPerPixel.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_BitsPerPixel_get`.

### `occSDL.inc`:949Process `SDL.PixelFormat.BytesPerPixel.set`

`INLINE PROC SDL.PixelFormat.BytesPerPixel.set (VAL SDL.PixelFormat self, VAL BYTE BytesPerPixel)`

Foreign function `SDL_PixelFormat_BytesPerPixel_set`.

### `occSDL.inc`:956Process `SDL.PixelFormat.BytesPerPixel.get`

`INLINE PROC SDL.PixelFormat.BytesPerPixel.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_BytesPerPixel_get`.

### `occSDL.inc`:963Process `SDL.PixelFormat.Rloss.set`

`INLINE PROC SDL.PixelFormat.Rloss.set (VAL SDL.PixelFormat self, VAL BYTE Rloss)`

Foreign function `SDL_PixelFormat_Rloss_set`.

### `occSDL.inc`:970Process `SDL.PixelFormat.Rloss.get`

`INLINE PROC SDL.PixelFormat.Rloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Rloss_get`.

### `occSDL.inc`:977Process `SDL.PixelFormat.Gloss.set`

`INLINE PROC SDL.PixelFormat.Gloss.set (VAL SDL.PixelFormat self, VAL BYTE Gloss)`

Foreign function `SDL_PixelFormat_Gloss_set`.

### `occSDL.inc`:984Process `SDL.PixelFormat.Gloss.get`

`INLINE PROC SDL.PixelFormat.Gloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Gloss_get`.

### `occSDL.inc`:991Process `SDL.PixelFormat.Bloss.set`

`INLINE PROC SDL.PixelFormat.Bloss.set (VAL SDL.PixelFormat self, VAL BYTE Bloss)`

Foreign function `SDL_PixelFormat_Bloss_set`.

### `occSDL.inc`:998Process `SDL.PixelFormat.Bloss.get`

`INLINE PROC SDL.PixelFormat.Bloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Bloss_get`.

### `occSDL.inc`:1005Process `SDL.PixelFormat.Aloss.set`

`INLINE PROC SDL.PixelFormat.Aloss.set (VAL SDL.PixelFormat self, VAL BYTE Aloss)`

Foreign function `SDL_PixelFormat_Aloss_set`.

### `occSDL.inc`:1012Process `SDL.PixelFormat.Aloss.get`

`INLINE PROC SDL.PixelFormat.Aloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Aloss_get`.

### `occSDL.inc`:1019Process `SDL.PixelFormat.Rshift.set`

`INLINE PROC SDL.PixelFormat.Rshift.set (VAL SDL.PixelFormat self, VAL BYTE Rshift)`

Foreign function `SDL_PixelFormat_Rshift_set`.

### `occSDL.inc`:1026Process `SDL.PixelFormat.Rshift.get`

`INLINE PROC SDL.PixelFormat.Rshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Rshift_get`.

### `occSDL.inc`:1033Process `SDL.PixelFormat.Gshift.set`

`INLINE PROC SDL.PixelFormat.Gshift.set (VAL SDL.PixelFormat self, VAL BYTE Gshift)`

Foreign function `SDL_PixelFormat_Gshift_set`.

### `occSDL.inc`:1040Process `SDL.PixelFormat.Gshift.get`

`INLINE PROC SDL.PixelFormat.Gshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Gshift_get`.

### `occSDL.inc`:1047Process `SDL.PixelFormat.Bshift.set`

`INLINE PROC SDL.PixelFormat.Bshift.set (VAL SDL.PixelFormat self, VAL BYTE Bshift)`

Foreign function `SDL_PixelFormat_Bshift_set`.

### `occSDL.inc`:1054Process `SDL.PixelFormat.Bshift.get`

`INLINE PROC SDL.PixelFormat.Bshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Bshift_get`.

### `occSDL.inc`:1061Process `SDL.PixelFormat.Ashift.set`

`INLINE PROC SDL.PixelFormat.Ashift.set (VAL SDL.PixelFormat self, VAL BYTE Ashift)`

Foreign function `SDL_PixelFormat_Ashift_set`.

### `occSDL.inc`:1068Process `SDL.PixelFormat.Ashift.get`

`INLINE PROC SDL.PixelFormat.Ashift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_Ashift_get`.

### `occSDL.inc`:1075Process `SDL.PixelFormat.Rmask.set`

`INLINE PROC SDL.PixelFormat.Rmask.set (VAL SDL.PixelFormat self, VAL INT Rmask)`

Foreign function `SDL_PixelFormat_Rmask_set`.

### `occSDL.inc`:1082Process `SDL.PixelFormat.Rmask.get`

`INLINE PROC SDL.PixelFormat.Rmask.get (VAL SDL.PixelFormat self, RESULT INT return.value)`

Foreign function `SDL_PixelFormat_Rmask_get`.

### `occSDL.inc`:1089Process `SDL.PixelFormat.Gmask.set`

`INLINE PROC SDL.PixelFormat.Gmask.set (VAL SDL.PixelFormat self, VAL INT Gmask)`

Foreign function `SDL_PixelFormat_Gmask_set`.

### `occSDL.inc`:1096Process `SDL.PixelFormat.Gmask.get`

`INLINE PROC SDL.PixelFormat.Gmask.get (VAL SDL.PixelFormat self, RESULT INT return.value)`

Foreign function `SDL_PixelFormat_Gmask_get`.

### `occSDL.inc`:1103Process `SDL.PixelFormat.Bmask.set`

`INLINE PROC SDL.PixelFormat.Bmask.set (VAL SDL.PixelFormat self, VAL INT Bmask)`

Foreign function `SDL_PixelFormat_Bmask_set`.

### `occSDL.inc`:1110Process `SDL.PixelFormat.Bmask.get`

`INLINE PROC SDL.PixelFormat.Bmask.get (VAL SDL.PixelFormat self, RESULT INT return.value)`

Foreign function `SDL_PixelFormat_Bmask_get`.

### `occSDL.inc`:1117Process `SDL.PixelFormat.Amask.set`

`INLINE PROC SDL.PixelFormat.Amask.set (VAL SDL.PixelFormat self, VAL INT Amask)`

Foreign function `SDL_PixelFormat_Amask_set`.

### `occSDL.inc`:1124Process `SDL.PixelFormat.Amask.get`

`INLINE PROC SDL.PixelFormat.Amask.get (VAL SDL.PixelFormat self, RESULT INT return.value)`

Foreign function `SDL_PixelFormat_Amask_get`.

### `occSDL.inc`:1131Process `SDL.PixelFormat.colorkey.set`

`INLINE PROC SDL.PixelFormat.colorkey.set (VAL SDL.PixelFormat self, VAL INT colorkey)`

Foreign function `SDL_PixelFormat_colorkey_set`.

### `occSDL.inc`:1138Process `SDL.PixelFormat.colorkey.get`

`INLINE PROC SDL.PixelFormat.colorkey.get (VAL SDL.PixelFormat self, RESULT INT return.value)`

Foreign function `SDL_PixelFormat_colorkey_get`.

### `occSDL.inc`:1145Process `SDL.PixelFormat.alpha.set`

`INLINE PROC SDL.PixelFormat.alpha.set (VAL SDL.PixelFormat self, VAL BYTE alpha)`

Foreign function `SDL_PixelFormat_alpha_set`.

### `occSDL.inc`:1152Process `SDL.PixelFormat.alpha.get`

`INLINE PROC SDL.PixelFormat.alpha.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)`

Foreign function `SDL_PixelFormat_alpha_get`.

### `occSDL.inc`:1159Process `new.SDL.PixelFormat`

`INLINE PROC new.SDL.PixelFormat (RESULT SDL.PixelFormat return.value)`

Foreign function `new_SDL_PixelFormat`.

### `occSDL.inc`:1166Process `delete.SDL.PixelFormat`

`INLINE PROC delete.SDL.PixelFormat (VAL SDL.PixelFormat self)`

Foreign function `delete_SDL_PixelFormat`.

### `occSDL.inc`:1175Process `SDL.Surface.flags.set`

`INLINE PROC SDL.Surface.flags.set (VAL SDL.Surface self, VAL INT flags)`

Foreign function `SDL_Surface_flags_set`.

### `occSDL.inc`:1182Process `SDL.Surface.flags.get`

`INLINE PROC SDL.Surface.flags.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_flags_get`.

### `occSDL.inc`:1189Process `SDL.Surface.format.set`

`INLINE PROC SDL.Surface.format.set (VAL SDL.Surface self, VAL SDL.PixelFormat format)`

Foreign function `SDL_Surface_format_set`.

### `occSDL.inc`:1196Process `SDL.Surface.format.get`

`INLINE PROC SDL.Surface.format.get (VAL SDL.Surface self, RESULT SDL.PixelFormat return.value)`

Foreign function `SDL_Surface_format_get`.

### `occSDL.inc`:1203Process `SDL.Surface.w.set`

`INLINE PROC SDL.Surface.w.set (VAL SDL.Surface self, VAL INT w)`

Foreign function `SDL_Surface_w_set`.

### `occSDL.inc`:1210Process `SDL.Surface.w.get`

`INLINE PROC SDL.Surface.w.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_w_get`.

### `occSDL.inc`:1217Process `SDL.Surface.h.set`

`INLINE PROC SDL.Surface.h.set (VAL SDL.Surface self, VAL INT h)`

Foreign function `SDL_Surface_h_set`.

### `occSDL.inc`:1224Process `SDL.Surface.h.get`

`INLINE PROC SDL.Surface.h.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_h_get`.

### `occSDL.inc`:1231Process `SDL.Surface.pitch.set`

`INLINE PROC SDL.Surface.pitch.set (VAL SDL.Surface self, VAL INT16 pitch)`

Foreign function `SDL_Surface_pitch_set`.

### `occSDL.inc`:1238Process `SDL.Surface.pitch.get`

`INLINE PROC SDL.Surface.pitch.get (VAL SDL.Surface self, RESULT INT16 return.value)`

Foreign function `SDL_Surface_pitch_get`.

### `occSDL.inc`:1245Process `SDL.Surface.pixels.set`

`INLINE PROC SDL.Surface.pixels.set (VAL SDL.Surface self, VAL INT pixels)`

Foreign function `SDL_Surface_pixels_set`.

### `occSDL.inc`:1252Process `SDL.Surface.pixels.get`

`INLINE PROC SDL.Surface.pixels.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_pixels_get`.

### `occSDL.inc`:1259Process `SDL.Surface.offset.set`

`INLINE PROC SDL.Surface.offset.set (VAL SDL.Surface self, VAL INT offset)`

Foreign function `SDL_Surface_offset_set`.

### `occSDL.inc`:1266Process `SDL.Surface.offset.get`

`INLINE PROC SDL.Surface.offset.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_offset_get`.

### `occSDL.inc`:1273Process `SDL.Surface.hwdata.set`

`INLINE PROC SDL.Surface.hwdata.set (VAL SDL.Surface self, VAL private.hwdata hwdata)`

Foreign function `SDL_Surface_hwdata_set`.

### `occSDL.inc`:1280Process `SDL.Surface.hwdata.get`

`INLINE PROC SDL.Surface.hwdata.get (VAL SDL.Surface self, RESULT private.hwdata return.value)`

Foreign function `SDL_Surface_hwdata_get`.

### `occSDL.inc`:1287Process `SDL.Surface.clip.rect.set`

`INLINE PROC SDL.Surface.clip.rect.set (VAL SDL.Surface self, VAL SDL.Rect clip.rect)`

Foreign function `SDL_Surface_clip_rect_set`.

### `occSDL.inc`:1294Process `SDL.Surface.clip.rect.get`

`INLINE PROC SDL.Surface.clip.rect.get (VAL SDL.Surface self, RESULT SDL.Rect return.value)`

Foreign function `SDL_Surface_clip_rect_get`.

### `occSDL.inc`:1301Process `SDL.Surface.unused1.set`

`INLINE PROC SDL.Surface.unused1.set (VAL SDL.Surface self, VAL INT unused1)`

Foreign function `SDL_Surface_unused1_set`.

### `occSDL.inc`:1308Process `SDL.Surface.unused1.get`

`INLINE PROC SDL.Surface.unused1.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_unused1_get`.

### `occSDL.inc`:1315Process `SDL.Surface.locked.set`

`INLINE PROC SDL.Surface.locked.set (VAL SDL.Surface self, VAL INT locked)`

Foreign function `SDL_Surface_locked_set`.

### `occSDL.inc`:1322Process `SDL.Surface.locked.get`

`INLINE PROC SDL.Surface.locked.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_locked_get`.

### `occSDL.inc`:1329Process `SDL.Surface.map.set`

`INLINE PROC SDL.Surface.map.set (VAL SDL.Surface self, VAL SDL.BlitMap map)`

Foreign function `SDL_Surface_map_set`.

### `occSDL.inc`:1336Process `SDL.Surface.map.get`

`INLINE PROC SDL.Surface.map.get (VAL SDL.Surface self, RESULT SDL.BlitMap return.value)`

Foreign function `SDL_Surface_map_get`.

### `occSDL.inc`:1343Process `SDL.Surface.format.version.set`

`INLINE PROC SDL.Surface.format.version.set (VAL SDL.Surface self, VAL INT format.version)`

Foreign function `SDL_Surface_format_version_set`.

### `occSDL.inc`:1350Process `SDL.Surface.format.version.get`

`INLINE PROC SDL.Surface.format.version.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_format_version_get`.

### `occSDL.inc`:1357Process `SDL.Surface.refcount.set`

`INLINE PROC SDL.Surface.refcount.set (VAL SDL.Surface self, VAL INT refcount)`

Foreign function `SDL_Surface_refcount_set`.

### `occSDL.inc`:1364Process `SDL.Surface.refcount.get`

`INLINE PROC SDL.Surface.refcount.get (VAL SDL.Surface self, RESULT INT return.value)`

Foreign function `SDL_Surface_refcount_get`.

### `occSDL.inc`:1371Process `new.SDL.Surface`

`INLINE PROC new.SDL.Surface (RESULT SDL.Surface return.value)`

Foreign function `new_SDL_Surface`.

### `occSDL.inc`:1378Process `delete.SDL.Surface`

`INLINE PROC delete.SDL.Surface (VAL SDL.Surface self)`

Foreign function `delete_SDL_Surface`.

### `occSDL.inc`:1386Process `occ.get.SDL.Surface.pixels`

`INLINE PROC occ.get.SDL.Surface.pixels ([]INT pixels, VAL SDL.Surface surface)`

Foreign function `occ_get_SDL_Surface_pixels`.

### `occSDL.inc`:1394Process `SDL.VideoInfo.hw.available.set`

`INLINE PROC SDL.VideoInfo.hw.available.set (VAL SDL.VideoInfo self, VAL INT hw.available)`

Foreign function `SDL_VideoInfo_hw_available_set`.

### `occSDL.inc`:1401Process `SDL.VideoInfo.hw.available.get`

`INLINE PROC SDL.VideoInfo.hw.available.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_hw_available_get`.

### `occSDL.inc`:1408Process `SDL.VideoInfo.wm.available.set`

`INLINE PROC SDL.VideoInfo.wm.available.set (VAL SDL.VideoInfo self, VAL INT wm.available)`

Foreign function `SDL_VideoInfo_wm_available_set`.

### `occSDL.inc`:1415Process `SDL.VideoInfo.wm.available.get`

`INLINE PROC SDL.VideoInfo.wm.available.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_wm_available_get`.

### `occSDL.inc`:1422Process `SDL.VideoInfo.UnusedBits1.set`

`INLINE PROC SDL.VideoInfo.UnusedBits1.set (VAL SDL.VideoInfo self, VAL INT UnusedBits1)`

Foreign function `SDL_VideoInfo_UnusedBits1_set`.

### `occSDL.inc`:1429Process `SDL.VideoInfo.UnusedBits1.get`

`INLINE PROC SDL.VideoInfo.UnusedBits1.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_UnusedBits1_get`.

### `occSDL.inc`:1436Process `SDL.VideoInfo.UnusedBits2.set`

`INLINE PROC SDL.VideoInfo.UnusedBits2.set (VAL SDL.VideoInfo self, VAL INT UnusedBits2)`

Foreign function `SDL_VideoInfo_UnusedBits2_set`.

### `occSDL.inc`:1443Process `SDL.VideoInfo.UnusedBits2.get`

`INLINE PROC SDL.VideoInfo.UnusedBits2.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_UnusedBits2_get`.

### `occSDL.inc`:1450Process `SDL.VideoInfo.blit.hw.set`

`INLINE PROC SDL.VideoInfo.blit.hw.set (VAL SDL.VideoInfo self, VAL INT blit.hw)`

Foreign function `SDL_VideoInfo_blit_hw_set`.

### `occSDL.inc`:1457Process `SDL.VideoInfo.blit.hw.get`

`INLINE PROC SDL.VideoInfo.blit.hw.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_blit_hw_get`.

### `occSDL.inc`:1464Process `SDL.VideoInfo.blit.hw.CC.set`

`INLINE PROC SDL.VideoInfo.blit.hw.CC.set (VAL SDL.VideoInfo self, VAL INT blit.hw.CC)`

Foreign function `SDL_VideoInfo_blit_hw_CC_set`.

### `occSDL.inc`:1471Process `SDL.VideoInfo.blit.hw.CC.get`

`INLINE PROC SDL.VideoInfo.blit.hw.CC.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_blit_hw_CC_get`.

### `occSDL.inc`:1478Process `SDL.VideoInfo.blit.hw.A.set`

`INLINE PROC SDL.VideoInfo.blit.hw.A.set (VAL SDL.VideoInfo self, VAL INT blit.hw.A)`

Foreign function `SDL_VideoInfo_blit_hw_A_set`.

### `occSDL.inc`:1485Process `SDL.VideoInfo.blit.hw.A.get`

`INLINE PROC SDL.VideoInfo.blit.hw.A.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_blit_hw_A_get`.

### `occSDL.inc`:1492Process `SDL.VideoInfo.blit.sw.set`

`INLINE PROC SDL.VideoInfo.blit.sw.set (VAL SDL.VideoInfo self, VAL INT blit.sw)`

Foreign function `SDL_VideoInfo_blit_sw_set`.

### `occSDL.inc`:1499Process `SDL.VideoInfo.blit.sw.get`

`INLINE PROC SDL.VideoInfo.blit.sw.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_blit_sw_get`.

### `occSDL.inc`:1506Process `SDL.VideoInfo.blit.sw.CC.set`

`INLINE PROC SDL.VideoInfo.blit.sw.CC.set (VAL SDL.VideoInfo self, VAL INT blit.sw.CC)`

Foreign function `SDL_VideoInfo_blit_sw_CC_set`.

### `occSDL.inc`:1513Process `SDL.VideoInfo.blit.sw.CC.get`

`INLINE PROC SDL.VideoInfo.blit.sw.CC.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_blit_sw_CC_get`.

### `occSDL.inc`:1520Process `SDL.VideoInfo.blit.sw.A.set`

`INLINE PROC SDL.VideoInfo.blit.sw.A.set (VAL SDL.VideoInfo self, VAL INT blit.sw.A)`

Foreign function `SDL_VideoInfo_blit_sw_A_set`.

### `occSDL.inc`:1527Process `SDL.VideoInfo.blit.sw.A.get`

`INLINE PROC SDL.VideoInfo.blit.sw.A.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_blit_sw_A_get`.

### `occSDL.inc`:1534Process `SDL.VideoInfo.blit.fill.set`

`INLINE PROC SDL.VideoInfo.blit.fill.set (VAL SDL.VideoInfo self, VAL INT blit.fill)`

Foreign function `SDL_VideoInfo_blit_fill_set`.

### `occSDL.inc`:1541Process `SDL.VideoInfo.blit.fill.get`

`INLINE PROC SDL.VideoInfo.blit.fill.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_blit_fill_get`.

### `occSDL.inc`:1548Process `SDL.VideoInfo.UnusedBits3.set`

`INLINE PROC SDL.VideoInfo.UnusedBits3.set (VAL SDL.VideoInfo self, VAL INT UnusedBits3)`

Foreign function `SDL_VideoInfo_UnusedBits3_set`.

### `occSDL.inc`:1555Process `SDL.VideoInfo.UnusedBits3.get`

`INLINE PROC SDL.VideoInfo.UnusedBits3.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_UnusedBits3_get`.

### `occSDL.inc`:1562Process `SDL.VideoInfo.video.mem.set`

`INLINE PROC SDL.VideoInfo.video.mem.set (VAL SDL.VideoInfo self, VAL INT video.mem)`

Foreign function `SDL_VideoInfo_video_mem_set`.

### `occSDL.inc`:1569Process `SDL.VideoInfo.video.mem.get`

`INLINE PROC SDL.VideoInfo.video.mem.get (VAL SDL.VideoInfo self, RESULT INT return.value)`

Foreign function `SDL_VideoInfo_video_mem_get`.

### `occSDL.inc`:1576Process `SDL.VideoInfo.vfmt.set`

`INLINE PROC SDL.VideoInfo.vfmt.set (VAL SDL.VideoInfo self, VAL SDL.PixelFormat vfmt)`

Foreign function `SDL_VideoInfo_vfmt_set`.

### `occSDL.inc`:1583Process `SDL.VideoInfo.vfmt.get`

`INLINE PROC SDL.VideoInfo.vfmt.get (VAL SDL.VideoInfo self, RESULT SDL.PixelFormat return.value)`

Foreign function `SDL_VideoInfo_vfmt_get`.

### `occSDL.inc`:1590Process `new.SDL.VideoInfo`

`INLINE PROC new.SDL.VideoInfo (RESULT SDL.VideoInfo return.value)`

Foreign function `new_SDL_VideoInfo`.

### `occSDL.inc`:1597Process `delete.SDL.VideoInfo`

`INLINE PROC delete.SDL.VideoInfo (VAL SDL.VideoInfo self)`

Foreign function `delete_SDL_VideoInfo`.

### `occSDL.inc`:1606Process `SDL.Overlay.format.set`

`INLINE PROC SDL.Overlay.format.set (VAL SDL.Overlay self, VAL INT format)`

Foreign function `SDL_Overlay_format_set`.

### `occSDL.inc`:1613Process `SDL.Overlay.format.get`

`INLINE PROC SDL.Overlay.format.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_format_get`.

### `occSDL.inc`:1620Process `SDL.Overlay.w.set`

`INLINE PROC SDL.Overlay.w.set (VAL SDL.Overlay self, VAL INT w)`

Foreign function `SDL_Overlay_w_set`.

### `occSDL.inc`:1627Process `SDL.Overlay.w.get`

`INLINE PROC SDL.Overlay.w.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_w_get`.

### `occSDL.inc`:1634Process `SDL.Overlay.h.set`

`INLINE PROC SDL.Overlay.h.set (VAL SDL.Overlay self, VAL INT h)`

Foreign function `SDL_Overlay_h_set`.

### `occSDL.inc`:1641Process `SDL.Overlay.h.get`

`INLINE PROC SDL.Overlay.h.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_h_get`.

### `occSDL.inc`:1648Process `SDL.Overlay.planes.set`

`INLINE PROC SDL.Overlay.planes.set (VAL SDL.Overlay self, VAL INT planes)`

Foreign function `SDL_Overlay_planes_set`.

### `occSDL.inc`:1655Process `SDL.Overlay.planes.get`

`INLINE PROC SDL.Overlay.planes.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_planes_get`.

### `occSDL.inc`:1662Process `SDL.Overlay.pitches.set`

`INLINE PROC SDL.Overlay.pitches.set (VAL SDL.Overlay self, []INT16 pitches)`

Foreign function `SDL_Overlay_pitches_set`.

### `occSDL.inc`:1669Process `SDL.Overlay.pitches.get`

`INLINE PROC SDL.Overlay.pitches.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_pitches_get`.

### `occSDL.inc`:1676Process `SDL.Overlay.pixels.set`

`INLINE PROC SDL.Overlay.pixels.set (VAL SDL.Overlay self, VAL INT pixels)`

Foreign function `SDL_Overlay_pixels_set`.

### `occSDL.inc`:1683Process `SDL.Overlay.pixels.get`

`INLINE PROC SDL.Overlay.pixels.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_pixels_get`.

### `occSDL.inc`:1690Process `SDL.Overlay.hwfuncs.set`

`INLINE PROC SDL.Overlay.hwfuncs.set (VAL SDL.Overlay self, VAL private.yuvhwfuncs hwfuncs)`

Foreign function `SDL_Overlay_hwfuncs_set`.

### `occSDL.inc`:1697Process `SDL.Overlay.hwfuncs.get`

`INLINE PROC SDL.Overlay.hwfuncs.get (VAL SDL.Overlay self, RESULT private.yuvhwfuncs return.value)`

Foreign function `SDL_Overlay_hwfuncs_get`.

### `occSDL.inc`:1704Process `SDL.Overlay.hwdata.set`

`INLINE PROC SDL.Overlay.hwdata.set (VAL SDL.Overlay self, VAL private.yuvhwdata hwdata)`

Foreign function `SDL_Overlay_hwdata_set`.

### `occSDL.inc`:1711Process `SDL.Overlay.hwdata.get`

`INLINE PROC SDL.Overlay.hwdata.get (VAL SDL.Overlay self, RESULT private.yuvhwdata return.value)`

Foreign function `SDL_Overlay_hwdata_get`.

### `occSDL.inc`:1718Process `SDL.Overlay.hw.overlay.set`

`INLINE PROC SDL.Overlay.hw.overlay.set (VAL SDL.Overlay self, VAL INT hw.overlay)`

Foreign function `SDL_Overlay_hw_overlay_set`.

### `occSDL.inc`:1725Process `SDL.Overlay.hw.overlay.get`

`INLINE PROC SDL.Overlay.hw.overlay.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_hw_overlay_get`.

### `occSDL.inc`:1732Process `SDL.Overlay.UnusedBits.set`

`INLINE PROC SDL.Overlay.UnusedBits.set (VAL SDL.Overlay self, VAL INT UnusedBits)`

Foreign function `SDL_Overlay_UnusedBits_set`.

### `occSDL.inc`:1739Process `SDL.Overlay.UnusedBits.get`

`INLINE PROC SDL.Overlay.UnusedBits.get (VAL SDL.Overlay self, RESULT INT return.value)`

Foreign function `SDL_Overlay_UnusedBits_get`.

### `occSDL.inc`:1746Process `new.SDL.Overlay`

`INLINE PROC new.SDL.Overlay (RESULT SDL.Overlay return.value)`

Foreign function `new_SDL_Overlay`.

### `occSDL.inc`:1753Process `delete.SDL.Overlay`

`INLINE PROC delete.SDL.Overlay (VAL SDL.Overlay self)`

Foreign function `delete_SDL_Overlay`.

### `occSDL.inc`:1761Process `SDL.VideoInit`

`INLINE PROC SDL.VideoInit (VAL []BYTE driver.name, VAL INT flags, RESULT INT return.value)`

Foreign function `SDL_VideoInit`.

### `occSDL.inc`:1768Process `SDL.VideoQuit`

`INLINE PROC SDL.VideoQuit ()`

Foreign function `SDL_VideoQuit`.

### `occSDL.inc`:1775Process `SDL.VideoDriverName`

`INLINE PROC SDL.VideoDriverName ([]BYTE namebuf, VAL INT maxlen, RESULT INT return.value)`

Foreign function `SDL_VideoDriverName`.

### `occSDL.inc`:1782Process `SDL.GetVideoSurface`

`INLINE PROC SDL.GetVideoSurface (RESULT SDL.Surface return.value)`

Foreign function `SDL_GetVideoSurface`.

### `occSDL.inc`:1789Process `SDL.GetVideoInfo`

`INLINE PROC SDL.GetVideoInfo (RESULT SDL.VideoInfo return.value)`

Foreign function `SDL_GetVideoInfo`.

### `occSDL.inc`:1796Process `SDL.VideoModeOK`

`INLINE PROC SDL.VideoModeOK (VAL INT width, VAL INT height, VAL INT bpp, VAL INT flags, RESULT INT return.value)`

Foreign function `SDL_VideoModeOK`.

### `occSDL.inc`:1803Process `SDL.ListModes`

`INLINE PROC SDL.ListModes (VAL SDL.PixelFormat format, VAL INT flags, RESULT SDL.Rect return.value)`

Foreign function `SDL_ListModes`.

### `occSDL.inc`:1810Process `SDL.SetVideoMode`

`INLINE PROC SDL.SetVideoMode (VAL INT width, VAL INT height, VAL INT bpp, VAL INT flags, RESULT SDL.Surface return.value)`

Foreign function `SDL_SetVideoMode`.

### `occSDL.inc`:1817Process `SDL.UpdateRects`

`INLINE PROC SDL.UpdateRects (VAL SDL.Surface screen, VAL INT numrects, VAL SDL.Rect rects)`

Foreign function `SDL_UpdateRects`.

### `occSDL.inc`:1824Process `SDL.UpdateRect`

`INLINE PROC SDL.UpdateRect (VAL SDL.Surface screen, VAL INT x, VAL INT y, VAL INT w, VAL INT h)`

Foreign function `SDL_UpdateRect`.

### `occSDL.inc`:1831Process `SDL.Flip`

`INLINE PROC SDL.Flip (VAL SDL.Surface screen, RESULT INT return.value)`

Foreign function `SDL_Flip`.

### `occSDL.inc`:1838Process `SDL.SetGamma`

`INLINE PROC SDL.SetGamma (VAL REAL32 red, VAL REAL32 green, VAL REAL32 blue, RESULT INT return.value)`

Foreign function `SDL_SetGamma`.

### `occSDL.inc`:1845Process `SDL.SetGammaRamp`

`INLINE PROC SDL.SetGammaRamp (VAL []INT16 red, VAL []INT16 green, VAL []INT16 blue, RESULT INT return.value)`

Foreign function `SDL_SetGammaRamp`.

### `occSDL.inc`:1852Process `SDL.GetGammaRamp`

`INLINE PROC SDL.GetGammaRamp ([]INT16 red, []INT16 green, []INT16 blue, RESULT INT return.value)`

Foreign function `SDL_GetGammaRamp`.

### `occSDL.inc`:1859Process `SDL.SetColors`

`INLINE PROC SDL.SetColors (VAL SDL.Surface surface, VAL SDL.Color colors, VAL INT firstcolor, VAL INT ncolors, RESULT INT return.value)`

Foreign function `SDL_SetColors`.

### `occSDL.inc`:1866Process `SDL.SetPalette`

`INLINE PROC SDL.SetPalette (VAL SDL.Surface surface, VAL INT flags, VAL SDL.Color colors, VAL INT firstcolor, VAL INT ncolors, RESULT INT return.value)`

Foreign function `SDL_SetPalette`.

### `occSDL.inc`:1873Process `SDL.MapRGB`

`INLINE PROC SDL.MapRGB (VAL SDL.PixelFormat format, VAL BYTE r, VAL BYTE g, VAL BYTE b, RESULT INT return.value)`

Foreign function `SDL_MapRGB`.

### `occSDL.inc`:1880Process `SDL.MapRGBA`

`INLINE PROC SDL.MapRGBA (VAL SDL.PixelFormat format, VAL BYTE r, VAL BYTE g, VAL BYTE b, VAL BYTE a, RESULT INT return.value)`

Foreign function `SDL_MapRGBA`.

### `occSDL.inc`:1887Process `SDL.GetRGB`

`INLINE PROC SDL.GetRGB (VAL INT pixel, VAL SDL.PixelFormat fmt, []BYTE r, []BYTE g, []BYTE b)`

Foreign function `SDL_GetRGB`.

### `occSDL.inc`:1894Process `SDL.GetRGBA`

`INLINE PROC SDL.GetRGBA (VAL INT pixel, VAL SDL.PixelFormat fmt, []BYTE r, []BYTE g, []BYTE b, []BYTE a)`

Foreign function `SDL_GetRGBA`.

### `occSDL.inc`:1901Process `SDL.CreateRGBSurface`

`INLINE PROC SDL.CreateRGBSurface (VAL INT flags, VAL INT width, VAL INT height, VAL INT depth, VAL INT Rmask, VAL INT Gmask, VAL INT Bmask, VAL INT Amask, RESULT SDL.Surface return.value)`

Foreign function `SDL_CreateRGBSurface`.

### `occSDL.inc`:1908Process `SDL.CreateRGBSurfaceFrom`

`INLINE PROC SDL.CreateRGBSurfaceFrom (VAL INT pixels, VAL INT width, VAL INT height, VAL INT depth, VAL INT pitch, VAL INT Rmask, VAL INT Gmask, VAL INT Bmask, VAL INT Amask, RESULT SDL.Surface return.value)`

Foreign function `SDL_CreateRGBSurfaceFrom`.

### `occSDL.inc`:1915Process `SDL.FreeSurface`

`INLINE PROC SDL.FreeSurface (VAL SDL.Surface surface)`

Foreign function `SDL_FreeSurface`.

### `occSDL.inc`:1922Process `SDL.LockSurface`

`INLINE PROC SDL.LockSurface (VAL SDL.Surface surface, RESULT INT return.value)`

Foreign function `SDL_LockSurface`.

### `occSDL.inc`:1929Process `SDL.UnlockSurface`

`INLINE PROC SDL.UnlockSurface (VAL SDL.Surface surface)`

Foreign function `SDL_UnlockSurface`.

### `occSDL.inc`:1936Process `SDL.LoadBMP.RW`

`INLINE PROC SDL.LoadBMP.RW (VAL INT src, VAL INT freesrc, RESULT SDL.Surface return.value)`

Foreign function `SDL_LoadBMP_RW`.

### `occSDL.inc`:1943Process `occ.SDL.LoadBMP`

`INLINE PROC occ.SDL.LoadBMP (VAL []BYTE file, RESULT SDL.Surface return.value)`

Foreign function `occ_SDL_LoadBMP`.

### `occSDL.inc`:1950Process `occ.SDL.SaveBMP`

`INLINE PROC occ.SDL.SaveBMP (VAL SDL.Surface surface, VAL []BYTE file, RESULT INT return.value)`

Foreign function `occ_SDL_SaveBMP`.

### `occSDL.inc`:1957Process `SDL.SetColorKey`

`INLINE PROC SDL.SetColorKey (VAL SDL.Surface surface, VAL INT flag, VAL INT key, RESULT INT return.value)`

Foreign function `SDL_SetColorKey`.

### `occSDL.inc`:1964Process `SDL.SetAlpha`

`INLINE PROC SDL.SetAlpha (VAL SDL.Surface surface, VAL INT flag, VAL BYTE alpha, RESULT INT return.value)`

Foreign function `SDL_SetAlpha`.

### `occSDL.inc`:1971Process `SDL.SetClipRect`

`INLINE PROC SDL.SetClipRect (VAL SDL.Surface surface, VAL SDL.Rect rect, RESULT SDL.bool return.value)`

Foreign function `SDL_SetClipRect`.

### `occSDL.inc`:1978Process `SDL.GetClipRect`

`INLINE PROC SDL.GetClipRect (VAL SDL.Surface surface, VAL SDL.Rect rect)`

Foreign function `SDL_GetClipRect`.

### `occSDL.inc`:1985Process `SDL.ConvertSurface`

`INLINE PROC SDL.ConvertSurface (VAL SDL.Surface src, VAL SDL.PixelFormat fmt, VAL INT flags, RESULT SDL.Surface return.value)`

Foreign function `SDL_ConvertSurface`.

### `occSDL.inc`:1992Process `SDL.BlitSurface`

`INLINE PROC SDL.BlitSurface (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value)`

Foreign function `SDL_BlitSurface`.

### `occSDL.inc`:1999Process `SDL.UpperBlit`

`INLINE PROC SDL.UpperBlit (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value)`

Foreign function `SDL_UpperBlit`.

### `occSDL.inc`:2006Process `SDL.LowerBlit`

`INLINE PROC SDL.LowerBlit (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value)`

Foreign function `SDL_LowerBlit`.

### `occSDL.inc`:2013Process `SDL.FillRect`

`INLINE PROC SDL.FillRect (VAL SDL.Surface dst, VAL SDL.Rect dstrect, VAL INT color, RESULT INT return.value)`

Foreign function `SDL_FillRect`.

### `occSDL.inc`:2020Process `SDL.DisplayFormat`

`INLINE PROC SDL.DisplayFormat (VAL SDL.Surface surface, RESULT SDL.Surface return.value)`

Foreign function `SDL_DisplayFormat`.

### `occSDL.inc`:2027Process `SDL.DisplayFormatAlpha`

`INLINE PROC SDL.DisplayFormatAlpha (VAL SDL.Surface surface, RESULT SDL.Surface return.value)`

Foreign function `SDL_DisplayFormatAlpha`.

### `occSDL.inc`:2034Process `SDL.CreateYUVOverlay`

`INLINE PROC SDL.CreateYUVOverlay (VAL INT width, VAL INT height, VAL INT format, VAL SDL.Surface display, RESULT SDL.Overlay return.value)`

Foreign function `SDL_CreateYUVOverlay`.

### `occSDL.inc`:2041Process `SDL.LockYUVOverlay`

`INLINE PROC SDL.LockYUVOverlay (VAL SDL.Overlay overlay, RESULT INT return.value)`

Foreign function `SDL_LockYUVOverlay`.

### `occSDL.inc`:2048Process `SDL.UnlockYUVOverlay`

`INLINE PROC SDL.UnlockYUVOverlay (VAL SDL.Overlay overlay)`

Foreign function `SDL_UnlockYUVOverlay`.

### `occSDL.inc`:2055Process `SDL.DisplayYUVOverlay`

`INLINE PROC SDL.DisplayYUVOverlay (VAL SDL.Overlay overlay, VAL SDL.Rect dstrect, RESULT INT return.value)`

Foreign function `SDL_DisplayYUVOverlay`.

### `occSDL.inc`:2062Process `SDL.FreeYUVOverlay`

`INLINE PROC SDL.FreeYUVOverlay (VAL SDL.Overlay overlay)`

Foreign function `SDL_FreeYUVOverlay`.

### `occSDL.inc`:2069Process `SDL.GL.LoadLibrary`

`INLINE PROC SDL.GL.LoadLibrary (VAL []BYTE path, RESULT INT return.value)`

Foreign function `SDL_GL_LoadLibrary`.

### `occSDL.inc`:2076Process `SDL.GL.GetProcAddress`

`INLINE PROC SDL.GL.GetProcAddress (VAL []BYTE proc, RESULT INT return.value)`

Foreign function `SDL_GL_GetProcAddress`.

### `occSDL.inc`:2083Process `SDL.GL.SetAttribute`

`INLINE PROC SDL.GL.SetAttribute (VAL SDL.GLattr attr, VAL INT value, RESULT INT return.value)`

Foreign function `SDL_GL_SetAttribute`.

### `occSDL.inc`:2090Process `SDL.GL.GetAttribute`

`INLINE PROC SDL.GL.GetAttribute (VAL SDL.GLattr attr, []INT value, RESULT INT return.value)`

Foreign function `SDL_GL_GetAttribute`.

### `occSDL.inc`:2097Process `SDL.GL.SwapBuffers`

`INLINE PROC SDL.GL.SwapBuffers ()`

Foreign function `SDL_GL_SwapBuffers`.

### `occSDL.inc`:2104Process `SDL.GL.UpdateRects`

`INLINE PROC SDL.GL.UpdateRects (VAL INT numrects, VAL SDL.Rect rects)`

Foreign function `SDL_GL_UpdateRects`.

### `occSDL.inc`:2111Process `SDL.GL.Lock`

`INLINE PROC SDL.GL.Lock ()`

Foreign function `SDL_GL_Lock`.

### `occSDL.inc`:2118Process `SDL.GL.Unlock`

`INLINE PROC SDL.GL.Unlock ()`

Foreign function `SDL_GL_Unlock`.

### `occSDL.inc`:2125Process `SDL.WM.SetCaption`

`INLINE PROC SDL.WM.SetCaption (VAL []BYTE title, VAL []BYTE icon)`

Foreign function `SDL_WM_SetCaption`.

### `occSDL.inc`:2132Process `SDL.WM.GetCaption`

`INLINE PROC SDL.WM.GetCaption (VAL INT title, VAL INT icon)`

Foreign function `SDL_WM_GetCaption`.

### `occSDL.inc`:2139Process `SDL.WM.SetIcon`

`INLINE PROC SDL.WM.SetIcon (VAL SDL.Surface icon, []BYTE mask)`

Foreign function `SDL_WM_SetIcon`.

### `occSDL.inc`:2146Process `SDL.WM.IconifyWindow`

`INLINE PROC SDL.WM.IconifyWindow (RESULT INT return.value)`

Foreign function `SDL_WM_IconifyWindow`.

### `occSDL.inc`:2153Process `SDL.WM.ToggleFullScreen`

`INLINE PROC SDL.WM.ToggleFullScreen (VAL SDL.Surface surface, RESULT INT return.value)`

Foreign function `SDL_WM_ToggleFullScreen`.

### `occSDL.inc`:2160Process `SDL.WM.GrabInput`

`INLINE PROC SDL.WM.GrabInput (VAL SDL.GrabMode mode, RESULT SDL.GrabMode return.value)`

Foreign function `SDL_WM_GrabInput`.

### `occSDL.inc`:2167Process `SDL.SoftStretch`

`INLINE PROC SDL.SoftStretch (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value)`

Foreign function `SDL_SoftStretch`.

### `occSDL.inc`:2175Process `SDL.keysym.scancode.set`

`INLINE PROC SDL.keysym.scancode.set (VAL SDL.keysym self, VAL BYTE scancode)`

Foreign function `SDL_keysym_scancode_set`.

### `occSDL.inc`:2182Process `SDL.keysym.scancode.get`

`INLINE PROC SDL.keysym.scancode.get (VAL SDL.keysym self, RESULT BYTE return.value)`

Foreign function `SDL_keysym_scancode_get`.

### `occSDL.inc`:2189Process `SDL.keysym.sym.set`

`INLINE PROC SDL.keysym.sym.set (VAL SDL.keysym self, VAL INT sym)`

Foreign function `SDL_keysym_sym_set`.

### `occSDL.inc`:2196Process `SDL.keysym.sym.get`

`INLINE PROC SDL.keysym.sym.get (VAL SDL.keysym self, RESULT INT return.value)`

Foreign function `SDL_keysym_sym_get`.

### `occSDL.inc`:2203Process `SDL.keysym.mod.set`

`INLINE PROC SDL.keysym.mod.set (VAL SDL.keysym self, VAL INT mod)`

Foreign function `SDL_keysym_mod_set`.

### `occSDL.inc`:2210Process `SDL.keysym.mod.get`

`INLINE PROC SDL.keysym.mod.get (VAL SDL.keysym self, RESULT INT return.value)`

Foreign function `SDL_keysym_mod_get`.

### `occSDL.inc`:2217Process `SDL.keysym.unicode.set`

`INLINE PROC SDL.keysym.unicode.set (VAL SDL.keysym self, VAL INT16 unicode)`

Foreign function `SDL_keysym_unicode_set`.

### `occSDL.inc`:2224Process `SDL.keysym.unicode.get`

`INLINE PROC SDL.keysym.unicode.get (VAL SDL.keysym self, RESULT INT16 return.value)`

Foreign function `SDL_keysym_unicode_get`.

### `occSDL.inc`:2231Process `new.SDL.keysym`

`INLINE PROC new.SDL.keysym (RESULT SDL.keysym return.value)`

Foreign function `new_SDL_keysym`.

### `occSDL.inc`:2238Process `delete.SDL.keysym`

`INLINE PROC delete.SDL.keysym (VAL SDL.keysym self)`

Foreign function `delete_SDL_keysym`.

### `occSDL.inc`:2246Process `SDL.EnableUNICODE`

`INLINE PROC SDL.EnableUNICODE (VAL INT enable, RESULT INT return.value)`

Foreign function `SDL_EnableUNICODE`.

### `occSDL.inc`:2253Process `SDL.EnableKeyRepeat`

`INLINE PROC SDL.EnableKeyRepeat (VAL INT delay, VAL INT interval, RESULT INT return.value)`

Foreign function `SDL_EnableKeyRepeat`.

### `occSDL.inc`:2260Process `SDL.GetKeyState`

`INLINE PROC SDL.GetKeyState ([]INT numkeys, RESULT INT return.value)`

Foreign function `SDL_GetKeyState`.

### `occSDL.inc`:2267Process `SDL.GetModState`

`INLINE PROC SDL.GetModState (RESULT SDLMod return.value)`

Foreign function `SDL_GetModState`.

### `occSDL.inc`:2274Process `SDL.SetModState`

`INLINE PROC SDL.SetModState (VAL SDLMod modstate)`

Foreign function `SDL_SetModState`.

### `occSDL.inc`:2281Process `SDL.GetKeyName`

`INLINE PROC SDL.GetKeyName (VAL SDLKey key, RESULT INT return.value)`

Foreign function `SDL_GetKeyName`.

### `occSDL.inc`:2288Process `SDL.NumJoysticks`

`INLINE PROC SDL.NumJoysticks (RESULT INT return.value)`

Foreign function `SDL_NumJoysticks`.

### `occSDL.inc`:2295Process `SDL.JoystickName`

`INLINE PROC SDL.JoystickName (VAL INT device.index, RESULT INT return.value)`

Foreign function `SDL_JoystickName`.

### `occSDL.inc`:2302Process `SDL.JoystickOpen`

`INLINE PROC SDL.JoystickOpen (VAL INT device.index, RESULT SDL.Joystick return.value)`

Foreign function `SDL_JoystickOpen`.

### `occSDL.inc`:2309Process `SDL.JoystickOpened`

`INLINE PROC SDL.JoystickOpened (VAL INT device.index, RESULT INT return.value)`

Foreign function `SDL_JoystickOpened`.

### `occSDL.inc`:2316Process `SDL.JoystickIndex`

`INLINE PROC SDL.JoystickIndex (VAL SDL.Joystick joystick, RESULT INT return.value)`

Foreign function `SDL_JoystickIndex`.

### `occSDL.inc`:2323Process `SDL.JoystickNumAxes`

`INLINE PROC SDL.JoystickNumAxes (VAL SDL.Joystick joystick, RESULT INT return.value)`

Foreign function `SDL_JoystickNumAxes`.

### `occSDL.inc`:2330Process `SDL.JoystickNumBalls`

`INLINE PROC SDL.JoystickNumBalls (VAL SDL.Joystick joystick, RESULT INT return.value)`

Foreign function `SDL_JoystickNumBalls`.

### `occSDL.inc`:2337Process `SDL.JoystickNumHats`

`INLINE PROC SDL.JoystickNumHats (VAL SDL.Joystick joystick, RESULT INT return.value)`

Foreign function `SDL_JoystickNumHats`.

### `occSDL.inc`:2344Process `SDL.JoystickNumButtons`

`INLINE PROC SDL.JoystickNumButtons (VAL SDL.Joystick joystick, RESULT INT return.value)`

Foreign function `SDL_JoystickNumButtons`.

### `occSDL.inc`:2351Process `SDL.JoystickUpdate`

`INLINE PROC SDL.JoystickUpdate ()`

Foreign function `SDL_JoystickUpdate`.

### `occSDL.inc`:2358Process `SDL.JoystickEventState`

`INLINE PROC SDL.JoystickEventState (VAL INT state, RESULT INT return.value)`

Foreign function `SDL_JoystickEventState`.

### `occSDL.inc`:2365Process `SDL.JoystickGetAxis`

`INLINE PROC SDL.JoystickGetAxis (VAL SDL.Joystick joystick, VAL INT axis, RESULT INT16 return.value)`

Foreign function `SDL_JoystickGetAxis`.

### `occSDL.inc`:2372Process `SDL.JoystickGetHat`

`INLINE PROC SDL.JoystickGetHat (VAL SDL.Joystick joystick, VAL INT hat, RESULT BYTE return.value)`

Foreign function `SDL_JoystickGetHat`.

### `occSDL.inc`:2379Process `SDL.JoystickGetBall`

`INLINE PROC SDL.JoystickGetBall (VAL SDL.Joystick joystick, VAL INT ball, []INT dx, []INT dy, RESULT INT return.value)`

Foreign function `SDL_JoystickGetBall`.

### `occSDL.inc`:2386Process `SDL.JoystickGetButton`

`INLINE PROC SDL.JoystickGetButton (VAL SDL.Joystick joystick, VAL INT button, RESULT BYTE return.value)`

Foreign function `SDL_JoystickGetButton`.

### `occSDL.inc`:2393Process `SDL.JoystickClose`

`INLINE PROC SDL.JoystickClose (VAL SDL.Joystick joystick)`

Foreign function `SDL_JoystickClose`.

### `occSDL.inc`:2401Process `SDL.AudioSpec.freq.set`

`INLINE PROC SDL.AudioSpec.freq.set (VAL SDL.AudioSpec self, VAL INT freq)`

Foreign function `SDL_AudioSpec_freq_set`.

### `occSDL.inc`:2408Process `SDL.AudioSpec.freq.get`

`INLINE PROC SDL.AudioSpec.freq.get (VAL SDL.AudioSpec self, RESULT INT return.value)`

Foreign function `SDL_AudioSpec_freq_get`.

### `occSDL.inc`:2415Process `SDL.AudioSpec.format.set`

`INLINE PROC SDL.AudioSpec.format.set (VAL SDL.AudioSpec self, VAL INT16 format)`

Foreign function `SDL_AudioSpec_format_set`.

### `occSDL.inc`:2422Process `SDL.AudioSpec.format.get`

`INLINE PROC SDL.AudioSpec.format.get (VAL SDL.AudioSpec self, RESULT INT16 return.value)`

Foreign function `SDL_AudioSpec_format_get`.

### `occSDL.inc`:2429Process `SDL.AudioSpec.channels.set`

`INLINE PROC SDL.AudioSpec.channels.set (VAL SDL.AudioSpec self, VAL BYTE channels)`

Foreign function `SDL_AudioSpec_channels_set`.

### `occSDL.inc`:2436Process `SDL.AudioSpec.channels.get`

`INLINE PROC SDL.AudioSpec.channels.get (VAL SDL.AudioSpec self, RESULT BYTE return.value)`

Foreign function `SDL_AudioSpec_channels_get`.

### `occSDL.inc`:2443Process `SDL.AudioSpec.silence.set`

`INLINE PROC SDL.AudioSpec.silence.set (VAL SDL.AudioSpec self, VAL BYTE silence)`

Foreign function `SDL_AudioSpec_silence_set`.

### `occSDL.inc`:2450Process `SDL.AudioSpec.silence.get`

`INLINE PROC SDL.AudioSpec.silence.get (VAL SDL.AudioSpec self, RESULT BYTE return.value)`

Foreign function `SDL_AudioSpec_silence_get`.

### `occSDL.inc`:2457Process `SDL.AudioSpec.samples.set`

`INLINE PROC SDL.AudioSpec.samples.set (VAL SDL.AudioSpec self, VAL INT16 samples)`

Foreign function `SDL_AudioSpec_samples_set`.

### `occSDL.inc`:2464Process `SDL.AudioSpec.samples.get`

`INLINE PROC SDL.AudioSpec.samples.get (VAL SDL.AudioSpec self, RESULT INT16 return.value)`

Foreign function `SDL_AudioSpec_samples_get`.

### `occSDL.inc`:2471Process `SDL.AudioSpec.padding.set`

`INLINE PROC SDL.AudioSpec.padding.set (VAL SDL.AudioSpec self, VAL INT16 padding)`

Foreign function `SDL_AudioSpec_padding_set`.

### `occSDL.inc`:2478Process `SDL.AudioSpec.padding.get`

`INLINE PROC SDL.AudioSpec.padding.get (VAL SDL.AudioSpec self, RESULT INT16 return.value)`

Foreign function `SDL_AudioSpec_padding_get`.

### `occSDL.inc`:2485Process `SDL.AudioSpec.size.set`

`INLINE PROC SDL.AudioSpec.size.set (VAL SDL.AudioSpec self, VAL INT size)`

Foreign function `SDL_AudioSpec_size_set`.

### `occSDL.inc`:2492Process `SDL.AudioSpec.size.get`

`INLINE PROC SDL.AudioSpec.size.get (VAL SDL.AudioSpec self, RESULT INT return.value)`

Foreign function `SDL_AudioSpec_size_get`.

### `occSDL.inc`:2499Process `SDL.AudioSpec.callback.set`

`INLINE PROC SDL.AudioSpec.callback.set (VAL SDL.AudioSpec self, VAL INT callback)`

Foreign function `SDL_AudioSpec_callback_set`.

### `occSDL.inc`:2506Process `SDL.AudioSpec.callback.get`

`INLINE PROC SDL.AudioSpec.callback.get (VAL SDL.AudioSpec self, RESULT INT return.value)`

Foreign function `SDL_AudioSpec_callback_get`.

### `occSDL.inc`:2513Process `SDL.AudioSpec.userdata.set`

`INLINE PROC SDL.AudioSpec.userdata.set (VAL SDL.AudioSpec self, VAL INT userdata)`

Foreign function `SDL_AudioSpec_userdata_set`.

### `occSDL.inc`:2520Process `SDL.AudioSpec.userdata.get`

`INLINE PROC SDL.AudioSpec.userdata.get (VAL SDL.AudioSpec self, RESULT INT return.value)`

Foreign function `SDL_AudioSpec_userdata_get`.

### `occSDL.inc`:2527Process `new.SDL.AudioSpec`

`INLINE PROC new.SDL.AudioSpec (RESULT SDL.AudioSpec return.value)`

Foreign function `new_SDL_AudioSpec`.

### `occSDL.inc`:2534Process `delete.SDL.AudioSpec`

`INLINE PROC delete.SDL.AudioSpec (VAL SDL.AudioSpec self)`

Foreign function `delete_SDL_AudioSpec`.

### `occSDL.inc`:2543Process `SDL.AudioCVT.needed.set`

`INLINE PROC SDL.AudioCVT.needed.set (VAL SDL.AudioCVT self, VAL INT needed)`

Foreign function `SDL_AudioCVT_needed_set`.

### `occSDL.inc`:2550Process `SDL.AudioCVT.needed.get`

`INLINE PROC SDL.AudioCVT.needed.get (VAL SDL.AudioCVT self, RESULT INT return.value)`

Foreign function `SDL_AudioCVT_needed_get`.

### `occSDL.inc`:2557Process `SDL.AudioCVT.src.format.set`

`INLINE PROC SDL.AudioCVT.src.format.set (VAL SDL.AudioCVT self, VAL INT16 src.format)`

Foreign function `SDL_AudioCVT_src_format_set`.

### `occSDL.inc`:2564Process `SDL.AudioCVT.src.format.get`

`INLINE PROC SDL.AudioCVT.src.format.get (VAL SDL.AudioCVT self, RESULT INT16 return.value)`

Foreign function `SDL_AudioCVT_src_format_get`.

### `occSDL.inc`:2571Process `SDL.AudioCVT.dst.format.set`

`INLINE PROC SDL.AudioCVT.dst.format.set (VAL SDL.AudioCVT self, VAL INT16 dst.format)`

Foreign function `SDL_AudioCVT_dst_format_set`.

### `occSDL.inc`:2578Process `SDL.AudioCVT.dst.format.get`

`INLINE PROC SDL.AudioCVT.dst.format.get (VAL SDL.AudioCVT self, RESULT INT16 return.value)`

Foreign function `SDL_AudioCVT_dst_format_get`.

### `occSDL.inc`:2585Process `SDL.AudioCVT.rate.incr.set`

`INLINE PROC SDL.AudioCVT.rate.incr.set (VAL SDL.AudioCVT self, VAL REAL64 rate.incr)`

Foreign function `SDL_AudioCVT_rate_incr_set`.

### `occSDL.inc`:2592Process `SDL.AudioCVT.rate.incr.get`

`INLINE PROC SDL.AudioCVT.rate.incr.get (VAL SDL.AudioCVT self, RESULT REAL64 return.value)`

Foreign function `SDL_AudioCVT_rate_incr_get`.

### `occSDL.inc`:2599Process `SDL.AudioCVT.buf.set`

`INLINE PROC SDL.AudioCVT.buf.set (VAL SDL.AudioCVT self, []BYTE buf)`

Foreign function `SDL_AudioCVT_buf_set`.

### `occSDL.inc`:2606Process `SDL.AudioCVT.buf.get`

`INLINE PROC SDL.AudioCVT.buf.get (VAL SDL.AudioCVT self, RESULT INT return.value)`

Foreign function `SDL_AudioCVT_buf_get`.

### `occSDL.inc`:2613Process `SDL.AudioCVT.len.set`

`INLINE PROC SDL.AudioCVT.len.set (VAL SDL.AudioCVT self, VAL INT len)`

Foreign function `SDL_AudioCVT_len_set`.

### `occSDL.inc`:2620Process `SDL.AudioCVT.len.get`

`INLINE PROC SDL.AudioCVT.len.get (VAL SDL.AudioCVT self, RESULT INT return.value)`

Foreign function `SDL_AudioCVT_len_get`.

### `occSDL.inc`:2627Process `SDL.AudioCVT.len.cvt.set`

`INLINE PROC SDL.AudioCVT.len.cvt.set (VAL SDL.AudioCVT self, VAL INT len.cvt)`

Foreign function `SDL_AudioCVT_len_cvt_set`.

### `occSDL.inc`:2634Process `SDL.AudioCVT.len.cvt.get`

`INLINE PROC SDL.AudioCVT.len.cvt.get (VAL SDL.AudioCVT self, RESULT INT return.value)`

Foreign function `SDL_AudioCVT_len_cvt_get`.

### `occSDL.inc`:2641Process `SDL.AudioCVT.len.mult.set`

`INLINE PROC SDL.AudioCVT.len.mult.set (VAL SDL.AudioCVT self, VAL INT len.mult)`

Foreign function `SDL_AudioCVT_len_mult_set`.

### `occSDL.inc`:2648Process `SDL.AudioCVT.len.mult.get`

`INLINE PROC SDL.AudioCVT.len.mult.get (VAL SDL.AudioCVT self, RESULT INT return.value)`

Foreign function `SDL_AudioCVT_len_mult_get`.

### `occSDL.inc`:2655Process `SDL.AudioCVT.len.ratio.set`

`INLINE PROC SDL.AudioCVT.len.ratio.set (VAL SDL.AudioCVT self, VAL REAL64 len.ratio)`

Foreign function `SDL_AudioCVT_len_ratio_set`.

### `occSDL.inc`:2662Process `SDL.AudioCVT.len.ratio.get`

`INLINE PROC SDL.AudioCVT.len.ratio.get (VAL SDL.AudioCVT self, RESULT REAL64 return.value)`

Foreign function `SDL_AudioCVT_len_ratio_get`.

### `occSDL.inc`:2669Process `SDL.AudioCVT.filter.index.set`

`INLINE PROC SDL.AudioCVT.filter.index.set (VAL SDL.AudioCVT self, VAL INT filter.index)`

Foreign function `SDL_AudioCVT_filter_index_set`.

### `occSDL.inc`:2676Process `SDL.AudioCVT.filter.index.get`

`INLINE PROC SDL.AudioCVT.filter.index.get (VAL SDL.AudioCVT self, RESULT INT return.value)`

Foreign function `SDL_AudioCVT_filter_index_get`.

### `occSDL.inc`:2683Process `new.SDL.AudioCVT`

`INLINE PROC new.SDL.AudioCVT (RESULT SDL.AudioCVT return.value)`

Foreign function `new_SDL_AudioCVT`.

### `occSDL.inc`:2690Process `delete.SDL.AudioCVT`

`INLINE PROC delete.SDL.AudioCVT (VAL SDL.AudioCVT self)`

Foreign function `delete_SDL_AudioCVT`.

### `occSDL.inc`:2698Process `SDL.AudioDriverName`

`INLINE PROC SDL.AudioDriverName ([]BYTE namebuf, VAL INT maxlen, RESULT INT return.value)`

Foreign function `SDL_AudioDriverName`.

### `occSDL.inc`:2705Process `SDL.OpenAudio`

`INLINE PROC SDL.OpenAudio (VAL SDL.AudioSpec desired, VAL SDL.AudioSpec obtained, RESULT INT return.value)`

Foreign function `SDL_OpenAudio`.

### `occSDL.inc`:2712Process `SDL.GetAudioStatus`

`INLINE PROC SDL.GetAudioStatus (RESULT SDL.audiostatus return.value)`

Foreign function `SDL_GetAudioStatus`.

### `occSDL.inc`:2719Process `SDL.PauseAudio`

`INLINE PROC SDL.PauseAudio (VAL INT pause.on)`

Foreign function `SDL_PauseAudio`.

### `occSDL.inc`:2726Process `SDL.LoadWAV.RW`

`INLINE PROC SDL.LoadWAV.RW (VAL INT src, VAL INT freesrc, VAL SDL.AudioSpec spec, VAL INT audio.buf, []INT audio.len, RESULT SDL.AudioSpec return.value)`

Foreign function `SDL_LoadWAV_RW`.

### `occSDL.inc`:2733Process `occ.SDL.LoadWAV`

`INLINE PROC occ.SDL.LoadWAV (VAL []BYTE file, VAL SDL.AudioSpec spec, []BYTE audio.buf, []INT audio.len)`

Foreign function `occ_SDL_LoadWAV`.

### `occSDL.inc`:2740Process `SDL.FreeWAV`

`INLINE PROC SDL.FreeWAV ([]BYTE audio.buf)`

Foreign function `SDL_FreeWAV`.

### `occSDL.inc`:2747Process `SDL.BuildAudioCVT`

`INLINE PROC SDL.BuildAudioCVT (VAL SDL.AudioCVT cvt, VAL INT16 src.format, VAL BYTE src.channels, VAL INT src.rate, VAL INT16 dst.format, VAL BYTE dst.channels, VAL INT dst.rate, RESULT INT return.value)`

Foreign function `SDL_BuildAudioCVT`.

### `occSDL.inc`:2754Process `SDL.ConvertAudio`

`INLINE PROC SDL.ConvertAudio (VAL SDL.AudioCVT cvt, RESULT INT return.value)`

Foreign function `SDL_ConvertAudio`.

### `occSDL.inc`:2761Process `SDL.MixAudio`

`INLINE PROC SDL.MixAudio ([]BYTE dst, VAL []BYTE src, VAL INT len, VAL INT volume)`

Foreign function `SDL_MixAudio`.

### `occSDL.inc`:2768Process `SDL.LockAudio`

`INLINE PROC SDL.LockAudio ()`

Foreign function `SDL_LockAudio`.

### `occSDL.inc`:2775Process `SDL.UnlockAudio`

`INLINE PROC SDL.UnlockAudio ()`

Foreign function `SDL_UnlockAudio`.

### `occSDL.inc`:2782Process `SDL.CloseAudio`

`INLINE PROC SDL.CloseAudio ()`

Foreign function `SDL_CloseAudio`.

### `occSDL.inc`:2790Process `SDL.ActiveEvent.type.set`

`INLINE PROC SDL.ActiveEvent.type.set (VAL SDL.ActiveEvent self, VAL BYTE type)`

Foreign function `SDL_ActiveEvent_type_set`.

### `occSDL.inc`:2797Process `SDL.ActiveEvent.type.get`

`INLINE PROC SDL.ActiveEvent.type.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value)`

Foreign function `SDL_ActiveEvent_type_get`.

### `occSDL.inc`:2804Process `SDL.ActiveEvent.gain.set`

`INLINE PROC SDL.ActiveEvent.gain.set (VAL SDL.ActiveEvent self, VAL BYTE gain)`

Foreign function `SDL_ActiveEvent_gain_set`.

### `occSDL.inc`:2811Process `SDL.ActiveEvent.gain.get`

`INLINE PROC SDL.ActiveEvent.gain.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value)`

Foreign function `SDL_ActiveEvent_gain_get`.

### `occSDL.inc`:2818Process `SDL.ActiveEvent.state.set`

`INLINE PROC SDL.ActiveEvent.state.set (VAL SDL.ActiveEvent self, VAL BYTE state)`

Foreign function `SDL_ActiveEvent_state_set`.

### `occSDL.inc`:2825Process `SDL.ActiveEvent.state.get`

`INLINE PROC SDL.ActiveEvent.state.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value)`

Foreign function `SDL_ActiveEvent_state_get`.

### `occSDL.inc`:2832Process `new.SDL.ActiveEvent`

`INLINE PROC new.SDL.ActiveEvent (RESULT SDL.ActiveEvent return.value)`

Foreign function `new_SDL_ActiveEvent`.

### `occSDL.inc`:2839Process `delete.SDL.ActiveEvent`

`INLINE PROC delete.SDL.ActiveEvent (VAL SDL.ActiveEvent self)`

Foreign function `delete_SDL_ActiveEvent`.

### `occSDL.inc`:2848Process `SDL.KeyboardEvent.type.set`

`INLINE PROC SDL.KeyboardEvent.type.set (VAL SDL.KeyboardEvent self, VAL BYTE type)`

Foreign function `SDL_KeyboardEvent_type_set`.

### `occSDL.inc`:2855Process `SDL.KeyboardEvent.type.get`

`INLINE PROC SDL.KeyboardEvent.type.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value)`

Foreign function `SDL_KeyboardEvent_type_get`.

### `occSDL.inc`:2862Process `SDL.KeyboardEvent.which.set`

`INLINE PROC SDL.KeyboardEvent.which.set (VAL SDL.KeyboardEvent self, VAL BYTE which)`

Foreign function `SDL_KeyboardEvent_which_set`.

### `occSDL.inc`:2869Process `SDL.KeyboardEvent.which.get`

`INLINE PROC SDL.KeyboardEvent.which.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value)`

Foreign function `SDL_KeyboardEvent_which_get`.

### `occSDL.inc`:2876Process `SDL.KeyboardEvent.state.set`

`INLINE PROC SDL.KeyboardEvent.state.set (VAL SDL.KeyboardEvent self, VAL BYTE state)`

Foreign function `SDL_KeyboardEvent_state_set`.

### `occSDL.inc`:2883Process `SDL.KeyboardEvent.state.get`

`INLINE PROC SDL.KeyboardEvent.state.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value)`

Foreign function `SDL_KeyboardEvent_state_get`.

### `occSDL.inc`:2890Process `SDL.KeyboardEvent.keysym.set`

`INLINE PROC SDL.KeyboardEvent.keysym.set (VAL SDL.KeyboardEvent self, VAL SDL.keysym keysym)`

Foreign function `SDL_KeyboardEvent_keysym_set`.

### `occSDL.inc`:2897Process `SDL.KeyboardEvent.keysym.get`

`INLINE PROC SDL.KeyboardEvent.keysym.get (VAL SDL.KeyboardEvent self, RESULT SDL.keysym return.value)`

Foreign function `SDL_KeyboardEvent_keysym_get`.

### `occSDL.inc`:2904Process `new.SDL.KeyboardEvent`

`INLINE PROC new.SDL.KeyboardEvent (RESULT SDL.KeyboardEvent return.value)`

Foreign function `new_SDL_KeyboardEvent`.

### `occSDL.inc`:2911Process `delete.SDL.KeyboardEvent`

`INLINE PROC delete.SDL.KeyboardEvent (VAL SDL.KeyboardEvent self)`

Foreign function `delete_SDL_KeyboardEvent`.

### `occSDL.inc`:2920Process `SDL.MouseMotionEvent.type.set`

`INLINE PROC SDL.MouseMotionEvent.type.set (VAL SDL.MouseMotionEvent self, VAL BYTE type)`

Foreign function `SDL_MouseMotionEvent_type_set`.

### `occSDL.inc`:2927Process `SDL.MouseMotionEvent.type.get`

`INLINE PROC SDL.MouseMotionEvent.type.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value)`

Foreign function `SDL_MouseMotionEvent_type_get`.

### `occSDL.inc`:2934Process `SDL.MouseMotionEvent.which.set`

`INLINE PROC SDL.MouseMotionEvent.which.set (VAL SDL.MouseMotionEvent self, VAL BYTE which)`

Foreign function `SDL_MouseMotionEvent_which_set`.

### `occSDL.inc`:2941Process `SDL.MouseMotionEvent.which.get`

`INLINE PROC SDL.MouseMotionEvent.which.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value)`

Foreign function `SDL_MouseMotionEvent_which_get`.

### `occSDL.inc`:2948Process `SDL.MouseMotionEvent.state.set`

`INLINE PROC SDL.MouseMotionEvent.state.set (VAL SDL.MouseMotionEvent self, VAL BYTE state)`

Foreign function `SDL_MouseMotionEvent_state_set`.

### `occSDL.inc`:2955Process `SDL.MouseMotionEvent.state.get`

`INLINE PROC SDL.MouseMotionEvent.state.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value)`

Foreign function `SDL_MouseMotionEvent_state_get`.

### `occSDL.inc`:2962Process `SDL.MouseMotionEvent.x.set`

`INLINE PROC SDL.MouseMotionEvent.x.set (VAL SDL.MouseMotionEvent self, VAL INT16 x)`

Foreign function `SDL_MouseMotionEvent_x_set`.

### `occSDL.inc`:2969Process `SDL.MouseMotionEvent.x.get`

`INLINE PROC SDL.MouseMotionEvent.x.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)`

Foreign function `SDL_MouseMotionEvent_x_get`.

### `occSDL.inc`:2976Process `SDL.MouseMotionEvent.y.set`

`INLINE PROC SDL.MouseMotionEvent.y.set (VAL SDL.MouseMotionEvent self, VAL INT16 y)`

Foreign function `SDL_MouseMotionEvent_y_set`.

### `occSDL.inc`:2983Process `SDL.MouseMotionEvent.y.get`

`INLINE PROC SDL.MouseMotionEvent.y.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)`

Foreign function `SDL_MouseMotionEvent_y_get`.

### `occSDL.inc`:2990Process `SDL.MouseMotionEvent.xrel.set`

`INLINE PROC SDL.MouseMotionEvent.xrel.set (VAL SDL.MouseMotionEvent self, VAL INT16 xrel)`

Foreign function `SDL_MouseMotionEvent_xrel_set`.

### `occSDL.inc`:2997Process `SDL.MouseMotionEvent.xrel.get`

`INLINE PROC SDL.MouseMotionEvent.xrel.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)`

Foreign function `SDL_MouseMotionEvent_xrel_get`.

### `occSDL.inc`:3004Process `SDL.MouseMotionEvent.yrel.set`

`INLINE PROC SDL.MouseMotionEvent.yrel.set (VAL SDL.MouseMotionEvent self, VAL INT16 yrel)`

Foreign function `SDL_MouseMotionEvent_yrel_set`.

### `occSDL.inc`:3011Process `SDL.MouseMotionEvent.yrel.get`

`INLINE PROC SDL.MouseMotionEvent.yrel.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)`

Foreign function `SDL_MouseMotionEvent_yrel_get`.

### `occSDL.inc`:3018Process `new.SDL.MouseMotionEvent`

`INLINE PROC new.SDL.MouseMotionEvent (RESULT SDL.MouseMotionEvent return.value)`

Foreign function `new_SDL_MouseMotionEvent`.

### `occSDL.inc`:3025Process `delete.SDL.MouseMotionEvent`

`INLINE PROC delete.SDL.MouseMotionEvent (VAL SDL.MouseMotionEvent self)`

Foreign function `delete_SDL_MouseMotionEvent`.

### `occSDL.inc`:3034Process `SDL.MouseButtonEvent.type.set`

`INLINE PROC SDL.MouseButtonEvent.type.set (VAL SDL.MouseButtonEvent self, VAL BYTE type)`

Foreign function `SDL_MouseButtonEvent_type_set`.

### `occSDL.inc`:3041Process `SDL.MouseButtonEvent.type.get`

`INLINE PROC SDL.MouseButtonEvent.type.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_MouseButtonEvent_type_get`.

### `occSDL.inc`:3048Process `SDL.MouseButtonEvent.which.set`

`INLINE PROC SDL.MouseButtonEvent.which.set (VAL SDL.MouseButtonEvent self, VAL BYTE which)`

Foreign function `SDL_MouseButtonEvent_which_set`.

### `occSDL.inc`:3055Process `SDL.MouseButtonEvent.which.get`

`INLINE PROC SDL.MouseButtonEvent.which.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_MouseButtonEvent_which_get`.

### `occSDL.inc`:3062Process `SDL.MouseButtonEvent.button.set`

`INLINE PROC SDL.MouseButtonEvent.button.set (VAL SDL.MouseButtonEvent self, VAL BYTE button)`

Foreign function `SDL_MouseButtonEvent_button_set`.

### `occSDL.inc`:3069Process `SDL.MouseButtonEvent.button.get`

`INLINE PROC SDL.MouseButtonEvent.button.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_MouseButtonEvent_button_get`.

### `occSDL.inc`:3076Process `SDL.MouseButtonEvent.state.set`

`INLINE PROC SDL.MouseButtonEvent.state.set (VAL SDL.MouseButtonEvent self, VAL BYTE state)`

Foreign function `SDL_MouseButtonEvent_state_set`.

### `occSDL.inc`:3083Process `SDL.MouseButtonEvent.state.get`

`INLINE PROC SDL.MouseButtonEvent.state.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_MouseButtonEvent_state_get`.

### `occSDL.inc`:3090Process `SDL.MouseButtonEvent.x.set`

`INLINE PROC SDL.MouseButtonEvent.x.set (VAL SDL.MouseButtonEvent self, VAL INT16 x)`

Foreign function `SDL_MouseButtonEvent_x_set`.

### `occSDL.inc`:3097Process `SDL.MouseButtonEvent.x.get`

`INLINE PROC SDL.MouseButtonEvent.x.get (VAL SDL.MouseButtonEvent self, RESULT INT16 return.value)`

Foreign function `SDL_MouseButtonEvent_x_get`.

### `occSDL.inc`:3104Process `SDL.MouseButtonEvent.y.set`

`INLINE PROC SDL.MouseButtonEvent.y.set (VAL SDL.MouseButtonEvent self, VAL INT16 y)`

Foreign function `SDL_MouseButtonEvent_y_set`.

### `occSDL.inc`:3111Process `SDL.MouseButtonEvent.y.get`

`INLINE PROC SDL.MouseButtonEvent.y.get (VAL SDL.MouseButtonEvent self, RESULT INT16 return.value)`

Foreign function `SDL_MouseButtonEvent_y_get`.

### `occSDL.inc`:3118Process `new.SDL.MouseButtonEvent`

`INLINE PROC new.SDL.MouseButtonEvent (RESULT SDL.MouseButtonEvent return.value)`

Foreign function `new_SDL_MouseButtonEvent`.

### `occSDL.inc`:3125Process `delete.SDL.MouseButtonEvent`

`INLINE PROC delete.SDL.MouseButtonEvent (VAL SDL.MouseButtonEvent self)`

Foreign function `delete_SDL_MouseButtonEvent`.

### `occSDL.inc`:3134Process `SDL.JoyAxisEvent.type.set`

`INLINE PROC SDL.JoyAxisEvent.type.set (VAL SDL.JoyAxisEvent self, VAL BYTE type)`

Foreign function `SDL_JoyAxisEvent_type_set`.

### `occSDL.inc`:3141Process `SDL.JoyAxisEvent.type.get`

`INLINE PROC SDL.JoyAxisEvent.type.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyAxisEvent_type_get`.

### `occSDL.inc`:3148Process `SDL.JoyAxisEvent.which.set`

`INLINE PROC SDL.JoyAxisEvent.which.set (VAL SDL.JoyAxisEvent self, VAL BYTE which)`

Foreign function `SDL_JoyAxisEvent_which_set`.

### `occSDL.inc`:3155Process `SDL.JoyAxisEvent.which.get`

`INLINE PROC SDL.JoyAxisEvent.which.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyAxisEvent_which_get`.

### `occSDL.inc`:3162Process `SDL.JoyAxisEvent.axis.set`

`INLINE PROC SDL.JoyAxisEvent.axis.set (VAL SDL.JoyAxisEvent self, VAL BYTE axis)`

Foreign function `SDL_JoyAxisEvent_axis_set`.

### `occSDL.inc`:3169Process `SDL.JoyAxisEvent.axis.get`

`INLINE PROC SDL.JoyAxisEvent.axis.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyAxisEvent_axis_get`.

### `occSDL.inc`:3176Process `SDL.JoyAxisEvent.value.set`

`INLINE PROC SDL.JoyAxisEvent.value.set (VAL SDL.JoyAxisEvent self, VAL INT16 value)`

Foreign function `SDL_JoyAxisEvent_value_set`.

### `occSDL.inc`:3183Process `SDL.JoyAxisEvent.value.get`

`INLINE PROC SDL.JoyAxisEvent.value.get (VAL SDL.JoyAxisEvent self, RESULT INT16 return.value)`

Foreign function `SDL_JoyAxisEvent_value_get`.

### `occSDL.inc`:3190Process `new.SDL.JoyAxisEvent`

`INLINE PROC new.SDL.JoyAxisEvent (RESULT SDL.JoyAxisEvent return.value)`

Foreign function `new_SDL_JoyAxisEvent`.

### `occSDL.inc`:3197Process `delete.SDL.JoyAxisEvent`

`INLINE PROC delete.SDL.JoyAxisEvent (VAL SDL.JoyAxisEvent self)`

Foreign function `delete_SDL_JoyAxisEvent`.

### `occSDL.inc`:3206Process `SDL.JoyBallEvent.type.set`

`INLINE PROC SDL.JoyBallEvent.type.set (VAL SDL.JoyBallEvent self, VAL BYTE type)`

Foreign function `SDL_JoyBallEvent_type_set`.

### `occSDL.inc`:3213Process `SDL.JoyBallEvent.type.get`

`INLINE PROC SDL.JoyBallEvent.type.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyBallEvent_type_get`.

### `occSDL.inc`:3220Process `SDL.JoyBallEvent.which.set`

`INLINE PROC SDL.JoyBallEvent.which.set (VAL SDL.JoyBallEvent self, VAL BYTE which)`

Foreign function `SDL_JoyBallEvent_which_set`.

### `occSDL.inc`:3227Process `SDL.JoyBallEvent.which.get`

`INLINE PROC SDL.JoyBallEvent.which.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyBallEvent_which_get`.

### `occSDL.inc`:3234Process `SDL.JoyBallEvent.ball.set`

`INLINE PROC SDL.JoyBallEvent.ball.set (VAL SDL.JoyBallEvent self, VAL BYTE ball)`

Foreign function `SDL_JoyBallEvent_ball_set`.

### `occSDL.inc`:3241Process `SDL.JoyBallEvent.ball.get`

`INLINE PROC SDL.JoyBallEvent.ball.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyBallEvent_ball_get`.

### `occSDL.inc`:3248Process `SDL.JoyBallEvent.xrel.set`

`INLINE PROC SDL.JoyBallEvent.xrel.set (VAL SDL.JoyBallEvent self, VAL INT16 xrel)`

Foreign function `SDL_JoyBallEvent_xrel_set`.

### `occSDL.inc`:3255Process `SDL.JoyBallEvent.xrel.get`

`INLINE PROC SDL.JoyBallEvent.xrel.get (VAL SDL.JoyBallEvent self, RESULT INT16 return.value)`

Foreign function `SDL_JoyBallEvent_xrel_get`.

### `occSDL.inc`:3262Process `SDL.JoyBallEvent.yrel.set`

`INLINE PROC SDL.JoyBallEvent.yrel.set (VAL SDL.JoyBallEvent self, VAL INT16 yrel)`

Foreign function `SDL_JoyBallEvent_yrel_set`.

### `occSDL.inc`:3269Process `SDL.JoyBallEvent.yrel.get`

`INLINE PROC SDL.JoyBallEvent.yrel.get (VAL SDL.JoyBallEvent self, RESULT INT16 return.value)`

Foreign function `SDL_JoyBallEvent_yrel_get`.

### `occSDL.inc`:3276Process `new.SDL.JoyBallEvent`

`INLINE PROC new.SDL.JoyBallEvent (RESULT SDL.JoyBallEvent return.value)`

Foreign function `new_SDL_JoyBallEvent`.

### `occSDL.inc`:3283Process `delete.SDL.JoyBallEvent`

`INLINE PROC delete.SDL.JoyBallEvent (VAL SDL.JoyBallEvent self)`

Foreign function `delete_SDL_JoyBallEvent`.

### `occSDL.inc`:3292Process `SDL.JoyHatEvent.type.set`

`INLINE PROC SDL.JoyHatEvent.type.set (VAL SDL.JoyHatEvent self, VAL BYTE type)`

Foreign function `SDL_JoyHatEvent_type_set`.

### `occSDL.inc`:3299Process `SDL.JoyHatEvent.type.get`

`INLINE PROC SDL.JoyHatEvent.type.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyHatEvent_type_get`.

### `occSDL.inc`:3306Process `SDL.JoyHatEvent.which.set`

`INLINE PROC SDL.JoyHatEvent.which.set (VAL SDL.JoyHatEvent self, VAL BYTE which)`

Foreign function `SDL_JoyHatEvent_which_set`.

### `occSDL.inc`:3313Process `SDL.JoyHatEvent.which.get`

`INLINE PROC SDL.JoyHatEvent.which.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyHatEvent_which_get`.

### `occSDL.inc`:3320Process `SDL.JoyHatEvent.hat.set`

`INLINE PROC SDL.JoyHatEvent.hat.set (VAL SDL.JoyHatEvent self, VAL BYTE hat)`

Foreign function `SDL_JoyHatEvent_hat_set`.

### `occSDL.inc`:3327Process `SDL.JoyHatEvent.hat.get`

`INLINE PROC SDL.JoyHatEvent.hat.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyHatEvent_hat_get`.

### `occSDL.inc`:3334Process `SDL.JoyHatEvent.value.set`

`INLINE PROC SDL.JoyHatEvent.value.set (VAL SDL.JoyHatEvent self, VAL BYTE value)`

Foreign function `SDL_JoyHatEvent_value_set`.

### `occSDL.inc`:3341Process `SDL.JoyHatEvent.value.get`

`INLINE PROC SDL.JoyHatEvent.value.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyHatEvent_value_get`.

### `occSDL.inc`:3348Process `new.SDL.JoyHatEvent`

`INLINE PROC new.SDL.JoyHatEvent (RESULT SDL.JoyHatEvent return.value)`

Foreign function `new_SDL_JoyHatEvent`.

### `occSDL.inc`:3355Process `delete.SDL.JoyHatEvent`

`INLINE PROC delete.SDL.JoyHatEvent (VAL SDL.JoyHatEvent self)`

Foreign function `delete_SDL_JoyHatEvent`.

### `occSDL.inc`:3364Process `SDL.JoyButtonEvent.type.set`

`INLINE PROC SDL.JoyButtonEvent.type.set (VAL SDL.JoyButtonEvent self, VAL BYTE type)`

Foreign function `SDL_JoyButtonEvent_type_set`.

### `occSDL.inc`:3371Process `SDL.JoyButtonEvent.type.get`

`INLINE PROC SDL.JoyButtonEvent.type.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyButtonEvent_type_get`.

### `occSDL.inc`:3378Process `SDL.JoyButtonEvent.which.set`

`INLINE PROC SDL.JoyButtonEvent.which.set (VAL SDL.JoyButtonEvent self, VAL BYTE which)`

Foreign function `SDL_JoyButtonEvent_which_set`.

### `occSDL.inc`:3385Process `SDL.JoyButtonEvent.which.get`

`INLINE PROC SDL.JoyButtonEvent.which.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyButtonEvent_which_get`.

### `occSDL.inc`:3392Process `SDL.JoyButtonEvent.button.set`

`INLINE PROC SDL.JoyButtonEvent.button.set (VAL SDL.JoyButtonEvent self, VAL BYTE button)`

Foreign function `SDL_JoyButtonEvent_button_set`.

### `occSDL.inc`:3399Process `SDL.JoyButtonEvent.button.get`

`INLINE PROC SDL.JoyButtonEvent.button.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyButtonEvent_button_get`.

### `occSDL.inc`:3406Process `SDL.JoyButtonEvent.state.set`

`INLINE PROC SDL.JoyButtonEvent.state.set (VAL SDL.JoyButtonEvent self, VAL BYTE state)`

Foreign function `SDL_JoyButtonEvent_state_set`.

### `occSDL.inc`:3413Process `SDL.JoyButtonEvent.state.get`

`INLINE PROC SDL.JoyButtonEvent.state.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)`

Foreign function `SDL_JoyButtonEvent_state_get`.

### `occSDL.inc`:3420Process `new.SDL.JoyButtonEvent`

`INLINE PROC new.SDL.JoyButtonEvent (RESULT SDL.JoyButtonEvent return.value)`

Foreign function `new_SDL_JoyButtonEvent`.

### `occSDL.inc`:3427Process `delete.SDL.JoyButtonEvent`

`INLINE PROC delete.SDL.JoyButtonEvent (VAL SDL.JoyButtonEvent self)`

Foreign function `delete_SDL_JoyButtonEvent`.

### `occSDL.inc`:3436Process `SDL.ResizeEvent.type.set`

`INLINE PROC SDL.ResizeEvent.type.set (VAL SDL.ResizeEvent self, VAL BYTE type)`

Foreign function `SDL_ResizeEvent_type_set`.

### `occSDL.inc`:3443Process `SDL.ResizeEvent.type.get`

`INLINE PROC SDL.ResizeEvent.type.get (VAL SDL.ResizeEvent self, RESULT BYTE return.value)`

Foreign function `SDL_ResizeEvent_type_get`.

### `occSDL.inc`:3450Process `SDL.ResizeEvent.w.set`

`INLINE PROC SDL.ResizeEvent.w.set (VAL SDL.ResizeEvent self, VAL INT w)`

Foreign function `SDL_ResizeEvent_w_set`.

### `occSDL.inc`:3457Process `SDL.ResizeEvent.w.get`

`INLINE PROC SDL.ResizeEvent.w.get (VAL SDL.ResizeEvent self, RESULT INT return.value)`

Foreign function `SDL_ResizeEvent_w_get`.

### `occSDL.inc`:3464Process `SDL.ResizeEvent.h.set`

`INLINE PROC SDL.ResizeEvent.h.set (VAL SDL.ResizeEvent self, VAL INT h)`

Foreign function `SDL_ResizeEvent_h_set`.

### `occSDL.inc`:3471Process `SDL.ResizeEvent.h.get`

`INLINE PROC SDL.ResizeEvent.h.get (VAL SDL.ResizeEvent self, RESULT INT return.value)`

Foreign function `SDL_ResizeEvent_h_get`.

### `occSDL.inc`:3478Process `new.SDL.ResizeEvent`

`INLINE PROC new.SDL.ResizeEvent (RESULT SDL.ResizeEvent return.value)`

Foreign function `new_SDL_ResizeEvent`.

### `occSDL.inc`:3485Process `delete.SDL.ResizeEvent`

`INLINE PROC delete.SDL.ResizeEvent (VAL SDL.ResizeEvent self)`

Foreign function `delete_SDL_ResizeEvent`.

### `occSDL.inc`:3494Process `SDL.ExposeEvent.type.set`

`INLINE PROC SDL.ExposeEvent.type.set (VAL SDL.ExposeEvent self, VAL BYTE type)`

Foreign function `SDL_ExposeEvent_type_set`.

### `occSDL.inc`:3501Process `SDL.ExposeEvent.type.get`

`INLINE PROC SDL.ExposeEvent.type.get (VAL SDL.ExposeEvent self, RESULT BYTE return.value)`

Foreign function `SDL_ExposeEvent_type_get`.

### `occSDL.inc`:3508Process `new.SDL.ExposeEvent`

`INLINE PROC new.SDL.ExposeEvent (RESULT SDL.ExposeEvent return.value)`

Foreign function `new_SDL_ExposeEvent`.

### `occSDL.inc`:3515Process `delete.SDL.ExposeEvent`

`INLINE PROC delete.SDL.ExposeEvent (VAL SDL.ExposeEvent self)`

Foreign function `delete_SDL_ExposeEvent`.

### `occSDL.inc`:3524Process `SDL.QuitEvent.type.set`

`INLINE PROC SDL.QuitEvent.type.set (VAL SDL.QuitEvent self, VAL BYTE type)`

Foreign function `SDL_QuitEvent_type_set`.

### `occSDL.inc`:3531Process `SDL.QuitEvent.type.get`

`INLINE PROC SDL.QuitEvent.type.get (VAL SDL.QuitEvent self, RESULT BYTE return.value)`

Foreign function `SDL_QuitEvent_type_get`.

### `occSDL.inc`:3538Process `new.SDL.QuitEvent`

`INLINE PROC new.SDL.QuitEvent (RESULT SDL.QuitEvent return.value)`

Foreign function `new_SDL_QuitEvent`.

### `occSDL.inc`:3545Process `delete.SDL.QuitEvent`

`INLINE PROC delete.SDL.QuitEvent (VAL SDL.QuitEvent self)`

Foreign function `delete_SDL_QuitEvent`.

### `occSDL.inc`:3554Process `SDL.UserEvent.type.set`

`INLINE PROC SDL.UserEvent.type.set (VAL SDL.UserEvent self, VAL BYTE type)`

Foreign function `SDL_UserEvent_type_set`.

### `occSDL.inc`:3561Process `SDL.UserEvent.type.get`

`INLINE PROC SDL.UserEvent.type.get (VAL SDL.UserEvent self, RESULT BYTE return.value)`

Foreign function `SDL_UserEvent_type_get`.

### `occSDL.inc`:3568Process `SDL.UserEvent.code.set`

`INLINE PROC SDL.UserEvent.code.set (VAL SDL.UserEvent self, VAL INT code)`

Foreign function `SDL_UserEvent_code_set`.

### `occSDL.inc`:3575Process `SDL.UserEvent.code.get`

`INLINE PROC SDL.UserEvent.code.get (VAL SDL.UserEvent self, RESULT INT return.value)`

Foreign function `SDL_UserEvent_code_get`.

### `occSDL.inc`:3582Process `SDL.UserEvent.data1.set`

`INLINE PROC SDL.UserEvent.data1.set (VAL SDL.UserEvent self, VAL INT data1)`

Foreign function `SDL_UserEvent_data1_set`.

### `occSDL.inc`:3589Process `SDL.UserEvent.data1.get`

`INLINE PROC SDL.UserEvent.data1.get (VAL SDL.UserEvent self, RESULT INT return.value)`

Foreign function `SDL_UserEvent_data1_get`.

### `occSDL.inc`:3596Process `SDL.UserEvent.data2.set`

`INLINE PROC SDL.UserEvent.data2.set (VAL SDL.UserEvent self, VAL INT data2)`

Foreign function `SDL_UserEvent_data2_set`.

### `occSDL.inc`:3603Process `SDL.UserEvent.data2.get`

`INLINE PROC SDL.UserEvent.data2.get (VAL SDL.UserEvent self, RESULT INT return.value)`

Foreign function `SDL_UserEvent_data2_get`.

### `occSDL.inc`:3610Process `new.SDL.UserEvent`

`INLINE PROC new.SDL.UserEvent (RESULT SDL.UserEvent return.value)`

Foreign function `new_SDL_UserEvent`.

### `occSDL.inc`:3617Process `delete.SDL.UserEvent`

`INLINE PROC delete.SDL.UserEvent (VAL SDL.UserEvent self)`

Foreign function `delete_SDL_UserEvent`.

### `occSDL.inc`:3626Process `SDL.SysWMEvent.type.set`

`INLINE PROC SDL.SysWMEvent.type.set (VAL SDL.SysWMEvent self, VAL BYTE type)`

Foreign function `SDL_SysWMEvent_type_set`.

### `occSDL.inc`:3633Process `SDL.SysWMEvent.type.get`

`INLINE PROC SDL.SysWMEvent.type.get (VAL SDL.SysWMEvent self, RESULT BYTE return.value)`

Foreign function `SDL_SysWMEvent_type_get`.

### `occSDL.inc`:3640Process `SDL.SysWMEvent.msg.set`

`INLINE PROC SDL.SysWMEvent.msg.set (VAL SDL.SysWMEvent self, VAL SDL.SysWMmsg msg)`

Foreign function `SDL_SysWMEvent_msg_set`.

### `occSDL.inc`:3647Process `SDL.SysWMEvent.msg.get`

`INLINE PROC SDL.SysWMEvent.msg.get (VAL SDL.SysWMEvent self, RESULT SDL.SysWMmsg return.value)`

Foreign function `SDL_SysWMEvent_msg_get`.

### `occSDL.inc`:3654Process `new.SDL.SysWMEvent`

`INLINE PROC new.SDL.SysWMEvent (RESULT SDL.SysWMEvent return.value)`

Foreign function `new_SDL_SysWMEvent`.

### `occSDL.inc`:3661Process `delete.SDL.SysWMEvent`

`INLINE PROC delete.SDL.SysWMEvent (VAL SDL.SysWMEvent self)`

Foreign function `delete_SDL_SysWMEvent`.

### `occSDL.inc`:3670Process `SDL.Event.type.set`

`INLINE PROC SDL.Event.type.set (VAL SDL.Event self, VAL BYTE type)`

Foreign function `SDL_Event_type_set`.

### `occSDL.inc`:3677Process `SDL.Event.type.get`

`INLINE PROC SDL.Event.type.get (VAL SDL.Event self, RESULT BYTE return.value)`

Foreign function `SDL_Event_type_get`.

### `occSDL.inc`:3684Process `SDL.Event.active.set`

`INLINE PROC SDL.Event.active.set (VAL SDL.Event self, VAL SDL.ActiveEvent active)`

Foreign function `SDL_Event_active_set`.

### `occSDL.inc`:3691Process `SDL.Event.active.get`

`INLINE PROC SDL.Event.active.get (VAL SDL.Event self, RESULT SDL.ActiveEvent return.value)`

Foreign function `SDL_Event_active_get`.

### `occSDL.inc`:3698Process `SDL.Event.key.set`

`INLINE PROC SDL.Event.key.set (VAL SDL.Event self, VAL SDL.KeyboardEvent key)`

Foreign function `SDL_Event_key_set`.

### `occSDL.inc`:3705Process `SDL.Event.key.get`

`INLINE PROC SDL.Event.key.get (VAL SDL.Event self, RESULT SDL.KeyboardEvent return.value)`

Foreign function `SDL_Event_key_get`.

### `occSDL.inc`:3712Process `SDL.Event.motion.set`

`INLINE PROC SDL.Event.motion.set (VAL SDL.Event self, VAL SDL.MouseMotionEvent motion)`

Foreign function `SDL_Event_motion_set`.

### `occSDL.inc`:3719Process `SDL.Event.motion.get`

`INLINE PROC SDL.Event.motion.get (VAL SDL.Event self, RESULT SDL.MouseMotionEvent return.value)`

Foreign function `SDL_Event_motion_get`.

### `occSDL.inc`:3726Process `SDL.Event.button.set`

`INLINE PROC SDL.Event.button.set (VAL SDL.Event self, VAL SDL.MouseButtonEvent button)`

Foreign function `SDL_Event_button_set`.

### `occSDL.inc`:3733Process `SDL.Event.button.get`

`INLINE PROC SDL.Event.button.get (VAL SDL.Event self, RESULT SDL.MouseButtonEvent return.value)`

Foreign function `SDL_Event_button_get`.

### `occSDL.inc`:3740Process `SDL.Event.jaxis.set`

`INLINE PROC SDL.Event.jaxis.set (VAL SDL.Event self, VAL SDL.JoyAxisEvent jaxis)`

Foreign function `SDL_Event_jaxis_set`.

### `occSDL.inc`:3747Process `SDL.Event.jaxis.get`

`INLINE PROC SDL.Event.jaxis.get (VAL SDL.Event self, RESULT SDL.JoyAxisEvent return.value)`

Foreign function `SDL_Event_jaxis_get`.

### `occSDL.inc`:3754Process `SDL.Event.jball.set`

`INLINE PROC SDL.Event.jball.set (VAL SDL.Event self, VAL SDL.JoyBallEvent jball)`

Foreign function `SDL_Event_jball_set`.

### `occSDL.inc`:3761Process `SDL.Event.jball.get`

`INLINE PROC SDL.Event.jball.get (VAL SDL.Event self, RESULT SDL.JoyBallEvent return.value)`

Foreign function `SDL_Event_jball_get`.

### `occSDL.inc`:3768Process `SDL.Event.jhat.set`

`INLINE PROC SDL.Event.jhat.set (VAL SDL.Event self, VAL SDL.JoyHatEvent jhat)`

Foreign function `SDL_Event_jhat_set`.

### `occSDL.inc`:3775Process `SDL.Event.jhat.get`

`INLINE PROC SDL.Event.jhat.get (VAL SDL.Event self, RESULT SDL.JoyHatEvent return.value)`

Foreign function `SDL_Event_jhat_get`.

### `occSDL.inc`:3782Process `SDL.Event.jbutton.set`

`INLINE PROC SDL.Event.jbutton.set (VAL SDL.Event self, VAL SDL.JoyButtonEvent jbutton)`

Foreign function `SDL_Event_jbutton_set`.

### `occSDL.inc`:3789Process `SDL.Event.jbutton.get`

`INLINE PROC SDL.Event.jbutton.get (VAL SDL.Event self, RESULT SDL.JoyButtonEvent return.value)`

Foreign function `SDL_Event_jbutton_get`.

### `occSDL.inc`:3796Process `SDL.Event.resize.set`

`INLINE PROC SDL.Event.resize.set (VAL SDL.Event self, VAL SDL.ResizeEvent resize)`

Foreign function `SDL_Event_resize_set`.

### `occSDL.inc`:3803Process `SDL.Event.resize.get`

`INLINE PROC SDL.Event.resize.get (VAL SDL.Event self, RESULT SDL.ResizeEvent return.value)`

Foreign function `SDL_Event_resize_get`.

### `occSDL.inc`:3810Process `SDL.Event.expose.set`

`INLINE PROC SDL.Event.expose.set (VAL SDL.Event self, VAL SDL.ExposeEvent expose)`

Foreign function `SDL_Event_expose_set`.

### `occSDL.inc`:3817Process `SDL.Event.expose.get`

`INLINE PROC SDL.Event.expose.get (VAL SDL.Event self, RESULT SDL.ExposeEvent return.value)`

Foreign function `SDL_Event_expose_get`.

### `occSDL.inc`:3824Process `SDL.Event.quit.set`

`INLINE PROC SDL.Event.quit.set (VAL SDL.Event self, VAL SDL.QuitEvent quit)`

Foreign function `SDL_Event_quit_set`.

### `occSDL.inc`:3831Process `SDL.Event.quit.get`

`INLINE PROC SDL.Event.quit.get (VAL SDL.Event self, RESULT SDL.QuitEvent return.value)`

Foreign function `SDL_Event_quit_get`.

### `occSDL.inc`:3838Process `SDL.Event.user.set`

`INLINE PROC SDL.Event.user.set (VAL SDL.Event self, VAL SDL.UserEvent user)`

Foreign function `SDL_Event_user_set`.

### `occSDL.inc`:3845Process `SDL.Event.user.get`

`INLINE PROC SDL.Event.user.get (VAL SDL.Event self, RESULT SDL.UserEvent return.value)`

Foreign function `SDL_Event_user_get`.

### `occSDL.inc`:3852Process `SDL.Event.syswm.set`

`INLINE PROC SDL.Event.syswm.set (VAL SDL.Event self, VAL SDL.SysWMEvent syswm)`

Foreign function `SDL_Event_syswm_set`.

### `occSDL.inc`:3859Process `SDL.Event.syswm.get`

`INLINE PROC SDL.Event.syswm.get (VAL SDL.Event self, RESULT SDL.SysWMEvent return.value)`

Foreign function `SDL_Event_syswm_get`.

### `occSDL.inc`:3866Process `new.SDL.Event`

`INLINE PROC new.SDL.Event (RESULT SDL.Event return.value)`

Foreign function `new_SDL_Event`.

### `occSDL.inc`:3873Process `delete.SDL.Event`

`INLINE PROC delete.SDL.Event (VAL SDL.Event self)`

Foreign function `delete_SDL_Event`.

### `occSDL.inc`:3881Process `SDL.PumpEvents`

`INLINE PROC SDL.PumpEvents ()`

Foreign function `SDL_PumpEvents`.

### `occSDL.inc`:3888Process `SDL.PeepEvents`

`INLINE PROC SDL.PeepEvents (VAL SDL.Event events, VAL INT numevents, VAL SDL.eventaction action, VAL INT mask, RESULT INT return.value)`

Foreign function `SDL_PeepEvents`.

### `occSDL.inc`:3895Process `SDL.PollEvent`

`INLINE PROC SDL.PollEvent (VAL SDL.Event event, RESULT INT return.value)`

Foreign function `SDL_PollEvent`.

### `occSDL.inc`:3902Process `SDL.WaitEvent`

`INLINE PROC SDL.WaitEvent (VAL SDL.Event event, RESULT INT return.value)`

Foreign function `SDL_WaitEvent`.

### `occSDL.inc`:3909Process `SDL.PushEvent`

`INLINE PROC SDL.PushEvent (VAL SDL.Event event, RESULT INT return.value)`

Foreign function `SDL_PushEvent`.

### `occSDL.inc`:3916Process `SDL.SetEventFilter`

`INLINE PROC SDL.SetEventFilter (VAL INT filter)`

Foreign function `SDL_SetEventFilter`.

### `occSDL.inc`:3923Process `SDL.GetEventFilter`

`INLINE PROC SDL.GetEventFilter (RESULT INT return.value)`

Foreign function `SDL_GetEventFilter`.

### `occSDL.inc`:3930Process `SDL.EventState`

`INLINE PROC SDL.EventState (VAL BYTE type, VAL INT state, RESULT BYTE return.value)`

Foreign function `SDL_EventState`.

### `occSDL.inc`:3937Process `occ.SDL.GetError`

`INLINE PROC occ.SDL.GetError ([]BYTE err.str, VAL INT err.str.len, RESULT INT return.value)`

Foreign function `occ_SDL_GetError`.

### `occSDL.inc`:3944Process `SDL.GetError`

`INLINE PROC SDL.GetError (RESULT INT return.value)`

Foreign function `SDL_GetError`.

### `occSDL.inc`:3951Process `SDL.ClearError`

`INLINE PROC SDL.ClearError ()`

Foreign function `SDL_ClearError`.

### `occSDLhelpers.occ`:29Process `occ.SDL.zero.terminate`

`PROC occ.SDL.zero.terminate (VAL []BYTE in, RESULT MOBILE []BYTE out)`

Zero-terminate a string. This works around a bug in SWIG: strings passed to C functions aren't currently terminated properly.

### `occSDLhelpers.occ`:38Process `occ.SDL.set.rect`

`PROC occ.SDL.set.rect (VAL SDL.Rect rect, VAL INT x, y, w, h)`

Set the values in an SDL.Rect structure.

### `occSDLhelpers.occ`:48Process `occ.SDL.blit`

`PROC occ.SDL.blit (VAL SDL.Surface from, VAL INT from.x, from.y, w, h, VAL SDL.Surface to, VAL INT to.x, to.y)`

Blit a rectangle from one surface to another.

### `occSDLhelpers.occ`:65Process `occ.SDL.blit.raster`

`PROC occ.SDL.blit.raster (VAL [][]INT raster, VAL INT from.x, from.y, w, h, VAL SDL.Surface surface, VAL INT to.x, to.y)`

Blit a rectangle from a raster onto a surface.

### `occSDLjoy.occ`:270Process `occ.SDL.wait.button`

`PROC occ.SDL.wait.button (CT.SDLJSEVENT! ev, RESULT INT btn)`

Waits for a button press event, discards other events.

#### Parameters:

`CT.SDLJSEVENT!` | `ev` | Events from joystick.
`RESULT INT` | `btn` | Returned button ID (-1 if quit).

### `occSDLjoy.occ`:305Process `occ.SDL.wait.button.axes`

`PROC occ.SDL.wait.button.axes (CT.SDLJSEVENT! ev, RESULT INT btn, RESULT MOBILE []INT16 ax.res)`

Waits for a button press event and records axes positions, discards other events.

#### Parameters:

`CT.SDLJSEVENT!` | `ev` | Events from joystick.
`RESULT INT` | `btn` | Returned button ID (-1 if quit).
`RESULT MOBILE []INT16` | `ax.res` | Returned axis values.

### `occSDLjoy.occ`:343Process `occ.SDL.waitfor.button`

`PROC occ.SDL.waitfor.button (CT.SDLJSEVENT! ev, VAL INT btn)`

Waits for a particular button press, discards other events.

#### Parameters:

`CT.SDLJSEVENT!` | `ev` | Events from joystick.
`VAL INT` | `btn` | Button to wait for.

### `occSDLjoy.occ`:371Process `occ.SDL.waitfor.button.axes`

`PROC occ.SDL.waitfor.button.axes (CT.SDLJSEVENT! ev, VAL INT btn, RESULT MOBILE []INT16 ax.res)`

Waits for a particular button press and records axis values, discards other events.

#### Parameters:

`CT.SDLJSEVENT!` | `ev` | Events from joystick.
`VAL INT` | `btn` | Button to wait for.
`RESULT MOBILE []INT16` | `ax.res` | Returned axis positions.

### `occSDLjoy.occ`:405Process `occ.SDL.joy.doread`

`PROC occ.SDL.joy.doread (CT.SDLJSEVENT! ev, RESULT MOBILE []INT16 ax.vals, RESULT MOBILE []BYTE bt.vals)`

Reads the current axes and buttons for a joystick.

#### Parameters:

`CT.SDLJSEVENT!` | `ev` | Event channel-type link.
`RESULT MOBILE []INT16` | `ax.vals` | Returned axis values.
`RESULT MOBILE []BYTE` | `bt.vals` | Returned button values.

### `occSDLjoy.occ`:452Process `occ.SDL.joy.calibrate`

`PROC occ.SDL.joy.calibrate (CT.SDLJSCALIBRATE? svr, CT.SDLJSEVENT! ev.in, CT.SDLJSEVENT? ev.out)`

Provides joystick calibration and subsequent adjustment of reported values.

#### Parameters:

`CT.SDLJSCALIBRATE?` | `svr` | Server channel-type link.
`CT.SDLJSEVENT!` | `ev.in` | Joystick events in.
`CT.SDLJSEVENT?` | `ev.out` | Joystick events out.

### `occSDLjoy.occ`:621Process `occ.SDL.joy.calibrator`

`PROC occ.SDL.joy.calibrator (CT.SDLJSEVENT! ev.in, RESULT CT.SDLJSEVENT! ev.out, RESULT CT.SDLJSCALIBRATE! cal.out)`

Launches a joystick calibration process.

#### Parameters:

`CT.SDLJSEVENT!` | `ev.in` | Joystick events in.
`RESULT CT.SDLJSEVENT!` | `ev.out` | Returned joystick events out.
`RESULT CT.SDLJSCALIBRATE!` | `cal.out` | Returned calibration channel-end.

### `occSDLjoy.occ`:637Process `occ.SDL.joy.server`

`PROC occ.SDL.joy.server (CT.SDLJOY? svr)`

Provides a server process that monitors joysticks.

#### Parameters:

`CT.SDLJOY?` | `svr` | Server channel-type link.

### `occSDLjoy.occ`:712Process `occ.SDL.joy.start`

`PROC occ.SDL.joy.start (RESULT CT.SDLJOY! cli)`

Starts a new instance of the SDL joystick server process.

#### Parameters:

`RESULT CT.SDLJOY!` | `cli` | Returned link to new server process.

### `occSDLjoy.occ`:725Process `occ.SDL.joy.docalibrate`

`PROC occ.SDL.joy.docalibrate (CT.SDLJSCALIBRATE! cal, SHARED CHAN BYTE out!)`

Runs the joystick calibration routine.

#### Parameters:

`CT.SDLJSCALIBRATE!` | `cal` | Channel-type connection to calibrator process.
`SHARED CHAN BYTE` | `out` | Shared byte channel for reporting.

### `occSDLhelpers.inc`:20Process `occ.SDL.make.surface`

`INLINE PROC occ.SDL.make.surface (VAL [][]INT pixels, RESULT SDL.Surface surface)`

Turn an occam array into an SDL surface. This is a wrapper around `SDL.CreateRGBSurfaceFrom`.

#### Parameters:

`VAL [][]INT` | `pixels` | Array of pixels. The first dimension is Y; the second is X. Each `INT` is a single pixel in `#00RRGGBB` format.
`RESULT SDL.Surface` | `surface` | The resulting surface. This contains a pointer to `pixels`, so you must free it with `SDL.FreeSurface` before whatever you passed as `pixels` goes out of scope.

### `occSDLjoy.inc`:25Protocol `P.SDLJS.EVENT`

`PROTOCOL P.SDLJS.EVENT`

Joystick event protocol.

### `occSDLjoy.inc`:32Tag `change`

`change; INT; INT; MOBILE []INT16; MOBILE []BYTE`

Reporting change in joystick status.

#### Parameters:

`INT` | `ax.delta` | Bit-field indicating changes to axis values.
`INT` | `bt.delta` | Bit-field indicating changes to button values.
`MOBILE []INT16` | `axis` | 16-bit joystick axis values.
`MOBILE []BYTE` | `btns` | Byte array of joystick button values.

### `occSDLjoy.inc`:34Tag `quit`

`quit`

Joystick server process terminating.

### `occSDLjoy.inc`:38Protocol `P.SDLJS.EVENT.IN`

`PROTOCOL P.SDLJS.EVENT.IN`

Joystick event input protocol.

### `occSDLjoy.inc`:40Tag `force.event`

`force.event`

Pretend a change happened and generate a new event.

### `occSDLjoy.inc`:44Channel type `CT.SDLJSEVENT`

`CHAN TYPE CT.SDLJSEVENT`

Joystick event channel-type.

### `occSDLjoy.inc`:46Variable `in?`

`CHAN P.SDLJS.EVENT.IN`

Commands to control joystick events.

### `occSDLjoy.inc`:47Variable `out!`

`CHAN P.SDLJS.EVENT`

Joystick events.

### `occSDLjoy.inc`:51Protocol `P.SDLJSCALIBRATE.IN`

`PROTOCOL P.SDLJSCALIBRATE.IN`

Joystick calibration input protocol.

### `occSDLjoy.inc`:53Tag `calibrate`

`calibrate`

Start joystick calibration.

### `occSDLjoy.inc`:57Protocol `P.SDLJSCALIBRATE.OUT`

`PROTOCOL P.SDLJSCALIBRATE.OUT`

Joystick calibration output protocol.

### `occSDLjoy.inc`:59Tag `message`

`message; MOBILE []BYTE`

Message to be reported to the user.

### `occSDLjoy.inc`:60Tag `done`

`done`

Calibration complete.

### `occSDLjoy.inc`:64Channel type `CT.SDLJSCALIBRATE`

`CHAN TYPE CT.SDLJSCALIBRATE`

Joystick calibration channel-type.

### `occSDLjoy.inc`:66Variable `in?`

`CHAN P.SDLJSCALIBRATE.IN`

Commands to calibrator process.

### `occSDLjoy.inc`:67Variable `out!`

`CHAN P.SDLJSCALIBRATE.OUT`

Responses from calibrator process.

### `occSDLjoy.inc`:71Protocol `P.SDLJS.IN`

`PROTOCOL P.SDLJS.IN`

Joystick input protocol.

### `occSDLjoy.inc`:73Tag `enable`

`enable`

Enable joystick data capture, returns `CT.SDLJSEVENT` client channel-end.

### `occSDLjoy.inc`:74Tag `disable`

`disable`

Disable joystick data capture.

### `occSDLjoy.inc`:75Tag `query`

`query`

Query joystick (number of axes and buttons).

### `occSDLjoy.inc`:79Protocol `P.SDLJS.OUT`

`PROTOCOL P.SDLJS.OUT`

Joystick output protocol.

### `occSDLjoy.inc`:81Tag `event.chan`

`event.chan; CT.SDLJSEVENT!`

Channel-end on which events are received.

### `occSDLjoy.inc`:82Tag `query`

`query; [SDLJS.ITEMS]INT`

Number of axes and buttons.

### `occSDLjoy.inc`:86Channel type `CT.SDLJS`

`CHAN TYPE CT.SDLJS`

Joystick channel-type.

### `occSDLjoy.inc`:88Variable `in?`

`CHAN P.SDLJS.IN`

Commands to joystick.

### `occSDLjoy.inc`:89Variable `out!`

`CHAN P.SDLJS.OUT`

responses from joystick.

### `occSDLjoy.inc`:93Protocol `P.SDLJOY.IN`

`PROTOCOL P.SDLJOY.IN`

Joystick server input protocol.

### `occSDLjoy.inc`:95Tag `num.sticks`

`num.sticks`

Report number of joysticks present.

### `occSDLjoy.inc`:96Tag `query.stick`

`query.stick; INT`

Query characteristics of a particular stick.

### `occSDLjoy.inc`:97Tag `quit`

`quit`

Tell the server process to terminate.

### `occSDLjoy.inc`:98Tag `connect`

`connect; INT`

Connect to specified joystick.

### `occSDLjoy.inc`:102Protocol `P.SDLJOY.OUT`

`PROTOCOL P.SDLJOY.OUT`

Joystick server output protocol.

### `occSDLjoy.inc`:104Tag `num.sticks`

`num.sticks; INT`

Number of sticks.

### `occSDLjoy.inc`:105Tag `query`

`query; INT; [SDLJS.ITEMS]INT`

Query result.

### `occSDLjoy.inc`:106Tag `error`

`error`

General error result.

### `occSDLjoy.inc`:107Tag `joystick`

`joystick; SHARED CT.SDLJS!`

Connection to joystick handler.

### `occSDLjoy.inc`:111Channel type `CT.SDLJOY`

`CHAN TYPE CT.SDLJOY`

Joystick server channel-type.

### `occSDLjoy.inc`:113Variable `in?`

`CHAN P.SDLJOY.IN`

Commands to joystick server.

### `occSDLjoy.inc`:114Variable `out!`

`CHAN P.SDLJOY.OUT`

Responses from joystick server.