-- ----------------------------------------------------------------------------
-- This file was automatically generated by SWIG (http://www.swig.org).
-- Version 1.3.31
--
-- Do not make changes to this file unless you know what you are doing--modify
-- the SWIG interface file instead.
-- ----------------------------------------------------------------------------- 

--** Interface to foreign library [@text occSDL].
-- Generated automatically using SWIG 1.3.31.
-- @module occSDL

#IF NOT DEFINED (WRAPPERS.occSDL.INC)
#DEFINE WRAPPERS.occSDL.INC
--{{{  data types
--* Foreign enumeration type [@text SDL_DUMMY_ENUM].
DATA TYPE SDL.DUMMY.ENUM IS INT:
--* Foreign struct type [@text SDL_ExposeEvent].
DATA TYPE SDL.ExposeEvent IS INT:
--* Foreign struct type [@text SDL_UserEvent].
DATA TYPE SDL.UserEvent IS INT:
--* Foreign enumeration type [@text SDL_eventaction].
DATA TYPE SDL.eventaction IS INT:
--* Foreign struct type [@text SDL_JoyBallEvent].
DATA TYPE SDL.JoyBallEvent IS INT:
--* Foreign struct type [@text SDL_JoyHatEvent].
DATA TYPE SDL.JoyHatEvent IS INT:
--* Foreign struct type [@text SDL_QuitEvent].
DATA TYPE SDL.QuitEvent IS INT:
--* Foreign union type [@text SDL_Event].
DATA TYPE SDL.Event IS INT:
--* Foreign struct type [@text SDL_Surface].
DATA TYPE SDL.Surface IS INT:
--* Foreign enumeration type [@text SDL_GrabMode].
DATA TYPE SDL.GrabMode IS INT:
--* Foreign function pointer typedef type [@text SDL_blit].
DATA TYPE SDL.blit IS INT:
--* Foreign enumeration type [@text SDL_bool].
DATA TYPE SDL.bool IS INT:
--* Foreign struct type [@text SDL_Palette].
DATA TYPE SDL.Palette IS INT:
--* Foreign struct type [@text struct private_hwdata].
DATA TYPE private.hwdata IS INT:
--* Foreign struct type [@text struct private_yuvhwdata].
DATA TYPE private.yuvhwdata IS INT:
--* Foreign struct type [@text SDL_ResizeEvent].
DATA TYPE SDL.ResizeEvent IS INT:
--* Foreign struct type [@text SDL_ActiveEvent].
DATA TYPE SDL.ActiveEvent IS INT:
--* Foreign struct type [@text SDL_AudioSpec].
DATA TYPE SDL.AudioSpec IS INT:
--* Foreign enumeration type [@text SDLKey].
DATA TYPE SDLKey IS INT:
--* Foreign struct type [@text struct SDL_BlitMap].
DATA TYPE SDL.BlitMap IS INT:
--* Foreign struct type [@text struct private_yuvhwfuncs].
DATA TYPE private.yuvhwfuncs IS INT:
--* Foreign struct type [@text SDL_Rect].
DATA TYPE SDL.Rect IS INT:
--* Foreign struct type [@text struct SDL_SysWMmsg].
DATA TYPE SDL.SysWMmsg IS INT:
--* Foreign struct typedef type [@text SDL_Joystick].
DATA TYPE SDL.Joystick IS INT:
--* Foreign struct type [@text struct _SDL_Joystick].
DATA TYPE underscore.SDL.Joystick IS INT:
--* Foreign enumeration type [@text SDL_GLattr].
DATA TYPE SDL.GLattr IS INT:
--* Foreign struct type [@text SDL_JoyAxisEvent].
DATA TYPE SDL.JoyAxisEvent IS INT:
--* Foreign struct type [@text SDL_Color].
DATA TYPE SDL.Color IS INT:
--* Foreign enumeration type [@text SDL_audiostatus].
DATA TYPE SDL.audiostatus IS INT:
--* Foreign struct type [@text SDL_AudioCVT].
DATA TYPE SDL.AudioCVT IS INT:
--* Foreign struct type [@text SDL_SysWMEvent].
DATA TYPE SDL.SysWMEvent IS INT:
--* Foreign struct type [@text SDL_PixelFormat].
DATA TYPE SDL.PixelFormat IS INT:
--* Foreign struct type [@text SDL_keysym].
DATA TYPE SDL.keysym IS INT:
--* Foreign function pointer typedef type [@text SDL_EventFilter].
DATA TYPE SDL.EventFilter IS INT:
--* Foreign struct type [@text SDL_KeyboardEvent].
DATA TYPE SDL.KeyboardEvent IS INT:
--* Foreign enumeration type [@text SDLMod].
DATA TYPE SDLMod IS INT:
--* Foreign struct type [@text SDL_VideoInfo].
DATA TYPE SDL.VideoInfo IS INT:
--* Foreign struct type [@text SDL_JoyButtonEvent].
DATA TYPE SDL.JoyButtonEvent IS INT:
--* Foreign struct type [@text SDL_MouseButtonEvent].
DATA TYPE SDL.MouseButtonEvent IS INT:
--* Foreign struct type [@text SDL_MouseMotionEvent].
DATA TYPE SDL.MouseMotionEvent IS INT:
--* Foreign struct type [@text SDL_Overlay].
DATA TYPE SDL.Overlay IS INT:
--}}}
--{{{  constant SDL_INIT_TIMER
--* Foreign constant [@text SDL_INIT_TIMER].
VAL INT SDL.INIT.TIMER IS #00000001:
--}}}
--{{{  constant SDL_INIT_AUDIO
--* Foreign constant [@text SDL_INIT_AUDIO].
VAL INT SDL.INIT.AUDIO IS #00000010:
--}}}
--{{{  constant SDL_INIT_VIDEO
--* Foreign constant [@text SDL_INIT_VIDEO].
VAL INT SDL.INIT.VIDEO IS #00000020:
--}}}
--{{{  constant SDL_INIT_CDROM
--* Foreign constant [@text SDL_INIT_CDROM].
VAL INT SDL.INIT.CDROM IS #00000100:
--}}}
--{{{  constant SDL_INIT_JOYSTICK
--* Foreign constant [@text SDL_INIT_JOYSTICK].
VAL INT SDL.INIT.JOYSTICK IS #00000200:
--}}}
--{{{  constant SDL_INIT_NOPARACHUTE
--* Foreign constant [@text SDL_INIT_NOPARACHUTE].
VAL INT SDL.INIT.NOPARACHUTE IS #00100000:
--}}}
--{{{  constant SDL_INIT_EVENTTHREAD
--* Foreign constant [@text SDL_INIT_EVENTTHREAD].
VAL INT SDL.INIT.EVENTTHREAD IS #01000000:
--}}}
--{{{  constant SDL_INIT_EVERYTHING
--* Foreign constant [@text SDL_INIT_EVERYTHING].
VAL INT SDL.INIT.EVERYTHING IS #0000FFFF:
--}}}
--{{{  enum SDL_bool
--*{ SDL.bool Foreign enumeration [@text SDL_bool].
VAL SDL.bool SDL.FALSE IS 0:
VAL SDL.bool SDL.TRUE IS 1:
--*}
--}}}
--  not wrapped: typedef Uint8
--  not wrapped: typedef Sint8
--  not wrapped: typedef Uint16
--  not wrapped: typedef Sint16
--  not wrapped: typedef Uint32
--  not wrapped: typedef Sint32
--{{{  enum SDL_DUMMY_ENUM
--*{ SDL.DUMMY.ENUM Foreign enumeration [@text SDL_DUMMY_ENUM].
VAL SDL.DUMMY.ENUM DUMMY.ENUM.VALUE IS 0:
--*}
--}}}
--{{{  anonymous enum
VAL INT SDL.PRESSED IS 1:
VAL INT SDL.RELEASED IS 2:
--}}}
--{{{  constant SDL_ALPHA_OPAQUE
--* Foreign constant [@text SDL_ALPHA_OPAQUE].
VAL INT SDL.ALPHA.OPAQUE IS 255:
--}}}
--{{{  constant SDL_ALPHA_TRANSPARENT
--* Foreign constant [@text SDL_ALPHA_TRANSPARENT].
VAL INT SDL.ALPHA.TRANSPARENT IS 0:
--}}}
--{{{  constant SDL_SWSURFACE
--* Foreign constant [@text SDL_SWSURFACE].
VAL INT SDL.SWSURFACE IS #00000000:
--}}}
--{{{  constant SDL_HWSURFACE
--* Foreign constant [@text SDL_HWSURFACE].
VAL INT SDL.HWSURFACE IS #00000001:
--}}}
--{{{  constant SDL_ASYNCBLIT
--* Foreign constant [@text SDL_ASYNCBLIT].
VAL INT SDL.ASYNCBLIT IS #00000004:
--}}}
--{{{  constant SDL_ANYFORMAT
--* Foreign constant [@text SDL_ANYFORMAT].
VAL INT SDL.ANYFORMAT IS #10000000:
--}}}
--{{{  constant SDL_HWPALETTE
--* Foreign constant [@text SDL_HWPALETTE].
VAL INT SDL.HWPALETTE IS #20000000:
--}}}
--{{{  constant SDL_DOUBLEBUF
--* Foreign constant [@text SDL_DOUBLEBUF].
VAL INT SDL.DOUBLEBUF IS #40000000:
--}}}
--{{{  constant SDL_FULLSCREEN
--* Foreign constant [@text SDL_FULLSCREEN].
VAL INT SDL.FULLSCREEN IS #80000000:
--}}}
--{{{  constant SDL_OPENGL
--* Foreign constant [@text SDL_OPENGL].
VAL INT SDL.OPENGL IS #00000002:
--}}}
--{{{  constant SDL_OPENGLBLIT
--* Foreign constant [@text SDL_OPENGLBLIT].
VAL INT SDL.OPENGLBLIT IS #0000000A:
--}}}
--{{{  constant SDL_RESIZABLE
--* Foreign constant [@text SDL_RESIZABLE].
VAL INT SDL.RESIZABLE IS #00000010:
--}}}
--{{{  constant SDL_NOFRAME
--* Foreign constant [@text SDL_NOFRAME].
VAL INT SDL.NOFRAME IS #00000020:
--}}}
--{{{  constant SDL_HWACCEL
--* Foreign constant [@text SDL_HWACCEL].
VAL INT SDL.HWACCEL IS #00000100:
--}}}
--{{{  constant SDL_SRCCOLORKEY
--* Foreign constant [@text SDL_SRCCOLORKEY].
VAL INT SDL.SRCCOLORKEY IS #00001000:
--}}}
--{{{  constant SDL_RLEACCELOK
--* Foreign constant [@text SDL_RLEACCELOK].
VAL INT SDL.RLEACCELOK IS #00002000:
--}}}
--{{{  constant SDL_RLEACCEL
--* Foreign constant [@text SDL_RLEACCEL].
VAL INT SDL.RLEACCEL IS #00004000:
--}}}
--{{{  constant SDL_SRCALPHA
--* Foreign constant [@text SDL_SRCALPHA].
VAL INT SDL.SRCALPHA IS #00010000:
--}}}
--{{{  constant SDL_PREALLOC
--* Foreign constant [@text SDL_PREALLOC].
VAL INT SDL.PREALLOC IS #01000000:
--}}}
--{{{  constant SDL_YV12_OVERLAY
--* Foreign constant [@text SDL_YV12_OVERLAY].
VAL INT SDL.YV12.OVERLAY IS #32315659:
--}}}
--{{{  constant SDL_IYUV_OVERLAY
--* Foreign constant [@text SDL_IYUV_OVERLAY].
VAL INT SDL.IYUV.OVERLAY IS #56555949:
--}}}
--{{{  constant SDL_YUY2_OVERLAY
--* Foreign constant [@text SDL_YUY2_OVERLAY].
VAL INT SDL.YUY2.OVERLAY IS #32595559:
--}}}
--{{{  constant SDL_UYVY_OVERLAY
--* Foreign constant [@text SDL_UYVY_OVERLAY].
VAL INT SDL.UYVY.OVERLAY IS #59565955:
--}}}
--{{{  constant SDL_YVYU_OVERLAY
--* Foreign constant [@text SDL_YVYU_OVERLAY].
VAL INT SDL.YVYU.OVERLAY IS #55595659:
--}}}
--{{{  enum SDL_GLattr
--*{ SDL.GLattr Foreign enumeration [@text SDL_GLattr].
VAL SDL.GLattr SDL.GL.RED.SIZE IS 0:
VAL SDL.GLattr SDL.GL.GREEN.SIZE IS 1:
VAL SDL.GLattr SDL.GL.BLUE.SIZE IS 2:
VAL SDL.GLattr SDL.GL.ALPHA.SIZE IS 3:
VAL SDL.GLattr SDL.GL.BUFFER.SIZE IS 4:
VAL SDL.GLattr SDL.GL.DOUBLEBUFFER IS 5:
VAL SDL.GLattr SDL.GL.DEPTH.SIZE IS 6:
VAL SDL.GLattr SDL.GL.STENCIL.SIZE IS 7:
VAL SDL.GLattr SDL.GL.ACCUM.RED.SIZE IS 8:
VAL SDL.GLattr SDL.GL.ACCUM.GREEN.SIZE IS 9:
VAL SDL.GLattr SDL.GL.ACCUM.BLUE.SIZE IS 10:
VAL SDL.GLattr SDL.GL.ACCUM.ALPHA.SIZE IS 11:
VAL SDL.GLattr SDL.GL.STEREO IS 12:
VAL SDL.GLattr SDL.GL.MULTISAMPLEBUFFERS IS 13:
VAL SDL.GLattr SDL.GL.MULTISAMPLESAMPLES IS 14:
--*}
--}}}
--{{{  constant SDL_LOGPAL
--* Foreign constant [@text SDL_LOGPAL].
VAL INT SDL.LOGPAL IS #01:
--}}}
--{{{  constant SDL_PHYSPAL
--* Foreign constant [@text SDL_PHYSPAL].
VAL INT SDL.PHYSPAL IS #02:
--}}}
--{{{  enum SDL_GrabMode
--*{ SDL.GrabMode Foreign enumeration [@text SDL_GrabMode].
VAL SDL.GrabMode SDL.GRAB.QUERY IS -1:
VAL SDL.GrabMode SDL.GRAB.OFF IS 0:
VAL SDL.GrabMode SDL.GRAB.ON IS 1:
VAL SDL.GrabMode SDL.GRAB.FULLSCREEN IS 2:
--*}
--}}}
--{{{  enum SDLKey
--*{ SDLKey Foreign enumeration [@text SDLKey].
VAL SDLKey SDLK.UNKNOWN IS 0:
VAL SDLKey SDLK.FIRST IS 1:
VAL SDLKey SDLK.BACKSPACE IS 8:
VAL SDLKey SDLK.TAB IS 9:
VAL SDLKey SDLK.CLEAR IS 12:
VAL SDLKey SDLK.RETURN IS 13:
VAL SDLKey SDLK.PAUSE IS 19:
VAL SDLKey SDLK.ESCAPE IS 27:
VAL SDLKey SDLK.SPACE IS 32:
VAL SDLKey SDLK.EXCLAIM IS 33:
VAL SDLKey SDLK.QUOTEDBL IS 34:
VAL SDLKey SDLK.HASH IS 35:
VAL SDLKey SDLK.DOLLAR IS 36:
VAL SDLKey SDLK.AMPERSAND IS 38:
VAL SDLKey SDLK.QUOTE IS 39:
VAL SDLKey SDLK.LEFTPAREN IS 40:
VAL SDLKey SDLK.RIGHTPAREN IS 41:
VAL SDLKey SDLK.ASTERISK IS 42:
VAL SDLKey SDLK.PLUS IS 43:
VAL SDLKey SDLK.COMMA IS 44:
VAL SDLKey SDLK.MINUS IS 45:
VAL SDLKey SDLK.PERIOD IS 46:
VAL SDLKey SDLK.SLASH IS 47:
VAL SDLKey SDLK.0 IS 48:
VAL SDLKey SDLK.1 IS 49:
VAL SDLKey SDLK.2 IS 50:
VAL SDLKey SDLK.3 IS 51:
VAL SDLKey SDLK.4 IS 52:
VAL SDLKey SDLK.5 IS 53:
VAL SDLKey SDLK.6 IS 54:
VAL SDLKey SDLK.7 IS 55:
VAL SDLKey SDLK.8 IS 56:
VAL SDLKey SDLK.9 IS 57:
VAL SDLKey SDLK.COLON IS 58:
VAL SDLKey SDLK.SEMICOLON IS 59:
VAL SDLKey SDLK.LESS IS 60:
VAL SDLKey SDLK.EQUALS IS 61:
VAL SDLKey SDLK.GREATER IS 62:
VAL SDLKey SDLK.QUESTION IS 63:
VAL SDLKey SDLK.AT IS 64:
VAL SDLKey SDLK.LEFTBRACKET IS 91:
VAL SDLKey SDLK.BACKSLASH IS 92:
VAL SDLKey SDLK.RIGHTBRACKET IS 93:
VAL SDLKey SDLK.CARET IS 94:
VAL SDLKey SDLK.UNDERSCORE IS 95:
VAL SDLKey SDLK.BACKQUOTE IS 96:
VAL SDLKey SDLK.a IS 97:
VAL SDLKey SDLK.b IS 98:
VAL SDLKey SDLK.c IS 99:
VAL SDLKey SDLK.d IS 100:
VAL SDLKey SDLK.e IS 101:
VAL SDLKey SDLK.f IS 102:
VAL SDLKey SDLK.g IS 103:
VAL SDLKey SDLK.h IS 104:
VAL SDLKey SDLK.i IS 105:
VAL SDLKey SDLK.j IS 106:
VAL SDLKey SDLK.k IS 107:
VAL SDLKey SDLK.l IS 108:
VAL SDLKey SDLK.m IS 109:
VAL SDLKey SDLK.n IS 110:
VAL SDLKey SDLK.o IS 111:
VAL SDLKey SDLK.p IS 112:
VAL SDLKey SDLK.q IS 113:
VAL SDLKey SDLK.r IS 114:
VAL SDLKey SDLK.s IS 115:
VAL SDLKey SDLK.t IS 116:
VAL SDLKey SDLK.u IS 117:
VAL SDLKey SDLK.v IS 118:
VAL SDLKey SDLK.w IS 119:
VAL SDLKey SDLK.x IS 120:
VAL SDLKey SDLK.y IS 121:
VAL SDLKey SDLK.z IS 122:
VAL SDLKey SDLK.DELETE IS 127:
VAL SDLKey SDLK.WORLD.0 IS 160:
VAL SDLKey SDLK.WORLD.1 IS 161:
VAL SDLKey SDLK.WORLD.2 IS 162:
VAL SDLKey SDLK.WORLD.3 IS 163:
VAL SDLKey SDLK.WORLD.4 IS 164:
VAL SDLKey SDLK.WORLD.5 IS 165:
VAL SDLKey SDLK.WORLD.6 IS 166:
VAL SDLKey SDLK.WORLD.7 IS 167:
VAL SDLKey SDLK.WORLD.8 IS 168:
VAL SDLKey SDLK.WORLD.9 IS 169:
VAL SDLKey SDLK.WORLD.10 IS 170:
VAL SDLKey SDLK.WORLD.11 IS 171:
VAL SDLKey SDLK.WORLD.12 IS 172:
VAL SDLKey SDLK.WORLD.13 IS 173:
VAL SDLKey SDLK.WORLD.14 IS 174:
VAL SDLKey SDLK.WORLD.15 IS 175:
VAL SDLKey SDLK.WORLD.16 IS 176:
VAL SDLKey SDLK.WORLD.17 IS 177:
VAL SDLKey SDLK.WORLD.18 IS 178:
VAL SDLKey SDLK.WORLD.19 IS 179:
VAL SDLKey SDLK.WORLD.20 IS 180:
VAL SDLKey SDLK.WORLD.21 IS 181:
VAL SDLKey SDLK.WORLD.22 IS 182:
VAL SDLKey SDLK.WORLD.23 IS 183:
VAL SDLKey SDLK.WORLD.24 IS 184:
VAL SDLKey SDLK.WORLD.25 IS 185:
VAL SDLKey SDLK.WORLD.26 IS 186:
VAL SDLKey SDLK.WORLD.27 IS 187:
VAL SDLKey SDLK.WORLD.28 IS 188:
VAL SDLKey SDLK.WORLD.29 IS 189:
VAL SDLKey SDLK.WORLD.30 IS 190:
VAL SDLKey SDLK.WORLD.31 IS 191:
VAL SDLKey SDLK.WORLD.32 IS 192:
VAL SDLKey SDLK.WORLD.33 IS 193:
VAL SDLKey SDLK.WORLD.34 IS 194:
VAL SDLKey SDLK.WORLD.35 IS 195:
VAL SDLKey SDLK.WORLD.36 IS 196:
VAL SDLKey SDLK.WORLD.37 IS 197:
VAL SDLKey SDLK.WORLD.38 IS 198:
VAL SDLKey SDLK.WORLD.39 IS 199:
VAL SDLKey SDLK.WORLD.40 IS 200:
VAL SDLKey SDLK.WORLD.41 IS 201:
VAL SDLKey SDLK.WORLD.42 IS 202:
VAL SDLKey SDLK.WORLD.43 IS 203:
VAL SDLKey SDLK.WORLD.44 IS 204:
VAL SDLKey SDLK.WORLD.45 IS 205:
VAL SDLKey SDLK.WORLD.46 IS 206:
VAL SDLKey SDLK.WORLD.47 IS 207:
VAL SDLKey SDLK.WORLD.48 IS 208:
VAL SDLKey SDLK.WORLD.49 IS 209:
VAL SDLKey SDLK.WORLD.50 IS 210:
VAL SDLKey SDLK.WORLD.51 IS 211:
VAL SDLKey SDLK.WORLD.52 IS 212:
VAL SDLKey SDLK.WORLD.53 IS 213:
VAL SDLKey SDLK.WORLD.54 IS 214:
VAL SDLKey SDLK.WORLD.55 IS 215:
VAL SDLKey SDLK.WORLD.56 IS 216:
VAL SDLKey SDLK.WORLD.57 IS 217:
VAL SDLKey SDLK.WORLD.58 IS 218:
VAL SDLKey SDLK.WORLD.59 IS 219:
VAL SDLKey SDLK.WORLD.60 IS 220:
VAL SDLKey SDLK.WORLD.61 IS 221:
VAL SDLKey SDLK.WORLD.62 IS 222:
VAL SDLKey SDLK.WORLD.63 IS 223:
VAL SDLKey SDLK.WORLD.64 IS 224:
VAL SDLKey SDLK.WORLD.65 IS 225:
VAL SDLKey SDLK.WORLD.66 IS 226:
VAL SDLKey SDLK.WORLD.67 IS 227:
VAL SDLKey SDLK.WORLD.68 IS 228:
VAL SDLKey SDLK.WORLD.69 IS 229:
VAL SDLKey SDLK.WORLD.70 IS 230:
VAL SDLKey SDLK.WORLD.71 IS 231:
VAL SDLKey SDLK.WORLD.72 IS 232:
VAL SDLKey SDLK.WORLD.73 IS 233:
VAL SDLKey SDLK.WORLD.74 IS 234:
VAL SDLKey SDLK.WORLD.75 IS 235:
VAL SDLKey SDLK.WORLD.76 IS 236:
VAL SDLKey SDLK.WORLD.77 IS 237:
VAL SDLKey SDLK.WORLD.78 IS 238:
VAL SDLKey SDLK.WORLD.79 IS 239:
VAL SDLKey SDLK.WORLD.80 IS 240:
VAL SDLKey SDLK.WORLD.81 IS 241:
VAL SDLKey SDLK.WORLD.82 IS 242:
VAL SDLKey SDLK.WORLD.83 IS 243:
VAL SDLKey SDLK.WORLD.84 IS 244:
VAL SDLKey SDLK.WORLD.85 IS 245:
VAL SDLKey SDLK.WORLD.86 IS 246:
VAL SDLKey SDLK.WORLD.87 IS 247:
VAL SDLKey SDLK.WORLD.88 IS 248:
VAL SDLKey SDLK.WORLD.89 IS 249:
VAL SDLKey SDLK.WORLD.90 IS 250:
VAL SDLKey SDLK.WORLD.91 IS 251:
VAL SDLKey SDLK.WORLD.92 IS 252:
VAL SDLKey SDLK.WORLD.93 IS 253:
VAL SDLKey SDLK.WORLD.94 IS 254:
VAL SDLKey SDLK.WORLD.95 IS 255:
VAL SDLKey SDLK.KP0 IS 256:
VAL SDLKey SDLK.KP1 IS 257:
VAL SDLKey SDLK.KP2 IS 258:
VAL SDLKey SDLK.KP3 IS 259:
VAL SDLKey SDLK.KP4 IS 260:
VAL SDLKey SDLK.KP5 IS 261:
VAL SDLKey SDLK.KP6 IS 262:
VAL SDLKey SDLK.KP7 IS 263:
VAL SDLKey SDLK.KP8 IS 264:
VAL SDLKey SDLK.KP9 IS 265:
VAL SDLKey SDLK.KP.PERIOD IS 266:
VAL SDLKey SDLK.KP.DIVIDE IS 267:
VAL SDLKey SDLK.KP.MULTIPLY IS 268:
VAL SDLKey SDLK.KP.MINUS IS 269:
VAL SDLKey SDLK.KP.PLUS IS 270:
VAL SDLKey SDLK.KP.ENTER IS 271:
VAL SDLKey SDLK.KP.EQUALS IS 272:
VAL SDLKey SDLK.UP IS 273:
VAL SDLKey SDLK.DOWN IS 274:
VAL SDLKey SDLK.RIGHT IS 275:
VAL SDLKey SDLK.LEFT IS 276:
VAL SDLKey SDLK.INSERT IS 277:
VAL SDLKey SDLK.HOME IS 278:
VAL SDLKey SDLK.END IS 279:
VAL SDLKey SDLK.PAGEUP IS 280:
VAL SDLKey SDLK.PAGEDOWN IS 281:
VAL SDLKey SDLK.F1 IS 282:
VAL SDLKey SDLK.F2 IS 283:
VAL SDLKey SDLK.F3 IS 284:
VAL SDLKey SDLK.F4 IS 285:
VAL SDLKey SDLK.F5 IS 286:
VAL SDLKey SDLK.F6 IS 287:
VAL SDLKey SDLK.F7 IS 288:
VAL SDLKey SDLK.F8 IS 289:
VAL SDLKey SDLK.F9 IS 290:
VAL SDLKey SDLK.F10 IS 291:
VAL SDLKey SDLK.F11 IS 292:
VAL SDLKey SDLK.F12 IS 293:
VAL SDLKey SDLK.F13 IS 294:
VAL SDLKey SDLK.F14 IS 295:
VAL SDLKey SDLK.F15 IS 296:
VAL SDLKey SDLK.NUMLOCK IS 300:
VAL SDLKey SDLK.CAPSLOCK IS 301:
VAL SDLKey SDLK.SCROLLOCK IS 302:
VAL SDLKey SDLK.RSHIFT IS 303:
VAL SDLKey SDLK.LSHIFT IS 304:
VAL SDLKey SDLK.RCTRL IS 305:
VAL SDLKey SDLK.LCTRL IS 306:
VAL SDLKey SDLK.RALT IS 307:
VAL SDLKey SDLK.LALT IS 308:
VAL SDLKey SDLK.RMETA IS 309:
VAL SDLKey SDLK.LMETA IS 310:
VAL SDLKey SDLK.LSUPER IS 311:
VAL SDLKey SDLK.RSUPER IS 312:
VAL SDLKey SDLK.MODE IS 313:
VAL SDLKey SDLK.COMPOSE IS 314:
VAL SDLKey SDLK.HELP IS 315:
VAL SDLKey SDLK.PRINT IS 316:
VAL SDLKey SDLK.SYSREQ IS 317:
VAL SDLKey SDLK.BREAK IS 318:
VAL SDLKey SDLK.MENU IS 319:
VAL SDLKey SDLK.POWER IS 320:
VAL SDLKey SDLK.EURO IS 321:
VAL SDLKey SDLK.UNDO IS 322:
VAL SDLKey SDLK.LAST IS 323:
--*}
--}}}
--{{{  enum SDLMod
--*{ SDLMod Foreign enumeration [@text SDLMod].
VAL SDLMod KMOD.NONE IS 0:
VAL SDLMod KMOD.LSHIFT IS 1:
VAL SDLMod KMOD.RSHIFT IS 2:
VAL SDLMod KMOD.LCTRL IS 64:
VAL SDLMod KMOD.RCTRL IS 128:
VAL SDLMod KMOD.LALT IS 256:
VAL SDLMod KMOD.RALT IS 512:
VAL SDLMod KMOD.LMETA IS 1024:
VAL SDLMod KMOD.RMETA IS 2048:
VAL SDLMod KMOD.NUM IS 4096:
VAL SDLMod KMOD.CAPS IS 8192:
VAL SDLMod KMOD.MODE IS 16384:
VAL SDLMod KMOD.RESERVED IS 32768:
--*}
--}}}
--{{{  constant SDL_ALL_HOTKEYS
--* Foreign constant [@text SDL_ALL_HOTKEYS].
VAL INT SDL.ALL.HOTKEYS IS #FFFFFFFF:
--}}}
--{{{  constant SDL_DEFAULT_REPEAT_DELAY
--* Foreign constant [@text SDL_DEFAULT_REPEAT_DELAY].
VAL INT SDL.DEFAULT.REPEAT.DELAY IS 500:
--}}}
--{{{  constant SDL_DEFAULT_REPEAT_INTERVAL
--* Foreign constant [@text SDL_DEFAULT_REPEAT_INTERVAL].
VAL INT SDL.DEFAULT.REPEAT.INTERVAL IS 30:
--}}}
--{{{  constant SDL_HAT_CENTERED
--* Foreign constant [@text SDL_HAT_CENTERED].
VAL INT SDL.HAT.CENTERED IS #00:
--}}}
--{{{  constant SDL_HAT_UP
--* Foreign constant [@text SDL_HAT_UP].
VAL INT SDL.HAT.UP IS #01:
--}}}
--{{{  constant SDL_HAT_RIGHT
--* Foreign constant [@text SDL_HAT_RIGHT].
VAL INT SDL.HAT.RIGHT IS #02:
--}}}
--{{{  constant SDL_HAT_DOWN
--* Foreign constant [@text SDL_HAT_DOWN].
VAL INT SDL.HAT.DOWN IS #04:
--}}}
--{{{  constant SDL_HAT_LEFT
--* Foreign constant [@text SDL_HAT_LEFT].
VAL INT SDL.HAT.LEFT IS #08:
--}}}
--{{{  constant AUDIO_U8
--* Foreign constant [@text AUDIO_U8].
VAL INT AUDIO.U8 IS #0008:
--}}}
--{{{  constant AUDIO_S8
--* Foreign constant [@text AUDIO_S8].
VAL INT AUDIO.S8 IS #8008:
--}}}
--{{{  constant AUDIO_U16LSB
--* Foreign constant [@text AUDIO_U16LSB].
VAL INT AUDIO.U16LSB IS #0010:
--}}}
--{{{  constant AUDIO_S16LSB
--* Foreign constant [@text AUDIO_S16LSB].
VAL INT AUDIO.S16LSB IS #8010:
--}}}
--{{{  constant AUDIO_U16MSB
--* Foreign constant [@text AUDIO_U16MSB].
VAL INT AUDIO.U16MSB IS #1010:
--}}}
--{{{  constant AUDIO_S16MSB
--* Foreign constant [@text AUDIO_S16MSB].
VAL INT AUDIO.S16MSB IS #9010:
--}}}
--{{{  constant AUDIO_U16
--* Foreign constant [@text AUDIO_U16].
VAL INT AUDIO.U16 IS #0010:
--}}}
--{{{  constant AUDIO_S16
--* Foreign constant [@text AUDIO_S16].
VAL INT AUDIO.S16 IS #8010:
--}}}
--{{{  enum SDL_audiostatus
--*{ SDL.audiostatus Foreign enumeration [@text SDL_audiostatus].
VAL SDL.audiostatus SDL.AUDIO.STOPPED IS 0:
VAL SDL.audiostatus SDL.AUDIO.PLAYING IS 1:
VAL SDL.audiostatus SDL.AUDIO.PAUSED IS 2:
--*}
--}}}
--{{{  constant SDL_MIX_MAXVOLUME
--* Foreign constant [@text SDL_MIX_MAXVOLUME].
VAL INT SDL.MIX.MAXVOLUME IS 128:
--}}}
--{{{  anonymous enum
VAL INT SDL.NOEVENT IS 0:
VAL INT SDL.ACTIVEEVENT IS 1:
VAL INT SDL.KEYDOWN IS 2:
VAL INT SDL.KEYUP IS 3:
VAL INT SDL.MOUSEMOTION IS 4:
VAL INT SDL.MOUSEBUTTONDOWN IS 5:
VAL INT SDL.MOUSEBUTTONUP IS 6:
VAL INT SDL.JOYAXISMOTION IS 7:
VAL INT SDL.JOYBALLMOTION IS 8:
VAL INT SDL.JOYHATMOTION IS 9:
VAL INT SDL.JOYBUTTONDOWN IS 10:
VAL INT SDL.JOYBUTTONUP IS 11:
VAL INT SDL.QUIT IS 12:
VAL INT SDL.SYSWMEVENT IS 13:
VAL INT SDL.EVENT.RESERVEDA IS 14:
VAL INT SDL.EVENT.RESERVEDB IS 15:
VAL INT SDL.VIDEORESIZE IS 16:
VAL INT SDL.VIDEOEXPOSE IS 17:
VAL INT SDL.EVENT.RESERVED2 IS 18:
VAL INT SDL.EVENT.RESERVED3 IS 19:
VAL INT SDL.EVENT.RESERVED4 IS 20:
VAL INT SDL.EVENT.RESERVED5 IS 21:
VAL INT SDL.EVENT.RESERVED6 IS 22:
VAL INT SDL.EVENT.RESERVED7 IS 23:
VAL INT SDL.USEREVENT IS 24:
VAL INT SDL.NUMEVENTS IS 32:
--}}}
--{{{  anonymous enum
VAL INT SDL.ACTIVEEVENTMASK IS 0:
VAL INT SDL.KEYDOWNMASK IS 1:
VAL INT SDL.KEYUPMASK IS 2:
VAL INT SDL.MOUSEMOTIONMASK IS 3:
VAL INT SDL.MOUSEBUTTONDOWNMASK IS 4:
VAL INT SDL.MOUSEBUTTONUPMASK IS 5:
VAL INT SDL.MOUSEEVENTMASK IS 6:
VAL INT SDL.JOYAXISMOTIONMASK IS 7:
VAL INT SDL.JOYBALLMOTIONMASK IS 8:
VAL INT SDL.JOYHATMOTIONMASK IS 9:
VAL INT SDL.JOYBUTTONDOWNMASK IS 10:
VAL INT SDL.JOYBUTTONUPMASK IS 11:
VAL INT SDL.JOYEVENTMASK IS 12:
VAL INT SDL.VIDEORESIZEMASK IS 13:
VAL INT SDL.VIDEOEXPOSEMASK IS 14:
VAL INT SDL.QUITMASK IS 15:
VAL INT SDL.SYSWMEVENTMASK IS 16:
--}}}
--{{{  constant SDL_ALLEVENTS
--* Foreign constant [@text SDL_ALLEVENTS].
VAL INT SDL.ALLEVENTS IS #FFFFFFFF:
--}}}
--{{{  enum SDL_eventaction
--*{ SDL.eventaction Foreign enumeration [@text SDL_eventaction].
VAL SDL.eventaction SDL.ADDEVENT IS 0:
VAL SDL.eventaction SDL.PEEKEVENT IS 1:
VAL SDL.eventaction SDL.GETEVENT IS 2:
--*}
--}}}
--{{{  constant SDL_QUERY
--* Foreign constant [@text SDL_QUERY].
VAL INT SDL.QUERY IS -1:
--}}}
--{{{  constant SDL_IGNORE
--* Foreign constant [@text SDL_IGNORE].
VAL INT SDL.IGNORE IS 0:
--}}}
--{{{  constant SDL_DISABLE
--* Foreign constant [@text SDL_DISABLE].
VAL INT SDL.DISABLE IS 0:
--}}}
--{{{  constant SDL_ENABLE
--* Foreign constant [@text SDL_ENABLE].
VAL INT SDL.ENABLE IS 1:
--}}}
--{{{  function SDL_Init
#PRAGMA EXTERNAL "PROC C.SDL.Init (VAL INT flags, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Init].
INLINE PROC SDL.Init (VAL INT flags, RESULT INT return.value)
  C.SDL.Init (flags, return.value)
:
--}}}
--{{{  function occ_SDL_Init
#PRAGMA EXTERNAL "PROC C.occ.SDL.Init (VAL INT flags, RESULT INT return.value) = 0"
--* Foreign function [@text occ_SDL_Init].
INLINE PROC occ.SDL.Init (VAL INT flags, RESULT INT return.value)
  C.occ.SDL.Init (flags, return.value)
:
--}}}
--{{{  function SDL_InitSubSystem
#PRAGMA EXTERNAL "PROC C.SDL.InitSubSystem (VAL INT flags, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_InitSubSystem].
INLINE PROC SDL.InitSubSystem (VAL INT flags, RESULT INT return.value)
  C.SDL.InitSubSystem (flags, return.value)
:
--}}}
--{{{  function SDL_QuitSubSystem
#PRAGMA EXTERNAL "PROC C.SDL.QuitSubSystem (VAL INT flags) = 0"
--* Foreign function [@text SDL_QuitSubSystem].
INLINE PROC SDL.QuitSubSystem (VAL INT flags)
  C.SDL.QuitSubSystem (flags)
:
--}}}
--{{{  function SDL_WasInit
#PRAGMA EXTERNAL "PROC C.SDL.WasInit (VAL INT flags, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_WasInit].
INLINE PROC SDL.WasInit (VAL INT flags, RESULT INT return.value)
  C.SDL.WasInit (flags, return.value)
:
--}}}
--{{{  function SDL_Quit
#PRAGMA EXTERNAL "PROC C.SDL.Quit () = 0"
--* Foreign function [@text SDL_Quit].
INLINE PROC SDL.Quit ()
  C.SDL.Quit ()
:
--}}}
--{{{  struct SDL_Rect
--{{{  function SDL_Rect_x_set
#PRAGMA EXTERNAL "PROC C.SDL.Rect.x.set (VAL SDL.Rect self, VAL INT16 x) = 0"
--* Foreign function [@text SDL_Rect_x_set].
INLINE PROC SDL.Rect.x.set (VAL SDL.Rect self, VAL INT16 x)
  C.SDL.Rect.x.set (self, x)
:
--}}}
--{{{  function SDL_Rect_x_get
#PRAGMA EXTERNAL "PROC C.SDL.Rect.x.get (VAL SDL.Rect self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_Rect_x_get].
INLINE PROC SDL.Rect.x.get (VAL SDL.Rect self, RESULT INT16 return.value)
  C.SDL.Rect.x.get (self, return.value)
:
--}}}
--{{{  function SDL_Rect_y_set
#PRAGMA EXTERNAL "PROC C.SDL.Rect.y.set (VAL SDL.Rect self, VAL INT16 y) = 0"
--* Foreign function [@text SDL_Rect_y_set].
INLINE PROC SDL.Rect.y.set (VAL SDL.Rect self, VAL INT16 y)
  C.SDL.Rect.y.set (self, y)
:
--}}}
--{{{  function SDL_Rect_y_get
#PRAGMA EXTERNAL "PROC C.SDL.Rect.y.get (VAL SDL.Rect self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_Rect_y_get].
INLINE PROC SDL.Rect.y.get (VAL SDL.Rect self, RESULT INT16 return.value)
  C.SDL.Rect.y.get (self, return.value)
:
--}}}
--{{{  function SDL_Rect_w_set
#PRAGMA EXTERNAL "PROC C.SDL.Rect.w.set (VAL SDL.Rect self, VAL INT16 w) = 0"
--* Foreign function [@text SDL_Rect_w_set].
INLINE PROC SDL.Rect.w.set (VAL SDL.Rect self, VAL INT16 w)
  C.SDL.Rect.w.set (self, w)
:
--}}}
--{{{  function SDL_Rect_w_get
#PRAGMA EXTERNAL "PROC C.SDL.Rect.w.get (VAL SDL.Rect self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_Rect_w_get].
INLINE PROC SDL.Rect.w.get (VAL SDL.Rect self, RESULT INT16 return.value)
  C.SDL.Rect.w.get (self, return.value)
:
--}}}
--{{{  function SDL_Rect_h_set
#PRAGMA EXTERNAL "PROC C.SDL.Rect.h.set (VAL SDL.Rect self, VAL INT16 h) = 0"
--* Foreign function [@text SDL_Rect_h_set].
INLINE PROC SDL.Rect.h.set (VAL SDL.Rect self, VAL INT16 h)
  C.SDL.Rect.h.set (self, h)
:
--}}}
--{{{  function SDL_Rect_h_get
#PRAGMA EXTERNAL "PROC C.SDL.Rect.h.get (VAL SDL.Rect self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_Rect_h_get].
INLINE PROC SDL.Rect.h.get (VAL SDL.Rect self, RESULT INT16 return.value)
  C.SDL.Rect.h.get (self, return.value)
:
--}}}
--{{{  function new_SDL_Rect
#PRAGMA EXTERNAL "PROC C.new.SDL.Rect (RESULT SDL.Rect return.value) = 0"
--* Foreign function [@text new_SDL_Rect].
INLINE PROC new.SDL.Rect (RESULT SDL.Rect return.value)
  C.new.SDL.Rect (return.value)
:
--}}}
--{{{  function delete_SDL_Rect
#PRAGMA EXTERNAL "PROC C.delete.SDL.Rect (VAL SDL.Rect self) = 0"
--* Foreign function [@text delete_SDL_Rect].
INLINE PROC delete.SDL.Rect (VAL SDL.Rect self)
  C.delete.SDL.Rect (self)
:
--}}}
--}}}
--{{{  struct SDL_Color
--{{{  function SDL_Color_r_set
#PRAGMA EXTERNAL "PROC C.SDL.Color.r.set (VAL SDL.Color self, VAL BYTE r) = 0"
--* Foreign function [@text SDL_Color_r_set].
INLINE PROC SDL.Color.r.set (VAL SDL.Color self, VAL BYTE r)
  C.SDL.Color.r.set (self, r)
:
--}}}
--{{{  function SDL_Color_r_get
#PRAGMA EXTERNAL "PROC C.SDL.Color.r.get (VAL SDL.Color self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_Color_r_get].
INLINE PROC SDL.Color.r.get (VAL SDL.Color self, RESULT BYTE return.value)
  C.SDL.Color.r.get (self, return.value)
:
--}}}
--{{{  function SDL_Color_g_set
#PRAGMA EXTERNAL "PROC C.SDL.Color.g.set (VAL SDL.Color self, VAL BYTE g) = 0"
--* Foreign function [@text SDL_Color_g_set].
INLINE PROC SDL.Color.g.set (VAL SDL.Color self, VAL BYTE g)
  C.SDL.Color.g.set (self, g)
:
--}}}
--{{{  function SDL_Color_g_get
#PRAGMA EXTERNAL "PROC C.SDL.Color.g.get (VAL SDL.Color self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_Color_g_get].
INLINE PROC SDL.Color.g.get (VAL SDL.Color self, RESULT BYTE return.value)
  C.SDL.Color.g.get (self, return.value)
:
--}}}
--{{{  function SDL_Color_b_set
#PRAGMA EXTERNAL "PROC C.SDL.Color.b.set (VAL SDL.Color self, VAL BYTE b) = 0"
--* Foreign function [@text SDL_Color_b_set].
INLINE PROC SDL.Color.b.set (VAL SDL.Color self, VAL BYTE b)
  C.SDL.Color.b.set (self, b)
:
--}}}
--{{{  function SDL_Color_b_get
#PRAGMA EXTERNAL "PROC C.SDL.Color.b.get (VAL SDL.Color self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_Color_b_get].
INLINE PROC SDL.Color.b.get (VAL SDL.Color self, RESULT BYTE return.value)
  C.SDL.Color.b.get (self, return.value)
:
--}}}
--{{{  function SDL_Color_unused_set
#PRAGMA EXTERNAL "PROC C.SDL.Color.unused.set (VAL SDL.Color self, VAL BYTE unused) = 0"
--* Foreign function [@text SDL_Color_unused_set].
INLINE PROC SDL.Color.unused.set (VAL SDL.Color self, VAL BYTE unused)
  C.SDL.Color.unused.set (self, unused)
:
--}}}
--{{{  function SDL_Color_unused_get
#PRAGMA EXTERNAL "PROC C.SDL.Color.unused.get (VAL SDL.Color self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_Color_unused_get].
INLINE PROC SDL.Color.unused.get (VAL SDL.Color self, RESULT BYTE return.value)
  C.SDL.Color.unused.get (self, return.value)
:
--}}}
--{{{  function new_SDL_Color
#PRAGMA EXTERNAL "PROC C.new.SDL.Color (RESULT SDL.Color return.value) = 0"
--* Foreign function [@text new_SDL_Color].
INLINE PROC new.SDL.Color (RESULT SDL.Color return.value)
  C.new.SDL.Color (return.value)
:
--}}}
--{{{  function delete_SDL_Color
#PRAGMA EXTERNAL "PROC C.delete.SDL.Color (VAL SDL.Color self) = 0"
--* Foreign function [@text delete_SDL_Color].
INLINE PROC delete.SDL.Color (VAL SDL.Color self)
  C.delete.SDL.Color (self)
:
--}}}
--}}}
--{{{  struct SDL_Palette
--{{{  function SDL_Palette_ncolors_set
#PRAGMA EXTERNAL "PROC C.SDL.Palette.ncolors.set (VAL SDL.Palette self, VAL INT ncolors) = 0"
--* Foreign function [@text SDL_Palette_ncolors_set].
INLINE PROC SDL.Palette.ncolors.set (VAL SDL.Palette self, VAL INT ncolors)
  C.SDL.Palette.ncolors.set (self, ncolors)
:
--}}}
--{{{  function SDL_Palette_ncolors_get
#PRAGMA EXTERNAL "PROC C.SDL.Palette.ncolors.get (VAL SDL.Palette self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Palette_ncolors_get].
INLINE PROC SDL.Palette.ncolors.get (VAL SDL.Palette self, RESULT INT return.value)
  C.SDL.Palette.ncolors.get (self, return.value)
:
--}}}
--{{{  function SDL_Palette_colors_set
#PRAGMA EXTERNAL "PROC C.SDL.Palette.colors.set (VAL SDL.Palette self, VAL SDL.Color colors) = 0"
--* Foreign function [@text SDL_Palette_colors_set].
INLINE PROC SDL.Palette.colors.set (VAL SDL.Palette self, VAL SDL.Color colors)
  C.SDL.Palette.colors.set (self, colors)
:
--}}}
--{{{  function SDL_Palette_colors_get
#PRAGMA EXTERNAL "PROC C.SDL.Palette.colors.get (VAL SDL.Palette self, RESULT SDL.Color return.value) = 0"
--* Foreign function [@text SDL_Palette_colors_get].
INLINE PROC SDL.Palette.colors.get (VAL SDL.Palette self, RESULT SDL.Color return.value)
  C.SDL.Palette.colors.get (self, return.value)
:
--}}}
--{{{  function new_SDL_Palette
#PRAGMA EXTERNAL "PROC C.new.SDL.Palette (RESULT SDL.Palette return.value) = 0"
--* Foreign function [@text new_SDL_Palette].
INLINE PROC new.SDL.Palette (RESULT SDL.Palette return.value)
  C.new.SDL.Palette (return.value)
:
--}}}
--{{{  function delete_SDL_Palette
#PRAGMA EXTERNAL "PROC C.delete.SDL.Palette (VAL SDL.Palette self) = 0"
--* Foreign function [@text delete_SDL_Palette].
INLINE PROC delete.SDL.Palette (VAL SDL.Palette self)
  C.delete.SDL.Palette (self)
:
--}}}
--}}}
--{{{  struct SDL_PixelFormat
--{{{  function SDL_PixelFormat_palette_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.palette.set (VAL SDL.PixelFormat self, VAL SDL.Palette palette) = 0"
--* Foreign function [@text SDL_PixelFormat_palette_set].
INLINE PROC SDL.PixelFormat.palette.set (VAL SDL.PixelFormat self, VAL SDL.Palette palette)
  C.SDL.PixelFormat.palette.set (self, palette)
:
--}}}
--{{{  function SDL_PixelFormat_palette_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.palette.get (VAL SDL.PixelFormat self, RESULT SDL.Palette return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_palette_get].
INLINE PROC SDL.PixelFormat.palette.get (VAL SDL.PixelFormat self, RESULT SDL.Palette return.value)
  C.SDL.PixelFormat.palette.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_BitsPerPixel_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.BitsPerPixel.set (VAL SDL.PixelFormat self, VAL BYTE BitsPerPixel) = 0"
--* Foreign function [@text SDL_PixelFormat_BitsPerPixel_set].
INLINE PROC SDL.PixelFormat.BitsPerPixel.set (VAL SDL.PixelFormat self, VAL BYTE BitsPerPixel)
  C.SDL.PixelFormat.BitsPerPixel.set (self, BitsPerPixel)
:
--}}}
--{{{  function SDL_PixelFormat_BitsPerPixel_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.BitsPerPixel.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_BitsPerPixel_get].
INLINE PROC SDL.PixelFormat.BitsPerPixel.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.BitsPerPixel.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_BytesPerPixel_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.BytesPerPixel.set (VAL SDL.PixelFormat self, VAL BYTE BytesPerPixel) = 0"
--* Foreign function [@text SDL_PixelFormat_BytesPerPixel_set].
INLINE PROC SDL.PixelFormat.BytesPerPixel.set (VAL SDL.PixelFormat self, VAL BYTE BytesPerPixel)
  C.SDL.PixelFormat.BytesPerPixel.set (self, BytesPerPixel)
:
--}}}
--{{{  function SDL_PixelFormat_BytesPerPixel_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.BytesPerPixel.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_BytesPerPixel_get].
INLINE PROC SDL.PixelFormat.BytesPerPixel.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.BytesPerPixel.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Rloss_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Rloss.set (VAL SDL.PixelFormat self, VAL BYTE Rloss) = 0"
--* Foreign function [@text SDL_PixelFormat_Rloss_set].
INLINE PROC SDL.PixelFormat.Rloss.set (VAL SDL.PixelFormat self, VAL BYTE Rloss)
  C.SDL.PixelFormat.Rloss.set (self, Rloss)
:
--}}}
--{{{  function SDL_PixelFormat_Rloss_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Rloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Rloss_get].
INLINE PROC SDL.PixelFormat.Rloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Rloss.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Gloss_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Gloss.set (VAL SDL.PixelFormat self, VAL BYTE Gloss) = 0"
--* Foreign function [@text SDL_PixelFormat_Gloss_set].
INLINE PROC SDL.PixelFormat.Gloss.set (VAL SDL.PixelFormat self, VAL BYTE Gloss)
  C.SDL.PixelFormat.Gloss.set (self, Gloss)
:
--}}}
--{{{  function SDL_PixelFormat_Gloss_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Gloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Gloss_get].
INLINE PROC SDL.PixelFormat.Gloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Gloss.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Bloss_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Bloss.set (VAL SDL.PixelFormat self, VAL BYTE Bloss) = 0"
--* Foreign function [@text SDL_PixelFormat_Bloss_set].
INLINE PROC SDL.PixelFormat.Bloss.set (VAL SDL.PixelFormat self, VAL BYTE Bloss)
  C.SDL.PixelFormat.Bloss.set (self, Bloss)
:
--}}}
--{{{  function SDL_PixelFormat_Bloss_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Bloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Bloss_get].
INLINE PROC SDL.PixelFormat.Bloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Bloss.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Aloss_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Aloss.set (VAL SDL.PixelFormat self, VAL BYTE Aloss) = 0"
--* Foreign function [@text SDL_PixelFormat_Aloss_set].
INLINE PROC SDL.PixelFormat.Aloss.set (VAL SDL.PixelFormat self, VAL BYTE Aloss)
  C.SDL.PixelFormat.Aloss.set (self, Aloss)
:
--}}}
--{{{  function SDL_PixelFormat_Aloss_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Aloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Aloss_get].
INLINE PROC SDL.PixelFormat.Aloss.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Aloss.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Rshift_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Rshift.set (VAL SDL.PixelFormat self, VAL BYTE Rshift) = 0"
--* Foreign function [@text SDL_PixelFormat_Rshift_set].
INLINE PROC SDL.PixelFormat.Rshift.set (VAL SDL.PixelFormat self, VAL BYTE Rshift)
  C.SDL.PixelFormat.Rshift.set (self, Rshift)
:
--}}}
--{{{  function SDL_PixelFormat_Rshift_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Rshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Rshift_get].
INLINE PROC SDL.PixelFormat.Rshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Rshift.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Gshift_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Gshift.set (VAL SDL.PixelFormat self, VAL BYTE Gshift) = 0"
--* Foreign function [@text SDL_PixelFormat_Gshift_set].
INLINE PROC SDL.PixelFormat.Gshift.set (VAL SDL.PixelFormat self, VAL BYTE Gshift)
  C.SDL.PixelFormat.Gshift.set (self, Gshift)
:
--}}}
--{{{  function SDL_PixelFormat_Gshift_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Gshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Gshift_get].
INLINE PROC SDL.PixelFormat.Gshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Gshift.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Bshift_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Bshift.set (VAL SDL.PixelFormat self, VAL BYTE Bshift) = 0"
--* Foreign function [@text SDL_PixelFormat_Bshift_set].
INLINE PROC SDL.PixelFormat.Bshift.set (VAL SDL.PixelFormat self, VAL BYTE Bshift)
  C.SDL.PixelFormat.Bshift.set (self, Bshift)
:
--}}}
--{{{  function SDL_PixelFormat_Bshift_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Bshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Bshift_get].
INLINE PROC SDL.PixelFormat.Bshift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Bshift.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Ashift_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Ashift.set (VAL SDL.PixelFormat self, VAL BYTE Ashift) = 0"
--* Foreign function [@text SDL_PixelFormat_Ashift_set].
INLINE PROC SDL.PixelFormat.Ashift.set (VAL SDL.PixelFormat self, VAL BYTE Ashift)
  C.SDL.PixelFormat.Ashift.set (self, Ashift)
:
--}}}
--{{{  function SDL_PixelFormat_Ashift_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Ashift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Ashift_get].
INLINE PROC SDL.PixelFormat.Ashift.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.Ashift.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Rmask_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Rmask.set (VAL SDL.PixelFormat self, VAL INT Rmask) = 0"
--* Foreign function [@text SDL_PixelFormat_Rmask_set].
INLINE PROC SDL.PixelFormat.Rmask.set (VAL SDL.PixelFormat self, VAL INT Rmask)
  C.SDL.PixelFormat.Rmask.set (self, Rmask)
:
--}}}
--{{{  function SDL_PixelFormat_Rmask_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Rmask.get (VAL SDL.PixelFormat self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Rmask_get].
INLINE PROC SDL.PixelFormat.Rmask.get (VAL SDL.PixelFormat self, RESULT INT return.value)
  C.SDL.PixelFormat.Rmask.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Gmask_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Gmask.set (VAL SDL.PixelFormat self, VAL INT Gmask) = 0"
--* Foreign function [@text SDL_PixelFormat_Gmask_set].
INLINE PROC SDL.PixelFormat.Gmask.set (VAL SDL.PixelFormat self, VAL INT Gmask)
  C.SDL.PixelFormat.Gmask.set (self, Gmask)
:
--}}}
--{{{  function SDL_PixelFormat_Gmask_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Gmask.get (VAL SDL.PixelFormat self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Gmask_get].
INLINE PROC SDL.PixelFormat.Gmask.get (VAL SDL.PixelFormat self, RESULT INT return.value)
  C.SDL.PixelFormat.Gmask.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Bmask_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Bmask.set (VAL SDL.PixelFormat self, VAL INT Bmask) = 0"
--* Foreign function [@text SDL_PixelFormat_Bmask_set].
INLINE PROC SDL.PixelFormat.Bmask.set (VAL SDL.PixelFormat self, VAL INT Bmask)
  C.SDL.PixelFormat.Bmask.set (self, Bmask)
:
--}}}
--{{{  function SDL_PixelFormat_Bmask_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Bmask.get (VAL SDL.PixelFormat self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Bmask_get].
INLINE PROC SDL.PixelFormat.Bmask.get (VAL SDL.PixelFormat self, RESULT INT return.value)
  C.SDL.PixelFormat.Bmask.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_Amask_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Amask.set (VAL SDL.PixelFormat self, VAL INT Amask) = 0"
--* Foreign function [@text SDL_PixelFormat_Amask_set].
INLINE PROC SDL.PixelFormat.Amask.set (VAL SDL.PixelFormat self, VAL INT Amask)
  C.SDL.PixelFormat.Amask.set (self, Amask)
:
--}}}
--{{{  function SDL_PixelFormat_Amask_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.Amask.get (VAL SDL.PixelFormat self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_Amask_get].
INLINE PROC SDL.PixelFormat.Amask.get (VAL SDL.PixelFormat self, RESULT INT return.value)
  C.SDL.PixelFormat.Amask.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_colorkey_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.colorkey.set (VAL SDL.PixelFormat self, VAL INT colorkey) = 0"
--* Foreign function [@text SDL_PixelFormat_colorkey_set].
INLINE PROC SDL.PixelFormat.colorkey.set (VAL SDL.PixelFormat self, VAL INT colorkey)
  C.SDL.PixelFormat.colorkey.set (self, colorkey)
:
--}}}
--{{{  function SDL_PixelFormat_colorkey_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.colorkey.get (VAL SDL.PixelFormat self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_colorkey_get].
INLINE PROC SDL.PixelFormat.colorkey.get (VAL SDL.PixelFormat self, RESULT INT return.value)
  C.SDL.PixelFormat.colorkey.get (self, return.value)
:
--}}}
--{{{  function SDL_PixelFormat_alpha_set
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.alpha.set (VAL SDL.PixelFormat self, VAL BYTE alpha) = 0"
--* Foreign function [@text SDL_PixelFormat_alpha_set].
INLINE PROC SDL.PixelFormat.alpha.set (VAL SDL.PixelFormat self, VAL BYTE alpha)
  C.SDL.PixelFormat.alpha.set (self, alpha)
:
--}}}
--{{{  function SDL_PixelFormat_alpha_get
#PRAGMA EXTERNAL "PROC C.SDL.PixelFormat.alpha.get (VAL SDL.PixelFormat self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_PixelFormat_alpha_get].
INLINE PROC SDL.PixelFormat.alpha.get (VAL SDL.PixelFormat self, RESULT BYTE return.value)
  C.SDL.PixelFormat.alpha.get (self, return.value)
:
--}}}
--{{{  function new_SDL_PixelFormat
#PRAGMA EXTERNAL "PROC C.new.SDL.PixelFormat (RESULT SDL.PixelFormat return.value) = 0"
--* Foreign function [@text new_SDL_PixelFormat].
INLINE PROC new.SDL.PixelFormat (RESULT SDL.PixelFormat return.value)
  C.new.SDL.PixelFormat (return.value)
:
--}}}
--{{{  function delete_SDL_PixelFormat
#PRAGMA EXTERNAL "PROC C.delete.SDL.PixelFormat (VAL SDL.PixelFormat self) = 0"
--* Foreign function [@text delete_SDL_PixelFormat].
INLINE PROC delete.SDL.PixelFormat (VAL SDL.PixelFormat self)
  C.delete.SDL.PixelFormat (self)
:
--}}}
--}}}
--{{{  struct SDL_Surface
--{{{  function SDL_Surface_flags_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.flags.set (VAL SDL.Surface self, VAL INT flags) = 0"
--* Foreign function [@text SDL_Surface_flags_set].
INLINE PROC SDL.Surface.flags.set (VAL SDL.Surface self, VAL INT flags)
  C.SDL.Surface.flags.set (self, flags)
:
--}}}
--{{{  function SDL_Surface_flags_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.flags.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_flags_get].
INLINE PROC SDL.Surface.flags.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.flags.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_format_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.format.set (VAL SDL.Surface self, VAL SDL.PixelFormat format) = 0"
--* Foreign function [@text SDL_Surface_format_set].
INLINE PROC SDL.Surface.format.set (VAL SDL.Surface self, VAL SDL.PixelFormat format)
  C.SDL.Surface.format.set (self, format)
:
--}}}
--{{{  function SDL_Surface_format_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.format.get (VAL SDL.Surface self, RESULT SDL.PixelFormat return.value) = 0"
--* Foreign function [@text SDL_Surface_format_get].
INLINE PROC SDL.Surface.format.get (VAL SDL.Surface self, RESULT SDL.PixelFormat return.value)
  C.SDL.Surface.format.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_w_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.w.set (VAL SDL.Surface self, VAL INT w) = 0"
--* Foreign function [@text SDL_Surface_w_set].
INLINE PROC SDL.Surface.w.set (VAL SDL.Surface self, VAL INT w)
  C.SDL.Surface.w.set (self, w)
:
--}}}
--{{{  function SDL_Surface_w_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.w.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_w_get].
INLINE PROC SDL.Surface.w.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.w.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_h_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.h.set (VAL SDL.Surface self, VAL INT h) = 0"
--* Foreign function [@text SDL_Surface_h_set].
INLINE PROC SDL.Surface.h.set (VAL SDL.Surface self, VAL INT h)
  C.SDL.Surface.h.set (self, h)
:
--}}}
--{{{  function SDL_Surface_h_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.h.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_h_get].
INLINE PROC SDL.Surface.h.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.h.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_pitch_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.pitch.set (VAL SDL.Surface self, VAL INT16 pitch) = 0"
--* Foreign function [@text SDL_Surface_pitch_set].
INLINE PROC SDL.Surface.pitch.set (VAL SDL.Surface self, VAL INT16 pitch)
  C.SDL.Surface.pitch.set (self, pitch)
:
--}}}
--{{{  function SDL_Surface_pitch_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.pitch.get (VAL SDL.Surface self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_Surface_pitch_get].
INLINE PROC SDL.Surface.pitch.get (VAL SDL.Surface self, RESULT INT16 return.value)
  C.SDL.Surface.pitch.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_pixels_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.pixels.set (VAL SDL.Surface self, VAL INT pixels) = 0"
--* Foreign function [@text SDL_Surface_pixels_set].
INLINE PROC SDL.Surface.pixels.set (VAL SDL.Surface self, VAL INT pixels)
  C.SDL.Surface.pixels.set (self, pixels)
:
--}}}
--{{{  function SDL_Surface_pixels_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.pixels.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_pixels_get].
INLINE PROC SDL.Surface.pixels.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.pixels.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_offset_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.offset.set (VAL SDL.Surface self, VAL INT offset) = 0"
--* Foreign function [@text SDL_Surface_offset_set].
INLINE PROC SDL.Surface.offset.set (VAL SDL.Surface self, VAL INT offset)
  C.SDL.Surface.offset.set (self, offset)
:
--}}}
--{{{  function SDL_Surface_offset_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.offset.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_offset_get].
INLINE PROC SDL.Surface.offset.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.offset.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_hwdata_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.hwdata.set (VAL SDL.Surface self, VAL private.hwdata hwdata) = 0"
--* Foreign function [@text SDL_Surface_hwdata_set].
INLINE PROC SDL.Surface.hwdata.set (VAL SDL.Surface self, VAL private.hwdata hwdata)
  C.SDL.Surface.hwdata.set (self, hwdata)
:
--}}}
--{{{  function SDL_Surface_hwdata_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.hwdata.get (VAL SDL.Surface self, RESULT private.hwdata return.value) = 0"
--* Foreign function [@text SDL_Surface_hwdata_get].
INLINE PROC SDL.Surface.hwdata.get (VAL SDL.Surface self, RESULT private.hwdata return.value)
  C.SDL.Surface.hwdata.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_clip_rect_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.clip.rect.set (VAL SDL.Surface self, VAL SDL.Rect clip.rect) = 0"
--* Foreign function [@text SDL_Surface_clip_rect_set].
INLINE PROC SDL.Surface.clip.rect.set (VAL SDL.Surface self, VAL SDL.Rect clip.rect)
  C.SDL.Surface.clip.rect.set (self, clip.rect)
:
--}}}
--{{{  function SDL_Surface_clip_rect_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.clip.rect.get (VAL SDL.Surface self, RESULT SDL.Rect return.value) = 0"
--* Foreign function [@text SDL_Surface_clip_rect_get].
INLINE PROC SDL.Surface.clip.rect.get (VAL SDL.Surface self, RESULT SDL.Rect return.value)
  C.SDL.Surface.clip.rect.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_unused1_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.unused1.set (VAL SDL.Surface self, VAL INT unused1) = 0"
--* Foreign function [@text SDL_Surface_unused1_set].
INLINE PROC SDL.Surface.unused1.set (VAL SDL.Surface self, VAL INT unused1)
  C.SDL.Surface.unused1.set (self, unused1)
:
--}}}
--{{{  function SDL_Surface_unused1_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.unused1.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_unused1_get].
INLINE PROC SDL.Surface.unused1.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.unused1.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_locked_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.locked.set (VAL SDL.Surface self, VAL INT locked) = 0"
--* Foreign function [@text SDL_Surface_locked_set].
INLINE PROC SDL.Surface.locked.set (VAL SDL.Surface self, VAL INT locked)
  C.SDL.Surface.locked.set (self, locked)
:
--}}}
--{{{  function SDL_Surface_locked_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.locked.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_locked_get].
INLINE PROC SDL.Surface.locked.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.locked.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_map_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.map.set (VAL SDL.Surface self, VAL SDL.BlitMap map) = 0"
--* Foreign function [@text SDL_Surface_map_set].
INLINE PROC SDL.Surface.map.set (VAL SDL.Surface self, VAL SDL.BlitMap map)
  C.SDL.Surface.map.set (self, map)
:
--}}}
--{{{  function SDL_Surface_map_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.map.get (VAL SDL.Surface self, RESULT SDL.BlitMap return.value) = 0"
--* Foreign function [@text SDL_Surface_map_get].
INLINE PROC SDL.Surface.map.get (VAL SDL.Surface self, RESULT SDL.BlitMap return.value)
  C.SDL.Surface.map.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_format_version_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.format.version.set (VAL SDL.Surface self, VAL INT format.version) = 0"
--* Foreign function [@text SDL_Surface_format_version_set].
INLINE PROC SDL.Surface.format.version.set (VAL SDL.Surface self, VAL INT format.version)
  C.SDL.Surface.format.version.set (self, format.version)
:
--}}}
--{{{  function SDL_Surface_format_version_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.format.version.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_format_version_get].
INLINE PROC SDL.Surface.format.version.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.format.version.get (self, return.value)
:
--}}}
--{{{  function SDL_Surface_refcount_set
#PRAGMA EXTERNAL "PROC C.SDL.Surface.refcount.set (VAL SDL.Surface self, VAL INT refcount) = 0"
--* Foreign function [@text SDL_Surface_refcount_set].
INLINE PROC SDL.Surface.refcount.set (VAL SDL.Surface self, VAL INT refcount)
  C.SDL.Surface.refcount.set (self, refcount)
:
--}}}
--{{{  function SDL_Surface_refcount_get
#PRAGMA EXTERNAL "PROC C.SDL.Surface.refcount.get (VAL SDL.Surface self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Surface_refcount_get].
INLINE PROC SDL.Surface.refcount.get (VAL SDL.Surface self, RESULT INT return.value)
  C.SDL.Surface.refcount.get (self, return.value)
:
--}}}
--{{{  function new_SDL_Surface
#PRAGMA EXTERNAL "PROC C.new.SDL.Surface (RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text new_SDL_Surface].
INLINE PROC new.SDL.Surface (RESULT SDL.Surface return.value)
  C.new.SDL.Surface (return.value)
:
--}}}
--{{{  function delete_SDL_Surface
#PRAGMA EXTERNAL "PROC C.delete.SDL.Surface (VAL SDL.Surface self) = 0"
--* Foreign function [@text delete_SDL_Surface].
INLINE PROC delete.SDL.Surface (VAL SDL.Surface self)
  C.delete.SDL.Surface (self)
:
--}}}
--}}}
--{{{  function occ_get_SDL_Surface_pixels
#PRAGMA EXTERNAL "PROC C.occ.get.SDL.Surface.pixels ([]INT pixels, VAL SDL.Surface surface) = 0"
--* Foreign function [@text occ_get_SDL_Surface_pixels].
INLINE PROC occ.get.SDL.Surface.pixels ([]INT pixels, VAL SDL.Surface surface)
  C.occ.get.SDL.Surface.pixels (pixels, surface)
:
--}}}
--{{{  struct SDL_VideoInfo
--{{{  function SDL_VideoInfo_hw_available_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.hw.available.set (VAL SDL.VideoInfo self, VAL INT hw.available) = 0"
--* Foreign function [@text SDL_VideoInfo_hw_available_set].
INLINE PROC SDL.VideoInfo.hw.available.set (VAL SDL.VideoInfo self, VAL INT hw.available)
  C.SDL.VideoInfo.hw.available.set (self, hw.available)
:
--}}}
--{{{  function SDL_VideoInfo_hw_available_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.hw.available.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_hw_available_get].
INLINE PROC SDL.VideoInfo.hw.available.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.hw.available.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_wm_available_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.wm.available.set (VAL SDL.VideoInfo self, VAL INT wm.available) = 0"
--* Foreign function [@text SDL_VideoInfo_wm_available_set].
INLINE PROC SDL.VideoInfo.wm.available.set (VAL SDL.VideoInfo self, VAL INT wm.available)
  C.SDL.VideoInfo.wm.available.set (self, wm.available)
:
--}}}
--{{{  function SDL_VideoInfo_wm_available_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.wm.available.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_wm_available_get].
INLINE PROC SDL.VideoInfo.wm.available.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.wm.available.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_UnusedBits1_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.UnusedBits1.set (VAL SDL.VideoInfo self, VAL INT UnusedBits1) = 0"
--* Foreign function [@text SDL_VideoInfo_UnusedBits1_set].
INLINE PROC SDL.VideoInfo.UnusedBits1.set (VAL SDL.VideoInfo self, VAL INT UnusedBits1)
  C.SDL.VideoInfo.UnusedBits1.set (self, UnusedBits1)
:
--}}}
--{{{  function SDL_VideoInfo_UnusedBits1_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.UnusedBits1.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_UnusedBits1_get].
INLINE PROC SDL.VideoInfo.UnusedBits1.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.UnusedBits1.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_UnusedBits2_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.UnusedBits2.set (VAL SDL.VideoInfo self, VAL INT UnusedBits2) = 0"
--* Foreign function [@text SDL_VideoInfo_UnusedBits2_set].
INLINE PROC SDL.VideoInfo.UnusedBits2.set (VAL SDL.VideoInfo self, VAL INT UnusedBits2)
  C.SDL.VideoInfo.UnusedBits2.set (self, UnusedBits2)
:
--}}}
--{{{  function SDL_VideoInfo_UnusedBits2_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.UnusedBits2.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_UnusedBits2_get].
INLINE PROC SDL.VideoInfo.UnusedBits2.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.UnusedBits2.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_blit_hw_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.hw.set (VAL SDL.VideoInfo self, VAL INT blit.hw) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_hw_set].
INLINE PROC SDL.VideoInfo.blit.hw.set (VAL SDL.VideoInfo self, VAL INT blit.hw)
  C.SDL.VideoInfo.blit.hw.set (self, blit.hw)
:
--}}}
--{{{  function SDL_VideoInfo_blit_hw_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.hw.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_hw_get].
INLINE PROC SDL.VideoInfo.blit.hw.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.blit.hw.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_blit_hw_CC_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.hw.CC.set (VAL SDL.VideoInfo self, VAL INT blit.hw.CC) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_hw_CC_set].
INLINE PROC SDL.VideoInfo.blit.hw.CC.set (VAL SDL.VideoInfo self, VAL INT blit.hw.CC)
  C.SDL.VideoInfo.blit.hw.CC.set (self, blit.hw.CC)
:
--}}}
--{{{  function SDL_VideoInfo_blit_hw_CC_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.hw.CC.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_hw_CC_get].
INLINE PROC SDL.VideoInfo.blit.hw.CC.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.blit.hw.CC.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_blit_hw_A_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.hw.A.set (VAL SDL.VideoInfo self, VAL INT blit.hw.A) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_hw_A_set].
INLINE PROC SDL.VideoInfo.blit.hw.A.set (VAL SDL.VideoInfo self, VAL INT blit.hw.A)
  C.SDL.VideoInfo.blit.hw.A.set (self, blit.hw.A)
:
--}}}
--{{{  function SDL_VideoInfo_blit_hw_A_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.hw.A.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_hw_A_get].
INLINE PROC SDL.VideoInfo.blit.hw.A.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.blit.hw.A.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_blit_sw_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.sw.set (VAL SDL.VideoInfo self, VAL INT blit.sw) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_sw_set].
INLINE PROC SDL.VideoInfo.blit.sw.set (VAL SDL.VideoInfo self, VAL INT blit.sw)
  C.SDL.VideoInfo.blit.sw.set (self, blit.sw)
:
--}}}
--{{{  function SDL_VideoInfo_blit_sw_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.sw.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_sw_get].
INLINE PROC SDL.VideoInfo.blit.sw.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.blit.sw.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_blit_sw_CC_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.sw.CC.set (VAL SDL.VideoInfo self, VAL INT blit.sw.CC) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_sw_CC_set].
INLINE PROC SDL.VideoInfo.blit.sw.CC.set (VAL SDL.VideoInfo self, VAL INT blit.sw.CC)
  C.SDL.VideoInfo.blit.sw.CC.set (self, blit.sw.CC)
:
--}}}
--{{{  function SDL_VideoInfo_blit_sw_CC_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.sw.CC.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_sw_CC_get].
INLINE PROC SDL.VideoInfo.blit.sw.CC.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.blit.sw.CC.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_blit_sw_A_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.sw.A.set (VAL SDL.VideoInfo self, VAL INT blit.sw.A) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_sw_A_set].
INLINE PROC SDL.VideoInfo.blit.sw.A.set (VAL SDL.VideoInfo self, VAL INT blit.sw.A)
  C.SDL.VideoInfo.blit.sw.A.set (self, blit.sw.A)
:
--}}}
--{{{  function SDL_VideoInfo_blit_sw_A_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.sw.A.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_sw_A_get].
INLINE PROC SDL.VideoInfo.blit.sw.A.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.blit.sw.A.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_blit_fill_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.fill.set (VAL SDL.VideoInfo self, VAL INT blit.fill) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_fill_set].
INLINE PROC SDL.VideoInfo.blit.fill.set (VAL SDL.VideoInfo self, VAL INT blit.fill)
  C.SDL.VideoInfo.blit.fill.set (self, blit.fill)
:
--}}}
--{{{  function SDL_VideoInfo_blit_fill_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.blit.fill.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_blit_fill_get].
INLINE PROC SDL.VideoInfo.blit.fill.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.blit.fill.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_UnusedBits3_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.UnusedBits3.set (VAL SDL.VideoInfo self, VAL INT UnusedBits3) = 0"
--* Foreign function [@text SDL_VideoInfo_UnusedBits3_set].
INLINE PROC SDL.VideoInfo.UnusedBits3.set (VAL SDL.VideoInfo self, VAL INT UnusedBits3)
  C.SDL.VideoInfo.UnusedBits3.set (self, UnusedBits3)
:
--}}}
--{{{  function SDL_VideoInfo_UnusedBits3_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.UnusedBits3.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_UnusedBits3_get].
INLINE PROC SDL.VideoInfo.UnusedBits3.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.UnusedBits3.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_video_mem_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.video.mem.set (VAL SDL.VideoInfo self, VAL INT video.mem) = 0"
--* Foreign function [@text SDL_VideoInfo_video_mem_set].
INLINE PROC SDL.VideoInfo.video.mem.set (VAL SDL.VideoInfo self, VAL INT video.mem)
  C.SDL.VideoInfo.video.mem.set (self, video.mem)
:
--}}}
--{{{  function SDL_VideoInfo_video_mem_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.video.mem.get (VAL SDL.VideoInfo self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_video_mem_get].
INLINE PROC SDL.VideoInfo.video.mem.get (VAL SDL.VideoInfo self, RESULT INT return.value)
  C.SDL.VideoInfo.video.mem.get (self, return.value)
:
--}}}
--{{{  function SDL_VideoInfo_vfmt_set
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.vfmt.set (VAL SDL.VideoInfo self, VAL SDL.PixelFormat vfmt) = 0"
--* Foreign function [@text SDL_VideoInfo_vfmt_set].
INLINE PROC SDL.VideoInfo.vfmt.set (VAL SDL.VideoInfo self, VAL SDL.PixelFormat vfmt)
  C.SDL.VideoInfo.vfmt.set (self, vfmt)
:
--}}}
--{{{  function SDL_VideoInfo_vfmt_get
#PRAGMA EXTERNAL "PROC C.SDL.VideoInfo.vfmt.get (VAL SDL.VideoInfo self, RESULT SDL.PixelFormat return.value) = 0"
--* Foreign function [@text SDL_VideoInfo_vfmt_get].
INLINE PROC SDL.VideoInfo.vfmt.get (VAL SDL.VideoInfo self, RESULT SDL.PixelFormat return.value)
  C.SDL.VideoInfo.vfmt.get (self, return.value)
:
--}}}
--{{{  function new_SDL_VideoInfo
#PRAGMA EXTERNAL "PROC C.new.SDL.VideoInfo (RESULT SDL.VideoInfo return.value) = 0"
--* Foreign function [@text new_SDL_VideoInfo].
INLINE PROC new.SDL.VideoInfo (RESULT SDL.VideoInfo return.value)
  C.new.SDL.VideoInfo (return.value)
:
--}}}
--{{{  function delete_SDL_VideoInfo
#PRAGMA EXTERNAL "PROC C.delete.SDL.VideoInfo (VAL SDL.VideoInfo self) = 0"
--* Foreign function [@text delete_SDL_VideoInfo].
INLINE PROC delete.SDL.VideoInfo (VAL SDL.VideoInfo self)
  C.delete.SDL.VideoInfo (self)
:
--}}}
--}}}
--{{{  struct SDL_Overlay
--{{{  function SDL_Overlay_format_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.format.set (VAL SDL.Overlay self, VAL INT format) = 0"
--* Foreign function [@text SDL_Overlay_format_set].
INLINE PROC SDL.Overlay.format.set (VAL SDL.Overlay self, VAL INT format)
  C.SDL.Overlay.format.set (self, format)
:
--}}}
--{{{  function SDL_Overlay_format_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.format.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_format_get].
INLINE PROC SDL.Overlay.format.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.format.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_w_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.w.set (VAL SDL.Overlay self, VAL INT w) = 0"
--* Foreign function [@text SDL_Overlay_w_set].
INLINE PROC SDL.Overlay.w.set (VAL SDL.Overlay self, VAL INT w)
  C.SDL.Overlay.w.set (self, w)
:
--}}}
--{{{  function SDL_Overlay_w_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.w.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_w_get].
INLINE PROC SDL.Overlay.w.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.w.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_h_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.h.set (VAL SDL.Overlay self, VAL INT h) = 0"
--* Foreign function [@text SDL_Overlay_h_set].
INLINE PROC SDL.Overlay.h.set (VAL SDL.Overlay self, VAL INT h)
  C.SDL.Overlay.h.set (self, h)
:
--}}}
--{{{  function SDL_Overlay_h_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.h.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_h_get].
INLINE PROC SDL.Overlay.h.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.h.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_planes_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.planes.set (VAL SDL.Overlay self, VAL INT planes) = 0"
--* Foreign function [@text SDL_Overlay_planes_set].
INLINE PROC SDL.Overlay.planes.set (VAL SDL.Overlay self, VAL INT planes)
  C.SDL.Overlay.planes.set (self, planes)
:
--}}}
--{{{  function SDL_Overlay_planes_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.planes.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_planes_get].
INLINE PROC SDL.Overlay.planes.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.planes.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_pitches_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.pitches.set (VAL SDL.Overlay self, []INT16 pitches) = 0"
--* Foreign function [@text SDL_Overlay_pitches_set].
INLINE PROC SDL.Overlay.pitches.set (VAL SDL.Overlay self, []INT16 pitches)
  C.SDL.Overlay.pitches.set (self, pitches)
:
--}}}
--{{{  function SDL_Overlay_pitches_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.pitches.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_pitches_get].
INLINE PROC SDL.Overlay.pitches.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.pitches.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_pixels_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.pixels.set (VAL SDL.Overlay self, VAL INT pixels) = 0"
--* Foreign function [@text SDL_Overlay_pixels_set].
INLINE PROC SDL.Overlay.pixels.set (VAL SDL.Overlay self, VAL INT pixels)
  C.SDL.Overlay.pixels.set (self, pixels)
:
--}}}
--{{{  function SDL_Overlay_pixels_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.pixels.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_pixels_get].
INLINE PROC SDL.Overlay.pixels.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.pixels.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_hwfuncs_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.hwfuncs.set (VAL SDL.Overlay self, VAL private.yuvhwfuncs hwfuncs) = 0"
--* Foreign function [@text SDL_Overlay_hwfuncs_set].
INLINE PROC SDL.Overlay.hwfuncs.set (VAL SDL.Overlay self, VAL private.yuvhwfuncs hwfuncs)
  C.SDL.Overlay.hwfuncs.set (self, hwfuncs)
:
--}}}
--{{{  function SDL_Overlay_hwfuncs_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.hwfuncs.get (VAL SDL.Overlay self, RESULT private.yuvhwfuncs return.value) = 0"
--* Foreign function [@text SDL_Overlay_hwfuncs_get].
INLINE PROC SDL.Overlay.hwfuncs.get (VAL SDL.Overlay self, RESULT private.yuvhwfuncs return.value)
  C.SDL.Overlay.hwfuncs.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_hwdata_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.hwdata.set (VAL SDL.Overlay self, VAL private.yuvhwdata hwdata) = 0"
--* Foreign function [@text SDL_Overlay_hwdata_set].
INLINE PROC SDL.Overlay.hwdata.set (VAL SDL.Overlay self, VAL private.yuvhwdata hwdata)
  C.SDL.Overlay.hwdata.set (self, hwdata)
:
--}}}
--{{{  function SDL_Overlay_hwdata_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.hwdata.get (VAL SDL.Overlay self, RESULT private.yuvhwdata return.value) = 0"
--* Foreign function [@text SDL_Overlay_hwdata_get].
INLINE PROC SDL.Overlay.hwdata.get (VAL SDL.Overlay self, RESULT private.yuvhwdata return.value)
  C.SDL.Overlay.hwdata.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_hw_overlay_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.hw.overlay.set (VAL SDL.Overlay self, VAL INT hw.overlay) = 0"
--* Foreign function [@text SDL_Overlay_hw_overlay_set].
INLINE PROC SDL.Overlay.hw.overlay.set (VAL SDL.Overlay self, VAL INT hw.overlay)
  C.SDL.Overlay.hw.overlay.set (self, hw.overlay)
:
--}}}
--{{{  function SDL_Overlay_hw_overlay_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.hw.overlay.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_hw_overlay_get].
INLINE PROC SDL.Overlay.hw.overlay.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.hw.overlay.get (self, return.value)
:
--}}}
--{{{  function SDL_Overlay_UnusedBits_set
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.UnusedBits.set (VAL SDL.Overlay self, VAL INT UnusedBits) = 0"
--* Foreign function [@text SDL_Overlay_UnusedBits_set].
INLINE PROC SDL.Overlay.UnusedBits.set (VAL SDL.Overlay self, VAL INT UnusedBits)
  C.SDL.Overlay.UnusedBits.set (self, UnusedBits)
:
--}}}
--{{{  function SDL_Overlay_UnusedBits_get
#PRAGMA EXTERNAL "PROC C.SDL.Overlay.UnusedBits.get (VAL SDL.Overlay self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Overlay_UnusedBits_get].
INLINE PROC SDL.Overlay.UnusedBits.get (VAL SDL.Overlay self, RESULT INT return.value)
  C.SDL.Overlay.UnusedBits.get (self, return.value)
:
--}}}
--{{{  function new_SDL_Overlay
#PRAGMA EXTERNAL "PROC C.new.SDL.Overlay (RESULT SDL.Overlay return.value) = 0"
--* Foreign function [@text new_SDL_Overlay].
INLINE PROC new.SDL.Overlay (RESULT SDL.Overlay return.value)
  C.new.SDL.Overlay (return.value)
:
--}}}
--{{{  function delete_SDL_Overlay
#PRAGMA EXTERNAL "PROC C.delete.SDL.Overlay (VAL SDL.Overlay self) = 0"
--* Foreign function [@text delete_SDL_Overlay].
INLINE PROC delete.SDL.Overlay (VAL SDL.Overlay self)
  C.delete.SDL.Overlay (self)
:
--}}}
--}}}
--{{{  function SDL_VideoInit
#PRAGMA EXTERNAL "PROC C.SDL.VideoInit (VAL []BYTE driver.name, VAL INT flags, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoInit].
INLINE PROC SDL.VideoInit (VAL []BYTE driver.name, VAL INT flags, RESULT INT return.value)
  C.SDL.VideoInit (driver.name, flags, return.value)
:
--}}}
--{{{  function SDL_VideoQuit
#PRAGMA EXTERNAL "PROC C.SDL.VideoQuit () = 0"
--* Foreign function [@text SDL_VideoQuit].
INLINE PROC SDL.VideoQuit ()
  C.SDL.VideoQuit ()
:
--}}}
--{{{  function SDL_VideoDriverName
#PRAGMA EXTERNAL "PROC C.SDL.VideoDriverName ([]BYTE namebuf, VAL INT maxlen, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoDriverName].
INLINE PROC SDL.VideoDriverName ([]BYTE namebuf, VAL INT maxlen, RESULT INT return.value)
  C.SDL.VideoDriverName (namebuf, maxlen, return.value)
:
--}}}
--{{{  function SDL_GetVideoSurface
#PRAGMA EXTERNAL "PROC C.SDL.GetVideoSurface (RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text SDL_GetVideoSurface].
INLINE PROC SDL.GetVideoSurface (RESULT SDL.Surface return.value)
  C.SDL.GetVideoSurface (return.value)
:
--}}}
--{{{  function SDL_GetVideoInfo
#PRAGMA EXTERNAL "PROC C.SDL.GetVideoInfo (RESULT SDL.VideoInfo return.value) = 0"
--* Foreign function [@text SDL_GetVideoInfo].
INLINE PROC SDL.GetVideoInfo (RESULT SDL.VideoInfo return.value)
  C.SDL.GetVideoInfo (return.value)
:
--}}}
--{{{  function SDL_VideoModeOK
#PRAGMA EXTERNAL "PROC C.SDL.VideoModeOK (VAL INT width, VAL INT height, VAL INT bpp, VAL INT flags, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_VideoModeOK].
INLINE PROC SDL.VideoModeOK (VAL INT width, VAL INT height, VAL INT bpp, VAL INT flags, RESULT INT return.value)
  C.SDL.VideoModeOK (width, height, bpp, flags, return.value)
:
--}}}
--{{{  function SDL_ListModes
#PRAGMA EXTERNAL "PROC C.SDL.ListModes (VAL SDL.PixelFormat format, VAL INT flags, RESULT SDL.Rect return.value) = 0"
--* Foreign function [@text SDL_ListModes].
INLINE PROC SDL.ListModes (VAL SDL.PixelFormat format, VAL INT flags, RESULT SDL.Rect return.value)
  C.SDL.ListModes (format, flags, return.value)
:
--}}}
--{{{  function SDL_SetVideoMode
#PRAGMA EXTERNAL "PROC C.SDL.SetVideoMode (VAL INT width, VAL INT height, VAL INT bpp, VAL INT flags, RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text SDL_SetVideoMode].
INLINE PROC SDL.SetVideoMode (VAL INT width, VAL INT height, VAL INT bpp, VAL INT flags, RESULT SDL.Surface return.value)
  C.SDL.SetVideoMode (width, height, bpp, flags, return.value)
:
--}}}
--{{{  function SDL_UpdateRects
#PRAGMA EXTERNAL "PROC C.SDL.UpdateRects (VAL SDL.Surface screen, VAL INT numrects, VAL SDL.Rect rects) = 0"
--* Foreign function [@text SDL_UpdateRects].
INLINE PROC SDL.UpdateRects (VAL SDL.Surface screen, VAL INT numrects, VAL SDL.Rect rects)
  C.SDL.UpdateRects (screen, numrects, rects)
:
--}}}
--{{{  function SDL_UpdateRect
#PRAGMA EXTERNAL "PROC C.SDL.UpdateRect (VAL SDL.Surface screen, VAL INT x, VAL INT y, VAL INT w, VAL INT h) = 0"
--* Foreign function [@text SDL_UpdateRect].
INLINE PROC SDL.UpdateRect (VAL SDL.Surface screen, VAL INT x, VAL INT y, VAL INT w, VAL INT h)
  C.SDL.UpdateRect (screen, x, y, w, h)
:
--}}}
--{{{  function SDL_Flip
#PRAGMA EXTERNAL "PROC C.SDL.Flip (VAL SDL.Surface screen, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_Flip].
INLINE PROC SDL.Flip (VAL SDL.Surface screen, RESULT INT return.value)
  C.SDL.Flip (screen, return.value)
:
--}}}
--{{{  function SDL_SetGamma
#PRAGMA EXTERNAL "PROC C.SDL.SetGamma (VAL REAL32 red, VAL REAL32 green, VAL REAL32 blue, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_SetGamma].
INLINE PROC SDL.SetGamma (VAL REAL32 red, VAL REAL32 green, VAL REAL32 blue, RESULT INT return.value)
  C.SDL.SetGamma (red, green, blue, return.value)
:
--}}}
--{{{  function SDL_SetGammaRamp
#PRAGMA EXTERNAL "PROC C.SDL.SetGammaRamp (VAL []INT16 red, VAL []INT16 green, VAL []INT16 blue, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_SetGammaRamp].
INLINE PROC SDL.SetGammaRamp (VAL []INT16 red, VAL []INT16 green, VAL []INT16 blue, RESULT INT return.value)
  C.SDL.SetGammaRamp (red, green, blue, return.value)
:
--}}}
--{{{  function SDL_GetGammaRamp
#PRAGMA EXTERNAL "PROC C.SDL.GetGammaRamp ([]INT16 red, []INT16 green, []INT16 blue, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GetGammaRamp].
INLINE PROC SDL.GetGammaRamp ([]INT16 red, []INT16 green, []INT16 blue, RESULT INT return.value)
  C.SDL.GetGammaRamp (red, green, blue, return.value)
:
--}}}
--{{{  function SDL_SetColors
#PRAGMA EXTERNAL "PROC C.SDL.SetColors (VAL SDL.Surface surface, VAL SDL.Color colors, VAL INT firstcolor, VAL INT ncolors, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_SetColors].
INLINE PROC SDL.SetColors (VAL SDL.Surface surface, VAL SDL.Color colors, VAL INT firstcolor, VAL INT ncolors, RESULT INT return.value)
  C.SDL.SetColors (surface, colors, firstcolor, ncolors, return.value)
:
--}}}
--{{{  function SDL_SetPalette
#PRAGMA EXTERNAL "PROC C.SDL.SetPalette (VAL SDL.Surface surface, VAL INT flags, VAL SDL.Color colors, VAL INT firstcolor, VAL INT ncolors, RESULT INT return.value) = 0"
--* Foreign function [@text 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)
  C.SDL.SetPalette (surface, flags, colors, firstcolor, ncolors, return.value)
:
--}}}
--{{{  function SDL_MapRGB
#PRAGMA EXTERNAL "PROC C.SDL.MapRGB (VAL SDL.PixelFormat format, VAL BYTE r, VAL BYTE g, VAL BYTE b, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_MapRGB].
INLINE PROC SDL.MapRGB (VAL SDL.PixelFormat format, VAL BYTE r, VAL BYTE g, VAL BYTE b, RESULT INT return.value)
  C.SDL.MapRGB (format, r, g, b, return.value)
:
--}}}
--{{{  function SDL_MapRGBA
#PRAGMA EXTERNAL "PROC C.SDL.MapRGBA (VAL SDL.PixelFormat format, VAL BYTE r, VAL BYTE g, VAL BYTE b, VAL BYTE a, RESULT INT return.value) = 0"
--* Foreign function [@text 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)
  C.SDL.MapRGBA (format, r, g, b, a, return.value)
:
--}}}
--{{{  function SDL_GetRGB
#PRAGMA EXTERNAL "PROC C.SDL.GetRGB (VAL INT pixel, VAL SDL.PixelFormat fmt, []BYTE r, []BYTE g, []BYTE b) = 0"
--* Foreign function [@text SDL_GetRGB].
INLINE PROC SDL.GetRGB (VAL INT pixel, VAL SDL.PixelFormat fmt, []BYTE r, []BYTE g, []BYTE b)
  C.SDL.GetRGB (pixel, fmt, r, g, b)
:
--}}}
--{{{  function SDL_GetRGBA
#PRAGMA EXTERNAL "PROC C.SDL.GetRGBA (VAL INT pixel, VAL SDL.PixelFormat fmt, []BYTE r, []BYTE g, []BYTE b, []BYTE a) = 0"
--* Foreign function [@text SDL_GetRGBA].
INLINE PROC SDL.GetRGBA (VAL INT pixel, VAL SDL.PixelFormat fmt, []BYTE r, []BYTE g, []BYTE b, []BYTE a)
  C.SDL.GetRGBA (pixel, fmt, r, g, b, a)
:
--}}}
--{{{  function SDL_CreateRGBSurface
#PRAGMA EXTERNAL "PROC C.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) = 0"
--* Foreign function [@text 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)
  C.SDL.CreateRGBSurface (flags, width, height, depth, Rmask, Gmask, Bmask, Amask, return.value)
:
--}}}
--{{{  function SDL_CreateRGBSurfaceFrom
#PRAGMA EXTERNAL "PROC C.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) = 0"
--* Foreign function [@text 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)
  C.SDL.CreateRGBSurfaceFrom (pixels, width, height, depth, pitch, Rmask, Gmask, Bmask, Amask, return.value)
:
--}}}
--{{{  function SDL_FreeSurface
#PRAGMA EXTERNAL "PROC C.SDL.FreeSurface (VAL SDL.Surface surface) = 0"
--* Foreign function [@text SDL_FreeSurface].
INLINE PROC SDL.FreeSurface (VAL SDL.Surface surface)
  C.SDL.FreeSurface (surface)
:
--}}}
--{{{  function SDL_LockSurface
#PRAGMA EXTERNAL "PROC C.SDL.LockSurface (VAL SDL.Surface surface, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_LockSurface].
INLINE PROC SDL.LockSurface (VAL SDL.Surface surface, RESULT INT return.value)
  C.SDL.LockSurface (surface, return.value)
:
--}}}
--{{{  function SDL_UnlockSurface
#PRAGMA EXTERNAL "PROC C.SDL.UnlockSurface (VAL SDL.Surface surface) = 0"
--* Foreign function [@text SDL_UnlockSurface].
INLINE PROC SDL.UnlockSurface (VAL SDL.Surface surface)
  C.SDL.UnlockSurface (surface)
:
--}}}
--{{{  function SDL_LoadBMP_RW
#PRAGMA EXTERNAL "PROC C.SDL.LoadBMP.RW (VAL INT src, VAL INT freesrc, RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text SDL_LoadBMP_RW].
INLINE PROC SDL.LoadBMP.RW (VAL INT src, VAL INT freesrc, RESULT SDL.Surface return.value)
  C.SDL.LoadBMP.RW (src, freesrc, return.value)
:
--}}}
--{{{  function occ_SDL_LoadBMP
#PRAGMA EXTERNAL "PROC C.occ.SDL.LoadBMP (VAL []BYTE file, RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text occ_SDL_LoadBMP].
INLINE PROC occ.SDL.LoadBMP (VAL []BYTE file, RESULT SDL.Surface return.value)
  C.occ.SDL.LoadBMP (file, return.value)
:
--}}}
--{{{  function occ_SDL_SaveBMP
#PRAGMA EXTERNAL "PROC C.occ.SDL.SaveBMP (VAL SDL.Surface surface, VAL []BYTE file, RESULT INT return.value) = 0"
--* Foreign function [@text occ_SDL_SaveBMP].
INLINE PROC occ.SDL.SaveBMP (VAL SDL.Surface surface, VAL []BYTE file, RESULT INT return.value)
  C.occ.SDL.SaveBMP (surface, file, return.value)
:
--}}}
--{{{  function SDL_SetColorKey
#PRAGMA EXTERNAL "PROC C.SDL.SetColorKey (VAL SDL.Surface surface, VAL INT flag, VAL INT key, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_SetColorKey].
INLINE PROC SDL.SetColorKey (VAL SDL.Surface surface, VAL INT flag, VAL INT key, RESULT INT return.value)
  C.SDL.SetColorKey (surface, flag, key, return.value)
:
--}}}
--{{{  function SDL_SetAlpha
#PRAGMA EXTERNAL "PROC C.SDL.SetAlpha (VAL SDL.Surface surface, VAL INT flag, VAL BYTE alpha, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_SetAlpha].
INLINE PROC SDL.SetAlpha (VAL SDL.Surface surface, VAL INT flag, VAL BYTE alpha, RESULT INT return.value)
  C.SDL.SetAlpha (surface, flag, alpha, return.value)
:
--}}}
--{{{  function SDL_SetClipRect
#PRAGMA EXTERNAL "PROC C.SDL.SetClipRect (VAL SDL.Surface surface, VAL SDL.Rect rect, RESULT SDL.bool return.value) = 0"
--* Foreign function [@text SDL_SetClipRect].
INLINE PROC SDL.SetClipRect (VAL SDL.Surface surface, VAL SDL.Rect rect, RESULT SDL.bool return.value)
  C.SDL.SetClipRect (surface, rect, return.value)
:
--}}}
--{{{  function SDL_GetClipRect
#PRAGMA EXTERNAL "PROC C.SDL.GetClipRect (VAL SDL.Surface surface, VAL SDL.Rect rect) = 0"
--* Foreign function [@text SDL_GetClipRect].
INLINE PROC SDL.GetClipRect (VAL SDL.Surface surface, VAL SDL.Rect rect)
  C.SDL.GetClipRect (surface, rect)
:
--}}}
--{{{  function SDL_ConvertSurface
#PRAGMA EXTERNAL "PROC C.SDL.ConvertSurface (VAL SDL.Surface src, VAL SDL.PixelFormat fmt, VAL INT flags, RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text SDL_ConvertSurface].
INLINE PROC SDL.ConvertSurface (VAL SDL.Surface src, VAL SDL.PixelFormat fmt, VAL INT flags, RESULT SDL.Surface return.value)
  C.SDL.ConvertSurface (src, fmt, flags, return.value)
:
--}}}
--{{{  function SDL_BlitSurface
#PRAGMA EXTERNAL "PROC C.SDL.BlitSurface (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value) = 0"
--* Foreign function [@text 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)
  C.SDL.BlitSurface (src, srcrect, dst, dstrect, return.value)
:
--}}}
--{{{  function SDL_UpperBlit
#PRAGMA EXTERNAL "PROC C.SDL.UpperBlit (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value) = 0"
--* Foreign function [@text 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)
  C.SDL.UpperBlit (src, srcrect, dst, dstrect, return.value)
:
--}}}
--{{{  function SDL_LowerBlit
#PRAGMA EXTERNAL "PROC C.SDL.LowerBlit (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value) = 0"
--* Foreign function [@text 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)
  C.SDL.LowerBlit (src, srcrect, dst, dstrect, return.value)
:
--}}}
--{{{  function SDL_FillRect
#PRAGMA EXTERNAL "PROC C.SDL.FillRect (VAL SDL.Surface dst, VAL SDL.Rect dstrect, VAL INT color, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_FillRect].
INLINE PROC SDL.FillRect (VAL SDL.Surface dst, VAL SDL.Rect dstrect, VAL INT color, RESULT INT return.value)
  C.SDL.FillRect (dst, dstrect, color, return.value)
:
--}}}
--{{{  function SDL_DisplayFormat
#PRAGMA EXTERNAL "PROC C.SDL.DisplayFormat (VAL SDL.Surface surface, RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text SDL_DisplayFormat].
INLINE PROC SDL.DisplayFormat (VAL SDL.Surface surface, RESULT SDL.Surface return.value)
  C.SDL.DisplayFormat (surface, return.value)
:
--}}}
--{{{  function SDL_DisplayFormatAlpha
#PRAGMA EXTERNAL "PROC C.SDL.DisplayFormatAlpha (VAL SDL.Surface surface, RESULT SDL.Surface return.value) = 0"
--* Foreign function [@text SDL_DisplayFormatAlpha].
INLINE PROC SDL.DisplayFormatAlpha (VAL SDL.Surface surface, RESULT SDL.Surface return.value)
  C.SDL.DisplayFormatAlpha (surface, return.value)
:
--}}}
--{{{  function SDL_CreateYUVOverlay
#PRAGMA EXTERNAL "PROC C.SDL.CreateYUVOverlay (VAL INT width, VAL INT height, VAL INT format, VAL SDL.Surface display, RESULT SDL.Overlay return.value) = 0"
--* Foreign function [@text SDL_CreateYUVOverlay].
INLINE PROC SDL.CreateYUVOverlay (VAL INT width, VAL INT height, VAL INT format, VAL SDL.Surface display, RESULT SDL.Overlay return.value)
  C.SDL.CreateYUVOverlay (width, height, format, display, return.value)
:
--}}}
--{{{  function SDL_LockYUVOverlay
#PRAGMA EXTERNAL "PROC C.SDL.LockYUVOverlay (VAL SDL.Overlay overlay, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_LockYUVOverlay].
INLINE PROC SDL.LockYUVOverlay (VAL SDL.Overlay overlay, RESULT INT return.value)
  C.SDL.LockYUVOverlay (overlay, return.value)
:
--}}}
--{{{  function SDL_UnlockYUVOverlay
#PRAGMA EXTERNAL "PROC C.SDL.UnlockYUVOverlay (VAL SDL.Overlay overlay) = 0"
--* Foreign function [@text SDL_UnlockYUVOverlay].
INLINE PROC SDL.UnlockYUVOverlay (VAL SDL.Overlay overlay)
  C.SDL.UnlockYUVOverlay (overlay)
:
--}}}
--{{{  function SDL_DisplayYUVOverlay
#PRAGMA EXTERNAL "PROC C.SDL.DisplayYUVOverlay (VAL SDL.Overlay overlay, VAL SDL.Rect dstrect, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_DisplayYUVOverlay].
INLINE PROC SDL.DisplayYUVOverlay (VAL SDL.Overlay overlay, VAL SDL.Rect dstrect, RESULT INT return.value)
  C.SDL.DisplayYUVOverlay (overlay, dstrect, return.value)
:
--}}}
--{{{  function SDL_FreeYUVOverlay
#PRAGMA EXTERNAL "PROC C.SDL.FreeYUVOverlay (VAL SDL.Overlay overlay) = 0"
--* Foreign function [@text SDL_FreeYUVOverlay].
INLINE PROC SDL.FreeYUVOverlay (VAL SDL.Overlay overlay)
  C.SDL.FreeYUVOverlay (overlay)
:
--}}}
--{{{  function SDL_GL_LoadLibrary
#PRAGMA EXTERNAL "PROC C.SDL.GL.LoadLibrary (VAL []BYTE path, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GL_LoadLibrary].
INLINE PROC SDL.GL.LoadLibrary (VAL []BYTE path, RESULT INT return.value)
  C.SDL.GL.LoadLibrary (path, return.value)
:
--}}}
--{{{  function SDL_GL_GetProcAddress
#PRAGMA EXTERNAL "PROC C.SDL.GL.GetProcAddress (VAL []BYTE proc, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GL_GetProcAddress].
INLINE PROC SDL.GL.GetProcAddress (VAL []BYTE proc, RESULT INT return.value)
  C.SDL.GL.GetProcAddress (proc, return.value)
:
--}}}
--{{{  function SDL_GL_SetAttribute
#PRAGMA EXTERNAL "PROC C.SDL.GL.SetAttribute (VAL SDL.GLattr attr, VAL INT value, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GL_SetAttribute].
INLINE PROC SDL.GL.SetAttribute (VAL SDL.GLattr attr, VAL INT value, RESULT INT return.value)
  C.SDL.GL.SetAttribute (attr, value, return.value)
:
--}}}
--{{{  function SDL_GL_GetAttribute
#PRAGMA EXTERNAL "PROC C.SDL.GL.GetAttribute (VAL SDL.GLattr attr, []INT value, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GL_GetAttribute].
INLINE PROC SDL.GL.GetAttribute (VAL SDL.GLattr attr, []INT value, RESULT INT return.value)
  C.SDL.GL.GetAttribute (attr, value, return.value)
:
--}}}
--{{{  function SDL_GL_SwapBuffers
#PRAGMA EXTERNAL "PROC C.SDL.GL.SwapBuffers () = 0"
--* Foreign function [@text SDL_GL_SwapBuffers].
INLINE PROC SDL.GL.SwapBuffers ()
  C.SDL.GL.SwapBuffers ()
:
--}}}
--{{{  function SDL_GL_UpdateRects
#PRAGMA EXTERNAL "PROC C.SDL.GL.UpdateRects (VAL INT numrects, VAL SDL.Rect rects) = 0"
--* Foreign function [@text SDL_GL_UpdateRects].
INLINE PROC SDL.GL.UpdateRects (VAL INT numrects, VAL SDL.Rect rects)
  C.SDL.GL.UpdateRects (numrects, rects)
:
--}}}
--{{{  function SDL_GL_Lock
#PRAGMA EXTERNAL "PROC C.SDL.GL.Lock () = 0"
--* Foreign function [@text SDL_GL_Lock].
INLINE PROC SDL.GL.Lock ()
  C.SDL.GL.Lock ()
:
--}}}
--{{{  function SDL_GL_Unlock
#PRAGMA EXTERNAL "PROC C.SDL.GL.Unlock () = 0"
--* Foreign function [@text SDL_GL_Unlock].
INLINE PROC SDL.GL.Unlock ()
  C.SDL.GL.Unlock ()
:
--}}}
--{{{  function SDL_WM_SetCaption
#PRAGMA EXTERNAL "PROC C.SDL.WM.SetCaption (VAL []BYTE title, VAL []BYTE icon) = 0"
--* Foreign function [@text SDL_WM_SetCaption].
INLINE PROC SDL.WM.SetCaption (VAL []BYTE title, VAL []BYTE icon)
  C.SDL.WM.SetCaption (title, icon)
:
--}}}
--{{{  function SDL_WM_GetCaption
#PRAGMA EXTERNAL "PROC C.SDL.WM.GetCaption (VAL INT title, VAL INT icon) = 0"
--* Foreign function [@text SDL_WM_GetCaption].
INLINE PROC SDL.WM.GetCaption (VAL INT title, VAL INT icon)
  C.SDL.WM.GetCaption (title, icon)
:
--}}}
--{{{  function SDL_WM_SetIcon
#PRAGMA EXTERNAL "PROC C.SDL.WM.SetIcon (VAL SDL.Surface icon, []BYTE mask) = 0"
--* Foreign function [@text SDL_WM_SetIcon].
INLINE PROC SDL.WM.SetIcon (VAL SDL.Surface icon, []BYTE mask)
  C.SDL.WM.SetIcon (icon, mask)
:
--}}}
--{{{  function SDL_WM_IconifyWindow
#PRAGMA EXTERNAL "PROC C.SDL.WM.IconifyWindow (RESULT INT return.value) = 0"
--* Foreign function [@text SDL_WM_IconifyWindow].
INLINE PROC SDL.WM.IconifyWindow (RESULT INT return.value)
  C.SDL.WM.IconifyWindow (return.value)
:
--}}}
--{{{  function SDL_WM_ToggleFullScreen
#PRAGMA EXTERNAL "PROC C.SDL.WM.ToggleFullScreen (VAL SDL.Surface surface, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_WM_ToggleFullScreen].
INLINE PROC SDL.WM.ToggleFullScreen (VAL SDL.Surface surface, RESULT INT return.value)
  C.SDL.WM.ToggleFullScreen (surface, return.value)
:
--}}}
--{{{  function SDL_WM_GrabInput
#PRAGMA EXTERNAL "PROC C.SDL.WM.GrabInput (VAL SDL.GrabMode mode, RESULT SDL.GrabMode return.value) = 0"
--* Foreign function [@text SDL_WM_GrabInput].
INLINE PROC SDL.WM.GrabInput (VAL SDL.GrabMode mode, RESULT SDL.GrabMode return.value)
  C.SDL.WM.GrabInput (mode, return.value)
:
--}}}
--{{{  function SDL_SoftStretch
#PRAGMA EXTERNAL "PROC C.SDL.SoftStretch (VAL SDL.Surface src, VAL SDL.Rect srcrect, VAL SDL.Surface dst, VAL SDL.Rect dstrect, RESULT INT return.value) = 0"
--* Foreign function [@text 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)
  C.SDL.SoftStretch (src, srcrect, dst, dstrect, return.value)
:
--}}}
--{{{  struct SDL_keysym
--{{{  function SDL_keysym_scancode_set
#PRAGMA EXTERNAL "PROC C.SDL.keysym.scancode.set (VAL SDL.keysym self, VAL BYTE scancode) = 0"
--* Foreign function [@text SDL_keysym_scancode_set].
INLINE PROC SDL.keysym.scancode.set (VAL SDL.keysym self, VAL BYTE scancode)
  C.SDL.keysym.scancode.set (self, scancode)
:
--}}}
--{{{  function SDL_keysym_scancode_get
#PRAGMA EXTERNAL "PROC C.SDL.keysym.scancode.get (VAL SDL.keysym self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_keysym_scancode_get].
INLINE PROC SDL.keysym.scancode.get (VAL SDL.keysym self, RESULT BYTE return.value)
  C.SDL.keysym.scancode.get (self, return.value)
:
--}}}
--{{{  function SDL_keysym_sym_set
#PRAGMA EXTERNAL "PROC C.SDL.keysym.sym.set (VAL SDL.keysym self, VAL INT sym) = 0"
--* Foreign function [@text SDL_keysym_sym_set].
INLINE PROC SDL.keysym.sym.set (VAL SDL.keysym self, VAL INT sym)
  C.SDL.keysym.sym.set (self, sym)
:
--}}}
--{{{  function SDL_keysym_sym_get
#PRAGMA EXTERNAL "PROC C.SDL.keysym.sym.get (VAL SDL.keysym self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_keysym_sym_get].
INLINE PROC SDL.keysym.sym.get (VAL SDL.keysym self, RESULT INT return.value)
  C.SDL.keysym.sym.get (self, return.value)
:
--}}}
--{{{  function SDL_keysym_mod_set
#PRAGMA EXTERNAL "PROC C.SDL.keysym.mod.set (VAL SDL.keysym self, VAL INT mod) = 0"
--* Foreign function [@text SDL_keysym_mod_set].
INLINE PROC SDL.keysym.mod.set (VAL SDL.keysym self, VAL INT mod)
  C.SDL.keysym.mod.set (self, mod)
:
--}}}
--{{{  function SDL_keysym_mod_get
#PRAGMA EXTERNAL "PROC C.SDL.keysym.mod.get (VAL SDL.keysym self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_keysym_mod_get].
INLINE PROC SDL.keysym.mod.get (VAL SDL.keysym self, RESULT INT return.value)
  C.SDL.keysym.mod.get (self, return.value)
:
--}}}
--{{{  function SDL_keysym_unicode_set
#PRAGMA EXTERNAL "PROC C.SDL.keysym.unicode.set (VAL SDL.keysym self, VAL INT16 unicode) = 0"
--* Foreign function [@text SDL_keysym_unicode_set].
INLINE PROC SDL.keysym.unicode.set (VAL SDL.keysym self, VAL INT16 unicode)
  C.SDL.keysym.unicode.set (self, unicode)
:
--}}}
--{{{  function SDL_keysym_unicode_get
#PRAGMA EXTERNAL "PROC C.SDL.keysym.unicode.get (VAL SDL.keysym self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_keysym_unicode_get].
INLINE PROC SDL.keysym.unicode.get (VAL SDL.keysym self, RESULT INT16 return.value)
  C.SDL.keysym.unicode.get (self, return.value)
:
--}}}
--{{{  function new_SDL_keysym
#PRAGMA EXTERNAL "PROC C.new.SDL.keysym (RESULT SDL.keysym return.value) = 0"
--* Foreign function [@text new_SDL_keysym].
INLINE PROC new.SDL.keysym (RESULT SDL.keysym return.value)
  C.new.SDL.keysym (return.value)
:
--}}}
--{{{  function delete_SDL_keysym
#PRAGMA EXTERNAL "PROC C.delete.SDL.keysym (VAL SDL.keysym self) = 0"
--* Foreign function [@text delete_SDL_keysym].
INLINE PROC delete.SDL.keysym (VAL SDL.keysym self)
  C.delete.SDL.keysym (self)
:
--}}}
--}}}
--{{{  function SDL_EnableUNICODE
#PRAGMA EXTERNAL "PROC C.SDL.EnableUNICODE (VAL INT enable, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_EnableUNICODE].
INLINE PROC SDL.EnableUNICODE (VAL INT enable, RESULT INT return.value)
  C.SDL.EnableUNICODE (enable, return.value)
:
--}}}
--{{{  function SDL_EnableKeyRepeat
#PRAGMA EXTERNAL "PROC C.SDL.EnableKeyRepeat (VAL INT delay, VAL INT interval, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_EnableKeyRepeat].
INLINE PROC SDL.EnableKeyRepeat (VAL INT delay, VAL INT interval, RESULT INT return.value)
  C.SDL.EnableKeyRepeat (delay, interval, return.value)
:
--}}}
--{{{  function SDL_GetKeyState
#PRAGMA EXTERNAL "PROC C.SDL.GetKeyState ([]INT numkeys, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GetKeyState].
INLINE PROC SDL.GetKeyState ([]INT numkeys, RESULT INT return.value)
  C.SDL.GetKeyState (numkeys, return.value)
:
--}}}
--{{{  function SDL_GetModState
#PRAGMA EXTERNAL "PROC C.SDL.GetModState (RESULT SDLMod return.value) = 0"
--* Foreign function [@text SDL_GetModState].
INLINE PROC SDL.GetModState (RESULT SDLMod return.value)
  C.SDL.GetModState (return.value)
:
--}}}
--{{{  function SDL_SetModState
#PRAGMA EXTERNAL "PROC C.SDL.SetModState (VAL SDLMod modstate) = 0"
--* Foreign function [@text SDL_SetModState].
INLINE PROC SDL.SetModState (VAL SDLMod modstate)
  C.SDL.SetModState (modstate)
:
--}}}
--{{{  function SDL_GetKeyName
#PRAGMA EXTERNAL "PROC C.SDL.GetKeyName (VAL SDLKey key, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GetKeyName].
INLINE PROC SDL.GetKeyName (VAL SDLKey key, RESULT INT return.value)
  C.SDL.GetKeyName (key, return.value)
:
--}}}
--{{{  function SDL_NumJoysticks
#PRAGMA EXTERNAL "PROC C.SDL.NumJoysticks (RESULT INT return.value) = 0"
--* Foreign function [@text SDL_NumJoysticks].
INLINE PROC SDL.NumJoysticks (RESULT INT return.value)
  C.SDL.NumJoysticks (return.value)
:
--}}}
--{{{  function SDL_JoystickName
#PRAGMA EXTERNAL "PROC C.SDL.JoystickName (VAL INT device.index, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickName].
INLINE PROC SDL.JoystickName (VAL INT device.index, RESULT INT return.value)
  C.SDL.JoystickName (device.index, return.value)
:
--}}}
--{{{  function SDL_JoystickOpen
#PRAGMA EXTERNAL "PROC C.SDL.JoystickOpen (VAL INT device.index, RESULT SDL.Joystick return.value) = 0"
--* Foreign function [@text SDL_JoystickOpen].
INLINE PROC SDL.JoystickOpen (VAL INT device.index, RESULT SDL.Joystick return.value)
  C.SDL.JoystickOpen (device.index, return.value)
:
--}}}
--{{{  function SDL_JoystickOpened
#PRAGMA EXTERNAL "PROC C.SDL.JoystickOpened (VAL INT device.index, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickOpened].
INLINE PROC SDL.JoystickOpened (VAL INT device.index, RESULT INT return.value)
  C.SDL.JoystickOpened (device.index, return.value)
:
--}}}
--{{{  function SDL_JoystickIndex
#PRAGMA EXTERNAL "PROC C.SDL.JoystickIndex (VAL SDL.Joystick joystick, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickIndex].
INLINE PROC SDL.JoystickIndex (VAL SDL.Joystick joystick, RESULT INT return.value)
  C.SDL.JoystickIndex (joystick, return.value)
:
--}}}
--{{{  function SDL_JoystickNumAxes
#PRAGMA EXTERNAL "PROC C.SDL.JoystickNumAxes (VAL SDL.Joystick joystick, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickNumAxes].
INLINE PROC SDL.JoystickNumAxes (VAL SDL.Joystick joystick, RESULT INT return.value)
  C.SDL.JoystickNumAxes (joystick, return.value)
:
--}}}
--{{{  function SDL_JoystickNumBalls
#PRAGMA EXTERNAL "PROC C.SDL.JoystickNumBalls (VAL SDL.Joystick joystick, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickNumBalls].
INLINE PROC SDL.JoystickNumBalls (VAL SDL.Joystick joystick, RESULT INT return.value)
  C.SDL.JoystickNumBalls (joystick, return.value)
:
--}}}
--{{{  function SDL_JoystickNumHats
#PRAGMA EXTERNAL "PROC C.SDL.JoystickNumHats (VAL SDL.Joystick joystick, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickNumHats].
INLINE PROC SDL.JoystickNumHats (VAL SDL.Joystick joystick, RESULT INT return.value)
  C.SDL.JoystickNumHats (joystick, return.value)
:
--}}}
--{{{  function SDL_JoystickNumButtons
#PRAGMA EXTERNAL "PROC C.SDL.JoystickNumButtons (VAL SDL.Joystick joystick, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickNumButtons].
INLINE PROC SDL.JoystickNumButtons (VAL SDL.Joystick joystick, RESULT INT return.value)
  C.SDL.JoystickNumButtons (joystick, return.value)
:
--}}}
--{{{  function SDL_JoystickUpdate
#PRAGMA EXTERNAL "PROC C.SDL.JoystickUpdate () = 0"
--* Foreign function [@text SDL_JoystickUpdate].
INLINE PROC SDL.JoystickUpdate ()
  C.SDL.JoystickUpdate ()
:
--}}}
--{{{  function SDL_JoystickEventState
#PRAGMA EXTERNAL "PROC C.SDL.JoystickEventState (VAL INT state, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickEventState].
INLINE PROC SDL.JoystickEventState (VAL INT state, RESULT INT return.value)
  C.SDL.JoystickEventState (state, return.value)
:
--}}}
--{{{  function SDL_JoystickGetAxis
#PRAGMA EXTERNAL "PROC C.SDL.JoystickGetAxis (VAL SDL.Joystick joystick, VAL INT axis, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_JoystickGetAxis].
INLINE PROC SDL.JoystickGetAxis (VAL SDL.Joystick joystick, VAL INT axis, RESULT INT16 return.value)
  C.SDL.JoystickGetAxis (joystick, axis, return.value)
:
--}}}
--{{{  function SDL_JoystickGetHat
#PRAGMA EXTERNAL "PROC C.SDL.JoystickGetHat (VAL SDL.Joystick joystick, VAL INT hat, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoystickGetHat].
INLINE PROC SDL.JoystickGetHat (VAL SDL.Joystick joystick, VAL INT hat, RESULT BYTE return.value)
  C.SDL.JoystickGetHat (joystick, hat, return.value)
:
--}}}
--{{{  function SDL_JoystickGetBall
#PRAGMA EXTERNAL "PROC C.SDL.JoystickGetBall (VAL SDL.Joystick joystick, VAL INT ball, []INT dx, []INT dy, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_JoystickGetBall].
INLINE PROC SDL.JoystickGetBall (VAL SDL.Joystick joystick, VAL INT ball, []INT dx, []INT dy, RESULT INT return.value)
  C.SDL.JoystickGetBall (joystick, ball, dx, dy, return.value)
:
--}}}
--{{{  function SDL_JoystickGetButton
#PRAGMA EXTERNAL "PROC C.SDL.JoystickGetButton (VAL SDL.Joystick joystick, VAL INT button, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoystickGetButton].
INLINE PROC SDL.JoystickGetButton (VAL SDL.Joystick joystick, VAL INT button, RESULT BYTE return.value)
  C.SDL.JoystickGetButton (joystick, button, return.value)
:
--}}}
--{{{  function SDL_JoystickClose
#PRAGMA EXTERNAL "PROC C.SDL.JoystickClose (VAL SDL.Joystick joystick) = 0"
--* Foreign function [@text SDL_JoystickClose].
INLINE PROC SDL.JoystickClose (VAL SDL.Joystick joystick)
  C.SDL.JoystickClose (joystick)
:
--}}}
--{{{  struct SDL_AudioSpec
--{{{  function SDL_AudioSpec_freq_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.freq.set (VAL SDL.AudioSpec self, VAL INT freq) = 0"
--* Foreign function [@text SDL_AudioSpec_freq_set].
INLINE PROC SDL.AudioSpec.freq.set (VAL SDL.AudioSpec self, VAL INT freq)
  C.SDL.AudioSpec.freq.set (self, freq)
:
--}}}
--{{{  function SDL_AudioSpec_freq_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.freq.get (VAL SDL.AudioSpec self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_freq_get].
INLINE PROC SDL.AudioSpec.freq.get (VAL SDL.AudioSpec self, RESULT INT return.value)
  C.SDL.AudioSpec.freq.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_format_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.format.set (VAL SDL.AudioSpec self, VAL INT16 format) = 0"
--* Foreign function [@text SDL_AudioSpec_format_set].
INLINE PROC SDL.AudioSpec.format.set (VAL SDL.AudioSpec self, VAL INT16 format)
  C.SDL.AudioSpec.format.set (self, format)
:
--}}}
--{{{  function SDL_AudioSpec_format_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.format.get (VAL SDL.AudioSpec self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_format_get].
INLINE PROC SDL.AudioSpec.format.get (VAL SDL.AudioSpec self, RESULT INT16 return.value)
  C.SDL.AudioSpec.format.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_channels_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.channels.set (VAL SDL.AudioSpec self, VAL BYTE channels) = 0"
--* Foreign function [@text SDL_AudioSpec_channels_set].
INLINE PROC SDL.AudioSpec.channels.set (VAL SDL.AudioSpec self, VAL BYTE channels)
  C.SDL.AudioSpec.channels.set (self, channels)
:
--}}}
--{{{  function SDL_AudioSpec_channels_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.channels.get (VAL SDL.AudioSpec self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_channels_get].
INLINE PROC SDL.AudioSpec.channels.get (VAL SDL.AudioSpec self, RESULT BYTE return.value)
  C.SDL.AudioSpec.channels.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_silence_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.silence.set (VAL SDL.AudioSpec self, VAL BYTE silence) = 0"
--* Foreign function [@text SDL_AudioSpec_silence_set].
INLINE PROC SDL.AudioSpec.silence.set (VAL SDL.AudioSpec self, VAL BYTE silence)
  C.SDL.AudioSpec.silence.set (self, silence)
:
--}}}
--{{{  function SDL_AudioSpec_silence_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.silence.get (VAL SDL.AudioSpec self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_silence_get].
INLINE PROC SDL.AudioSpec.silence.get (VAL SDL.AudioSpec self, RESULT BYTE return.value)
  C.SDL.AudioSpec.silence.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_samples_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.samples.set (VAL SDL.AudioSpec self, VAL INT16 samples) = 0"
--* Foreign function [@text SDL_AudioSpec_samples_set].
INLINE PROC SDL.AudioSpec.samples.set (VAL SDL.AudioSpec self, VAL INT16 samples)
  C.SDL.AudioSpec.samples.set (self, samples)
:
--}}}
--{{{  function SDL_AudioSpec_samples_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.samples.get (VAL SDL.AudioSpec self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_samples_get].
INLINE PROC SDL.AudioSpec.samples.get (VAL SDL.AudioSpec self, RESULT INT16 return.value)
  C.SDL.AudioSpec.samples.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_padding_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.padding.set (VAL SDL.AudioSpec self, VAL INT16 padding) = 0"
--* Foreign function [@text SDL_AudioSpec_padding_set].
INLINE PROC SDL.AudioSpec.padding.set (VAL SDL.AudioSpec self, VAL INT16 padding)
  C.SDL.AudioSpec.padding.set (self, padding)
:
--}}}
--{{{  function SDL_AudioSpec_padding_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.padding.get (VAL SDL.AudioSpec self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_padding_get].
INLINE PROC SDL.AudioSpec.padding.get (VAL SDL.AudioSpec self, RESULT INT16 return.value)
  C.SDL.AudioSpec.padding.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_size_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.size.set (VAL SDL.AudioSpec self, VAL INT size) = 0"
--* Foreign function [@text SDL_AudioSpec_size_set].
INLINE PROC SDL.AudioSpec.size.set (VAL SDL.AudioSpec self, VAL INT size)
  C.SDL.AudioSpec.size.set (self, size)
:
--}}}
--{{{  function SDL_AudioSpec_size_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.size.get (VAL SDL.AudioSpec self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_size_get].
INLINE PROC SDL.AudioSpec.size.get (VAL SDL.AudioSpec self, RESULT INT return.value)
  C.SDL.AudioSpec.size.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_callback_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.callback.set (VAL SDL.AudioSpec self, VAL INT callback) = 0"
--* Foreign function [@text SDL_AudioSpec_callback_set].
INLINE PROC SDL.AudioSpec.callback.set (VAL SDL.AudioSpec self, VAL INT callback)
  C.SDL.AudioSpec.callback.set (self, callback)
:
--}}}
--{{{  function SDL_AudioSpec_callback_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.callback.get (VAL SDL.AudioSpec self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_callback_get].
INLINE PROC SDL.AudioSpec.callback.get (VAL SDL.AudioSpec self, RESULT INT return.value)
  C.SDL.AudioSpec.callback.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioSpec_userdata_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.userdata.set (VAL SDL.AudioSpec self, VAL INT userdata) = 0"
--* Foreign function [@text SDL_AudioSpec_userdata_set].
INLINE PROC SDL.AudioSpec.userdata.set (VAL SDL.AudioSpec self, VAL INT userdata)
  C.SDL.AudioSpec.userdata.set (self, userdata)
:
--}}}
--{{{  function SDL_AudioSpec_userdata_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioSpec.userdata.get (VAL SDL.AudioSpec self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioSpec_userdata_get].
INLINE PROC SDL.AudioSpec.userdata.get (VAL SDL.AudioSpec self, RESULT INT return.value)
  C.SDL.AudioSpec.userdata.get (self, return.value)
:
--}}}
--{{{  function new_SDL_AudioSpec
#PRAGMA EXTERNAL "PROC C.new.SDL.AudioSpec (RESULT SDL.AudioSpec return.value) = 0"
--* Foreign function [@text new_SDL_AudioSpec].
INLINE PROC new.SDL.AudioSpec (RESULT SDL.AudioSpec return.value)
  C.new.SDL.AudioSpec (return.value)
:
--}}}
--{{{  function delete_SDL_AudioSpec
#PRAGMA EXTERNAL "PROC C.delete.SDL.AudioSpec (VAL SDL.AudioSpec self) = 0"
--* Foreign function [@text delete_SDL_AudioSpec].
INLINE PROC delete.SDL.AudioSpec (VAL SDL.AudioSpec self)
  C.delete.SDL.AudioSpec (self)
:
--}}}
--}}}
--{{{  struct SDL_AudioCVT
--{{{  function SDL_AudioCVT_needed_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.needed.set (VAL SDL.AudioCVT self, VAL INT needed) = 0"
--* Foreign function [@text SDL_AudioCVT_needed_set].
INLINE PROC SDL.AudioCVT.needed.set (VAL SDL.AudioCVT self, VAL INT needed)
  C.SDL.AudioCVT.needed.set (self, needed)
:
--}}}
--{{{  function SDL_AudioCVT_needed_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.needed.get (VAL SDL.AudioCVT self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_needed_get].
INLINE PROC SDL.AudioCVT.needed.get (VAL SDL.AudioCVT self, RESULT INT return.value)
  C.SDL.AudioCVT.needed.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_src_format_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.src.format.set (VAL SDL.AudioCVT self, VAL INT16 src.format) = 0"
--* Foreign function [@text SDL_AudioCVT_src_format_set].
INLINE PROC SDL.AudioCVT.src.format.set (VAL SDL.AudioCVT self, VAL INT16 src.format)
  C.SDL.AudioCVT.src.format.set (self, src.format)
:
--}}}
--{{{  function SDL_AudioCVT_src_format_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.src.format.get (VAL SDL.AudioCVT self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_src_format_get].
INLINE PROC SDL.AudioCVT.src.format.get (VAL SDL.AudioCVT self, RESULT INT16 return.value)
  C.SDL.AudioCVT.src.format.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_dst_format_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.dst.format.set (VAL SDL.AudioCVT self, VAL INT16 dst.format) = 0"
--* Foreign function [@text SDL_AudioCVT_dst_format_set].
INLINE PROC SDL.AudioCVT.dst.format.set (VAL SDL.AudioCVT self, VAL INT16 dst.format)
  C.SDL.AudioCVT.dst.format.set (self, dst.format)
:
--}}}
--{{{  function SDL_AudioCVT_dst_format_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.dst.format.get (VAL SDL.AudioCVT self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_dst_format_get].
INLINE PROC SDL.AudioCVT.dst.format.get (VAL SDL.AudioCVT self, RESULT INT16 return.value)
  C.SDL.AudioCVT.dst.format.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_rate_incr_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.rate.incr.set (VAL SDL.AudioCVT self, VAL REAL64 rate.incr) = 0"
--* Foreign function [@text SDL_AudioCVT_rate_incr_set].
INLINE PROC SDL.AudioCVT.rate.incr.set (VAL SDL.AudioCVT self, VAL REAL64 rate.incr)
  C.SDL.AudioCVT.rate.incr.set (self, rate.incr)
:
--}}}
--{{{  function SDL_AudioCVT_rate_incr_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.rate.incr.get (VAL SDL.AudioCVT self, RESULT REAL64 return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_rate_incr_get].
INLINE PROC SDL.AudioCVT.rate.incr.get (VAL SDL.AudioCVT self, RESULT REAL64 return.value)
  C.SDL.AudioCVT.rate.incr.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_buf_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.buf.set (VAL SDL.AudioCVT self, []BYTE buf) = 0"
--* Foreign function [@text SDL_AudioCVT_buf_set].
INLINE PROC SDL.AudioCVT.buf.set (VAL SDL.AudioCVT self, []BYTE buf)
  C.SDL.AudioCVT.buf.set (self, buf)
:
--}}}
--{{{  function SDL_AudioCVT_buf_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.buf.get (VAL SDL.AudioCVT self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_buf_get].
INLINE PROC SDL.AudioCVT.buf.get (VAL SDL.AudioCVT self, RESULT INT return.value)
  C.SDL.AudioCVT.buf.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_len_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.set (VAL SDL.AudioCVT self, VAL INT len) = 0"
--* Foreign function [@text SDL_AudioCVT_len_set].
INLINE PROC SDL.AudioCVT.len.set (VAL SDL.AudioCVT self, VAL INT len)
  C.SDL.AudioCVT.len.set (self, len)
:
--}}}
--{{{  function SDL_AudioCVT_len_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.get (VAL SDL.AudioCVT self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_len_get].
INLINE PROC SDL.AudioCVT.len.get (VAL SDL.AudioCVT self, RESULT INT return.value)
  C.SDL.AudioCVT.len.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_len_cvt_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.cvt.set (VAL SDL.AudioCVT self, VAL INT len.cvt) = 0"
--* Foreign function [@text SDL_AudioCVT_len_cvt_set].
INLINE PROC SDL.AudioCVT.len.cvt.set (VAL SDL.AudioCVT self, VAL INT len.cvt)
  C.SDL.AudioCVT.len.cvt.set (self, len.cvt)
:
--}}}
--{{{  function SDL_AudioCVT_len_cvt_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.cvt.get (VAL SDL.AudioCVT self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_len_cvt_get].
INLINE PROC SDL.AudioCVT.len.cvt.get (VAL SDL.AudioCVT self, RESULT INT return.value)
  C.SDL.AudioCVT.len.cvt.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_len_mult_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.mult.set (VAL SDL.AudioCVT self, VAL INT len.mult) = 0"
--* Foreign function [@text SDL_AudioCVT_len_mult_set].
INLINE PROC SDL.AudioCVT.len.mult.set (VAL SDL.AudioCVT self, VAL INT len.mult)
  C.SDL.AudioCVT.len.mult.set (self, len.mult)
:
--}}}
--{{{  function SDL_AudioCVT_len_mult_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.mult.get (VAL SDL.AudioCVT self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_len_mult_get].
INLINE PROC SDL.AudioCVT.len.mult.get (VAL SDL.AudioCVT self, RESULT INT return.value)
  C.SDL.AudioCVT.len.mult.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_len_ratio_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.ratio.set (VAL SDL.AudioCVT self, VAL REAL64 len.ratio) = 0"
--* Foreign function [@text SDL_AudioCVT_len_ratio_set].
INLINE PROC SDL.AudioCVT.len.ratio.set (VAL SDL.AudioCVT self, VAL REAL64 len.ratio)
  C.SDL.AudioCVT.len.ratio.set (self, len.ratio)
:
--}}}
--{{{  function SDL_AudioCVT_len_ratio_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.len.ratio.get (VAL SDL.AudioCVT self, RESULT REAL64 return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_len_ratio_get].
INLINE PROC SDL.AudioCVT.len.ratio.get (VAL SDL.AudioCVT self, RESULT REAL64 return.value)
  C.SDL.AudioCVT.len.ratio.get (self, return.value)
:
--}}}
--{{{  function SDL_AudioCVT_filter_index_set
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.filter.index.set (VAL SDL.AudioCVT self, VAL INT filter.index) = 0"
--* Foreign function [@text SDL_AudioCVT_filter_index_set].
INLINE PROC SDL.AudioCVT.filter.index.set (VAL SDL.AudioCVT self, VAL INT filter.index)
  C.SDL.AudioCVT.filter.index.set (self, filter.index)
:
--}}}
--{{{  function SDL_AudioCVT_filter_index_get
#PRAGMA EXTERNAL "PROC C.SDL.AudioCVT.filter.index.get (VAL SDL.AudioCVT self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioCVT_filter_index_get].
INLINE PROC SDL.AudioCVT.filter.index.get (VAL SDL.AudioCVT self, RESULT INT return.value)
  C.SDL.AudioCVT.filter.index.get (self, return.value)
:
--}}}
--{{{  function new_SDL_AudioCVT
#PRAGMA EXTERNAL "PROC C.new.SDL.AudioCVT (RESULT SDL.AudioCVT return.value) = 0"
--* Foreign function [@text new_SDL_AudioCVT].
INLINE PROC new.SDL.AudioCVT (RESULT SDL.AudioCVT return.value)
  C.new.SDL.AudioCVT (return.value)
:
--}}}
--{{{  function delete_SDL_AudioCVT
#PRAGMA EXTERNAL "PROC C.delete.SDL.AudioCVT (VAL SDL.AudioCVT self) = 0"
--* Foreign function [@text delete_SDL_AudioCVT].
INLINE PROC delete.SDL.AudioCVT (VAL SDL.AudioCVT self)
  C.delete.SDL.AudioCVT (self)
:
--}}}
--}}}
--{{{  function SDL_AudioDriverName
#PRAGMA EXTERNAL "PROC C.SDL.AudioDriverName ([]BYTE namebuf, VAL INT maxlen, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_AudioDriverName].
INLINE PROC SDL.AudioDriverName ([]BYTE namebuf, VAL INT maxlen, RESULT INT return.value)
  C.SDL.AudioDriverName (namebuf, maxlen, return.value)
:
--}}}
--{{{  function SDL_OpenAudio
#PRAGMA EXTERNAL "PROC C.SDL.OpenAudio (VAL SDL.AudioSpec desired, VAL SDL.AudioSpec obtained, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_OpenAudio].
INLINE PROC SDL.OpenAudio (VAL SDL.AudioSpec desired, VAL SDL.AudioSpec obtained, RESULT INT return.value)
  C.SDL.OpenAudio (desired, obtained, return.value)
:
--}}}
--{{{  function SDL_GetAudioStatus
#PRAGMA EXTERNAL "PROC C.SDL.GetAudioStatus (RESULT SDL.audiostatus return.value) = 0"
--* Foreign function [@text SDL_GetAudioStatus].
INLINE PROC SDL.GetAudioStatus (RESULT SDL.audiostatus return.value)
  C.SDL.GetAudioStatus (return.value)
:
--}}}
--{{{  function SDL_PauseAudio
#PRAGMA EXTERNAL "PROC C.SDL.PauseAudio (VAL INT pause.on) = 0"
--* Foreign function [@text SDL_PauseAudio].
INLINE PROC SDL.PauseAudio (VAL INT pause.on)
  C.SDL.PauseAudio (pause.on)
:
--}}}
--{{{  function SDL_LoadWAV_RW
#PRAGMA EXTERNAL "PROC C.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) = 0"
--* Foreign function [@text 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)
  C.SDL.LoadWAV.RW (src, freesrc, spec, audio.buf, audio.len, return.value)
:
--}}}
--{{{  function occ_SDL_LoadWAV
#PRAGMA EXTERNAL "PROC C.occ.SDL.LoadWAV (VAL []BYTE file, VAL SDL.AudioSpec spec, []BYTE audio.buf, []INT audio.len) = 0"
--* Foreign function [@text occ_SDL_LoadWAV].
INLINE PROC occ.SDL.LoadWAV (VAL []BYTE file, VAL SDL.AudioSpec spec, []BYTE audio.buf, []INT audio.len)
  C.occ.SDL.LoadWAV (file, spec, audio.buf, audio.len)
:
--}}}
--{{{  function SDL_FreeWAV
#PRAGMA EXTERNAL "PROC C.SDL.FreeWAV ([]BYTE audio.buf) = 0"
--* Foreign function [@text SDL_FreeWAV].
INLINE PROC SDL.FreeWAV ([]BYTE audio.buf)
  C.SDL.FreeWAV (audio.buf)
:
--}}}
--{{{  function SDL_BuildAudioCVT
#PRAGMA EXTERNAL "PROC C.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) = 0"
--* Foreign function [@text 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)
  C.SDL.BuildAudioCVT (cvt, src.format, src.channels, src.rate, dst.format, dst.channels, dst.rate, return.value)
:
--}}}
--{{{  function SDL_ConvertAudio
#PRAGMA EXTERNAL "PROC C.SDL.ConvertAudio (VAL SDL.AudioCVT cvt, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_ConvertAudio].
INLINE PROC SDL.ConvertAudio (VAL SDL.AudioCVT cvt, RESULT INT return.value)
  C.SDL.ConvertAudio (cvt, return.value)
:
--}}}
--{{{  function SDL_MixAudio
#PRAGMA EXTERNAL "PROC C.SDL.MixAudio ([]BYTE dst, VAL []BYTE src, VAL INT len, VAL INT volume) = 0"
--* Foreign function [@text SDL_MixAudio].
INLINE PROC SDL.MixAudio ([]BYTE dst, VAL []BYTE src, VAL INT len, VAL INT volume)
  C.SDL.MixAudio (dst, src, len, volume)
:
--}}}
--{{{  function SDL_LockAudio
#PRAGMA EXTERNAL "PROC C.SDL.LockAudio () = 0"
--* Foreign function [@text SDL_LockAudio].
INLINE PROC SDL.LockAudio ()
  C.SDL.LockAudio ()
:
--}}}
--{{{  function SDL_UnlockAudio
#PRAGMA EXTERNAL "PROC C.SDL.UnlockAudio () = 0"
--* Foreign function [@text SDL_UnlockAudio].
INLINE PROC SDL.UnlockAudio ()
  C.SDL.UnlockAudio ()
:
--}}}
--{{{  function SDL_CloseAudio
#PRAGMA EXTERNAL "PROC C.SDL.CloseAudio () = 0"
--* Foreign function [@text SDL_CloseAudio].
INLINE PROC SDL.CloseAudio ()
  C.SDL.CloseAudio ()
:
--}}}
--{{{  struct SDL_ActiveEvent
--{{{  function SDL_ActiveEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.ActiveEvent.type.set (VAL SDL.ActiveEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_ActiveEvent_type_set].
INLINE PROC SDL.ActiveEvent.type.set (VAL SDL.ActiveEvent self, VAL BYTE type)
  C.SDL.ActiveEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_ActiveEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.ActiveEvent.type.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_ActiveEvent_type_get].
INLINE PROC SDL.ActiveEvent.type.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value)
  C.SDL.ActiveEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_ActiveEvent_gain_set
#PRAGMA EXTERNAL "PROC C.SDL.ActiveEvent.gain.set (VAL SDL.ActiveEvent self, VAL BYTE gain) = 0"
--* Foreign function [@text SDL_ActiveEvent_gain_set].
INLINE PROC SDL.ActiveEvent.gain.set (VAL SDL.ActiveEvent self, VAL BYTE gain)
  C.SDL.ActiveEvent.gain.set (self, gain)
:
--}}}
--{{{  function SDL_ActiveEvent_gain_get
#PRAGMA EXTERNAL "PROC C.SDL.ActiveEvent.gain.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_ActiveEvent_gain_get].
INLINE PROC SDL.ActiveEvent.gain.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value)
  C.SDL.ActiveEvent.gain.get (self, return.value)
:
--}}}
--{{{  function SDL_ActiveEvent_state_set
#PRAGMA EXTERNAL "PROC C.SDL.ActiveEvent.state.set (VAL SDL.ActiveEvent self, VAL BYTE state) = 0"
--* Foreign function [@text SDL_ActiveEvent_state_set].
INLINE PROC SDL.ActiveEvent.state.set (VAL SDL.ActiveEvent self, VAL BYTE state)
  C.SDL.ActiveEvent.state.set (self, state)
:
--}}}
--{{{  function SDL_ActiveEvent_state_get
#PRAGMA EXTERNAL "PROC C.SDL.ActiveEvent.state.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_ActiveEvent_state_get].
INLINE PROC SDL.ActiveEvent.state.get (VAL SDL.ActiveEvent self, RESULT BYTE return.value)
  C.SDL.ActiveEvent.state.get (self, return.value)
:
--}}}
--{{{  function new_SDL_ActiveEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.ActiveEvent (RESULT SDL.ActiveEvent return.value) = 0"
--* Foreign function [@text new_SDL_ActiveEvent].
INLINE PROC new.SDL.ActiveEvent (RESULT SDL.ActiveEvent return.value)
  C.new.SDL.ActiveEvent (return.value)
:
--}}}
--{{{  function delete_SDL_ActiveEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.ActiveEvent (VAL SDL.ActiveEvent self) = 0"
--* Foreign function [@text delete_SDL_ActiveEvent].
INLINE PROC delete.SDL.ActiveEvent (VAL SDL.ActiveEvent self)
  C.delete.SDL.ActiveEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_KeyboardEvent
--{{{  function SDL_KeyboardEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.type.set (VAL SDL.KeyboardEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_KeyboardEvent_type_set].
INLINE PROC SDL.KeyboardEvent.type.set (VAL SDL.KeyboardEvent self, VAL BYTE type)
  C.SDL.KeyboardEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_KeyboardEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.type.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_KeyboardEvent_type_get].
INLINE PROC SDL.KeyboardEvent.type.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value)
  C.SDL.KeyboardEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_KeyboardEvent_which_set
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.which.set (VAL SDL.KeyboardEvent self, VAL BYTE which) = 0"
--* Foreign function [@text SDL_KeyboardEvent_which_set].
INLINE PROC SDL.KeyboardEvent.which.set (VAL SDL.KeyboardEvent self, VAL BYTE which)
  C.SDL.KeyboardEvent.which.set (self, which)
:
--}}}
--{{{  function SDL_KeyboardEvent_which_get
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.which.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_KeyboardEvent_which_get].
INLINE PROC SDL.KeyboardEvent.which.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value)
  C.SDL.KeyboardEvent.which.get (self, return.value)
:
--}}}
--{{{  function SDL_KeyboardEvent_state_set
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.state.set (VAL SDL.KeyboardEvent self, VAL BYTE state) = 0"
--* Foreign function [@text SDL_KeyboardEvent_state_set].
INLINE PROC SDL.KeyboardEvent.state.set (VAL SDL.KeyboardEvent self, VAL BYTE state)
  C.SDL.KeyboardEvent.state.set (self, state)
:
--}}}
--{{{  function SDL_KeyboardEvent_state_get
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.state.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_KeyboardEvent_state_get].
INLINE PROC SDL.KeyboardEvent.state.get (VAL SDL.KeyboardEvent self, RESULT BYTE return.value)
  C.SDL.KeyboardEvent.state.get (self, return.value)
:
--}}}
--{{{  function SDL_KeyboardEvent_keysym_set
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.keysym.set (VAL SDL.KeyboardEvent self, VAL SDL.keysym keysym) = 0"
--* Foreign function [@text SDL_KeyboardEvent_keysym_set].
INLINE PROC SDL.KeyboardEvent.keysym.set (VAL SDL.KeyboardEvent self, VAL SDL.keysym keysym)
  C.SDL.KeyboardEvent.keysym.set (self, keysym)
:
--}}}
--{{{  function SDL_KeyboardEvent_keysym_get
#PRAGMA EXTERNAL "PROC C.SDL.KeyboardEvent.keysym.get (VAL SDL.KeyboardEvent self, RESULT SDL.keysym return.value) = 0"
--* Foreign function [@text SDL_KeyboardEvent_keysym_get].
INLINE PROC SDL.KeyboardEvent.keysym.get (VAL SDL.KeyboardEvent self, RESULT SDL.keysym return.value)
  C.SDL.KeyboardEvent.keysym.get (self, return.value)
:
--}}}
--{{{  function new_SDL_KeyboardEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.KeyboardEvent (RESULT SDL.KeyboardEvent return.value) = 0"
--* Foreign function [@text new_SDL_KeyboardEvent].
INLINE PROC new.SDL.KeyboardEvent (RESULT SDL.KeyboardEvent return.value)
  C.new.SDL.KeyboardEvent (return.value)
:
--}}}
--{{{  function delete_SDL_KeyboardEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.KeyboardEvent (VAL SDL.KeyboardEvent self) = 0"
--* Foreign function [@text delete_SDL_KeyboardEvent].
INLINE PROC delete.SDL.KeyboardEvent (VAL SDL.KeyboardEvent self)
  C.delete.SDL.KeyboardEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_MouseMotionEvent
--{{{  function SDL_MouseMotionEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.type.set (VAL SDL.MouseMotionEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_type_set].
INLINE PROC SDL.MouseMotionEvent.type.set (VAL SDL.MouseMotionEvent self, VAL BYTE type)
  C.SDL.MouseMotionEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_MouseMotionEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.type.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_type_get].
INLINE PROC SDL.MouseMotionEvent.type.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value)
  C.SDL.MouseMotionEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseMotionEvent_which_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.which.set (VAL SDL.MouseMotionEvent self, VAL BYTE which) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_which_set].
INLINE PROC SDL.MouseMotionEvent.which.set (VAL SDL.MouseMotionEvent self, VAL BYTE which)
  C.SDL.MouseMotionEvent.which.set (self, which)
:
--}}}
--{{{  function SDL_MouseMotionEvent_which_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.which.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_which_get].
INLINE PROC SDL.MouseMotionEvent.which.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value)
  C.SDL.MouseMotionEvent.which.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseMotionEvent_state_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.state.set (VAL SDL.MouseMotionEvent self, VAL BYTE state) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_state_set].
INLINE PROC SDL.MouseMotionEvent.state.set (VAL SDL.MouseMotionEvent self, VAL BYTE state)
  C.SDL.MouseMotionEvent.state.set (self, state)
:
--}}}
--{{{  function SDL_MouseMotionEvent_state_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.state.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_state_get].
INLINE PROC SDL.MouseMotionEvent.state.get (VAL SDL.MouseMotionEvent self, RESULT BYTE return.value)
  C.SDL.MouseMotionEvent.state.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseMotionEvent_x_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.x.set (VAL SDL.MouseMotionEvent self, VAL INT16 x) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_x_set].
INLINE PROC SDL.MouseMotionEvent.x.set (VAL SDL.MouseMotionEvent self, VAL INT16 x)
  C.SDL.MouseMotionEvent.x.set (self, x)
:
--}}}
--{{{  function SDL_MouseMotionEvent_x_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.x.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_x_get].
INLINE PROC SDL.MouseMotionEvent.x.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)
  C.SDL.MouseMotionEvent.x.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseMotionEvent_y_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.y.set (VAL SDL.MouseMotionEvent self, VAL INT16 y) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_y_set].
INLINE PROC SDL.MouseMotionEvent.y.set (VAL SDL.MouseMotionEvent self, VAL INT16 y)
  C.SDL.MouseMotionEvent.y.set (self, y)
:
--}}}
--{{{  function SDL_MouseMotionEvent_y_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.y.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_y_get].
INLINE PROC SDL.MouseMotionEvent.y.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)
  C.SDL.MouseMotionEvent.y.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseMotionEvent_xrel_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.xrel.set (VAL SDL.MouseMotionEvent self, VAL INT16 xrel) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_xrel_set].
INLINE PROC SDL.MouseMotionEvent.xrel.set (VAL SDL.MouseMotionEvent self, VAL INT16 xrel)
  C.SDL.MouseMotionEvent.xrel.set (self, xrel)
:
--}}}
--{{{  function SDL_MouseMotionEvent_xrel_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.xrel.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_xrel_get].
INLINE PROC SDL.MouseMotionEvent.xrel.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)
  C.SDL.MouseMotionEvent.xrel.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseMotionEvent_yrel_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.yrel.set (VAL SDL.MouseMotionEvent self, VAL INT16 yrel) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_yrel_set].
INLINE PROC SDL.MouseMotionEvent.yrel.set (VAL SDL.MouseMotionEvent self, VAL INT16 yrel)
  C.SDL.MouseMotionEvent.yrel.set (self, yrel)
:
--}}}
--{{{  function SDL_MouseMotionEvent_yrel_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseMotionEvent.yrel.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_MouseMotionEvent_yrel_get].
INLINE PROC SDL.MouseMotionEvent.yrel.get (VAL SDL.MouseMotionEvent self, RESULT INT16 return.value)
  C.SDL.MouseMotionEvent.yrel.get (self, return.value)
:
--}}}
--{{{  function new_SDL_MouseMotionEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.MouseMotionEvent (RESULT SDL.MouseMotionEvent return.value) = 0"
--* Foreign function [@text new_SDL_MouseMotionEvent].
INLINE PROC new.SDL.MouseMotionEvent (RESULT SDL.MouseMotionEvent return.value)
  C.new.SDL.MouseMotionEvent (return.value)
:
--}}}
--{{{  function delete_SDL_MouseMotionEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.MouseMotionEvent (VAL SDL.MouseMotionEvent self) = 0"
--* Foreign function [@text delete_SDL_MouseMotionEvent].
INLINE PROC delete.SDL.MouseMotionEvent (VAL SDL.MouseMotionEvent self)
  C.delete.SDL.MouseMotionEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_MouseButtonEvent
--{{{  function SDL_MouseButtonEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.type.set (VAL SDL.MouseButtonEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_type_set].
INLINE PROC SDL.MouseButtonEvent.type.set (VAL SDL.MouseButtonEvent self, VAL BYTE type)
  C.SDL.MouseButtonEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_MouseButtonEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.type.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_type_get].
INLINE PROC SDL.MouseButtonEvent.type.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)
  C.SDL.MouseButtonEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseButtonEvent_which_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.which.set (VAL SDL.MouseButtonEvent self, VAL BYTE which) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_which_set].
INLINE PROC SDL.MouseButtonEvent.which.set (VAL SDL.MouseButtonEvent self, VAL BYTE which)
  C.SDL.MouseButtonEvent.which.set (self, which)
:
--}}}
--{{{  function SDL_MouseButtonEvent_which_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.which.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_which_get].
INLINE PROC SDL.MouseButtonEvent.which.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)
  C.SDL.MouseButtonEvent.which.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseButtonEvent_button_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.button.set (VAL SDL.MouseButtonEvent self, VAL BYTE button) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_button_set].
INLINE PROC SDL.MouseButtonEvent.button.set (VAL SDL.MouseButtonEvent self, VAL BYTE button)
  C.SDL.MouseButtonEvent.button.set (self, button)
:
--}}}
--{{{  function SDL_MouseButtonEvent_button_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.button.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_button_get].
INLINE PROC SDL.MouseButtonEvent.button.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)
  C.SDL.MouseButtonEvent.button.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseButtonEvent_state_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.state.set (VAL SDL.MouseButtonEvent self, VAL BYTE state) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_state_set].
INLINE PROC SDL.MouseButtonEvent.state.set (VAL SDL.MouseButtonEvent self, VAL BYTE state)
  C.SDL.MouseButtonEvent.state.set (self, state)
:
--}}}
--{{{  function SDL_MouseButtonEvent_state_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.state.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_state_get].
INLINE PROC SDL.MouseButtonEvent.state.get (VAL SDL.MouseButtonEvent self, RESULT BYTE return.value)
  C.SDL.MouseButtonEvent.state.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseButtonEvent_x_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.x.set (VAL SDL.MouseButtonEvent self, VAL INT16 x) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_x_set].
INLINE PROC SDL.MouseButtonEvent.x.set (VAL SDL.MouseButtonEvent self, VAL INT16 x)
  C.SDL.MouseButtonEvent.x.set (self, x)
:
--}}}
--{{{  function SDL_MouseButtonEvent_x_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.x.get (VAL SDL.MouseButtonEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_x_get].
INLINE PROC SDL.MouseButtonEvent.x.get (VAL SDL.MouseButtonEvent self, RESULT INT16 return.value)
  C.SDL.MouseButtonEvent.x.get (self, return.value)
:
--}}}
--{{{  function SDL_MouseButtonEvent_y_set
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.y.set (VAL SDL.MouseButtonEvent self, VAL INT16 y) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_y_set].
INLINE PROC SDL.MouseButtonEvent.y.set (VAL SDL.MouseButtonEvent self, VAL INT16 y)
  C.SDL.MouseButtonEvent.y.set (self, y)
:
--}}}
--{{{  function SDL_MouseButtonEvent_y_get
#PRAGMA EXTERNAL "PROC C.SDL.MouseButtonEvent.y.get (VAL SDL.MouseButtonEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_MouseButtonEvent_y_get].
INLINE PROC SDL.MouseButtonEvent.y.get (VAL SDL.MouseButtonEvent self, RESULT INT16 return.value)
  C.SDL.MouseButtonEvent.y.get (self, return.value)
:
--}}}
--{{{  function new_SDL_MouseButtonEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.MouseButtonEvent (RESULT SDL.MouseButtonEvent return.value) = 0"
--* Foreign function [@text new_SDL_MouseButtonEvent].
INLINE PROC new.SDL.MouseButtonEvent (RESULT SDL.MouseButtonEvent return.value)
  C.new.SDL.MouseButtonEvent (return.value)
:
--}}}
--{{{  function delete_SDL_MouseButtonEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.MouseButtonEvent (VAL SDL.MouseButtonEvent self) = 0"
--* Foreign function [@text delete_SDL_MouseButtonEvent].
INLINE PROC delete.SDL.MouseButtonEvent (VAL SDL.MouseButtonEvent self)
  C.delete.SDL.MouseButtonEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_JoyAxisEvent
--{{{  function SDL_JoyAxisEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.type.set (VAL SDL.JoyAxisEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_type_set].
INLINE PROC SDL.JoyAxisEvent.type.set (VAL SDL.JoyAxisEvent self, VAL BYTE type)
  C.SDL.JoyAxisEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_JoyAxisEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.type.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_type_get].
INLINE PROC SDL.JoyAxisEvent.type.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value)
  C.SDL.JoyAxisEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyAxisEvent_which_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.which.set (VAL SDL.JoyAxisEvent self, VAL BYTE which) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_which_set].
INLINE PROC SDL.JoyAxisEvent.which.set (VAL SDL.JoyAxisEvent self, VAL BYTE which)
  C.SDL.JoyAxisEvent.which.set (self, which)
:
--}}}
--{{{  function SDL_JoyAxisEvent_which_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.which.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_which_get].
INLINE PROC SDL.JoyAxisEvent.which.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value)
  C.SDL.JoyAxisEvent.which.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyAxisEvent_axis_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.axis.set (VAL SDL.JoyAxisEvent self, VAL BYTE axis) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_axis_set].
INLINE PROC SDL.JoyAxisEvent.axis.set (VAL SDL.JoyAxisEvent self, VAL BYTE axis)
  C.SDL.JoyAxisEvent.axis.set (self, axis)
:
--}}}
--{{{  function SDL_JoyAxisEvent_axis_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.axis.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_axis_get].
INLINE PROC SDL.JoyAxisEvent.axis.get (VAL SDL.JoyAxisEvent self, RESULT BYTE return.value)
  C.SDL.JoyAxisEvent.axis.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyAxisEvent_value_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.value.set (VAL SDL.JoyAxisEvent self, VAL INT16 value) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_value_set].
INLINE PROC SDL.JoyAxisEvent.value.set (VAL SDL.JoyAxisEvent self, VAL INT16 value)
  C.SDL.JoyAxisEvent.value.set (self, value)
:
--}}}
--{{{  function SDL_JoyAxisEvent_value_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyAxisEvent.value.get (VAL SDL.JoyAxisEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_JoyAxisEvent_value_get].
INLINE PROC SDL.JoyAxisEvent.value.get (VAL SDL.JoyAxisEvent self, RESULT INT16 return.value)
  C.SDL.JoyAxisEvent.value.get (self, return.value)
:
--}}}
--{{{  function new_SDL_JoyAxisEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.JoyAxisEvent (RESULT SDL.JoyAxisEvent return.value) = 0"
--* Foreign function [@text new_SDL_JoyAxisEvent].
INLINE PROC new.SDL.JoyAxisEvent (RESULT SDL.JoyAxisEvent return.value)
  C.new.SDL.JoyAxisEvent (return.value)
:
--}}}
--{{{  function delete_SDL_JoyAxisEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.JoyAxisEvent (VAL SDL.JoyAxisEvent self) = 0"
--* Foreign function [@text delete_SDL_JoyAxisEvent].
INLINE PROC delete.SDL.JoyAxisEvent (VAL SDL.JoyAxisEvent self)
  C.delete.SDL.JoyAxisEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_JoyBallEvent
--{{{  function SDL_JoyBallEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.type.set (VAL SDL.JoyBallEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_JoyBallEvent_type_set].
INLINE PROC SDL.JoyBallEvent.type.set (VAL SDL.JoyBallEvent self, VAL BYTE type)
  C.SDL.JoyBallEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_JoyBallEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.type.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyBallEvent_type_get].
INLINE PROC SDL.JoyBallEvent.type.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value)
  C.SDL.JoyBallEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyBallEvent_which_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.which.set (VAL SDL.JoyBallEvent self, VAL BYTE which) = 0"
--* Foreign function [@text SDL_JoyBallEvent_which_set].
INLINE PROC SDL.JoyBallEvent.which.set (VAL SDL.JoyBallEvent self, VAL BYTE which)
  C.SDL.JoyBallEvent.which.set (self, which)
:
--}}}
--{{{  function SDL_JoyBallEvent_which_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.which.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyBallEvent_which_get].
INLINE PROC SDL.JoyBallEvent.which.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value)
  C.SDL.JoyBallEvent.which.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyBallEvent_ball_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.ball.set (VAL SDL.JoyBallEvent self, VAL BYTE ball) = 0"
--* Foreign function [@text SDL_JoyBallEvent_ball_set].
INLINE PROC SDL.JoyBallEvent.ball.set (VAL SDL.JoyBallEvent self, VAL BYTE ball)
  C.SDL.JoyBallEvent.ball.set (self, ball)
:
--}}}
--{{{  function SDL_JoyBallEvent_ball_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.ball.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyBallEvent_ball_get].
INLINE PROC SDL.JoyBallEvent.ball.get (VAL SDL.JoyBallEvent self, RESULT BYTE return.value)
  C.SDL.JoyBallEvent.ball.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyBallEvent_xrel_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.xrel.set (VAL SDL.JoyBallEvent self, VAL INT16 xrel) = 0"
--* Foreign function [@text SDL_JoyBallEvent_xrel_set].
INLINE PROC SDL.JoyBallEvent.xrel.set (VAL SDL.JoyBallEvent self, VAL INT16 xrel)
  C.SDL.JoyBallEvent.xrel.set (self, xrel)
:
--}}}
--{{{  function SDL_JoyBallEvent_xrel_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.xrel.get (VAL SDL.JoyBallEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_JoyBallEvent_xrel_get].
INLINE PROC SDL.JoyBallEvent.xrel.get (VAL SDL.JoyBallEvent self, RESULT INT16 return.value)
  C.SDL.JoyBallEvent.xrel.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyBallEvent_yrel_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.yrel.set (VAL SDL.JoyBallEvent self, VAL INT16 yrel) = 0"
--* Foreign function [@text SDL_JoyBallEvent_yrel_set].
INLINE PROC SDL.JoyBallEvent.yrel.set (VAL SDL.JoyBallEvent self, VAL INT16 yrel)
  C.SDL.JoyBallEvent.yrel.set (self, yrel)
:
--}}}
--{{{  function SDL_JoyBallEvent_yrel_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyBallEvent.yrel.get (VAL SDL.JoyBallEvent self, RESULT INT16 return.value) = 0"
--* Foreign function [@text SDL_JoyBallEvent_yrel_get].
INLINE PROC SDL.JoyBallEvent.yrel.get (VAL SDL.JoyBallEvent self, RESULT INT16 return.value)
  C.SDL.JoyBallEvent.yrel.get (self, return.value)
:
--}}}
--{{{  function new_SDL_JoyBallEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.JoyBallEvent (RESULT SDL.JoyBallEvent return.value) = 0"
--* Foreign function [@text new_SDL_JoyBallEvent].
INLINE PROC new.SDL.JoyBallEvent (RESULT SDL.JoyBallEvent return.value)
  C.new.SDL.JoyBallEvent (return.value)
:
--}}}
--{{{  function delete_SDL_JoyBallEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.JoyBallEvent (VAL SDL.JoyBallEvent self) = 0"
--* Foreign function [@text delete_SDL_JoyBallEvent].
INLINE PROC delete.SDL.JoyBallEvent (VAL SDL.JoyBallEvent self)
  C.delete.SDL.JoyBallEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_JoyHatEvent
--{{{  function SDL_JoyHatEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.type.set (VAL SDL.JoyHatEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_JoyHatEvent_type_set].
INLINE PROC SDL.JoyHatEvent.type.set (VAL SDL.JoyHatEvent self, VAL BYTE type)
  C.SDL.JoyHatEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_JoyHatEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.type.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyHatEvent_type_get].
INLINE PROC SDL.JoyHatEvent.type.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)
  C.SDL.JoyHatEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyHatEvent_which_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.which.set (VAL SDL.JoyHatEvent self, VAL BYTE which) = 0"
--* Foreign function [@text SDL_JoyHatEvent_which_set].
INLINE PROC SDL.JoyHatEvent.which.set (VAL SDL.JoyHatEvent self, VAL BYTE which)
  C.SDL.JoyHatEvent.which.set (self, which)
:
--}}}
--{{{  function SDL_JoyHatEvent_which_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.which.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyHatEvent_which_get].
INLINE PROC SDL.JoyHatEvent.which.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)
  C.SDL.JoyHatEvent.which.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyHatEvent_hat_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.hat.set (VAL SDL.JoyHatEvent self, VAL BYTE hat) = 0"
--* Foreign function [@text SDL_JoyHatEvent_hat_set].
INLINE PROC SDL.JoyHatEvent.hat.set (VAL SDL.JoyHatEvent self, VAL BYTE hat)
  C.SDL.JoyHatEvent.hat.set (self, hat)
:
--}}}
--{{{  function SDL_JoyHatEvent_hat_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.hat.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyHatEvent_hat_get].
INLINE PROC SDL.JoyHatEvent.hat.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)
  C.SDL.JoyHatEvent.hat.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyHatEvent_value_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.value.set (VAL SDL.JoyHatEvent self, VAL BYTE value) = 0"
--* Foreign function [@text SDL_JoyHatEvent_value_set].
INLINE PROC SDL.JoyHatEvent.value.set (VAL SDL.JoyHatEvent self, VAL BYTE value)
  C.SDL.JoyHatEvent.value.set (self, value)
:
--}}}
--{{{  function SDL_JoyHatEvent_value_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyHatEvent.value.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyHatEvent_value_get].
INLINE PROC SDL.JoyHatEvent.value.get (VAL SDL.JoyHatEvent self, RESULT BYTE return.value)
  C.SDL.JoyHatEvent.value.get (self, return.value)
:
--}}}
--{{{  function new_SDL_JoyHatEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.JoyHatEvent (RESULT SDL.JoyHatEvent return.value) = 0"
--* Foreign function [@text new_SDL_JoyHatEvent].
INLINE PROC new.SDL.JoyHatEvent (RESULT SDL.JoyHatEvent return.value)
  C.new.SDL.JoyHatEvent (return.value)
:
--}}}
--{{{  function delete_SDL_JoyHatEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.JoyHatEvent (VAL SDL.JoyHatEvent self) = 0"
--* Foreign function [@text delete_SDL_JoyHatEvent].
INLINE PROC delete.SDL.JoyHatEvent (VAL SDL.JoyHatEvent self)
  C.delete.SDL.JoyHatEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_JoyButtonEvent
--{{{  function SDL_JoyButtonEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.type.set (VAL SDL.JoyButtonEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_type_set].
INLINE PROC SDL.JoyButtonEvent.type.set (VAL SDL.JoyButtonEvent self, VAL BYTE type)
  C.SDL.JoyButtonEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_JoyButtonEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.type.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_type_get].
INLINE PROC SDL.JoyButtonEvent.type.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)
  C.SDL.JoyButtonEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyButtonEvent_which_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.which.set (VAL SDL.JoyButtonEvent self, VAL BYTE which) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_which_set].
INLINE PROC SDL.JoyButtonEvent.which.set (VAL SDL.JoyButtonEvent self, VAL BYTE which)
  C.SDL.JoyButtonEvent.which.set (self, which)
:
--}}}
--{{{  function SDL_JoyButtonEvent_which_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.which.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_which_get].
INLINE PROC SDL.JoyButtonEvent.which.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)
  C.SDL.JoyButtonEvent.which.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyButtonEvent_button_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.button.set (VAL SDL.JoyButtonEvent self, VAL BYTE button) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_button_set].
INLINE PROC SDL.JoyButtonEvent.button.set (VAL SDL.JoyButtonEvent self, VAL BYTE button)
  C.SDL.JoyButtonEvent.button.set (self, button)
:
--}}}
--{{{  function SDL_JoyButtonEvent_button_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.button.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_button_get].
INLINE PROC SDL.JoyButtonEvent.button.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)
  C.SDL.JoyButtonEvent.button.get (self, return.value)
:
--}}}
--{{{  function SDL_JoyButtonEvent_state_set
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.state.set (VAL SDL.JoyButtonEvent self, VAL BYTE state) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_state_set].
INLINE PROC SDL.JoyButtonEvent.state.set (VAL SDL.JoyButtonEvent self, VAL BYTE state)
  C.SDL.JoyButtonEvent.state.set (self, state)
:
--}}}
--{{{  function SDL_JoyButtonEvent_state_get
#PRAGMA EXTERNAL "PROC C.SDL.JoyButtonEvent.state.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_JoyButtonEvent_state_get].
INLINE PROC SDL.JoyButtonEvent.state.get (VAL SDL.JoyButtonEvent self, RESULT BYTE return.value)
  C.SDL.JoyButtonEvent.state.get (self, return.value)
:
--}}}
--{{{  function new_SDL_JoyButtonEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.JoyButtonEvent (RESULT SDL.JoyButtonEvent return.value) = 0"
--* Foreign function [@text new_SDL_JoyButtonEvent].
INLINE PROC new.SDL.JoyButtonEvent (RESULT SDL.JoyButtonEvent return.value)
  C.new.SDL.JoyButtonEvent (return.value)
:
--}}}
--{{{  function delete_SDL_JoyButtonEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.JoyButtonEvent (VAL SDL.JoyButtonEvent self) = 0"
--* Foreign function [@text delete_SDL_JoyButtonEvent].
INLINE PROC delete.SDL.JoyButtonEvent (VAL SDL.JoyButtonEvent self)
  C.delete.SDL.JoyButtonEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_ResizeEvent
--{{{  function SDL_ResizeEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.ResizeEvent.type.set (VAL SDL.ResizeEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_ResizeEvent_type_set].
INLINE PROC SDL.ResizeEvent.type.set (VAL SDL.ResizeEvent self, VAL BYTE type)
  C.SDL.ResizeEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_ResizeEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.ResizeEvent.type.get (VAL SDL.ResizeEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_ResizeEvent_type_get].
INLINE PROC SDL.ResizeEvent.type.get (VAL SDL.ResizeEvent self, RESULT BYTE return.value)
  C.SDL.ResizeEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_ResizeEvent_w_set
#PRAGMA EXTERNAL "PROC C.SDL.ResizeEvent.w.set (VAL SDL.ResizeEvent self, VAL INT w) = 0"
--* Foreign function [@text SDL_ResizeEvent_w_set].
INLINE PROC SDL.ResizeEvent.w.set (VAL SDL.ResizeEvent self, VAL INT w)
  C.SDL.ResizeEvent.w.set (self, w)
:
--}}}
--{{{  function SDL_ResizeEvent_w_get
#PRAGMA EXTERNAL "PROC C.SDL.ResizeEvent.w.get (VAL SDL.ResizeEvent self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_ResizeEvent_w_get].
INLINE PROC SDL.ResizeEvent.w.get (VAL SDL.ResizeEvent self, RESULT INT return.value)
  C.SDL.ResizeEvent.w.get (self, return.value)
:
--}}}
--{{{  function SDL_ResizeEvent_h_set
#PRAGMA EXTERNAL "PROC C.SDL.ResizeEvent.h.set (VAL SDL.ResizeEvent self, VAL INT h) = 0"
--* Foreign function [@text SDL_ResizeEvent_h_set].
INLINE PROC SDL.ResizeEvent.h.set (VAL SDL.ResizeEvent self, VAL INT h)
  C.SDL.ResizeEvent.h.set (self, h)
:
--}}}
--{{{  function SDL_ResizeEvent_h_get
#PRAGMA EXTERNAL "PROC C.SDL.ResizeEvent.h.get (VAL SDL.ResizeEvent self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_ResizeEvent_h_get].
INLINE PROC SDL.ResizeEvent.h.get (VAL SDL.ResizeEvent self, RESULT INT return.value)
  C.SDL.ResizeEvent.h.get (self, return.value)
:
--}}}
--{{{  function new_SDL_ResizeEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.ResizeEvent (RESULT SDL.ResizeEvent return.value) = 0"
--* Foreign function [@text new_SDL_ResizeEvent].
INLINE PROC new.SDL.ResizeEvent (RESULT SDL.ResizeEvent return.value)
  C.new.SDL.ResizeEvent (return.value)
:
--}}}
--{{{  function delete_SDL_ResizeEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.ResizeEvent (VAL SDL.ResizeEvent self) = 0"
--* Foreign function [@text delete_SDL_ResizeEvent].
INLINE PROC delete.SDL.ResizeEvent (VAL SDL.ResizeEvent self)
  C.delete.SDL.ResizeEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_ExposeEvent
--{{{  function SDL_ExposeEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.ExposeEvent.type.set (VAL SDL.ExposeEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_ExposeEvent_type_set].
INLINE PROC SDL.ExposeEvent.type.set (VAL SDL.ExposeEvent self, VAL BYTE type)
  C.SDL.ExposeEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_ExposeEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.ExposeEvent.type.get (VAL SDL.ExposeEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_ExposeEvent_type_get].
INLINE PROC SDL.ExposeEvent.type.get (VAL SDL.ExposeEvent self, RESULT BYTE return.value)
  C.SDL.ExposeEvent.type.get (self, return.value)
:
--}}}
--{{{  function new_SDL_ExposeEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.ExposeEvent (RESULT SDL.ExposeEvent return.value) = 0"
--* Foreign function [@text new_SDL_ExposeEvent].
INLINE PROC new.SDL.ExposeEvent (RESULT SDL.ExposeEvent return.value)
  C.new.SDL.ExposeEvent (return.value)
:
--}}}
--{{{  function delete_SDL_ExposeEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.ExposeEvent (VAL SDL.ExposeEvent self) = 0"
--* Foreign function [@text delete_SDL_ExposeEvent].
INLINE PROC delete.SDL.ExposeEvent (VAL SDL.ExposeEvent self)
  C.delete.SDL.ExposeEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_QuitEvent
--{{{  function SDL_QuitEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.QuitEvent.type.set (VAL SDL.QuitEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_QuitEvent_type_set].
INLINE PROC SDL.QuitEvent.type.set (VAL SDL.QuitEvent self, VAL BYTE type)
  C.SDL.QuitEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_QuitEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.QuitEvent.type.get (VAL SDL.QuitEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_QuitEvent_type_get].
INLINE PROC SDL.QuitEvent.type.get (VAL SDL.QuitEvent self, RESULT BYTE return.value)
  C.SDL.QuitEvent.type.get (self, return.value)
:
--}}}
--{{{  function new_SDL_QuitEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.QuitEvent (RESULT SDL.QuitEvent return.value) = 0"
--* Foreign function [@text new_SDL_QuitEvent].
INLINE PROC new.SDL.QuitEvent (RESULT SDL.QuitEvent return.value)
  C.new.SDL.QuitEvent (return.value)
:
--}}}
--{{{  function delete_SDL_QuitEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.QuitEvent (VAL SDL.QuitEvent self) = 0"
--* Foreign function [@text delete_SDL_QuitEvent].
INLINE PROC delete.SDL.QuitEvent (VAL SDL.QuitEvent self)
  C.delete.SDL.QuitEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_UserEvent
--{{{  function SDL_UserEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.type.set (VAL SDL.UserEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_UserEvent_type_set].
INLINE PROC SDL.UserEvent.type.set (VAL SDL.UserEvent self, VAL BYTE type)
  C.SDL.UserEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_UserEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.type.get (VAL SDL.UserEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_UserEvent_type_get].
INLINE PROC SDL.UserEvent.type.get (VAL SDL.UserEvent self, RESULT BYTE return.value)
  C.SDL.UserEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_UserEvent_code_set
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.code.set (VAL SDL.UserEvent self, VAL INT code) = 0"
--* Foreign function [@text SDL_UserEvent_code_set].
INLINE PROC SDL.UserEvent.code.set (VAL SDL.UserEvent self, VAL INT code)
  C.SDL.UserEvent.code.set (self, code)
:
--}}}
--{{{  function SDL_UserEvent_code_get
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.code.get (VAL SDL.UserEvent self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_UserEvent_code_get].
INLINE PROC SDL.UserEvent.code.get (VAL SDL.UserEvent self, RESULT INT return.value)
  C.SDL.UserEvent.code.get (self, return.value)
:
--}}}
--{{{  function SDL_UserEvent_data1_set
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.data1.set (VAL SDL.UserEvent self, VAL INT data1) = 0"
--* Foreign function [@text SDL_UserEvent_data1_set].
INLINE PROC SDL.UserEvent.data1.set (VAL SDL.UserEvent self, VAL INT data1)
  C.SDL.UserEvent.data1.set (self, data1)
:
--}}}
--{{{  function SDL_UserEvent_data1_get
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.data1.get (VAL SDL.UserEvent self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_UserEvent_data1_get].
INLINE PROC SDL.UserEvent.data1.get (VAL SDL.UserEvent self, RESULT INT return.value)
  C.SDL.UserEvent.data1.get (self, return.value)
:
--}}}
--{{{  function SDL_UserEvent_data2_set
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.data2.set (VAL SDL.UserEvent self, VAL INT data2) = 0"
--* Foreign function [@text SDL_UserEvent_data2_set].
INLINE PROC SDL.UserEvent.data2.set (VAL SDL.UserEvent self, VAL INT data2)
  C.SDL.UserEvent.data2.set (self, data2)
:
--}}}
--{{{  function SDL_UserEvent_data2_get
#PRAGMA EXTERNAL "PROC C.SDL.UserEvent.data2.get (VAL SDL.UserEvent self, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_UserEvent_data2_get].
INLINE PROC SDL.UserEvent.data2.get (VAL SDL.UserEvent self, RESULT INT return.value)
  C.SDL.UserEvent.data2.get (self, return.value)
:
--}}}
--{{{  function new_SDL_UserEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.UserEvent (RESULT SDL.UserEvent return.value) = 0"
--* Foreign function [@text new_SDL_UserEvent].
INLINE PROC new.SDL.UserEvent (RESULT SDL.UserEvent return.value)
  C.new.SDL.UserEvent (return.value)
:
--}}}
--{{{  function delete_SDL_UserEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.UserEvent (VAL SDL.UserEvent self) = 0"
--* Foreign function [@text delete_SDL_UserEvent].
INLINE PROC delete.SDL.UserEvent (VAL SDL.UserEvent self)
  C.delete.SDL.UserEvent (self)
:
--}}}
--}}}
--{{{  struct SDL_SysWMEvent
--{{{  function SDL_SysWMEvent_type_set
#PRAGMA EXTERNAL "PROC C.SDL.SysWMEvent.type.set (VAL SDL.SysWMEvent self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_SysWMEvent_type_set].
INLINE PROC SDL.SysWMEvent.type.set (VAL SDL.SysWMEvent self, VAL BYTE type)
  C.SDL.SysWMEvent.type.set (self, type)
:
--}}}
--{{{  function SDL_SysWMEvent_type_get
#PRAGMA EXTERNAL "PROC C.SDL.SysWMEvent.type.get (VAL SDL.SysWMEvent self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_SysWMEvent_type_get].
INLINE PROC SDL.SysWMEvent.type.get (VAL SDL.SysWMEvent self, RESULT BYTE return.value)
  C.SDL.SysWMEvent.type.get (self, return.value)
:
--}}}
--{{{  function SDL_SysWMEvent_msg_set
#PRAGMA EXTERNAL "PROC C.SDL.SysWMEvent.msg.set (VAL SDL.SysWMEvent self, VAL SDL.SysWMmsg msg) = 0"
--* Foreign function [@text SDL_SysWMEvent_msg_set].
INLINE PROC SDL.SysWMEvent.msg.set (VAL SDL.SysWMEvent self, VAL SDL.SysWMmsg msg)
  C.SDL.SysWMEvent.msg.set (self, msg)
:
--}}}
--{{{  function SDL_SysWMEvent_msg_get
#PRAGMA EXTERNAL "PROC C.SDL.SysWMEvent.msg.get (VAL SDL.SysWMEvent self, RESULT SDL.SysWMmsg return.value) = 0"
--* Foreign function [@text SDL_SysWMEvent_msg_get].
INLINE PROC SDL.SysWMEvent.msg.get (VAL SDL.SysWMEvent self, RESULT SDL.SysWMmsg return.value)
  C.SDL.SysWMEvent.msg.get (self, return.value)
:
--}}}
--{{{  function new_SDL_SysWMEvent
#PRAGMA EXTERNAL "PROC C.new.SDL.SysWMEvent (RESULT SDL.SysWMEvent return.value) = 0"
--* Foreign function [@text new_SDL_SysWMEvent].
INLINE PROC new.SDL.SysWMEvent (RESULT SDL.SysWMEvent return.value)
  C.new.SDL.SysWMEvent (return.value)
:
--}}}
--{{{  function delete_SDL_SysWMEvent
#PRAGMA EXTERNAL "PROC C.delete.SDL.SysWMEvent (VAL SDL.SysWMEvent self) = 0"
--* Foreign function [@text delete_SDL_SysWMEvent].
INLINE PROC delete.SDL.SysWMEvent (VAL SDL.SysWMEvent self)
  C.delete.SDL.SysWMEvent (self)
:
--}}}
--}}}
--{{{  union SDL_Event
--{{{  function SDL_Event_type_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.type.set (VAL SDL.Event self, VAL BYTE type) = 0"
--* Foreign function [@text SDL_Event_type_set].
INLINE PROC SDL.Event.type.set (VAL SDL.Event self, VAL BYTE type)
  C.SDL.Event.type.set (self, type)
:
--}}}
--{{{  function SDL_Event_type_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.type.get (VAL SDL.Event self, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_Event_type_get].
INLINE PROC SDL.Event.type.get (VAL SDL.Event self, RESULT BYTE return.value)
  C.SDL.Event.type.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_active_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.active.set (VAL SDL.Event self, VAL SDL.ActiveEvent active) = 0"
--* Foreign function [@text SDL_Event_active_set].
INLINE PROC SDL.Event.active.set (VAL SDL.Event self, VAL SDL.ActiveEvent active)
  C.SDL.Event.active.set (self, active)
:
--}}}
--{{{  function SDL_Event_active_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.active.get (VAL SDL.Event self, RESULT SDL.ActiveEvent return.value) = 0"
--* Foreign function [@text SDL_Event_active_get].
INLINE PROC SDL.Event.active.get (VAL SDL.Event self, RESULT SDL.ActiveEvent return.value)
  C.SDL.Event.active.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_key_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.key.set (VAL SDL.Event self, VAL SDL.KeyboardEvent key) = 0"
--* Foreign function [@text SDL_Event_key_set].
INLINE PROC SDL.Event.key.set (VAL SDL.Event self, VAL SDL.KeyboardEvent key)
  C.SDL.Event.key.set (self, key)
:
--}}}
--{{{  function SDL_Event_key_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.key.get (VAL SDL.Event self, RESULT SDL.KeyboardEvent return.value) = 0"
--* Foreign function [@text SDL_Event_key_get].
INLINE PROC SDL.Event.key.get (VAL SDL.Event self, RESULT SDL.KeyboardEvent return.value)
  C.SDL.Event.key.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_motion_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.motion.set (VAL SDL.Event self, VAL SDL.MouseMotionEvent motion) = 0"
--* Foreign function [@text SDL_Event_motion_set].
INLINE PROC SDL.Event.motion.set (VAL SDL.Event self, VAL SDL.MouseMotionEvent motion)
  C.SDL.Event.motion.set (self, motion)
:
--}}}
--{{{  function SDL_Event_motion_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.motion.get (VAL SDL.Event self, RESULT SDL.MouseMotionEvent return.value) = 0"
--* Foreign function [@text SDL_Event_motion_get].
INLINE PROC SDL.Event.motion.get (VAL SDL.Event self, RESULT SDL.MouseMotionEvent return.value)
  C.SDL.Event.motion.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_button_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.button.set (VAL SDL.Event self, VAL SDL.MouseButtonEvent button) = 0"
--* Foreign function [@text SDL_Event_button_set].
INLINE PROC SDL.Event.button.set (VAL SDL.Event self, VAL SDL.MouseButtonEvent button)
  C.SDL.Event.button.set (self, button)
:
--}}}
--{{{  function SDL_Event_button_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.button.get (VAL SDL.Event self, RESULT SDL.MouseButtonEvent return.value) = 0"
--* Foreign function [@text SDL_Event_button_get].
INLINE PROC SDL.Event.button.get (VAL SDL.Event self, RESULT SDL.MouseButtonEvent return.value)
  C.SDL.Event.button.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_jaxis_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.jaxis.set (VAL SDL.Event self, VAL SDL.JoyAxisEvent jaxis) = 0"
--* Foreign function [@text SDL_Event_jaxis_set].
INLINE PROC SDL.Event.jaxis.set (VAL SDL.Event self, VAL SDL.JoyAxisEvent jaxis)
  C.SDL.Event.jaxis.set (self, jaxis)
:
--}}}
--{{{  function SDL_Event_jaxis_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.jaxis.get (VAL SDL.Event self, RESULT SDL.JoyAxisEvent return.value) = 0"
--* Foreign function [@text SDL_Event_jaxis_get].
INLINE PROC SDL.Event.jaxis.get (VAL SDL.Event self, RESULT SDL.JoyAxisEvent return.value)
  C.SDL.Event.jaxis.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_jball_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.jball.set (VAL SDL.Event self, VAL SDL.JoyBallEvent jball) = 0"
--* Foreign function [@text SDL_Event_jball_set].
INLINE PROC SDL.Event.jball.set (VAL SDL.Event self, VAL SDL.JoyBallEvent jball)
  C.SDL.Event.jball.set (self, jball)
:
--}}}
--{{{  function SDL_Event_jball_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.jball.get (VAL SDL.Event self, RESULT SDL.JoyBallEvent return.value) = 0"
--* Foreign function [@text SDL_Event_jball_get].
INLINE PROC SDL.Event.jball.get (VAL SDL.Event self, RESULT SDL.JoyBallEvent return.value)
  C.SDL.Event.jball.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_jhat_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.jhat.set (VAL SDL.Event self, VAL SDL.JoyHatEvent jhat) = 0"
--* Foreign function [@text SDL_Event_jhat_set].
INLINE PROC SDL.Event.jhat.set (VAL SDL.Event self, VAL SDL.JoyHatEvent jhat)
  C.SDL.Event.jhat.set (self, jhat)
:
--}}}
--{{{  function SDL_Event_jhat_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.jhat.get (VAL SDL.Event self, RESULT SDL.JoyHatEvent return.value) = 0"
--* Foreign function [@text SDL_Event_jhat_get].
INLINE PROC SDL.Event.jhat.get (VAL SDL.Event self, RESULT SDL.JoyHatEvent return.value)
  C.SDL.Event.jhat.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_jbutton_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.jbutton.set (VAL SDL.Event self, VAL SDL.JoyButtonEvent jbutton) = 0"
--* Foreign function [@text SDL_Event_jbutton_set].
INLINE PROC SDL.Event.jbutton.set (VAL SDL.Event self, VAL SDL.JoyButtonEvent jbutton)
  C.SDL.Event.jbutton.set (self, jbutton)
:
--}}}
--{{{  function SDL_Event_jbutton_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.jbutton.get (VAL SDL.Event self, RESULT SDL.JoyButtonEvent return.value) = 0"
--* Foreign function [@text SDL_Event_jbutton_get].
INLINE PROC SDL.Event.jbutton.get (VAL SDL.Event self, RESULT SDL.JoyButtonEvent return.value)
  C.SDL.Event.jbutton.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_resize_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.resize.set (VAL SDL.Event self, VAL SDL.ResizeEvent resize) = 0"
--* Foreign function [@text SDL_Event_resize_set].
INLINE PROC SDL.Event.resize.set (VAL SDL.Event self, VAL SDL.ResizeEvent resize)
  C.SDL.Event.resize.set (self, resize)
:
--}}}
--{{{  function SDL_Event_resize_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.resize.get (VAL SDL.Event self, RESULT SDL.ResizeEvent return.value) = 0"
--* Foreign function [@text SDL_Event_resize_get].
INLINE PROC SDL.Event.resize.get (VAL SDL.Event self, RESULT SDL.ResizeEvent return.value)
  C.SDL.Event.resize.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_expose_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.expose.set (VAL SDL.Event self, VAL SDL.ExposeEvent expose) = 0"
--* Foreign function [@text SDL_Event_expose_set].
INLINE PROC SDL.Event.expose.set (VAL SDL.Event self, VAL SDL.ExposeEvent expose)
  C.SDL.Event.expose.set (self, expose)
:
--}}}
--{{{  function SDL_Event_expose_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.expose.get (VAL SDL.Event self, RESULT SDL.ExposeEvent return.value) = 0"
--* Foreign function [@text SDL_Event_expose_get].
INLINE PROC SDL.Event.expose.get (VAL SDL.Event self, RESULT SDL.ExposeEvent return.value)
  C.SDL.Event.expose.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_quit_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.quit.set (VAL SDL.Event self, VAL SDL.QuitEvent quit) = 0"
--* Foreign function [@text SDL_Event_quit_set].
INLINE PROC SDL.Event.quit.set (VAL SDL.Event self, VAL SDL.QuitEvent quit)
  C.SDL.Event.quit.set (self, quit)
:
--}}}
--{{{  function SDL_Event_quit_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.quit.get (VAL SDL.Event self, RESULT SDL.QuitEvent return.value) = 0"
--* Foreign function [@text SDL_Event_quit_get].
INLINE PROC SDL.Event.quit.get (VAL SDL.Event self, RESULT SDL.QuitEvent return.value)
  C.SDL.Event.quit.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_user_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.user.set (VAL SDL.Event self, VAL SDL.UserEvent user) = 0"
--* Foreign function [@text SDL_Event_user_set].
INLINE PROC SDL.Event.user.set (VAL SDL.Event self, VAL SDL.UserEvent user)
  C.SDL.Event.user.set (self, user)
:
--}}}
--{{{  function SDL_Event_user_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.user.get (VAL SDL.Event self, RESULT SDL.UserEvent return.value) = 0"
--* Foreign function [@text SDL_Event_user_get].
INLINE PROC SDL.Event.user.get (VAL SDL.Event self, RESULT SDL.UserEvent return.value)
  C.SDL.Event.user.get (self, return.value)
:
--}}}
--{{{  function SDL_Event_syswm_set
#PRAGMA EXTERNAL "PROC C.SDL.Event.syswm.set (VAL SDL.Event self, VAL SDL.SysWMEvent syswm) = 0"
--* Foreign function [@text SDL_Event_syswm_set].
INLINE PROC SDL.Event.syswm.set (VAL SDL.Event self, VAL SDL.SysWMEvent syswm)
  C.SDL.Event.syswm.set (self, syswm)
:
--}}}
--{{{  function SDL_Event_syswm_get
#PRAGMA EXTERNAL "PROC C.SDL.Event.syswm.get (VAL SDL.Event self, RESULT SDL.SysWMEvent return.value) = 0"
--* Foreign function [@text SDL_Event_syswm_get].
INLINE PROC SDL.Event.syswm.get (VAL SDL.Event self, RESULT SDL.SysWMEvent return.value)
  C.SDL.Event.syswm.get (self, return.value)
:
--}}}
--{{{  function new_SDL_Event
#PRAGMA EXTERNAL "PROC C.new.SDL.Event (RESULT SDL.Event return.value) = 0"
--* Foreign function [@text new_SDL_Event].
INLINE PROC new.SDL.Event (RESULT SDL.Event return.value)
  C.new.SDL.Event (return.value)
:
--}}}
--{{{  function delete_SDL_Event
#PRAGMA EXTERNAL "PROC C.delete.SDL.Event (VAL SDL.Event self) = 0"
--* Foreign function [@text delete_SDL_Event].
INLINE PROC delete.SDL.Event (VAL SDL.Event self)
  C.delete.SDL.Event (self)
:
--}}}
--}}}
--{{{  function SDL_PumpEvents
#PRAGMA EXTERNAL "PROC C.SDL.PumpEvents () = 0"
--* Foreign function [@text SDL_PumpEvents].
INLINE PROC SDL.PumpEvents ()
  C.SDL.PumpEvents ()
:
--}}}
--{{{  function SDL_PeepEvents
#PRAGMA EXTERNAL "PROC C.SDL.PeepEvents (VAL SDL.Event events, VAL INT numevents, VAL SDL.eventaction action, VAL INT mask, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PeepEvents].
INLINE PROC SDL.PeepEvents (VAL SDL.Event events, VAL INT numevents, VAL SDL.eventaction action, VAL INT mask, RESULT INT return.value)
  C.SDL.PeepEvents (events, numevents, action, mask, return.value)
:
--}}}
--{{{  function SDL_PollEvent
#PRAGMA EXTERNAL "PROC C.SDL.PollEvent (VAL SDL.Event event, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PollEvent].
INLINE PROC SDL.PollEvent (VAL SDL.Event event, RESULT INT return.value)
  C.SDL.PollEvent (event, return.value)
:
--}}}
--{{{  function SDL_WaitEvent
#PRAGMA EXTERNAL "PROC B.SDL.WaitEvent (VAL SDL.Event event, RESULT INT return.value) = 3"
--* Foreign function [@text SDL_WaitEvent].
INLINE PROC SDL.WaitEvent (VAL SDL.Event event, RESULT INT return.value)
  B.SDL.WaitEvent (event, return.value)
:
--}}}
--{{{  function SDL_PushEvent
#PRAGMA EXTERNAL "PROC C.SDL.PushEvent (VAL SDL.Event event, RESULT INT return.value) = 0"
--* Foreign function [@text SDL_PushEvent].
INLINE PROC SDL.PushEvent (VAL SDL.Event event, RESULT INT return.value)
  C.SDL.PushEvent (event, return.value)
:
--}}}
--{{{  function SDL_SetEventFilter
#PRAGMA EXTERNAL "PROC C.SDL.SetEventFilter (VAL INT filter) = 0"
--* Foreign function [@text SDL_SetEventFilter].
INLINE PROC SDL.SetEventFilter (VAL INT filter)
  C.SDL.SetEventFilter (filter)
:
--}}}
--{{{  function SDL_GetEventFilter
#PRAGMA EXTERNAL "PROC C.SDL.GetEventFilter (RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GetEventFilter].
INLINE PROC SDL.GetEventFilter (RESULT INT return.value)
  C.SDL.GetEventFilter (return.value)
:
--}}}
--{{{  function SDL_EventState
#PRAGMA EXTERNAL "PROC C.SDL.EventState (VAL BYTE type, VAL INT state, RESULT BYTE return.value) = 0"
--* Foreign function [@text SDL_EventState].
INLINE PROC SDL.EventState (VAL BYTE type, VAL INT state, RESULT BYTE return.value)
  C.SDL.EventState (type, state, return.value)
:
--}}}
--{{{  function occ_SDL_GetError
#PRAGMA EXTERNAL "PROC C.occ.SDL.GetError ([]BYTE err.str, VAL INT err.str.len, RESULT INT return.value) = 0"
--* Foreign function [@text occ_SDL_GetError].
INLINE PROC occ.SDL.GetError ([]BYTE err.str, VAL INT err.str.len, RESULT INT return.value)
  C.occ.SDL.GetError (err.str, err.str.len, return.value)
:
--}}}
--{{{  function SDL_GetError
#PRAGMA EXTERNAL "PROC C.SDL.GetError (RESULT INT return.value) = 0"
--* Foreign function [@text SDL_GetError].
INLINE PROC SDL.GetError (RESULT INT return.value)
  C.SDL.GetError (return.value)
:
--}}}
--{{{  function SDL_ClearError
#PRAGMA EXTERNAL "PROC C.SDL.ClearError () = 0"
--* Foreign function [@text SDL_ClearError].
INLINE PROC SDL.ClearError ()
  C.SDL.ClearError ()
:
--}}}
#ENDIF
