Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11sym.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | c546353b1ad4 |
children |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
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),(a,b,c),return) | 25 SDL_X11_SYM(Status, XAllocColor, (Display * a, Colormap b, XColor * c), |
26 SDL_X11_SYM(XSizeHints*,XAllocSizeHints,(void),(),return) | 26 (a, b, c), return) SDL_X11_SYM(XSizeHints *, XAllocSizeHints, |
27 SDL_X11_SYM(XWMHints*,XAllocWMHints,(void),(),return) | 27 (void), (), |
28 SDL_X11_SYM(int,XChangePointerControl,(Display* a,Bool b,Bool c,int d,int e,int f),(a,b,c,d,e,f),return) | 28 return) SDL_X11_SYM(XWMHints *, |
29 SDL_X11_SYM(int,XChangeProperty,(Display* a,Window b,Atom c,Atom d,int e,int f,_Xconst unsigned char* g,int h),(a,b,c,d,e,f,g,h),return) | 29 XAllocWMHints, |
30 SDL_X11_SYM(int,XChangeWindowAttributes,(Display* a,Window b,unsigned long c,XSetWindowAttributes* d),(a,b,c,d),return) | 30 (void), (), |
31 SDL_X11_SYM(Bool,XCheckTypedEvent,(Display* a,int b,XEvent* c),(a,b,c),return) | 31 return) |
32 SDL_X11_SYM(int,XClearWindow,(Display* a,Window b),(a,b),return) | 32 SDL_X11_SYM(int, XChangePointerControl, |
33 SDL_X11_SYM(int,XCloseDisplay,(Display* a),(a),return) | 33 (Display * a, Bool b, Bool c, int d, int e, int f), (a, b, c, d, |
34 SDL_X11_SYM(Colormap,XCreateColormap,(Display* a,Window b,Visual* c,int d),(a,b,c,d),return) | 34 e, f), |
35 SDL_X11_SYM(Cursor,XCreatePixmapCursor,(Display* a,Pixmap b,Pixmap c,XColor* d,XColor* e,unsigned int f,unsigned int g),(a,b,c,d,e,f,g),return) | 35 return) SDL_X11_SYM(int, XChangeProperty, (Display * a, |
36 SDL_X11_SYM(GC,XCreateGC,(Display* a,Drawable b,unsigned long c,XGCValues* d),(a,b,c,d),return) | 36 Window b, Atom c, |
37 SDL_X11_SYM(XImage*,XCreateImage,(Display* a,Visual* b,unsigned int c,int d,int e,char* f,unsigned int g,unsigned int h,int i,int j),(a,b,c,d,e,f,g,h,i,j),return) | 37 Atom d, int e, int f, |
38 SDL_X11_SYM(Pixmap,XCreatePixmap,(Display* a,Drawable b,unsigned int c,unsigned int d,unsigned int e),(a,b,c,d,e),return) | 38 _Xconst unsigned char |
39 SDL_X11_SYM(Pixmap,XCreatePixmapFromBitmapData,(Display* a,Drawable b,char* c,unsigned int d,unsigned int e,unsigned long f,unsigned long g,unsigned int h),(a,b,c,d,e,f,g,h),return) | 39 *g, int h), (a, b, c, |
40 SDL_X11_SYM(Window,XCreateSimpleWindow,(Display* a,Window b,int c,int d,unsigned int e,unsigned int f,unsigned int g,unsigned long h,unsigned long i),(a,b,c,d,e,f,g,h,i),return) | 40 d, e, f, |
41 SDL_X11_SYM(Window,XCreateWindow,(Display* a,Window b,int c,int d,unsigned int e,unsigned int f,unsigned int g,int h,unsigned int i,Visual* j,unsigned long k,XSetWindowAttributes* l),(a,b,c,d,e,f,g,h,i,j,k,l),return) | 41 g, h), |
42 SDL_X11_SYM(int,XDefineCursor,(Display* a,Window b,Cursor c),(a,b,c),return) | 42 return) SDL_X11_SYM(int, |
43 SDL_X11_SYM(int,XDeleteProperty,(Display* a,Window b,Atom c),(a,b,c),return) | 43 XChangeWindowAttributes, |
44 SDL_X11_SYM(int,XDestroyWindow,(Display* a,Window b),(a,b),return) | 44 (Display * a, Window b, |
45 SDL_X11_SYM(char*,XDisplayName,(_Xconst char* a),(a),return) | 45 unsigned long c, |
46 SDL_X11_SYM(int,XEventsQueued,(Display* a,int b),(a,b),return) | 46 XSetWindowAttributes * |
47 SDL_X11_SYM(Bool,XFilterEvent,(XEvent *event, Window w),(event,w),return) | 47 d), (a, b, c, d), return) |
48 SDL_X11_SYM(int,XFlush,(Display* a),(a),return) | 48 SDL_X11_SYM(Bool, XCheckTypedEvent, (Display * a, int b, XEvent * c), |
49 SDL_X11_SYM(int,XFree,(void*a),(a),return) | 49 (a, b, c), return) SDL_X11_SYM(int, XClearWindow, (Display * a, |
50 SDL_X11_SYM(int,XFreeColormap,(Display* a,Colormap b),(a,b),return) | 50 Window b), |
51 SDL_X11_SYM(int,XFreeColors,(Display* a,Colormap b,unsigned long* c,int d,unsigned long e),(a,b,c,d,e),return) | 51 (a, b), return) SDL_X11_SYM(int, |
52 SDL_X11_SYM(int,XFreeCursor,(Display* a,Cursor b),(a,b),return) | 52 XCloseDisplay, |
53 SDL_X11_SYM(int,XFreeGC,(Display* a,GC b),(a,b),return) | 53 (Display |
54 SDL_X11_SYM(int,XFreeModifiermap,(XModifierKeymap* a),(a),return) | 54 * |
55 SDL_X11_SYM(int,XFreePixmap,(Display* a,Pixmap b),(a,b),return) | 55 a), |
56 SDL_X11_SYM(int,XGetErrorDatabaseText,(Display* a,_Xconst char* b,_Xconst char* c,_Xconst char* d,char* e,int f),(a,b,c,d,e,f),return) | 56 (a), |
57 SDL_X11_SYM(XModifierKeymap*,XGetModifierMapping,(Display* a),(a),return) | 57 return) |
58 SDL_X11_SYM(int,XGetPointerControl,(Display* a,int* b,int* c,int* d),(a,b,c,d),return) | 58 SDL_X11_SYM(Colormap, XCreateColormap, |
59 SDL_X11_SYM(int,XGetScreenSaver,(Display* a,int* b,int* c,int* d, int* e),(a,b,c,d,e),return) | 59 (Display * a, Window b, Visual * c, int d), (a, b, c, d), |
60 SDL_X11_SYM(XVisualInfo*,XGetVisualInfo,(Display* a,long b,XVisualInfo* c,int* d),(a,b,c,d),return) | 60 return) SDL_X11_SYM(Cursor, XCreatePixmapCursor, (Display * a, |
61 SDL_X11_SYM(XWMHints*,XGetWMHints,(Display* a,Window b),(a,b),return) | 61 Pixmap b, |
62 SDL_X11_SYM(Status,XGetWindowAttributes,(Display* a,Window b,XWindowAttributes* c),(a,b,c),return) | 62 Pixmap c, |
63 SDL_X11_SYM(int,XGrabKeyboard,(Display* a,Window b,Bool c,int d,int e,Time f),(a,b,c,d,e,f),return) | 63 XColor * d, |
64 SDL_X11_SYM(int,XGrabPointer,(Display* a,Window b,Bool c,unsigned int d,int e,int f,Window g,Cursor h,Time i),(a,b,c,d,e,f,g,h,i),return) | 64 XColor * e, |
65 SDL_X11_SYM(Status,XIconifyWindow,(Display* a,Window b,int c),(a,b,c),return) | 65 unsigned int |
66 SDL_X11_SYM(int,XInstallColormap,(Display* a,Colormap b),(a,b),return) | 66 f, |
67 SDL_X11_SYM(KeyCode,XKeysymToKeycode,(Display* a,KeySym b),(a,b),return) | 67 unsigned int |
68 SDL_X11_SYM(Atom,XInternAtom,(Display* a,_Xconst char* b,Bool c),(a,b,c),return) | 68 g), (a, b, c, |
69 SDL_X11_SYM(XPixmapFormatValues*,XListPixmapFormats,(Display* a,int* b),(a,b),return) | 69 d, e, f, |
70 SDL_X11_SYM(int,XLookupString,(XKeyEvent* a,char* b,int c,KeySym* d,XComposeStatus* e),(a,b,c,d,e),return) | 70 g), |
71 SDL_X11_SYM(int,XMapRaised,(Display* a,Window b),(a,b),return) | 71 return) SDL_X11_SYM(GC, XCreateGC, |
72 SDL_X11_SYM(int,XMapWindow,(Display* a,Window b),(a,b),return) | 72 (Display * a, |
73 SDL_X11_SYM(int,XMaskEvent,(Display* a,long b,XEvent* c),(a,b,c),return) | 73 Drawable b, |
74 SDL_X11_SYM(Status,XMatchVisualInfo,(Display* a,int b,int c,int d,XVisualInfo* e),(a,b,c,d,e),return) | 74 unsigned long c, |
75 SDL_X11_SYM(int,XMissingExtension,(Display* a,_Xconst char* b),(a,b),return) | 75 XGCValues * d), (a, b, |
76 SDL_X11_SYM(int,XMoveResizeWindow,(Display* a,Window b,int c,int d,unsigned int e,unsigned int f),(a,b,c,d,e,f),return) | 76 c, |
77 SDL_X11_SYM(int,XMoveWindow,(Display* a,Window b,int c,int d),(a,b,c,d),return) | 77 d), |
78 SDL_X11_SYM(int,XNextEvent,(Display* a,XEvent* b),(a,b),return) | 78 return) |
79 SDL_X11_SYM(Display*,XOpenDisplay,(_Xconst char* a),(a),return) | 79 SDL_X11_SYM(XImage *, XCreateImage, |
80 SDL_X11_SYM(int,XPeekEvent,(Display* a,XEvent* b),(a,b),return) | 80 (Display * a, Visual * b, unsigned int c, int d, int e, char *f, |
81 SDL_X11_SYM(int,XPending,(Display* a),(a),return) | 81 unsigned int g, unsigned int h, int i, int j), (a, b, c, d, e, |
82 SDL_X11_SYM(int,XPutImage,(Display* a,Drawable b,GC c,XImage* d,int e,int f,int g,int h,unsigned int i,unsigned int j),(a,b,c,d,e,f,g,h,i,j),return) | 82 f, g, h, i, j), |
83 SDL_X11_SYM(int,XQueryColors,(Display* a,Colormap b,XColor* c,int d),(a,b,c,d),return) | 83 return) SDL_X11_SYM(Pixmap, XCreatePixmap, (Display * a, |
84 SDL_X11_SYM(int,XQueryKeymap,(Display* a,char *b),(a,b),return) | 84 Drawable b, |
85 SDL_X11_SYM(Bool,XQueryPointer,(Display* a,Window b,Window* c,Window* d,int* e,int* f,int* g,int* h,unsigned int* i),(a,b,c,d,e,f,g,h,i),return) | 85 unsigned int c, |
86 SDL_X11_SYM(int,XRaiseWindow,(Display* a,Window b),(a,b),return) | 86 unsigned int d, |
87 SDL_X11_SYM(int,XReparentWindow,(Display* a,Window b,Window c,int d,int e),(a,b,c,d,e),return) | 87 unsigned int e), (a, |
88 SDL_X11_SYM(int,XResizeWindow,(Display* a,Window b,unsigned int c,unsigned int d),(a,b,c,d),return) | 88 b, |
89 SDL_X11_SYM(int,XSelectInput,(Display* a,Window b,long c),(a,b,c),return) | 89 c, |
90 SDL_X11_SYM(Status,XSendEvent,(Display* a,Window b,Bool c,long d,XEvent* e),(a,b,c,d,e),return) | 90 d, |
91 SDL_X11_SYM(int,XSetClassHint,(Display* a,Window b,XClassHint* c),(a,b,c),return) | 91 e), |
92 SDL_X11_SYM(XErrorHandler,XSetErrorHandler,(XErrorHandler a),(a),return) | 92 return) SDL_X11_SYM(Pixmap, |
93 SDL_X11_SYM(XIOErrorHandler,XSetIOErrorHandler,(XIOErrorHandler a),(a),return) | 93 XCreatePixmapFromBitmapData, |
94 SDL_X11_SYM(int,XSetScreenSaver,(Display* a,int b,int c,int d,int e),(a,b,c,d,e),return) | 94 (Display * a, |
95 SDL_X11_SYM(int,XSetTransientForHint,(Display* a,Window b,Window c),(a,b,c),return) | 95 Drawable b, char *c, |
96 SDL_X11_SYM(int,XSetWMHints,(Display* a,Window b,XWMHints* c),(a,b,c),return) | 96 unsigned int d, |
97 SDL_X11_SYM(void,XSetTextProperty,(Display* a,Window b,XTextProperty* c,Atom d),(a,b,c,d),) | 97 unsigned int e, |
98 SDL_X11_SYM(void,XSetWMNormalHints,(Display* a,Window b,XSizeHints* c),(a,b,c),) | 98 unsigned long f, unsigned long g, unsigned int h), (a, b, c, d, e, f, g, h), return) |
99 SDL_X11_SYM(Status,XSetWMProtocols,(Display* a,Window b,Atom* c,int d),(a,b,c,d),return) | 99 SDL_X11_SYM(Window, XCreateSimpleWindow, |
100 SDL_X11_SYM(int,XSetWindowBackground,(Display* a,Window b,unsigned long c),(a,b,c),return) | 100 (Display * a, Window b, int c, int d, unsigned int e, |
101 SDL_X11_SYM(int,XSetWindowBackgroundPixmap,(Display* a,Window b,Pixmap c),(a,b,c),return) | 101 unsigned int f, unsigned int g, unsigned long h, |
102 SDL_X11_SYM(int,XSetWindowColormap,(Display* a,Window b,Colormap c),(a,b,c),return) | 102 unsigned long i), (a, b, c, d, e, f, g, h, i), |
103 SDL_X11_SYM(int,XStoreColors,(Display* a,Colormap b,XColor* c,int d),(a,b,c,d),return) | 103 return) SDL_X11_SYM(Window, XCreateWindow, (Display * a, |
104 SDL_X11_SYM(Status,XStringListToTextProperty,(char** a,int b,XTextProperty* c),(a,b,c),return) | 104 Window b, int c, |
105 SDL_X11_SYM(int,XSync,(Display* a,Bool b),(a,b),return) | 105 int d, |
106 SDL_X11_SYM(int,XUngrabKeyboard,(Display* a,Time b),(a,b),return) | 106 unsigned int e, |
107 SDL_X11_SYM(int,XUngrabPointer,(Display* a,Time b),(a,b),return) | 107 unsigned int f, |
108 SDL_X11_SYM(int,XUnmapWindow,(Display* a,Window b),(a,b),return) | 108 unsigned int g, |
109 SDL_X11_SYM(int,XWarpPointer,(Display* a,Window b,Window c,int d,int e,unsigned int f,unsigned int g,int h, int i),(a,b,c,d,e,f,g,h,i),return) | 109 int h, |
110 SDL_X11_SYM(VisualID,XVisualIDFromVisual,(Visual* a),(a),return) | 110 unsigned int i, |
111 SDL_X11_SYM(XExtDisplayInfo*,XextAddDisplay,(XExtensionInfo* a,Display* b,char* c,XExtensionHooks* d,int e,XPointer f),(a,b,c,d,e,f),return) | 111 Visual * j, |
112 SDL_X11_SYM(XExtensionInfo*,XextCreateExtension,(void),(),return) | 112 unsigned long k, |
113 SDL_X11_SYM(void,XextDestroyExtension,(XExtensionInfo* a),(a),) | 113 XSetWindowAttributes |
114 SDL_X11_SYM(XExtDisplayInfo*,XextFindDisplay,(XExtensionInfo* a,Display* b),(a,b),return) | 114 * l), (a, b, c, d, |
115 SDL_X11_SYM(int,XextRemoveDisplay,(XExtensionInfo* a,Display* b),(a,b),return) | 115 e, f, g, h, |
116 SDL_X11_SYM(Bool,XQueryExtension,(Display* a,_Xconst char* b,int* c,int* d,int* e),(a,b,c,d,e),return) | 116 i, j, k, l), |
117 SDL_X11_SYM(char *,XDisplayString,(Display* a),(a),return) | 117 return) SDL_X11_SYM(int, XDefineCursor, (Display * a, Window b, Cursor c), (a, b, c), return) |
118 SDL_X11_SYM(int,XGetErrorText,(Display* a,int b,char* c,int d),(a,b,c,d),return) | 118 SDL_X11_SYM(int, XDeleteProperty, (Display * a, Window b, Atom c), (a, b, c), |
119 SDL_X11_SYM(void,_XEatData,(Display* a,unsigned long b),(a,b),) | 119 return) SDL_X11_SYM(int, XDestroyWindow, (Display * a, |
120 SDL_X11_SYM(void,_XFlush,(Display* a),(a),) | 120 Window b), (a, b), |
121 SDL_X11_SYM(void,_XFlushGCCache,(Display* a,GC b),(a,b),) | 121 return) SDL_X11_SYM(char *, XDisplayName, |
122 SDL_X11_SYM(int,_XRead,(Display* a,char* b,long c),(a,b,c),return) | 122 (_Xconst char *a), (a), |
123 SDL_X11_SYM(void,_XReadPad,(Display* a,char* b,long c),(a,b,c),) | 123 return) |
124 SDL_X11_SYM(void,_XSend,(Display* a,_Xconst char* b,long c),(a,b,c),) | 124 SDL_X11_SYM(int, XEventsQueued, (Display * a, int b), (a, b), |
125 SDL_X11_SYM(Status,_XReply,(Display* a,xReply* b,int c,Bool d),(a,b,c,d),return) | 125 return) SDL_X11_SYM(Bool, XFilterEvent, (XEvent * event, |
126 SDL_X11_SYM(unsigned long,_XSetLastRequestRead,(Display* a,xGenericReply* b),(a,b),return) | 126 Window w), (event, w), |
127 SDL_X11_SYM(SDL_X11_XSynchronizeRetType,XSynchronize,(Display* a,Bool b),(a,b),return) | 127 return) SDL_X11_SYM(int, XFlush, |
128 SDL_X11_SYM(SDL_X11_XESetWireToEventRetType,XESetWireToEvent,(Display* a,int b,SDL_X11_XESetWireToEventRetType c),(a,b,c),return) | 128 (Display * a), (a), |
129 SDL_X11_SYM(SDL_X11_XESetEventToWireRetType,XESetEventToWire,(Display* a,int b,SDL_X11_XESetEventToWireRetType c),(a,b,c),return) | 129 return) |
130 SDL_X11_SYM(XExtensionErrorHandler,XSetExtensionErrorHandler,(XExtensionErrorHandler a),(a),return) | 130 SDL_X11_SYM(int, XFree, (void *a), (a), return) SDL_X11_SYM(int, |
131 | 131 XFreeColormap, |
132 (Display * | |
133 a, | |
134 Colormap | |
135 b), (a, b), | |
136 return) | |
137 SDL_X11_SYM(int, XFreeColors, | |
138 (Display * a, Colormap b, unsigned long *c, int d, unsigned long e), | |
139 (a, b, c, d, e), return) SDL_X11_SYM(int, XFreeCursor, | |
140 (Display * a, Cursor b), | |
141 (a, b), return) | |
142 SDL_X11_SYM(int, XFreeGC, (Display * a, GC b), (a, b), | |
143 return) SDL_X11_SYM(int, XFreeModifiermap, | |
144 (XModifierKeymap * a), (a), | |
145 return) SDL_X11_SYM(int, XFreePixmap, | |
146 (Display * a, | |
147 Pixmap b), (a, b), | |
148 return) | |
149 SDL_X11_SYM(int, XGetErrorDatabaseText, | |
150 (Display * a, _Xconst char *b, _Xconst char *c, _Xconst char *d, | |
151 char *e, int f), (a, b, c, d, e, f), | |
152 return) SDL_X11_SYM(XModifierKeymap *, XGetModifierMapping, (Display * a), (a), return) SDL_X11_SYM(int, XGetPointerControl, | |
153 (Display * a, int *b, int *c, | |
154 int *d), (a, b, c, d), return) | |
155 SDL_X11_SYM(int, XGetScreenSaver, | |
156 (Display * a, int *b, int *c, int *d, int *e), (a, b, c, d, e), | |
157 return) SDL_X11_SYM(XVisualInfo *, XGetVisualInfo, (Display * a, | |
158 long b, | |
159 XVisualInfo | |
160 * c, | |
161 int *d), (a, | |
162 b, | |
163 c, | |
164 d), | |
165 return) SDL_X11_SYM(XWMHints *, | |
166 XGetWMHints, | |
167 (Display * a, | |
168 Window b), (a, b), | |
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, | |
376 d, e), | |
377 return) | |
378 SDL_X11_SYM(char *, XDisplayString, (Display * a), (a), return) | |
379 SDL_X11_SYM(int, XGetErrorText, (Display * a, int b, char *c, int d), | |
380 (a, b, c, d), return) | |
381 SDL_X11_SYM(void, _XEatData, (Display * a, unsigned long b), (a, b),) | |
382 SDL_X11_SYM(void, _XFlush, (Display * a), (a),) | |
383 SDL_X11_SYM(void, _XFlushGCCache, (Display * a, GC b), (a, b),) | |
384 SDL_X11_SYM(int, _XRead, (Display * a, char *b, long c), (a, b, c), return) | |
385 SDL_X11_SYM(void, _XReadPad, (Display * a, char *b, long c), (a, b, c),) | |
386 SDL_X11_SYM(void, _XSend, (Display * a, _Xconst char *b, long c), (a, b, c),) | |
387 SDL_X11_SYM(Status, _XReply, (Display * a, xReply * b, int c, Bool d), | |
388 (a, b, c, d), return) | |
389 SDL_X11_SYM(unsigned long, _XSetLastRequestRead, | |
390 (Display * a, xGenericReply * b), (a, b), return) | |
391 SDL_X11_SYM(SDL_X11_XSynchronizeRetType, XSynchronize, (Display * a, Bool b), | |
392 (a, b), return) | |
393 SDL_X11_SYM(SDL_X11_XESetWireToEventRetType, XESetWireToEvent, | |
394 (Display * a, int b, SDL_X11_XESetWireToEventRetType c), (a, b, | |
395 c), | |
396 return) | |
397 SDL_X11_SYM(SDL_X11_XESetEventToWireRetType, XESetEventToWire, | |
398 (Display * a, int b, SDL_X11_XESetEventToWireRetType c), (a, b, | |
399 c), | |
400 return) | |
401 SDL_X11_SYM(XExtensionErrorHandler, XSetExtensionErrorHandler, | |
402 (XExtensionErrorHandler a), (a), return) | |
132 #if NeedWidePrototypes | 403 #if NeedWidePrototypes |
133 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,unsigned int b,int c),(a,b,c),return) | 404 SDL_X11_SYM(KeySym, XKeycodeToKeysym, (Display * a, unsigned int b, int c), |
405 (a, b, c), return) | |
134 #else | 406 #else |
135 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,KeyCode b,int c),(a,b,c),return) | 407 SDL_X11_SYM(KeySym, XKeycodeToKeysym, (Display * a, KeyCode b, int c), |
136 #endif | 408 (a, b, c), return) |
137 | 409 #endif |
138 #ifdef X_HAVE_UTF8_STRING | 410 #ifdef X_HAVE_UTF8_STRING |
139 SDL_X11_MODULE(UTF8) | 411 SDL_X11_MODULE(UTF8) |
140 SDL_X11_SYM(int,Xutf8TextListToTextProperty,(Display* a,char** b,int c,XICCEncodingStyle d,XTextProperty* e),(a,b,c,d,e),return) | 412 SDL_X11_SYM(int, Xutf8TextListToTextProperty, |
141 SDL_X11_SYM(int,Xutf8LookupString,(XIC a,XKeyPressedEvent* b,char* c,int d,KeySym* e,Status* f),(a,b,c,d,e,f),return) | 413 (Display * a, char **b, int c, XICCEncodingStyle d, |
414 XTextProperty * e), (a, b, c, d, e), return) | |
415 SDL_X11_SYM(int, Xutf8LookupString, | |
416 (XIC a, XKeyPressedEvent * b, char *c, int d, KeySym * e, | |
417 Status * f), (a, b, c, d, e, f), return) | |
142 /*SDL_X11_SYM(XIC,XCreateIC,(XIM, ...),return) !!! ARGH! */ | 418 /*SDL_X11_SYM(XIC,XCreateIC,(XIM, ...),return) !!! ARGH! */ |
143 SDL_X11_SYM(void,XDestroyIC,(XIC a),(a),) | 419 SDL_X11_SYM(void, XDestroyIC, (XIC a), (a),) |
144 SDL_X11_SYM(void,XSetICFocus,(XIC a),(a),) | 420 SDL_X11_SYM(void, XSetICFocus, (XIC a), (a),) |
145 SDL_X11_SYM(void,XUnsetICFocus,(XIC a),(a),) | 421 SDL_X11_SYM(void, XUnsetICFocus, (XIC a), (a),) |
146 SDL_X11_SYM(XIM,XOpenIM,(Display* a,struct _XrmHashBucketRec* b,char* c,char* d),(a,b,c,d),return) | 422 SDL_X11_SYM(XIM, XOpenIM, |
147 SDL_X11_SYM(Status,XCloseIM,(XIM a),(a),return) | 423 (Display * a, struct _XrmHashBucketRec * b, char *c, char *d), |
148 #endif | 424 (a, b, c, d), return) |
149 | 425 SDL_X11_SYM(Status, XCloseIM, (XIM a), (a), return) |
426 #endif | |
150 #ifndef NO_SHARED_MEMORY | 427 #ifndef NO_SHARED_MEMORY |
151 SDL_X11_MODULE(SHM) | 428 SDL_X11_MODULE(SHM) |
152 SDL_X11_SYM(Status,XShmAttach,(Display* a,XShmSegmentInfo* b),(a,b),return) | 429 SDL_X11_SYM(Status, XShmAttach, (Display * a, XShmSegmentInfo * b), (a, b), |
153 SDL_X11_SYM(Status,XShmDetach,(Display* a,XShmSegmentInfo* b),(a,b),return) | 430 return) |
154 SDL_X11_SYM(Status,XShmPutImage,(Display* a,Drawable b,GC c,XImage* d,int e,int f,int g,int h,unsigned int i,unsigned int j,Bool k),(a,b,c,d,e,f,g,h,i,j,k),return) | 431 SDL_X11_SYM(Status, XShmDetach, (Display * a, XShmSegmentInfo * b), (a, b), |
155 SDL_X11_SYM(XImage*,XShmCreateImage,(Display* a,Visual* b,unsigned int c,int d,char* e,XShmSegmentInfo* f,unsigned int g,unsigned int h),(a,b,c,d,e,f,g,h),return) | 432 return) |
156 SDL_X11_SYM(Bool,XShmQueryExtension,(Display* a),(a),return) | 433 SDL_X11_SYM(Status, XShmPutImage, |
157 #endif | 434 (Display * a, Drawable b, GC c, XImage * d, int e, int f, int g, |
158 | 435 int h, unsigned int i, unsigned int j, Bool k), (a, b, c, d, e, |
436 f, g, h, i, j, | |
437 k), return) | |
438 SDL_X11_SYM(XImage *, XShmCreateImage, | |
439 (Display * a, Visual * b, unsigned int c, int d, char *e, | |
440 XShmSegmentInfo * f, unsigned int g, unsigned int h), (a, b, c, | |
441 d, e, f, | |
442 g, h), | |
443 return) | |
444 SDL_X11_SYM(Bool, XShmQueryExtension, (Display * a), (a), return) | |
445 #endif | |
159 /* | 446 /* |
160 * 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, |
161 * 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. |
162 */ | 449 */ |
163 #ifdef LONG64 | 450 #ifdef LONG64 |
164 SDL_X11_MODULE(IO_32BIT) | 451 SDL_X11_MODULE(IO_32BIT) |
165 SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) | 452 SDL_X11_SYM(int, _XData32, |
166 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) | 453 (Display * dpy, register long *data, unsigned len), (dpy, data, |
167 #endif | 454 len), return) |
168 | 455 SDL_X11_SYM(void, _XRead32, (Display * dpy, register long *data, long len), |
456 (dpy, data, len),) | |
457 #endif | |
169 /* | 458 /* |
170 * These only show up on some variants of Unix. | 459 * These only show up on some variants of Unix. |
171 */ | 460 */ |
172 #if defined(__osf__) | 461 #if defined(__osf__) |
173 SDL_X11_MODULE(OSF_ENTRY_POINTS) | 462 SDL_X11_MODULE(OSF_ENTRY_POINTS) |
174 SDL_X11_SYM(void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr p),(dpy,p),) | 463 SDL_X11_SYM(void, _SmtBufferOverflow, |
175 SDL_X11_SYM(void,_SmtIpError,(Display *dpy,register smtDisplayPtr p, int i),(dpy,p,i),) | 464 (Display * dpy, register smtDisplayPtr p), (dpy, p),) |
176 SDL_X11_SYM(int,ipAllocateData,(ChannelPtr a, IPCard b, IPDataPtr * c),(a,b,c),return) | 465 SDL_X11_SYM(void, _SmtIpError, |
177 SDL_X11_SYM(int,ipUnallocateAndSendData,(ChannelPtr a, IPCard b),(a,b),return) | 466 (Display * dpy, register smtDisplayPtr p, int i), (dpy, p, i),) |
178 #endif | 467 SDL_X11_SYM(int, ipAllocateData, (ChannelPtr a, IPCard b, IPDataPtr * c), |
179 | 468 (a, b, c), return) |
469 SDL_X11_SYM(int, ipUnallocateAndSendData, (ChannelPtr a, IPCard b), (a, b), | |
470 return) | |
471 #endif | |
180 /* Xrandr support. */ | 472 /* Xrandr support. */ |
181 #if SDL_VIDEO_DRIVER_X11_XRANDR | 473 #if SDL_VIDEO_DRIVER_X11_XRANDR |
182 SDL_X11_MODULE(XRANDR) | 474 SDL_X11_MODULE(XRANDR) |
183 SDL_X11_SYM(Status,XRRQueryVersion,(Display *dpy,int *major_versionp,int *minor_versionp),(dpy,major_versionp,minor_versionp),return) | 475 SDL_X11_SYM(Status, XRRQueryVersion, |
184 SDL_X11_SYM(XRRScreenConfiguration *,XRRGetScreenInfo,(Display *dpy,Drawable draw),(dpy,draw),return) | 476 (Display * dpy, int *major_versionp, int *minor_versionp), (dpy, |
185 SDL_X11_SYM(SizeID,XRRConfigCurrentConfiguration,(XRRScreenConfiguration *config,Rotation *rotation),(config,rotation),return) | 477 major_versionp, |
186 SDL_X11_SYM(XRRScreenSize *,XRRConfigSizes,(XRRScreenConfiguration *config, int *nsizes),(config,nsizes),return) | 478 minor_versionp), |
187 SDL_X11_SYM(Status,XRRSetScreenConfig,(Display *dpy, XRRScreenConfiguration *config, Drawable draw, int size_index, Rotation rotation, Time timestamp),(dpy,config,draw,size_index,rotation,timestamp),return) | 479 return) |
188 SDL_X11_SYM(void,XRRFreeScreenConfigInfo,(XRRScreenConfiguration *config),(config),) | 480 SDL_X11_SYM(XRRScreenConfiguration *, XRRGetScreenInfo, |
189 #endif | 481 (Display * dpy, Drawable draw), (dpy, draw), return) |
190 | 482 SDL_X11_SYM(SizeID, XRRConfigCurrentConfiguration, |
483 (XRRScreenConfiguration * config, Rotation * rotation), (config, | |
484 rotation), | |
485 return) | |
486 SDL_X11_SYM(XRRScreenSize *, XRRConfigSizes, | |
487 (XRRScreenConfiguration * config, int *nsizes), (config, nsizes), | |
488 return) | |
489 SDL_X11_SYM(short *, XRRConfigRates, | |
490 (XRRScreenConfiguration * config, int sizeID, int *nrates), | |
491 (config, sizeID, nrates), return) | |
492 SDL_X11_SYM(Status, XRRSetScreenConfig, | |
493 (Display * dpy, XRRScreenConfiguration * config, Drawable draw, | |
494 int size_index, Rotation rotation, Time timestamp), (dpy, | |
495 config, | |
496 draw, | |
497 size_index, | |
498 rotation, | |
499 timestamp), | |
500 return) | |
501 SDL_X11_SYM(void, XRRFreeScreenConfigInfo, (XRRScreenConfiguration * config), | |
502 (config),) | |
503 #endif | |
191 /* DPMS support */ | 504 /* DPMS support */ |
192 #if SDL_VIDEO_DRIVER_X11_DPMS | 505 #if SDL_VIDEO_DRIVER_X11_DPMS |
193 SDL_X11_MODULE(DPMS) | 506 SDL_X11_MODULE(DPMS) |
194 SDL_X11_SYM(Status,DPMSQueryExtension,(Display *dpy,int *major_versionp,int *minor_versionp),(dpy,major_versionp,minor_versionp),return) | 507 SDL_X11_SYM(Status, DPMSQueryExtension, |
195 SDL_X11_SYM(Status,DPMSInfo,(Display *dpy,CARD16 *state,BOOL *onoff),(dpy,state,onoff),return) | 508 (Display * dpy, int *major_versionp, int *minor_versionp), (dpy, |
196 SDL_X11_SYM(Status,DPMSEnable,(Display *dpy),(dpy),return) | 509 major_versionp, |
197 SDL_X11_SYM(Status,DPMSDisable,(Display *dpy),(dpy),return) | 510 minor_versionp), |
198 #endif | 511 return) |
199 | 512 SDL_X11_SYM(Status, DPMSInfo, (Display * dpy, CARD16 * state, BOOL * onoff), |
513 (dpy, state, onoff), return) | |
514 SDL_X11_SYM(Status, DPMSEnable, (Display * dpy), (dpy), return) | |
515 SDL_X11_SYM(Status, DPMSDisable, (Display * dpy), (dpy), return) | |
516 #endif | |
200 /* end of SDL_x11sym.h ... */ | 517 /* end of SDL_x11sym.h ... */ |
201 | 518 /* vi: set ts=4 sw=4 expandtab: */ |