comparison src/video/x11/SDL_x11sym.h @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 22
23 SDL_X11_MODULE (BASEXLIB) 23 SDL_X11_MODULE(BASEXLIB)
24 SDL_X11_SYM (XClassHint *, XAllocClassHint, (void), (), return) 24 SDL_X11_SYM(XClassHint *, XAllocClassHint, (void), (), return)
25 SDL_X11_SYM (Status, XAllocColor, (Display * a, Colormap b, XColor * c), 25 SDL_X11_SYM(Status, XAllocColor, (Display * a, Colormap b, XColor * c),
26 (a, b, c), return) SDL_X11_SYM (XSizeHints *, XAllocSizeHints, 26 (a, b, c), return) SDL_X11_SYM(XSizeHints *, XAllocSizeHints,
27 (void), (), 27 (void), (),
28 return) SDL_X11_SYM (XWMHints *, 28 return) SDL_X11_SYM(XWMHints *,
29 XAllocWMHints, 29 XAllocWMHints,
30 (void), (), 30 (void), (),
31 return) 31 return)
32 SDL_X11_SYM (int, XChangePointerControl, 32 SDL_X11_SYM(int, XChangePointerControl,
33 (Display * a, Bool b, Bool c, int d, int e, int f), (a, b, c, d, 33 (Display * a, Bool b, Bool c, int d, int e, int f), (a, b, c, d,
34 e, f), 34 e, f),
35 return) SDL_X11_SYM (int, XChangeProperty, (Display * a, 35 return) SDL_X11_SYM(int, XChangeProperty, (Display * a,
36 Window b, Atom c, 36 Window b, Atom c,
37 Atom d, int e, int f, 37 Atom d, int e, int f,
38 _Xconst unsigned char 38 _Xconst unsigned char
39 *g, int h), (a, b, c, 39 *g, int h), (a, b, c,
40 d, e, f, 40 d, e, f,
41 g, h), 41 g, h),
42 return) SDL_X11_SYM (int, 42 return) SDL_X11_SYM(int,
43 XChangeWindowAttributes, 43 XChangeWindowAttributes,
44 (Display * a, Window b, 44 (Display * a, Window b,
45 unsigned long c, 45 unsigned long c,
46 XSetWindowAttributes * 46 XSetWindowAttributes *
47 d), (a, b, c, d), 47 d), (a, b, c, d), return)
48 return) 48 SDL_X11_SYM(Bool, XCheckTypedEvent, (Display * a, int b, XEvent * c),
49 SDL_X11_SYM (Bool, XCheckTypedEvent, (Display * a, int b, XEvent * c), 49 (a, b, c), return) SDL_X11_SYM(int, XClearWindow, (Display * a,
50 (a, b, c), return) SDL_X11_SYM (int, XClearWindow, (Display * a, 50 Window b),
51 Window b), 51 (a, b), return) SDL_X11_SYM(int,
52 (a, b), return) SDL_X11_SYM (int, 52 XCloseDisplay,
53 XCloseDisplay, 53 (Display
54 (Display 54 *
55 * 55 a),
56 a), 56 (a),
57 (a), 57 return)
58 return) 58 SDL_X11_SYM(Colormap, XCreateColormap,
59 SDL_X11_SYM (Colormap, XCreateColormap, 59 (Display * a, Window b, Visual * c, int d), (a, b, c, d),
60 (Display * a, Window b, Visual * c, int d), (a, b, c, d), 60 return) SDL_X11_SYM(Cursor, XCreatePixmapCursor, (Display * a,
61 return) SDL_X11_SYM (Cursor, XCreatePixmapCursor, (Display * a, 61 Pixmap b,
62 Pixmap b, 62 Pixmap c,
63 Pixmap c, 63 XColor * d,
64 XColor * d, 64 XColor * e,
65 XColor * e, 65 unsigned int
66 unsigned int 66 f,
67 f, 67 unsigned int
68 unsigned int 68 g), (a, b, c,
69 g), (a, b, c, 69 d, e, f,
70 d, e, f, 70 g),
71 g), 71 return) SDL_X11_SYM(GC, XCreateGC,
72 return) SDL_X11_SYM (GC, XCreateGC, 72 (Display * a,
73 (Display * a, 73 Drawable b,
74 Drawable b, 74 unsigned long c,
75 unsigned long c, 75 XGCValues * d), (a, b,
76 XGCValues * d), (a, b, 76 c,
77 c, 77 d),
78 d), 78 return)
79 return) 79 SDL_X11_SYM(XImage *, XCreateImage,
80 SDL_X11_SYM (XImage *, XCreateImage, 80 (Display * a, Visual * b, unsigned int c, int d, int e, char *f,
81 (Display * a, Visual * b, unsigned int c, int d, int e, char *f, 81 unsigned int g, unsigned int h, int i, int j), (a, b, c, d, e,
82 unsigned int g, unsigned int h, int i, int j), (a, b, c, d, e, 82 f, g, h, i, j),
83 f, g, h, i, j), 83 return) SDL_X11_SYM(Pixmap, XCreatePixmap, (Display * a,
84 return) SDL_X11_SYM (Pixmap, XCreatePixmap, (Display * a,
85 Drawable b, 84 Drawable b,
86 unsigned int c, 85 unsigned int c,
87 unsigned int d, 86 unsigned int d,
88 unsigned int e), (a, 87 unsigned int e), (a,
89 b, 88 b,
90 c, 89 c,
91 d, 90 d,
92 e), 91 e),
93 return) SDL_X11_SYM (Pixmap, 92 return) SDL_X11_SYM(Pixmap,
94 XCreatePixmapFromBitmapData, 93 XCreatePixmapFromBitmapData,
95 (Display * a, 94 (Display * a,
96 Drawable b, char *c, 95 Drawable b, char *c,
97 unsigned int d, 96 unsigned int d,
98 unsigned int e, 97 unsigned int e,
99 unsigned long f, unsigned long g, unsigned int h), (a, b, c, d, e, f, g, h), return) 98 unsigned long f, unsigned long g, unsigned int h), (a, b, c, d, e, f, g, h), return)
100 SDL_X11_SYM (Window, XCreateSimpleWindow, 99 SDL_X11_SYM(Window, XCreateSimpleWindow,
101 (Display * a, Window b, int c, int d, unsigned int e, 100 (Display * a, Window b, int c, int d, unsigned int e,
102 unsigned int f, unsigned int g, unsigned long h, 101 unsigned int f, unsigned int g, unsigned long h,
103 unsigned long i), (a, b, c, d, e, f, g, h, i), 102 unsigned long i), (a, b, c, d, e, f, g, h, i),
104 return) SDL_X11_SYM (Window, XCreateWindow, (Display * a, 103 return) SDL_X11_SYM(Window, XCreateWindow, (Display * a,
105 Window b, int c, 104 Window b, int c,
106 int d, 105 int d,
107 unsigned int e, 106 unsigned int e,
108 unsigned int f, 107 unsigned int f,
109 unsigned int g, 108 unsigned int g,
110 int h, 109 int h,
111 unsigned int i, 110 unsigned int i,
112 Visual * j, 111 Visual * j,
113 unsigned long k, 112 unsigned long k,
114 XSetWindowAttributes 113 XSetWindowAttributes
115 * l), (a, b, c, d, 114 * l), (a, b, c, d,
116 e, f, g, h, 115 e, f, g, h,
117 i, j, k, l), 116 i, j, k, l),
118 return) SDL_X11_SYM (int, XDefineCursor, (Display * a, Window b, Cursor c), (a, b, c), return) 117 return) SDL_X11_SYM(int, XDefineCursor, (Display * a, Window b, Cursor c), (a, b, c), return)
119 SDL_X11_SYM (int, XDeleteProperty, (Display * a, Window b, Atom c), (a, b, c), 118 SDL_X11_SYM(int, XDeleteProperty, (Display * a, Window b, Atom c), (a, b, c),
120 return) SDL_X11_SYM (int, XDestroyWindow, (Display * a, 119 return) SDL_X11_SYM(int, XDestroyWindow, (Display * a,
121 Window b), (a, b), 120 Window b), (a, b),
122 return) SDL_X11_SYM (char *, XDisplayName, 121 return) SDL_X11_SYM(char *, XDisplayName,
123 (_Xconst char *a), (a), 122 (_Xconst char *a), (a),
124 return) 123 return)
125 SDL_X11_SYM (int, XEventsQueued, (Display * a, int b), (a, b), 124 SDL_X11_SYM(int, XEventsQueued, (Display * a, int b), (a, b),
126 return) SDL_X11_SYM (Bool, XFilterEvent, (XEvent * event, 125 return) SDL_X11_SYM(Bool, XFilterEvent, (XEvent * event,
127 Window w), (event, w), 126 Window w), (event, w),
128 return) SDL_X11_SYM (int, XFlush, 127 return) SDL_X11_SYM(int, XFlush,
129 (Display * a), (a), 128 (Display * a), (a),
130 return) 129 return)
131 SDL_X11_SYM (int, XFree, (void *a), (a), return) SDL_X11_SYM (int, 130 SDL_X11_SYM(int, XFree, (void *a), (a), return) SDL_X11_SYM(int,
132 XFreeColormap, 131 XFreeColormap,
133 (Display * 132 (Display *
134 a, 133 a,
135 Colormap 134 Colormap
136 b), (a, b), 135 b), (a, b),
137 return) 136 return)
138 SDL_X11_SYM (int, XFreeColors, 137 SDL_X11_SYM(int, XFreeColors,
139 (Display * a, Colormap b, unsigned long *c, int d, unsigned long e), 138 (Display * a, Colormap b, unsigned long *c, int d, unsigned long e),
140 (a, b, c, d, e), return) SDL_X11_SYM (int, XFreeCursor, 139 (a, b, c, d, e), return) SDL_X11_SYM(int, XFreeCursor,
141 (Display * a, Cursor b), 140 (Display * a, Cursor b),
142 (a, b), return) 141 (a, b), return)
143 SDL_X11_SYM (int, XFreeGC, (Display * a, GC b), (a, b), 142 SDL_X11_SYM(int, XFreeGC, (Display * a, GC b), (a, b),
144 return) SDL_X11_SYM (int, XFreeModifiermap, 143 return) SDL_X11_SYM(int, XFreeModifiermap,
145 (XModifierKeymap * a), (a), 144 (XModifierKeymap * a), (a),
146 return) SDL_X11_SYM (int, XFreePixmap, 145 return) SDL_X11_SYM(int, XFreePixmap,
147 (Display * a, 146 (Display * a,
148 Pixmap b), (a, b), 147 Pixmap b), (a, b),
149 return) 148 return)
150 SDL_X11_SYM (int, XGetErrorDatabaseText, 149 SDL_X11_SYM(int, XGetErrorDatabaseText,
151 (Display * a, _Xconst char *b, _Xconst char *c, _Xconst char *d, 150 (Display * a, _Xconst char *b, _Xconst char *c, _Xconst char *d,
152 char *e, int f), (a, b, c, d, e, f), 151 char *e, int f), (a, b, c, d, e, f),
153 return) SDL_X11_SYM (XModifierKeymap *, XGetModifierMapping, (Display * a), (a), return) SDL_X11_SYM (int, XGetPointerControl, 152 return) SDL_X11_SYM(XModifierKeymap *, XGetModifierMapping, (Display * a), (a), return) SDL_X11_SYM(int, XGetPointerControl,
154 (Display * a, int *b, int *c, 153 (Display * a, int *b, int *c,
155 int *d), (a, b, c, d), return) 154 int *d), (a, b, c, d), return)
156 SDL_X11_SYM (int, XGetScreenSaver, 155 SDL_X11_SYM(int, XGetScreenSaver,
157 (Display * a, int *b, int *c, int *d, int *e), (a, b, c, d, e), 156 (Display * a, int *b, int *c, int *d, int *e), (a, b, c, d, e),
158 return) SDL_X11_SYM (XVisualInfo *, XGetVisualInfo, (Display * a, 157 return) SDL_X11_SYM(XVisualInfo *, XGetVisualInfo, (Display * a,
159 long b,
160 XVisualInfo
161 * c,
162 int *d), (a,
163 b,
164 c,
165 d),
166 return) SDL_X11_SYM (XWMHints *,
167 XGetWMHints,
168 (Display * a,
169 Window b), (a, b),
170 return)
171 SDL_X11_SYM (Status, XGetWindowAttributes,
172 (Display * a, Window b, XWindowAttributes * c), (a, b, c),
173 return) SDL_X11_SYM (int, XGrabKeyboard, (Display * a, Window b,
174 Bool c, int d, int e,
175 Time f), (a, b, c, d,
176 e, f),
177 return) SDL_X11_SYM (int, XGrabPointer,
178 (Display * a, Window b,
179 Bool c,
180 unsigned int d, int e,
181 int f, Window g,
182 Cursor h, Time i), (a,
183 b,
184 c,
185 d,
186 e,
187 f,
188 g,
189 h,
190 i),
191 return)
192 SDL_X11_SYM (Status, XIconifyWindow, (Display * a, Window b, int c),
193 (a, b, c), return) SDL_X11_SYM (int, XInstallColormap,
194 (Display * a, Colormap b), (a,
195 b),
196 return) SDL_X11_SYM (KeyCode,
197 XKeysymToKeycode,
198 (Display *
199 a,
200 KeySym b),
201 (a, b),
202 return)
203 SDL_X11_SYM (Atom, XInternAtom, (Display * a, _Xconst char *b, Bool c),
204 (a, b, c), return) SDL_X11_SYM (XPixmapFormatValues *,
205 XListPixmapFormats, (Display * a,
206 int *b), (a,
207 b),
208 return) SDL_X11_SYM (int,
209 XLookupString,
210 (XKeyEvent *
211 a, char *b,
212 int c,
213 KeySym * d,
214 XComposeStatus
215 * e), (a,
216 b,
217 c,
218 d,
219 e),
220 return)
221 SDL_X11_SYM (int, XMapRaised, (Display * a, Window b), (a, b),
222 return) SDL_X11_SYM (int, XMapWindow, (Display * a, Window b),
223 (a, b), return) SDL_X11_SYM (int,
224 XMaskEvent,
225 (Display * a,
226 long b, 158 long b,
227 XEvent * c), 159 XVisualInfo
228 (a, b, c), 160 * c,
229 return) 161 int *d), (a,
230 SDL_X11_SYM (Status, XMatchVisualInfo,
231 (Display * a, int b, int c, int d, XVisualInfo * e), (a, b, c, d, e),
232 return) SDL_X11_SYM (int, XMissingExtension, (Display * a,
233 _Xconst char *b),
234 (a, b), return) SDL_X11_SYM (int,
235 XMoveResizeWindow,
236 (Display * a,
237 Window b,
238 int c, int d,
239 unsigned int
240 e,
241 unsigned int
242 f), (a, b, c,
243 d, e, f),
244 return)
245 SDL_X11_SYM (int, XMoveWindow, (Display * a, Window b, int c, int d),
246 (a, b, c, d), return) SDL_X11_SYM (int, XNextEvent, (Display * a,
247 XEvent * b),
248 (a, b),
249 return) SDL_X11_SYM (Display
250 *,
251 XOpenDisplay,
252 (_Xconst
253 char
254 *a),
255 (a),
256 return)
257 SDL_X11_SYM (int, XPeekEvent, (Display * a, XEvent * b), (a, b),
258 return) SDL_X11_SYM (int, XPending, (Display * a), (a),
259 return) SDL_X11_SYM (int, XPutImage,
260 (Display * a,
261 Drawable b, GC c,
262 XImage * d, int e,
263 int f, int g, int h,
264 unsigned int i,
265 unsigned int j), (a,
266 b,
267 c,
268 d,
269 e,
270 f,
271 g,
272 h,
273 i,
274 j),
275 return)
276 SDL_X11_SYM (int, XQueryColors, (Display * a, Colormap b, XColor * c, int d),
277 (a, b, c, d), return) SDL_X11_SYM (int, XQueryKeymap,
278 (Display * a, char *b), (a,
279 b),
280 return) SDL_X11_SYM (Bool,
281 XQueryPointer,
282 (Display
283 * a,
284 Window
285 b,
286 Window *
287 c,
288 Window *
289 d,
290 int *e,
291 int *f,
292 int *g,
293 int *h,
294 unsigned
295 int *i),
296 (a, b, c,
297 d, e, f,
298 g, h,
299 i),
300 return)
301 SDL_X11_SYM (int, XRaiseWindow, (Display * a, Window b), (a, b),
302 return) SDL_X11_SYM (int, XReparentWindow, (Display * a,
303 Window b, Window c,
304 int d, int e), (a, b,
305 c, d,
306 e),
307 return) SDL_X11_SYM (int, XResizeWindow,
308 (Display * a, Window b,
309 unsigned int c,
310 unsigned int d), (a,
311 b, 162 b,
312 c, 163 c,
313 d), 164 d),
314 return) 165 return) SDL_X11_SYM(XWMHints *,
315 SDL_X11_SYM (int, XSelectInput, (Display * a, Window b, long c), (a, b, c), 166 XGetWMHints,
316 return) SDL_X11_SYM (Status, XSendEvent, (Display * a, Window b, 167 (Display * a,
317 Bool c, long d, 168 Window b), (a, b),
318 XEvent * e), (a, b, c, 169 return)
170 SDL_X11_SYM(Status, XGetWindowAttributes,
171 (Display * a, Window b, XWindowAttributes * c), (a, b, c),
172 return) SDL_X11_SYM(int, XGrabKeyboard, (Display * a, Window b,
173 Bool c, int d, int e,
174 Time f), (a, b, c, d,
175 e, f),
176 return) SDL_X11_SYM(int, XGrabPointer,
177 (Display * a, Window b,
178 Bool c,
179 unsigned int d, int e,
180 int f, Window g,
181 Cursor h, Time i), (a,
182 b,
183 c,
184 d,
185 e,
186 f,
187 g,
188 h,
189 i),
190 return)
191 SDL_X11_SYM(Status, XIconifyWindow, (Display * a, Window b, int c),
192 (a, b, c), return) SDL_X11_SYM(int, XInstallColormap,
193 (Display * a, Colormap b), (a,
194 b),
195 return) SDL_X11_SYM(KeyCode,
196 XKeysymToKeycode,
197 (Display *
198 a,
199 KeySym b),
200 (a, b), return)
201 SDL_X11_SYM(Atom, XInternAtom, (Display * a, _Xconst char *b, Bool c),
202 (a, b, c), return) SDL_X11_SYM(XPixmapFormatValues *,
203 XListPixmapFormats, (Display * a,
204 int *b), (a,
205 b),
206 return) SDL_X11_SYM(int,
207 XLookupString,
208 (XKeyEvent *
209 a, char *b,
210 int c,
211 KeySym * d,
212 XComposeStatus
213 * e), (a,
214 b,
215 c,
216 d,
217 e),
218 return)
219 SDL_X11_SYM(int, XMapRaised, (Display * a, Window b), (a, b),
220 return) SDL_X11_SYM(int, XMapWindow, (Display * a, Window b),
221 (a, b), return) SDL_X11_SYM(int,
222 XMaskEvent,
223 (Display * a,
224 long b,
225 XEvent * c),
226 (a, b, c), return)
227 SDL_X11_SYM(Status, XMatchVisualInfo,
228 (Display * a, int b, int c, int d, XVisualInfo * e), (a, b, c, d, e),
229 return) SDL_X11_SYM(int, XMissingExtension, (Display * a,
230 _Xconst char *b),
231 (a, b), return) SDL_X11_SYM(int,
232 XMoveResizeWindow,
233 (Display * a,
234 Window b,
235 int c, int d,
236 unsigned int
237 e,
238 unsigned int
239 f), (a, b, c,
240 d, e, f),
241 return)
242 SDL_X11_SYM(int, XMoveWindow, (Display * a, Window b, int c, int d),
243 (a, b, c, d), return) SDL_X11_SYM(int, XNextEvent, (Display * a,
244 XEvent * b),
245 (a, b),
246 return) SDL_X11_SYM(Display
247 *,
248 XOpenDisplay,
249 (_Xconst
250 char
251 *a),
252 (a), return)
253 SDL_X11_SYM(int, XPeekEvent, (Display * a, XEvent * b), (a, b),
254 return) SDL_X11_SYM(int, XPending, (Display * a), (a),
255 return) SDL_X11_SYM(int, XPutImage,
256 (Display * a,
257 Drawable b, GC c,
258 XImage * d, int e,
259 int f, int g, int h,
260 unsigned int i,
261 unsigned int j), (a,
262 b,
263 c,
264 d,
265 e,
266 f,
267 g,
268 h,
269 i,
270 j),
271 return)
272 SDL_X11_SYM(int, XQueryColors, (Display * a, Colormap b, XColor * c, int d),
273 (a, b, c, d), return) SDL_X11_SYM(int, XQueryKeymap,
274 (Display * a, char *b), (a,
275 b),
276 return) SDL_X11_SYM(Bool,
277 XQueryPointer,
278 (Display
279 * a,
280 Window
281 b,
282 Window *
283 c,
284 Window *
285 d,
286 int *e,
287 int *f,
288 int *g,
289 int *h,
290 unsigned
291 int *i),
292 (a, b, c,
293 d, e, f,
294 g, h,
295 i), return)
296 SDL_X11_SYM(int, XRaiseWindow, (Display * a, Window b), (a, b),
297 return) SDL_X11_SYM(int, XReparentWindow, (Display * a,
298 Window b, Window c,
299 int d, int e), (a, b,
300 c, d,
301 e),
302 return) SDL_X11_SYM(int, XResizeWindow,
303 (Display * a, Window b,
304 unsigned int c,
305 unsigned int d), (a,
306 b,
307 c,
308 d),
309 return)
310 SDL_X11_SYM(int, XSelectInput, (Display * a, Window b, long c), (a, b, c),
311 return) SDL_X11_SYM(Status, XSendEvent, (Display * a, Window b,
312 Bool c, long d,
313 XEvent * e), (a, b, c,
314 d, e),
315 return) SDL_X11_SYM(int, XSetClassHint,
316 (Display * a, Window b,
317 XClassHint * c), (a,
318 b,
319 c),
320 return)
321 SDL_X11_SYM(XErrorHandler, XSetErrorHandler, (XErrorHandler a), (a),
322 return) SDL_X11_SYM(XIOErrorHandler, XSetIOErrorHandler,
323 (XIOErrorHandler a), (a),
324 return) SDL_X11_SYM(int, XSetScreenSaver,
325 (Display * a, int b,
326 int c, int d, int e),
327 (a, b, c, d, e), return)
328 SDL_X11_SYM(int, XSetTransientForHint, (Display * a, Window b, Window c),
329 (a, b, c), return) SDL_X11_SYM(int, XSetWMHints, (Display * a,
330 Window b,
331 XWMHints * c),
332 (a, b, c),
333 return) SDL_X11_SYM(void,
334 XSetTextProperty,
335 (Display *
336 a,
337 Window b,
338 XTextProperty
339 * c,
340 Atom d),
341 (a, b, c, d),)
342 SDL_X11_SYM(void, XSetWMNormalHints, (Display * a, Window b, XSizeHints * c),
343 (a, b, c),)
344 SDL_X11_SYM(Status, XSetWMProtocols,
345 (Display * a, Window b, Atom * c, int d), (a, b, c, d), return)
346 SDL_X11_SYM(int, XSetWindowBackground,
347 (Display * a, Window b, unsigned long c), (a, b, c), return)
348 SDL_X11_SYM(int, XSetWindowBackgroundPixmap,
349 (Display * a, Window b, Pixmap c), (a, b, c), return)
350 SDL_X11_SYM(int, XSetWindowColormap, (Display * a, Window b, Colormap c),
351 (a, b, c), return)
352 SDL_X11_SYM(int, XStoreColors, (Display * a, Colormap b, XColor * c, int d),
353 (a, b, c, d), return)
354 SDL_X11_SYM(Status, XStringListToTextProperty,
355 (char **a, int b, XTextProperty * c), (a, b, c), return)
356 SDL_X11_SYM(int, XSync, (Display * a, Bool b), (a, b), return)
357 SDL_X11_SYM(int, XUngrabKeyboard, (Display * a, Time b), (a, b), return)
358 SDL_X11_SYM(int, XUngrabPointer, (Display * a, Time b), (a, b), return)
359 SDL_X11_SYM(int, XUnmapWindow, (Display * a, Window b), (a, b), return)
360 SDL_X11_SYM(int, XWarpPointer,
361 (Display * a, Window b, Window c, int d, int e, unsigned int f,
362 unsigned int g, int h, int i), (a, b, c, d, e, f, g, h, i),
363 return)
364 SDL_X11_SYM(VisualID, XVisualIDFromVisual, (Visual * a), (a), return)
365 SDL_X11_SYM(XExtDisplayInfo *, XextAddDisplay,
366 (XExtensionInfo * a, Display * b, char *c, XExtensionHooks * d,
367 int e, XPointer f), (a, b, c, d, e, f), return)
368 SDL_X11_SYM(XExtensionInfo *, XextCreateExtension, (void), (), return)
369 SDL_X11_SYM(void, XextDestroyExtension, (XExtensionInfo * a), (a),)
370 SDL_X11_SYM(XExtDisplayInfo *, XextFindDisplay,
371 (XExtensionInfo * a, Display * b), (a, b), return)
372 SDL_X11_SYM(int, XextRemoveDisplay, (XExtensionInfo * a, Display * b),
373 (a, b), return)
374 SDL_X11_SYM(Bool, XQueryExtension,
375 (Display * a, _Xconst char *b, int *c, int *d, int *e), (a, b, c,
319 d, e), 376 d, e),
320 return) SDL_X11_SYM (int, XSetClassHint, 377 return)
321 (Display * a, Window b, 378 SDL_X11_SYM(char *, XDisplayString, (Display * a), (a), return)
322 XClassHint * c), (a, 379 SDL_X11_SYM(int, XGetErrorText, (Display * a, int b, char *c, int d),
323 b, 380 (a, b, c, d), return)
324 c), 381 SDL_X11_SYM(void, _XEatData, (Display * a, unsigned long b), (a, b),)
325 return) 382 SDL_X11_SYM(void, _XFlush, (Display * a), (a),)
326 SDL_X11_SYM (XErrorHandler, XSetErrorHandler, (XErrorHandler a), (a), 383 SDL_X11_SYM(void, _XFlushGCCache, (Display * a, GC b), (a, b),)
327 return) SDL_X11_SYM (XIOErrorHandler, XSetIOErrorHandler, 384 SDL_X11_SYM(int, _XRead, (Display * a, char *b, long c), (a, b, c), return)
328 (XIOErrorHandler a), (a), 385 SDL_X11_SYM(void, _XReadPad, (Display * a, char *b, long c), (a, b, c),)
329 return) SDL_X11_SYM (int, XSetScreenSaver, 386 SDL_X11_SYM(void, _XSend, (Display * a, _Xconst char *b, long c), (a, b, c),)
330 (Display * a, int b, 387 SDL_X11_SYM(Status, _XReply, (Display * a, xReply * b, int c, Bool d),
331 int c, int d, int e), 388 (a, b, c, d), return)
332 (a, b, c, d, e), 389 SDL_X11_SYM(unsigned long, _XSetLastRequestRead,
333 return) 390 (Display * a, xGenericReply * b), (a, b), return)
334 SDL_X11_SYM (int, XSetTransientForHint, (Display * a, Window b, Window c), 391 SDL_X11_SYM(SDL_X11_XSynchronizeRetType, XSynchronize, (Display * a, Bool b),
335 (a, b, c), return) SDL_X11_SYM (int, XSetWMHints, (Display * a, 392 (a, b), return)
336 Window b, 393 SDL_X11_SYM(SDL_X11_XESetWireToEventRetType, XESetWireToEvent,
337 XWMHints * c), 394 (Display * a, int b, SDL_X11_XESetWireToEventRetType c), (a, b,
338 (a, b, c), 395 c),
339 return) SDL_X11_SYM (void, 396 return)
340 XSetTextProperty, 397 SDL_X11_SYM(SDL_X11_XESetEventToWireRetType, XESetEventToWire,
341 (Display * 398 (Display * a, int b, SDL_X11_XESetEventToWireRetType c), (a, b,
342 a, 399 c),
343 Window b, 400 return)
344 XTextProperty 401 SDL_X11_SYM(XExtensionErrorHandler, XSetExtensionErrorHandler,
345 * c, 402 (XExtensionErrorHandler a), (a), return)
346 Atom d),
347 (a, b, c,
348 d),)
349 SDL_X11_SYM (void, XSetWMNormalHints, (Display * a, Window b, XSizeHints * c),
350 (a, b, c),)
351 SDL_X11_SYM (Status, XSetWMProtocols,
352 (Display * a, Window b, Atom * c, int d), (a, b, c, d), return)
353 SDL_X11_SYM (int, XSetWindowBackground,
354 (Display * a, Window b, unsigned long c), (a, b, c), return)
355 SDL_X11_SYM (int, XSetWindowBackgroundPixmap,
356 (Display * a, Window b, Pixmap c), (a, b, c), return)
357 SDL_X11_SYM (int, XSetWindowColormap, (Display * a, Window b, Colormap c),
358 (a, b, c), return)
359 SDL_X11_SYM (int, XStoreColors, (Display * a, Colormap b, XColor * c, int d),
360 (a, b, c, d), return)
361 SDL_X11_SYM (Status, XStringListToTextProperty,
362 (char **a, int b, XTextProperty * c), (a, b, c), return)
363 SDL_X11_SYM (int, XSync, (Display * a, Bool b), (a, b), return)
364 SDL_X11_SYM (int, XUngrabKeyboard, (Display * a, Time b), (a, b), return)
365 SDL_X11_SYM (int, XUngrabPointer, (Display * a, Time b), (a, b), return)
366 SDL_X11_SYM (int, XUnmapWindow, (Display * a, Window b), (a, b), return)
367 SDL_X11_SYM (int, XWarpPointer,
368 (Display * a, Window b, Window c, int d, int e, unsigned int f,
369 unsigned int g, int h, int i), (a, b, c, d, e, f, g, h, i),
370 return)
371 SDL_X11_SYM (VisualID, XVisualIDFromVisual, (Visual * a), (a), return)
372 SDL_X11_SYM (XExtDisplayInfo *, XextAddDisplay,
373 (XExtensionInfo * a, Display * b, char *c, XExtensionHooks * d,
374 int e, XPointer f), (a, b, c, d, e, f), return)
375 SDL_X11_SYM (XExtensionInfo *, XextCreateExtension, (void), (), return)
376 SDL_X11_SYM (void, XextDestroyExtension, (XExtensionInfo * a), (a),)
377 SDL_X11_SYM (XExtDisplayInfo *, XextFindDisplay,
378 (XExtensionInfo * a, Display * b), (a, b), return)
379 SDL_X11_SYM (int, XextRemoveDisplay, (XExtensionInfo * a, Display * b),
380 (a, b), return)
381 SDL_X11_SYM (Bool, XQueryExtension,
382 (Display * a, _Xconst char *b, int *c, int *d, int *e), (a, b, c,
383 d, e),
384 return)
385 SDL_X11_SYM (char *, XDisplayString, (Display * a), (a), return)
386 SDL_X11_SYM (int, XGetErrorText, (Display * a, int b, char *c, int d),
387 (a, b, c, d), return)
388 SDL_X11_SYM (void, _XEatData, (Display * a, unsigned long b), (a, b),)
389 SDL_X11_SYM (void, _XFlush, (Display * a), (a),)
390 SDL_X11_SYM (void, _XFlushGCCache, (Display * a, GC b), (a, b),)
391 SDL_X11_SYM (int, _XRead, (Display * a, char *b, long c), (a, b, c), return)
392 SDL_X11_SYM (void, _XReadPad, (Display * a, char *b, long c), (a, b, c),)
393 SDL_X11_SYM (void, _XSend, (Display * a, _Xconst char *b, long c), (a, b, c),)
394 SDL_X11_SYM (Status, _XReply, (Display * a, xReply * b, int c, Bool d),
395 (a, b, c, d), return)
396 SDL_X11_SYM (unsigned long, _XSetLastRequestRead,
397 (Display * a, xGenericReply * b), (a, b), return)
398 SDL_X11_SYM (SDL_X11_XSynchronizeRetType, XSynchronize, (Display * a, Bool b),
399 (a, b), return)
400 SDL_X11_SYM (SDL_X11_XESetWireToEventRetType, XESetWireToEvent,
401 (Display * a, int b, SDL_X11_XESetWireToEventRetType c), (a, b,
402 c),
403 return)
404 SDL_X11_SYM (SDL_X11_XESetEventToWireRetType, XESetEventToWire,
405 (Display * a, int b, SDL_X11_XESetEventToWireRetType c), (a, b,
406 c),
407 return)
408 SDL_X11_SYM (XExtensionErrorHandler, XSetExtensionErrorHandler,
409 (XExtensionErrorHandler a), (a), return)
410 #if NeedWidePrototypes 403 #if NeedWidePrototypes
411 SDL_X11_SYM (KeySym, XKeycodeToKeysym, (Display * a, unsigned int b, int c), 404 SDL_X11_SYM(KeySym, XKeycodeToKeysym, (Display * a, unsigned int b, int c),
412 (a, b, c), return) 405 (a, b, c), return)
413 #else 406 #else
414 SDL_X11_SYM (KeySym, XKeycodeToKeysym, (Display * a, KeyCode b, int c), 407 SDL_X11_SYM(KeySym, XKeycodeToKeysym, (Display * a, KeyCode b, int c),
415 (a, b, c), return) 408 (a, b, c), return)
416 #endif 409 #endif
417 #ifdef X_HAVE_UTF8_STRING 410 #ifdef X_HAVE_UTF8_STRING
418 SDL_X11_MODULE (UTF8) 411 SDL_X11_MODULE(UTF8)
419 SDL_X11_SYM (int, Xutf8TextListToTextProperty, 412 SDL_X11_SYM(int, Xutf8TextListToTextProperty,
420 (Display * a, char **b, int c, XICCEncodingStyle d, 413 (Display * a, char **b, int c, XICCEncodingStyle d,
421 XTextProperty * e), (a, b, c, d, e), return) 414 XTextProperty * e), (a, b, c, d, e), return)
422 SDL_X11_SYM (int, Xutf8LookupString, 415 SDL_X11_SYM(int, Xutf8LookupString,
423 (XIC a, XKeyPressedEvent * b, char *c, int d, KeySym * e, 416 (XIC a, XKeyPressedEvent * b, char *c, int d, KeySym * e,
424 Status * f), (a, b, c, d, e, f), return) 417 Status * f), (a, b, c, d, e, f), return)
425 /*SDL_X11_SYM(XIC,XCreateIC,(XIM, ...),return) !!! ARGH! */ 418 /*SDL_X11_SYM(XIC,XCreateIC,(XIM, ...),return) !!! ARGH! */
426 SDL_X11_SYM (void, XDestroyIC, (XIC a), (a),) 419 SDL_X11_SYM(void, XDestroyIC, (XIC a), (a),)
427 SDL_X11_SYM (void, XSetICFocus, (XIC a), (a),) 420 SDL_X11_SYM(void, XSetICFocus, (XIC a), (a),)
428 SDL_X11_SYM (void, XUnsetICFocus, (XIC a), (a),) 421 SDL_X11_SYM(void, XUnsetICFocus, (XIC a), (a),)
429 SDL_X11_SYM (XIM, XOpenIM, 422 SDL_X11_SYM(XIM, XOpenIM,
430 (Display * a, struct _XrmHashBucketRec * b, char *c, char *d), 423 (Display * a, struct _XrmHashBucketRec * b, char *c, char *d),
431 (a, b, c, d), return) 424 (a, b, c, d), return)
432 SDL_X11_SYM (Status, XCloseIM, (XIM a), (a), return) 425 SDL_X11_SYM(Status, XCloseIM, (XIM a), (a), return)
433 #endif 426 #endif
434 #ifndef NO_SHARED_MEMORY 427 #ifndef NO_SHARED_MEMORY
435 SDL_X11_MODULE (SHM) 428 SDL_X11_MODULE(SHM)
436 SDL_X11_SYM (Status, XShmAttach, (Display * a, XShmSegmentInfo * b), (a, b), 429 SDL_X11_SYM(Status, XShmAttach, (Display * a, XShmSegmentInfo * b), (a, b),
437 return) 430 return)
438 SDL_X11_SYM (Status, XShmDetach, (Display * a, XShmSegmentInfo * b), (a, b), 431 SDL_X11_SYM(Status, XShmDetach, (Display * a, XShmSegmentInfo * b), (a, b),
439 return) 432 return)
440 SDL_X11_SYM (Status, XShmPutImage, 433 SDL_X11_SYM(Status, XShmPutImage,
441 (Display * a, Drawable b, GC c, XImage * d, int e, int f, int g, 434 (Display * a, Drawable b, GC c, XImage * d, int e, int f, int g,
442 int h, unsigned int i, unsigned int j, Bool k), (a, b, c, d, e, 435 int h, unsigned int i, unsigned int j, Bool k), (a, b, c, d, e,
443 f, g, h, i, j, 436 f, g, h, i, j,
444 k), return) 437 k), return)
445 SDL_X11_SYM (XImage *, XShmCreateImage, 438 SDL_X11_SYM(XImage *, XShmCreateImage,
446 (Display * a, Visual * b, unsigned int c, int d, char *e, 439 (Display * a, Visual * b, unsigned int c, int d, char *e,
447 XShmSegmentInfo * f, unsigned int g, unsigned int h), (a, b, c, 440 XShmSegmentInfo * f, unsigned int g, unsigned int h), (a, b, c,
448 d, e, f, 441 d, e, f,
449 g, h), 442 g, h),
450 return) 443 return)
451 SDL_X11_SYM (Bool, XShmQueryExtension, (Display * a), (a), return) 444 SDL_X11_SYM(Bool, XShmQueryExtension, (Display * a), (a), return)
452 #endif 445 #endif
453 /* 446 /*
454 * Not required...these only exist in code in headers on some 64-bit platforms, 447 * Not required...these only exist in code in headers on some 64-bit platforms,
455 * and are removed via macros elsewhere, so it's safe for them to be missing. 448 * and are removed via macros elsewhere, so it's safe for them to be missing.
456 */ 449 */
457 #ifdef LONG64 450 #ifdef LONG64
458 SDL_X11_MODULE (IO_32BIT) 451 SDL_X11_MODULE(IO_32BIT)
459 SDL_X11_SYM (int, _XData32, 452 SDL_X11_SYM(int, _XData32,
460 (Display * dpy, register long *data, unsigned len), (dpy, data, 453 (Display * dpy, register long *data, unsigned len), (dpy, data,
461 len), 454 len), return)
462 return) 455 SDL_X11_SYM(void, _XRead32, (Display * dpy, register long *data, long len),
463 SDL_X11_SYM (void, _XRead32, (Display * dpy, register long *data, long len), 456 (dpy, data, len),)
464 (dpy, data, len),)
465 #endif 457 #endif
466 /* 458 /*
467 * These only show up on some variants of Unix. 459 * These only show up on some variants of Unix.
468 */ 460 */
469 #if defined(__osf__) 461 #if defined(__osf__)
470 SDL_X11_MODULE (OSF_ENTRY_POINTS) 462 SDL_X11_MODULE(OSF_ENTRY_POINTS)
471 SDL_X11_SYM (void, _SmtBufferOverflow, 463 SDL_X11_SYM(void, _SmtBufferOverflow,
472 (Display * dpy, register smtDisplayPtr p), (dpy, p),) 464 (Display * dpy, register smtDisplayPtr p), (dpy, p),)
473 SDL_X11_SYM (void, _SmtIpError, 465 SDL_X11_SYM(void, _SmtIpError,
474 (Display * dpy, register smtDisplayPtr p, int i), (dpy, p, i),) 466 (Display * dpy, register smtDisplayPtr p, int i), (dpy, p, i),)
475 SDL_X11_SYM (int, ipAllocateData, (ChannelPtr a, IPCard b, IPDataPtr * c), 467 SDL_X11_SYM(int, ipAllocateData, (ChannelPtr a, IPCard b, IPDataPtr * c),
476 (a, b, c), return) 468 (a, b, c), return)
477 SDL_X11_SYM (int, ipUnallocateAndSendData, (ChannelPtr a, IPCard b), (a, b), 469 SDL_X11_SYM(int, ipUnallocateAndSendData, (ChannelPtr a, IPCard b), (a, b),
478 return) 470 return)
479 #endif 471 #endif
480 /* Xrandr support. */ 472 /* Xrandr support. */
481 #if SDL_VIDEO_DRIVER_X11_XRANDR 473 #if SDL_VIDEO_DRIVER_X11_XRANDR
482 SDL_X11_MODULE (XRANDR) 474 SDL_X11_MODULE(XRANDR)
483 SDL_X11_SYM (Status, XRRQueryVersion, 475 SDL_X11_SYM(Status, XRRQueryVersion,
484 (Display * dpy, int *major_versionp, int *minor_versionp), (dpy, 476 (Display * dpy, int *major_versionp, int *minor_versionp), (dpy,
485 major_versionp, 477 major_versionp,
486 minor_versionp), 478 minor_versionp),
487 return) 479 return)
488 SDL_X11_SYM (XRRScreenConfiguration *, XRRGetScreenInfo, 480 SDL_X11_SYM(XRRScreenConfiguration *, XRRGetScreenInfo,
489 (Display * dpy, Drawable draw), (dpy, draw), return) 481 (Display * dpy, Drawable draw), (dpy, draw), return)
490 SDL_X11_SYM (SizeID, XRRConfigCurrentConfiguration, 482 SDL_X11_SYM(SizeID, XRRConfigCurrentConfiguration,
491 (XRRScreenConfiguration * config, Rotation * rotation), (config, 483 (XRRScreenConfiguration * config, Rotation * rotation), (config,
492 rotation), 484 rotation),
493 return) 485 return)
494 SDL_X11_SYM (XRRScreenSize *, XRRConfigSizes, 486 SDL_X11_SYM(XRRScreenSize *, XRRConfigSizes,
495 (XRRScreenConfiguration * config, int *nsizes), (config, nsizes), 487 (XRRScreenConfiguration * config, int *nsizes), (config, nsizes),
496 return) 488 return)
497 SDL_X11_SYM (short *, XRRConfigRates, 489 SDL_X11_SYM(short *, XRRConfigRates,
498 (XRRScreenConfiguration * config, int sizeID, int *nrates), 490 (XRRScreenConfiguration * config, int sizeID, int *nrates),
499 (config, sizeID, nrates), return) 491 (config, sizeID, nrates), return)
500 SDL_X11_SYM (Status, XRRSetScreenConfig, 492 SDL_X11_SYM(Status, XRRSetScreenConfig,
501 (Display * dpy, XRRScreenConfiguration * config, Drawable draw, 493 (Display * dpy, XRRScreenConfiguration * config, Drawable draw,
502 int size_index, Rotation rotation, Time timestamp), (dpy, 494 int size_index, Rotation rotation, Time timestamp), (dpy,
503 config, 495 config,
504 draw, 496 draw,
505 size_index, 497 size_index,
506 rotation, 498 rotation,
507 timestamp), 499 timestamp),
508 return) 500 return)
509 SDL_X11_SYM (void, XRRFreeScreenConfigInfo, (XRRScreenConfiguration * config), 501 SDL_X11_SYM(void, XRRFreeScreenConfigInfo, (XRRScreenConfiguration * config),
510 (config),) 502 (config),)
511 #endif 503 #endif
512 /* DPMS support */ 504 /* DPMS support */
513 #if SDL_VIDEO_DRIVER_X11_DPMS 505 #if SDL_VIDEO_DRIVER_X11_DPMS
514 SDL_X11_MODULE (DPMS) 506 SDL_X11_MODULE(DPMS)
515 SDL_X11_SYM (Status, DPMSQueryExtension, 507 SDL_X11_SYM(Status, DPMSQueryExtension,
516 (Display * dpy, int *major_versionp, int *minor_versionp), (dpy, 508 (Display * dpy, int *major_versionp, int *minor_versionp), (dpy,
517 major_versionp, 509 major_versionp,
518 minor_versionp), 510 minor_versionp),
519 return) 511 return)
520 SDL_X11_SYM (Status, DPMSInfo, (Display * dpy, CARD16 * state, BOOL * onoff), 512 SDL_X11_SYM(Status, DPMSInfo, (Display * dpy, CARD16 * state, BOOL * onoff),
521 (dpy, state, onoff), return) 513 (dpy, state, onoff), return)
522 SDL_X11_SYM (Status, DPMSEnable, (Display * dpy), (dpy), return) 514 SDL_X11_SYM(Status, DPMSEnable, (Display * dpy), (dpy), return)
523 SDL_X11_SYM (Status, DPMSDisable, (Display * dpy), (dpy), return) 515 SDL_X11_SYM(Status, DPMSDisable, (Display * dpy), (dpy), return)
524 #endif 516 #endif
525 /* end of SDL_x11sym.h ... */ 517 /* end of SDL_x11sym.h ... */
526 /* vi: set ts=4 sw=4 expandtab: */ 518 /* vi: set ts=4 sw=4 expandtab: */