Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11sym.h @ 1235:f60f6f4ffc6f
Make some dynamic X11 symbols option. _XData32 and _XRead32 are only available
on 64-bit systems, and are chosen with macros in the X11 headers. So on
32-bit systems, it should fail to find these symbols and keep going anyhow.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 06 Jan 2006 20:56:13 +0000 |
parents | d05306f0dc21 |
children | a388f2b59044 |
comparison
equal
deleted
inserted
replaced
1234:73676c1f56ee | 1235:f60f6f4ffc6f |
---|---|
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 SDL_X11_SYM(XClassHint*,XAllocClassHint,(void)) | 23 SDL_X11_SYM(1,XClassHint*,XAllocClassHint,(void)) |
24 SDL_X11_SYM(Status,XAllocColor,(Display*,Colormap,XColor*)) | 24 SDL_X11_SYM(1,Status,XAllocColor,(Display*,Colormap,XColor*)) |
25 SDL_X11_SYM(XSizeHints*,XAllocSizeHints,(void)) | 25 SDL_X11_SYM(1,XSizeHints*,XAllocSizeHints,(void)) |
26 SDL_X11_SYM(XWMHints*,XAllocWMHints,(void)) | 26 SDL_X11_SYM(1,XWMHints*,XAllocWMHints,(void)) |
27 SDL_X11_SYM(int,XChangePointerControl,(Display*,Bool,Bool,int,int,int)) | 27 SDL_X11_SYM(1,int,XChangePointerControl,(Display*,Bool,Bool,int,int,int)) |
28 SDL_X11_SYM(int,XChangeProperty,(Display*,Window,Atom,Atom,int,int,_Xconst unsigned char*,int)) | 28 SDL_X11_SYM(1,int,XChangeProperty,(Display*,Window,Atom,Atom,int,int,_Xconst unsigned char*,int)) |
29 SDL_X11_SYM(int,XChangeWindowAttributes,(Display*,Window,unsigned long,XSetWindowAttributes*)) | 29 SDL_X11_SYM(1,int,XChangeWindowAttributes,(Display*,Window,unsigned long,XSetWindowAttributes*)) |
30 SDL_X11_SYM(Bool,XCheckTypedEvent,(Display*,int,XEvent*)) | 30 SDL_X11_SYM(1,Bool,XCheckTypedEvent,(Display*,int,XEvent*)) |
31 SDL_X11_SYM(int,XClearWindow,(Display*,Window)) | 31 SDL_X11_SYM(1,int,XClearWindow,(Display*,Window)) |
32 SDL_X11_SYM(int,XCloseDisplay,(Display*)) | 32 SDL_X11_SYM(1,int,XCloseDisplay,(Display*)) |
33 SDL_X11_SYM(Colormap,XCreateColormap,(Display*,Window,Visual*,int)) | 33 SDL_X11_SYM(1,Colormap,XCreateColormap,(Display*,Window,Visual*,int)) |
34 SDL_X11_SYM(Cursor,XCreatePixmapCursor,(Display*,Pixmap,Pixmap,XColor*,XColor*,unsigned int,unsigned int)) | 34 SDL_X11_SYM(1,Cursor,XCreatePixmapCursor,(Display*,Pixmap,Pixmap,XColor*,XColor*,unsigned int,unsigned int)) |
35 SDL_X11_SYM(GC,XCreateGC,(Display*,Drawable,unsigned long,XGCValues*)) | 35 SDL_X11_SYM(1,GC,XCreateGC,(Display*,Drawable,unsigned long,XGCValues*)) |
36 SDL_X11_SYM(XImage*,XCreateImage,(Display*,Visual*,unsigned int,int,int,char*,unsigned int,unsigned int,int,int)) | 36 SDL_X11_SYM(1,XImage*,XCreateImage,(Display*,Visual*,unsigned int,int,int,char*,unsigned int,unsigned int,int,int)) |
37 SDL_X11_SYM(Pixmap,XCreatePixmap,(Display*,Drawable,unsigned int,unsigned int,unsigned int)) | 37 SDL_X11_SYM(1,Pixmap,XCreatePixmap,(Display*,Drawable,unsigned int,unsigned int,unsigned int)) |
38 SDL_X11_SYM(Pixmap,XCreatePixmapFromBitmapData,(Display*,Drawable,char*,unsigned int,unsigned int,unsigned long,unsigned long,unsigned int)) | 38 SDL_X11_SYM(1,Pixmap,XCreatePixmapFromBitmapData,(Display*,Drawable,char*,unsigned int,unsigned int,unsigned long,unsigned long,unsigned int)) |
39 SDL_X11_SYM(Window,XCreateSimpleWindow,(Display*,Window,int,int,unsigned int,unsigned int,unsigned int,unsigned long,unsigned long)) | 39 SDL_X11_SYM(1,Window,XCreateSimpleWindow,(Display*,Window,int,int,unsigned int,unsigned int,unsigned int,unsigned long,unsigned long)) |
40 SDL_X11_SYM(Window,XCreateWindow,(Display*,Window,int,int,unsigned int,unsigned int,unsigned int,int,unsigned int,Visual*,unsigned long,XSetWindowAttributes*)) | 40 SDL_X11_SYM(1,Window,XCreateWindow,(Display*,Window,int,int,unsigned int,unsigned int,unsigned int,int,unsigned int,Visual*,unsigned long,XSetWindowAttributes*)) |
41 SDL_X11_SYM(int,XDefineCursor,(Display*,Window,Cursor)) | 41 SDL_X11_SYM(1,int,XDefineCursor,(Display*,Window,Cursor)) |
42 SDL_X11_SYM(int,XDeleteProperty,(Display*,Window,Atom)) | 42 SDL_X11_SYM(1,int,XDeleteProperty,(Display*,Window,Atom)) |
43 SDL_X11_SYM(int,XDestroyWindow,(Display*,Window)) | 43 SDL_X11_SYM(1,int,XDestroyWindow,(Display*,Window)) |
44 SDL_X11_SYM(char*,XDisplayName,(_Xconst char*)) | 44 SDL_X11_SYM(1,char*,XDisplayName,(_Xconst char*)) |
45 SDL_X11_SYM(int,XEventsQueued,(Display*,int)) | 45 SDL_X11_SYM(1,int,XEventsQueued,(Display*,int)) |
46 SDL_X11_SYM(int,XFlush,(Display*)) | 46 SDL_X11_SYM(1,int,XFlush,(Display*)) |
47 SDL_X11_SYM(int,XFree,(void*)) | 47 SDL_X11_SYM(1,int,XFree,(void*)) |
48 SDL_X11_SYM(int,XFreeColormap,(Display*,Colormap)) | 48 SDL_X11_SYM(1,int,XFreeColormap,(Display*,Colormap)) |
49 SDL_X11_SYM(int,XFreeColors,(Display*,Colormap,unsigned long*,int,unsigned long)) | 49 SDL_X11_SYM(1,int,XFreeColors,(Display*,Colormap,unsigned long*,int,unsigned long)) |
50 SDL_X11_SYM(int,XFreeCursor,(Display*,Cursor)) | 50 SDL_X11_SYM(1,int,XFreeCursor,(Display*,Cursor)) |
51 SDL_X11_SYM(int,XFreeGC,(Display*,GC)) | 51 SDL_X11_SYM(1,int,XFreeGC,(Display*,GC)) |
52 SDL_X11_SYM(int,XFreeModifiermap,(XModifierKeymap*)) | 52 SDL_X11_SYM(1,int,XFreeModifiermap,(XModifierKeymap*)) |
53 SDL_X11_SYM(int,XFreePixmap,(Display*,Pixmap)) | 53 SDL_X11_SYM(1,int,XFreePixmap,(Display*,Pixmap)) |
54 SDL_X11_SYM(int,XGetErrorDatabaseText,(Display*,_Xconst char*,_Xconst char*,_Xconst char*,char*,int)) | 54 SDL_X11_SYM(1,int,XGetErrorDatabaseText,(Display*,_Xconst char*,_Xconst char*,_Xconst char*,char*,int)) |
55 SDL_X11_SYM(XModifierKeymap*,XGetModifierMapping,(Display*)) | 55 SDL_X11_SYM(1,XModifierKeymap*,XGetModifierMapping,(Display*)) |
56 SDL_X11_SYM(int,XGetPointerControl,(Display*,int*,int*,int*)) | 56 SDL_X11_SYM(1,int,XGetPointerControl,(Display*,int*,int*,int*)) |
57 SDL_X11_SYM(XVisualInfo*,XGetVisualInfo,(Display*,long,XVisualInfo*,int*)) | 57 SDL_X11_SYM(1,XVisualInfo*,XGetVisualInfo,(Display*,long,XVisualInfo*,int*)) |
58 SDL_X11_SYM(XWMHints*,XGetWMHints,(Display*,Window)) | 58 SDL_X11_SYM(1,XWMHints*,XGetWMHints,(Display*,Window)) |
59 SDL_X11_SYM(Status,XGetWMIconName,(Display*,Window,XTextProperty*)) | 59 SDL_X11_SYM(1,Status,XGetWMIconName,(Display*,Window,XTextProperty*)) |
60 SDL_X11_SYM(Status,XGetWMName,(Display*,Window,XTextProperty*)) | 60 SDL_X11_SYM(1,Status,XGetWMName,(Display*,Window,XTextProperty*)) |
61 SDL_X11_SYM(Status,XGetWindowAttributes,(Display*,Window,XWindowAttributes*)) | 61 SDL_X11_SYM(1,Status,XGetWindowAttributes,(Display*,Window,XWindowAttributes*)) |
62 SDL_X11_SYM(int,XGrabKeyboard,(Display*,Window,Bool,int,int,Time)) | 62 SDL_X11_SYM(1,int,XGrabKeyboard,(Display*,Window,Bool,int,int,Time)) |
63 SDL_X11_SYM(int,XGrabPointer,(Display*,Window,Bool,unsigned int,int,int,Window,Cursor,Time)) | 63 SDL_X11_SYM(1,int,XGrabPointer,(Display*,Window,Bool,unsigned int,int,int,Window,Cursor,Time)) |
64 SDL_X11_SYM(Status,XIconifyWindow,(Display*,Window,int)) | 64 SDL_X11_SYM(1,Status,XIconifyWindow,(Display*,Window,int)) |
65 SDL_X11_SYM(int,XInstallColormap,(Display*,Colormap)) | 65 SDL_X11_SYM(1,int,XInstallColormap,(Display*,Colormap)) |
66 SDL_X11_SYM(KeyCode,XKeysymToKeycode,(Display*,KeySym)) | 66 SDL_X11_SYM(1,KeyCode,XKeysymToKeycode,(Display*,KeySym)) |
67 SDL_X11_SYM(Atom,XInternAtom,(Display*,_Xconst char*,Bool)) | 67 SDL_X11_SYM(1,Atom,XInternAtom,(Display*,_Xconst char*,Bool)) |
68 SDL_X11_SYM(XPixmapFormatValues*,XListPixmapFormats,(Display*,int*)) | 68 SDL_X11_SYM(1,XPixmapFormatValues*,XListPixmapFormats,(Display*,int*)) |
69 SDL_X11_SYM(int,XLookupString,(XKeyEvent*,char*,int,KeySym*,XComposeStatus*)) | 69 SDL_X11_SYM(1,int,XLookupString,(XKeyEvent*,char*,int,KeySym*,XComposeStatus*)) |
70 SDL_X11_SYM(int,XMapRaised,(Display*,Window)) | 70 SDL_X11_SYM(1,int,XMapRaised,(Display*,Window)) |
71 SDL_X11_SYM(int,XMapWindow,(Display*,Window)) | 71 SDL_X11_SYM(1,int,XMapWindow,(Display*,Window)) |
72 SDL_X11_SYM(int,XMaskEvent,(Display*,long,XEvent*)) | 72 SDL_X11_SYM(1,int,XMaskEvent,(Display*,long,XEvent*)) |
73 SDL_X11_SYM(Status,XMatchVisualInfo,(Display*,int,int,int,XVisualInfo*)) | 73 SDL_X11_SYM(1,Status,XMatchVisualInfo,(Display*,int,int,int,XVisualInfo*)) |
74 SDL_X11_SYM(int,XMissingExtension,(Display*,_Xconst char*)) | 74 SDL_X11_SYM(1,int,XMissingExtension,(Display*,_Xconst char*)) |
75 SDL_X11_SYM(int,XMoveResizeWindow,(Display*,Window,int,int,unsigned int,unsigned int)) | 75 SDL_X11_SYM(1,int,XMoveResizeWindow,(Display*,Window,int,int,unsigned int,unsigned int)) |
76 SDL_X11_SYM(int,XMoveWindow,(Display*,Window,int,int)) | 76 SDL_X11_SYM(1,int,XMoveWindow,(Display*,Window,int,int)) |
77 SDL_X11_SYM(int,XNextEvent,(Display*,XEvent*)) | 77 SDL_X11_SYM(1,int,XNextEvent,(Display*,XEvent*)) |
78 SDL_X11_SYM(Display*,XOpenDisplay,(_Xconst char*)) | 78 SDL_X11_SYM(1,Display*,XOpenDisplay,(_Xconst char*)) |
79 SDL_X11_SYM(int,XPeekEvent,(Display*,XEvent*)) | 79 SDL_X11_SYM(1,int,XPeekEvent,(Display*,XEvent*)) |
80 SDL_X11_SYM(int,XPending,(Display*)) | 80 SDL_X11_SYM(1,int,XPending,(Display*)) |
81 SDL_X11_SYM(int,XPutImage,(Display*,Drawable,GC,XImage*,int,int,int,int,unsigned int,unsigned int)) | 81 SDL_X11_SYM(1,int,XPutImage,(Display*,Drawable,GC,XImage*,int,int,int,int,unsigned int,unsigned int)) |
82 SDL_X11_SYM(int,XQueryColors,(Display*,Colormap,XColor*,int)) | 82 SDL_X11_SYM(1,int,XQueryColors,(Display*,Colormap,XColor*,int)) |
83 SDL_X11_SYM(int,XQueryKeymap,(Display*,char [32])) | 83 SDL_X11_SYM(1,int,XQueryKeymap,(Display*,char [32])) |
84 SDL_X11_SYM(Bool,XQueryPointer,(Display*,Window,Window*,Window*,int*,int*,int*,int*,unsigned int*)) | 84 SDL_X11_SYM(1,Bool,XQueryPointer,(Display*,Window,Window*,Window*,int*,int*,int*,int*,unsigned int*)) |
85 SDL_X11_SYM(int,XRaiseWindow,(Display*,Window)) | 85 SDL_X11_SYM(1,int,XRaiseWindow,(Display*,Window)) |
86 SDL_X11_SYM(int,XReparentWindow,(Display*,Window,Window,int,int)) | 86 SDL_X11_SYM(1,int,XReparentWindow,(Display*,Window,Window,int,int)) |
87 SDL_X11_SYM(int,XResizeWindow,(Display*,Window,unsigned int,unsigned int)) | 87 SDL_X11_SYM(1,int,XResizeWindow,(Display*,Window,unsigned int,unsigned int)) |
88 SDL_X11_SYM(int,XSelectInput,(Display*,Window,long)) | 88 SDL_X11_SYM(1,int,XSelectInput,(Display*,Window,long)) |
89 SDL_X11_SYM(Status,XSendEvent,(Display*,Window,Bool,long,XEvent*)) | 89 SDL_X11_SYM(1,Status,XSendEvent,(Display*,Window,Bool,long,XEvent*)) |
90 SDL_X11_SYM(int,XSetClassHint,(Display*,Window,XClassHint*)) | 90 SDL_X11_SYM(1,int,XSetClassHint,(Display*,Window,XClassHint*)) |
91 SDL_X11_SYM(XErrorHandler,XSetErrorHandler,(XErrorHandler)) | 91 SDL_X11_SYM(1,XErrorHandler,XSetErrorHandler,(XErrorHandler)) |
92 SDL_X11_SYM(XIOErrorHandler,XSetIOErrorHandler,(XIOErrorHandler)) | 92 SDL_X11_SYM(1,XIOErrorHandler,XSetIOErrorHandler,(XIOErrorHandler)) |
93 SDL_X11_SYM(int,XSetTransientForHint,(Display*,Window,Window)) | 93 SDL_X11_SYM(1,int,XSetTransientForHint,(Display*,Window,Window)) |
94 SDL_X11_SYM(int,XSetWMHints,(Display*,Window,XWMHints*)) | 94 SDL_X11_SYM(1,int,XSetWMHints,(Display*,Window,XWMHints*)) |
95 SDL_X11_SYM(void,XSetWMIconName,(Display*,Window,XTextProperty*)) | 95 SDL_X11_SYM(1,void,XSetWMIconName,(Display*,Window,XTextProperty*)) |
96 SDL_X11_SYM(void,XSetWMName,(Display*,Window,XTextProperty*)) | 96 SDL_X11_SYM(1,void,XSetWMName,(Display*,Window,XTextProperty*)) |
97 SDL_X11_SYM(void,XSetWMNormalHints,(Display*,Window,XSizeHints*)) | 97 SDL_X11_SYM(1,void,XSetWMNormalHints,(Display*,Window,XSizeHints*)) |
98 SDL_X11_SYM(Status,XSetWMProtocols,(Display*,Window,Atom*,int)) | 98 SDL_X11_SYM(1,Status,XSetWMProtocols,(Display*,Window,Atom*,int)) |
99 SDL_X11_SYM(int,XSetWindowBackground,(Display*,Window,unsigned long)) | 99 SDL_X11_SYM(1,int,XSetWindowBackground,(Display*,Window,unsigned long)) |
100 SDL_X11_SYM(int,XSetWindowBackgroundPixmap,(Display*,Window,Pixmap)) | 100 SDL_X11_SYM(1,int,XSetWindowBackgroundPixmap,(Display*,Window,Pixmap)) |
101 SDL_X11_SYM(int,XSetWindowColormap,(Display*,Window,Colormap)) | 101 SDL_X11_SYM(1,int,XSetWindowColormap,(Display*,Window,Colormap)) |
102 SDL_X11_SYM(int,XStoreColors,(Display*,Colormap,XColor*,int)) | 102 SDL_X11_SYM(1,int,XStoreColors,(Display*,Colormap,XColor*,int)) |
103 SDL_X11_SYM(Status,XStringListToTextProperty,(char**,int,XTextProperty*)) | 103 SDL_X11_SYM(1,Status,XStringListToTextProperty,(char**,int,XTextProperty*)) |
104 SDL_X11_SYM(int,XSync,(Display*,Bool)) | 104 SDL_X11_SYM(1,int,XSync,(Display*,Bool)) |
105 SDL_X11_SYM(int,XUngrabKeyboard,(Display*,Time)) | 105 SDL_X11_SYM(1,int,XUngrabKeyboard,(Display*,Time)) |
106 SDL_X11_SYM(int,XUngrabPointer,(Display*,Time)) | 106 SDL_X11_SYM(1,int,XUngrabPointer,(Display*,Time)) |
107 SDL_X11_SYM(int,XUnmapWindow,(Display*,Window)) | 107 SDL_X11_SYM(1,int,XUnmapWindow,(Display*,Window)) |
108 SDL_X11_SYM(int,XWarpPointer,(Display*,Window,Window,int,int,unsigned int,unsigned int,int,int)) | 108 SDL_X11_SYM(1,int,XWarpPointer,(Display*,Window,Window,int,int,unsigned int,unsigned int,int,int)) |
109 SDL_X11_SYM(VisualID,XVisualIDFromVisual,(Visual*)) | 109 SDL_X11_SYM(1,VisualID,XVisualIDFromVisual,(Visual*)) |
110 SDL_X11_SYM(XExtDisplayInfo*,XextAddDisplay,(XExtensionInfo*,Display*,char*,XExtensionHooks*,int,XPointer)) | 110 SDL_X11_SYM(1,XExtDisplayInfo*,XextAddDisplay,(XExtensionInfo*,Display*,char*,XExtensionHooks*,int,XPointer)) |
111 SDL_X11_SYM(XExtensionInfo*,XextCreateExtension,(void)) | 111 SDL_X11_SYM(1,XExtensionInfo*,XextCreateExtension,(void)) |
112 SDL_X11_SYM(void,XextDestroyExtension,(XExtensionInfo*)) | 112 SDL_X11_SYM(1,void,XextDestroyExtension,(XExtensionInfo*)) |
113 SDL_X11_SYM(XExtDisplayInfo*,XextFindDisplay,(XExtensionInfo*,Display*)) | 113 SDL_X11_SYM(1,XExtDisplayInfo*,XextFindDisplay,(XExtensionInfo*,Display*)) |
114 SDL_X11_SYM(int,XextRemoveDisplay,(XExtensionInfo*,Display*)) | 114 SDL_X11_SYM(1,int,XextRemoveDisplay,(XExtensionInfo*,Display*)) |
115 #ifdef X_HAVE_UTF8_STRING | 115 #ifdef X_HAVE_UTF8_STRING |
116 SDL_X11_SYM(int,Xutf8TextListToTextProperty,(Display*,char**,int,XICCEncodingStyle,XTextProperty*)) | 116 SDL_X11_SYM(1,int,Xutf8TextListToTextProperty,(Display*,char**,int,XICCEncodingStyle,XTextProperty*)) |
117 SDL_X11_SYM(int,Xutf8LookupString,(XIC,XKeyPressedEvent*,char*,int,KeySym*,Status*)) | 117 SDL_X11_SYM(1,int,Xutf8LookupString,(XIC,XKeyPressedEvent*,char*,int,KeySym*,Status*)) |
118 SDL_X11_SYM(XIC,XCreateIC,(XIM, ...)) | 118 SDL_X11_SYM(1,XIC,XCreateIC,(XIM, ...)) |
119 SDL_X11_SYM(void,XDestroyIC,(XIC)) | 119 SDL_X11_SYM(1,void,XDestroyIC,(XIC)) |
120 SDL_X11_SYM(void,XSetICFocus,(XIC)) | 120 SDL_X11_SYM(1,void,XSetICFocus,(XIC)) |
121 SDL_X11_SYM(void,XUnsetICFocus,(XIC)) | 121 SDL_X11_SYM(1,void,XUnsetICFocus,(XIC)) |
122 SDL_X11_SYM(XIM,XOpenIM,(Display*,struct _XrmHashBucketRec*,char*,char*)) | 122 SDL_X11_SYM(1,XIM,XOpenIM,(Display*,struct _XrmHashBucketRec*,char*,char*)) |
123 SDL_X11_SYM(Status,XCloseIM,(XIM)) | 123 SDL_X11_SYM(1,Status,XCloseIM,(XIM)) |
124 #endif | 124 #endif |
125 SDL_X11_SYM(void,_XEatData,(Display*,unsigned long)) | 125 SDL_X11_SYM(1,void,_XEatData,(Display*,unsigned long)) |
126 SDL_X11_SYM(void,_XFlush,(Display*)) | 126 SDL_X11_SYM(1,void,_XFlush,(Display*)) |
127 SDL_X11_SYM(void,_XFlushGCCache,(Display*,GC)) | 127 SDL_X11_SYM(1,void,_XFlushGCCache,(Display*,GC)) |
128 SDL_X11_SYM(int,_XRead,(Display*,char*,long)) | 128 SDL_X11_SYM(1,int,_XRead,(Display*,char*,long)) |
129 SDL_X11_SYM(void,_XReadPad,(Display*,char*,long)) | 129 SDL_X11_SYM(1,void,_XReadPad,(Display*,char*,long)) |
130 SDL_X11_SYM(void,_XSend,(Display*,_Xconst char*,long)) | 130 SDL_X11_SYM(1,void,_XSend,(Display*,_Xconst char*,long)) |
131 SDL_X11_SYM(Status,_XReply,(Display*,xReply*,int,Bool)) | 131 SDL_X11_SYM(1,Status,_XReply,(Display*,xReply*,int,Bool)) |
132 SDL_X11_SYM(unsigned long,_XSetLastRequestRead,(Display*,xGenericReply*)) | 132 SDL_X11_SYM(1,unsigned long,_XSetLastRequestRead,(Display*,xGenericReply*)) |
133 SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len)) | 133 SDL_X11_SYM(0,int,_XData32,(Display *dpy,register long *data,unsigned len)) |
134 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len)) | 134 SDL_X11_SYM(0,void,_XRead32,(Display *dpy,register long *data,long len)) |
135 | 135 |
136 #if NeedWidePrototypes | 136 #if NeedWidePrototypes |
137 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display*,unsigned int,int)) | 137 SDL_X11_SYM(1,KeySym,XKeycodeToKeysym,(Display*,unsigned int,int)) |
138 #else | 138 #else |
139 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display*,KeyCode,int)) | 139 SDL_X11_SYM(1,KeySym,XKeycodeToKeysym,(Display*,KeyCode,int)) |
140 #endif | 140 #endif |
141 | 141 |
142 #ifndef NO_SHARED_MEMORY | 142 #ifndef NO_SHARED_MEMORY |
143 SDL_X11_SYM(Status,XShmAttach,(Display*,XShmSegmentInfo*)) | 143 SDL_X11_SYM(1,Status,XShmAttach,(Display*,XShmSegmentInfo*)) |
144 SDL_X11_SYM(Status,XShmDetach,(Display*,XShmSegmentInfo*)) | 144 SDL_X11_SYM(1,Status,XShmDetach,(Display*,XShmSegmentInfo*)) |
145 SDL_X11_SYM(Status,XShmPutImage,(Display*,Drawable,GC,XImage*,int,int,int,int,unsigned int,unsigned int,Bool)) | 145 SDL_X11_SYM(1,Status,XShmPutImage,(Display*,Drawable,GC,XImage*,int,int,int,int,unsigned int,unsigned int,Bool)) |
146 SDL_X11_SYM(XImage*,XShmCreateImage,(Display*,Visual*,unsigned int,int,char*,XShmSegmentInfo*,unsigned int,unsigned int)) | 146 SDL_X11_SYM(1,XImage*,XShmCreateImage,(Display*,Visual*,unsigned int,int,char*,XShmSegmentInfo*,unsigned int,unsigned int)) |
147 SDL_X11_SYM(Bool,XShmQueryExtension,(Display*)) | 147 SDL_X11_SYM(1,Bool,XShmQueryExtension,(Display*)) |
148 #endif | 148 #endif |
149 | 149 |
150 SDL_X11_SYM(SDL_X11_XSynchronizeRetType,XSynchronize,(Display*,Bool)) | 150 SDL_X11_SYM(1,SDL_X11_XSynchronizeRetType,XSynchronize,(Display*,Bool)) |
151 SDL_X11_SYM(SDL_X11_XESetWireToEventRetType,XESetWireToEvent,(Display*,int,SDL_X11_XESetWireToEventRetType)) | 151 SDL_X11_SYM(1,SDL_X11_XESetWireToEventRetType,XESetWireToEvent,(Display*,int,SDL_X11_XESetWireToEventRetType)) |
152 SDL_X11_SYM(SDL_X11_XESetEventToWireRetType,XESetEventToWire,(Display*,int,SDL_X11_XESetEventToWireRetType)) | 152 SDL_X11_SYM(1,SDL_X11_XESetEventToWireRetType,XESetEventToWire,(Display*,int,SDL_X11_XESetEventToWireRetType)) |
153 | 153 |
154 /* end of SDL_x11sym.h ... */ | 154 /* end of SDL_x11sym.h ... */ |
155 | 155 |