annotate lua/luadyncall/share/dynport/SDL.dynport @ 23:87fd9f34eaa0

- pre-C99 syntax fix
author cslag
date Sun, 22 May 2016 20:55:57 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 :lib
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 SDL
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 :fun
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 SDL_AddTimer(I*p*v)*<_SDL_TimerID>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 SDL_AllocRW()*<SDL_RWops>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 SDL_AudioDriverName(*ci)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 SDL_AudioInit(*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 SDL_AudioQuit()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 SDL_BuildAudioCVT(*<SDL_AudioCVT>SCiSCi)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 SDL_CDClose(*<SDL_CD>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 SDL_CDEject(*<SDL_CD>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 SDL_CDName(i)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 SDL_CDNumDrives()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 SDL_CDOpen(i)*<SDL_CD>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 SDL_CDPause(*<SDL_CD>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 SDL_CDPlay(*<SDL_CD>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 SDL_CDPlayTracks(*<SDL_CD>iiii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 SDL_CDResume(*<SDL_CD>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 SDL_CDStatus(*<SDL_CD>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 SDL_CDStop(*<SDL_CD>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 SDL_ClearError()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 SDL_CloseAudio()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 SDL_CondBroadcast(*<SDL_cond>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 SDL_CondSignal(*<SDL_cond>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 SDL_CondWait(*<SDL_cond>*<SDL_mutex>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 SDL_CondWaitTimeout(*<SDL_cond>*<SDL_mutex>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 SDL_ConvertAudio(*<SDL_AudioCVT>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 SDL_ConvertSurface(*<SDL_Surface>*<SDL_PixelFormat>I)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 SDL_CreateCond()*<SDL_cond>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 SDL_CreateCursor(*C*Ciiii)*<SDL_Cursor>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 SDL_CreateMutex()*<SDL_mutex>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 SDL_CreateRGBSurface(IiiiIIII)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 SDL_CreateRGBSurfaceFrom(*viiiiIIII)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 SDL_CreateSemaphore(I)*<SDL_semaphore>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 SDL_CreateThread(*p*v)*<SDL_Thread>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 SDL_CreateYUVOverlay(iiI*<SDL_Surface>)*<SDL_Overlay>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 SDL_Delay(I)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 SDL_DestroyCond(*<SDL_cond>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 SDL_DestroyMutex(*<SDL_mutex>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 SDL_DestroySemaphore(*<SDL_semaphore>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 SDL_DisplayFormat(*<SDL_Surface>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 SDL_DisplayFormatAlpha(*<SDL_Surface>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 SDL_DisplayYUVOverlay(*<SDL_Overlay>*<SDL_Rect>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 SDL_EnableKeyRepeat(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 SDL_EnableUNICODE(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 SDL_Error(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 SDL_EventState(Ci)C;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 SDL_FillRect(*<SDL_Surface>*<SDL_Rect>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 SDL_Flip(*<SDL_Surface>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 SDL_FreeCursor(*<SDL_Cursor>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 SDL_FreeRW(*<SDL_RWops>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 SDL_FreeSurface(*<SDL_Surface>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 SDL_FreeWAV(*C)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 SDL_FreeYUVOverlay(*<SDL_Overlay>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 SDL_GL_GetAttribute(i*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 SDL_GL_GetProcAddress(*c)*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 SDL_GL_LoadLibrary(*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 SDL_GL_Lock()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 SDL_GL_SetAttribute(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 SDL_GL_SwapBuffers()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 SDL_GL_Unlock()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 SDL_GL_UpdateRects(i*<SDL_Rect>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 SDL_GetAppState()C;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 SDL_GetAudioStatus()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 SDL_GetClipRect(*<SDL_Surface>*<SDL_Rect>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 SDL_GetCursor()*<SDL_Cursor>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 SDL_GetError()*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 SDL_GetEventFilter()*p;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 SDL_GetGammaRamp(*S*S*S)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 SDL_GetKeyName(i)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 SDL_GetKeyRepeat(*i*i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 SDL_GetKeyState(*i)*C;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 SDL_GetModState()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 SDL_GetMouseState(*i*i)C;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 SDL_GetRGB(I*<SDL_PixelFormat>*C*C*C)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 SDL_GetRGBA(I*<SDL_PixelFormat>*C*C*C*C)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78 SDL_GetRelativeMouseState(*i*i)C;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 SDL_GetThreadID(*<SDL_Thread>)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 SDL_GetTicks()I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81 SDL_GetVideoInfo()*<SDL_VideoInfo>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 SDL_GetVideoSurface()*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 SDL_Has3DNow()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
84 SDL_Has3DNowExt()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
85 SDL_HasAltiVec()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
86 SDL_HasMMX()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
87 SDL_HasMMXExt()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
88 SDL_HasRDTSC()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
89 SDL_HasSSE()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
90 SDL_HasSSE2()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
91 SDL_Init(I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
92 SDL_InitSubSystem(I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
93 SDL_JoystickClose(*<_SDL_Joystick>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
94 SDL_JoystickEventState(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
95 SDL_JoystickGetAxis(*<_SDL_Joystick>i)s;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
96 SDL_JoystickGetBall(*<_SDL_Joystick>i*i*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
97 SDL_JoystickGetButton(*<_SDL_Joystick>i)C;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
98 SDL_JoystickGetHat(*<_SDL_Joystick>i)C;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
99 SDL_JoystickIndex(*<_SDL_Joystick>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
100 SDL_JoystickName(i)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
101 SDL_JoystickNumAxes(*<_SDL_Joystick>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
102 SDL_JoystickNumBalls(*<_SDL_Joystick>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
103 SDL_JoystickNumButtons(*<_SDL_Joystick>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
104 SDL_JoystickNumHats(*<_SDL_Joystick>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
105 SDL_JoystickOpen(i)*<_SDL_Joystick>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
106 SDL_JoystickOpened(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
107 SDL_JoystickUpdate()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
108 SDL_KillThread(*<SDL_Thread>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
109 SDL_Linked_Version()*<SDL_version>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
110 SDL_ListModes(*<SDL_PixelFormat>I)*;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
111 SDL_LoadBMP_RW(*<SDL_RWops>i)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
112 SDL_LoadFunction(*v*c)*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
113 SDL_LoadObject(*c)*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
114 SDL_LoadWAV_RW(*<SDL_RWops>i*<SDL_AudioSpec>**I)*<SDL_AudioSpec>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
115 SDL_LockAudio()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
116 SDL_LockSurface(*<SDL_Surface>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
117 SDL_LockYUVOverlay(*<SDL_Overlay>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
118 SDL_LowerBlit(*<SDL_Surface>*<SDL_Rect>*<SDL_Surface>*<SDL_Rect>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
119 SDL_MapRGB(*<SDL_PixelFormat>CCC)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
120 SDL_MapRGBA(*<SDL_PixelFormat>CCCC)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
121 SDL_MixAudio(*C*CIi)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
122 SDL_NumJoysticks()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
123 SDL_OpenAudio(*<SDL_AudioSpec>*<SDL_AudioSpec>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
124 SDL_PauseAudio(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
125 SDL_PeepEvents(*<SDL_Event>iiI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
126 SDL_PollEvent(*<SDL_Event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
127 SDL_PumpEvents()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
128 SDL_PushEvent(*<SDL_Event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
129 SDL_Quit()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
130 SDL_QuitSubSystem(I)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
131 SDL_RWFromConstMem(*vi)*<SDL_RWops>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
132 SDL_RWFromFP(*<__sFILE>i)*<SDL_RWops>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
133 SDL_RWFromFile(*c*c)*<SDL_RWops>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
134 SDL_RWFromMem(*vi)*<SDL_RWops>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
135 SDL_ReadBE16(*<SDL_RWops>)S;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
136 SDL_ReadBE32(*<SDL_RWops>)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
137 SDL_ReadBE64(*<SDL_RWops>)L;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
138 SDL_ReadLE16(*<SDL_RWops>)S;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
139 SDL_ReadLE32(*<SDL_RWops>)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
140 SDL_ReadLE64(*<SDL_RWops>)L;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
141 SDL_RemoveTimer(*<_SDL_TimerID>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
142 SDL_SaveBMP_RW(*<SDL_Surface>*<SDL_RWops>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
143 SDL_SemPost(*<SDL_semaphore>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
144 SDL_SemTryWait(*<SDL_semaphore>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
145 SDL_SemValue(*<SDL_semaphore>)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
146 SDL_SemWait(*<SDL_semaphore>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
147 SDL_SemWaitTimeout(*<SDL_semaphore>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
148 SDL_SetAlpha(*<SDL_Surface>IC)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
149 SDL_SetClipRect(*<SDL_Surface>*<SDL_Rect>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
150 SDL_SetColorKey(*<SDL_Surface>II)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
151 SDL_SetColors(*<SDL_Surface>*<SDL_Color>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
152 SDL_SetCursor(*<SDL_Cursor>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
153 SDL_SetError(*c)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
154 SDL_SetEventFilter(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
155 SDL_SetGamma(fff)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
156 SDL_SetGammaRamp(*S*S*S)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
157 SDL_SetModState(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
158 SDL_SetPalette(*<SDL_Surface>i*<SDL_Color>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
159 SDL_SetTimer(I*p)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
160 SDL_SetVideoMode(iiiI)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
161 SDL_ShowCursor(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
162 SDL_SoftStretch(*<SDL_Surface>*<SDL_Rect>*<SDL_Surface>*<SDL_Rect>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
163 SDL_Swap16(S)S;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
164 SDL_Swap32(I)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
165 SDL_Swap64(L)L;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
166 SDL_ThreadID()I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
167 SDL_UnloadObject(*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
168 SDL_UnlockAudio()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
169 SDL_UnlockSurface(*<SDL_Surface>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
170 SDL_UnlockYUVOverlay(*<SDL_Overlay>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
171 SDL_UpdateRect(*<SDL_Surface>iiII)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
172 SDL_UpdateRects(*<SDL_Surface>i*<SDL_Rect>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
173 SDL_UpperBlit(*<SDL_Surface>*<SDL_Rect>*<SDL_Surface>*<SDL_Rect>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
174 SDL_VideoDriverName(*ci)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
175 SDL_VideoInit(*cI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
176 SDL_VideoModeOK(iiiI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
177 SDL_VideoQuit()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
178 SDL_WM_GetCaption(**)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
179 SDL_WM_GrabInput(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
180 SDL_WM_IconifyWindow()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
181 SDL_WM_SetCaption(*c*c)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
182 SDL_WM_SetIcon(*<SDL_Surface>*C)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
183 SDL_WM_ToggleFullScreen(*<SDL_Surface>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
184 SDL_WaitEvent(*<SDL_Event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
185 SDL_WaitThread(*<SDL_Thread>*i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
186 SDL_WarpMouse(SS)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
187 SDL_WasInit(I)I;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
188 SDL_WriteBE16(*<SDL_RWops>S)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
189 SDL_WriteBE32(*<SDL_RWops>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
190 SDL_WriteBE64(*<SDL_RWops>L)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
191 SDL_WriteLE16(*<SDL_RWops>S)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
192 SDL_WriteLE32(*<SDL_RWops>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
193 SDL_WriteLE64(*<SDL_RWops>L)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
194 SDL_iconv(*<_SDL_iconv_t>**J**J)J;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
195 SDL_iconv_close(*<_SDL_iconv_t>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
196 SDL_iconv_open(*c*c)*<_SDL_iconv_t>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
197 SDL_iconv_string(*c*c*cJ)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
198 SDL_lltoa(l*ci)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
199 SDL_ltoa(j*ci)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
200 SDL_main(i*)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
201 SDL_mutexP(*<SDL_mutex>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
202 SDL_mutexV(*<SDL_mutex>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
203 SDL_strlwr(*c)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
204 SDL_strrev(*c)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
205 SDL_strupr(*c)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
206 SDL_ulltoa(L*ci)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
207 SDL_ultoa(J*ci)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
208 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
209 :const
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
210 AUDIO_S16=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
211 AUDIO_S16LSB=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
212 AUDIO_S16MSB=0x9010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
213 AUDIO_S16SYS=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
214 AUDIO_S8=0x8008
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
215 AUDIO_U16=0x0010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
216 AUDIO_U16LSB=0x0010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
217 AUDIO_U16MSB=0x1010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
218 AUDIO_U16SYS=0x0010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
219 AUDIO_U8=0x0008
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
220 SDL_ALLEVENTS=0xFFFFFFFF
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
221 SDL_ALL_HOTKEYS=0xFFFFFFFF
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
222 SDL_ALPHA_OPAQUE=255
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
223 SDL_ALPHA_TRANSPARENT=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
224 SDL_ANYFORMAT=0x10000000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
225 SDL_APPACTIVE=0x04
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
226 SDL_APPINPUTFOCUS=0x02
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
227 SDL_APPMOUSEFOCUS=0x01
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
228 SDL_ASSEMBLY_ROUTINES=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
229 SDL_ASYNCBLIT=0x00000004
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
230 SDL_AUDIO_DRIVER_COREAUDIO=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
231 SDL_AUDIO_DRIVER_DISK=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
232 SDL_AUDIO_DRIVER_DUMMY=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
233 SDL_AUDIO_DRIVER_SNDMGR=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
234 SDL_AUDIO_TRACK=0x00
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
235 SDL_INIT_AUDIO=0x00000010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
236 SDL_INIT_CDROM=0x00000100
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
237 SDL_INIT_EVENTTHREAD=0x01000000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
238 SDL_INIT_EVERYTHING=0x0000FFFF
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
239 SDL_INIT_JOYSTICK=0x00000200
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
240 SDL_INIT_NOPARACHUTE=0x00100000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
241 SDL_INIT_TIMER=0x00000001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
242 SDL_INIT_VIDEO=0x00000020
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
243 SDL_OPENGL=0x00000002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
244 SDL_OPENGLBLIT=0x0000000A
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
245 SDL_NOFRAME=0x00000020
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
246 SDL_FULLSCREEN=0x80000000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
247 SDL_RESIZABLE=0x00000010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
248 SDL_RLEACCEL=0x00004000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
249 SDL_RLEACCELOK=0x00002000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
250 SDL_SRCALPHA=0x00010000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
251 SDL_SRCCOLORKEY=0x00001000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
252 SDL_SWSURFACE=0x00000000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
253 SDL_BUTTON_LEFT=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
254 SDL_BUTTON_MIDDLE=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
255 SDL_BUTTON_RIGHT=3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
256 SDL_BUTTON_WHEELDOWN=5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
257 SDL_BUTTON_WHEELUP=4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
258 SDL_DOUBLEBUF=0x40000000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
259 SDL_FULLSCREEN=0x80000000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
260 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
261 :struct
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
262 SDL_version{CCC}major minor patch ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
263 SDL_SysWMEvent{C*<SDL_SysWMmsg>}type msg ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
264 SDL_SysWMmsg{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
265 SDL_UserEvent{Ci*v*v}type code data1 data2 ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
266 SDL_QuitEvent{C}type ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
267 SDL_ExposeEvent{C}type ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
268 SDL_ResizeEvent{Cii}type w h ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
269 SDL_JoyButtonEvent{CCCC}type which button state ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
270 SDL_JoyHatEvent{CCCC}type which hat value ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
271 SDL_JoyBallEvent{CCCss}type which ball xrel yrel ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
272 SDL_JoyAxisEvent{CCCs}type which axis value ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
273 SDL_MouseButtonEvent{CCCCSS}type which button state x y ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
274 SDL_MouseMotionEvent{CCCSSss}type which state x y xrel yrel ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
275 SDL_KeyboardEvent{CCC<SDL_keysym>}type which state keysym ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
276 SDL_ActiveEvent{CCC}type gain state ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
277 SDL_Cursor{<SDL_Rect>ss*C*C[2]*C*<WMcursor>}area hot_x hot_y data mask save wm_cursor ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
278 WMcursor{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
279 SDL_Overlay{Iiii*S**C*<private_yuvhwfuncs>*<private_yuvhwdata>II}format w h planes pitches pixels hwfuncs hwdata hw_overlay UnusedBits ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
280 private_yuvhwdata{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
281 private_yuvhwfuncs{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
282 SDL_VideoInfo{IIIIIIIIIIIII*<SDL_PixelFormat>ii}hw_available wm_available UnusedBits1 UnusedBits2 blit_hw blit_hw_CC blit_hw_A blit_sw blit_sw_CC blit_sw_A blit_fill UnusedBits3 video_mem vfmt current_w current_h ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
283 SDL_Surface{I*<SDL_PixelFormat>iiS*vi*<private_hwdata><SDL_Rect>II*<SDL_BlitMap>Ii}flags format w h pitch pixels offset hwdata clip_rect unused1 locked map format_version refcount ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
284 SDL_BlitMap{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
285 private_hwdata{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
286 SDL_PixelFormat{*<SDL_Palette>CCCCCCCCCCIIIIIC}palette BitsPerPixel BytesPerPixel Rloss Gloss Bloss Aloss Rshift Gshift Bshift Ashift Rmask Gmask Bmask Amask colorkey alpha ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
287 SDL_Palette{i*<SDL_Color>}ncolors colors ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
288 SDL_Color{CCCC}r g b unused ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
289 SDL_Rect{ssSS}x y w h ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
290 SDL_keysym{CiiS}scancode sym mod unicode ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
291 SDL_CD{iiiii[100]<SDL_CDtrack>}id status numtracks cur_track cur_frame track ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
292 SDL_CDtrack{CCSII}id type unused length offset ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
293 SDL_AudioCVT{iSSd*Ciiid[10]*pi}needed src_format dst_format rate_incr buf len len_cvt len_mult len_ratio filters filter_index ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
294 SDL_AudioSpec{iSCCSSI*p*v}freq format channels silence samples padding size callback userdata ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
295 SDL_RWops{*p*p*p*pI<$_16>}seek read write close type hidden ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
296 SDL_Thread{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
297 SDL_cond{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
298 SDL_semaphore{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
299 SDL_mutex{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
300 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
301 :union
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
302 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
303 .