comparison src/video/x11/SDL_x11sym.h @ 1244:a388f2b59044

More dynamic X11 work.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 13 Jan 2006 01:08:39 +0000
parents f60f6f4ffc6f
children d2c6881935be
comparison
equal deleted inserted replaced
1243:08c730212ca2 1244:a388f2b59044
110 SDL_X11_SYM(1,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(1,XExtensionInfo*,XextCreateExtension,(void)) 111 SDL_X11_SYM(1,XExtensionInfo*,XextCreateExtension,(void))
112 SDL_X11_SYM(1,void,XextDestroyExtension,(XExtensionInfo*)) 112 SDL_X11_SYM(1,void,XextDestroyExtension,(XExtensionInfo*))
113 SDL_X11_SYM(1,XExtDisplayInfo*,XextFindDisplay,(XExtensionInfo*,Display*)) 113 SDL_X11_SYM(1,XExtDisplayInfo*,XextFindDisplay,(XExtensionInfo*,Display*))
114 SDL_X11_SYM(1,int,XextRemoveDisplay,(XExtensionInfo*,Display*)) 114 SDL_X11_SYM(1,int,XextRemoveDisplay,(XExtensionInfo*,Display*))
115 SDL_X11_SYM(1,Bool,XQueryExtension,(Display*,_Xconst char*,int*,int*,int*))
116
115 #ifdef X_HAVE_UTF8_STRING 117 #ifdef X_HAVE_UTF8_STRING
116 SDL_X11_SYM(1,int,Xutf8TextListToTextProperty,(Display*,char**,int,XICCEncodingStyle,XTextProperty*)) 118 SDL_X11_SYM(1,int,Xutf8TextListToTextProperty,(Display*,char**,int,XICCEncodingStyle,XTextProperty*))
117 SDL_X11_SYM(1,int,Xutf8LookupString,(XIC,XKeyPressedEvent*,char*,int,KeySym*,Status*)) 119 SDL_X11_SYM(1,int,Xutf8LookupString,(XIC,XKeyPressedEvent*,char*,int,KeySym*,Status*))
118 SDL_X11_SYM(1,XIC,XCreateIC,(XIM, ...)) 120 SDL_X11_SYM(1,XIC,XCreateIC,(XIM, ...))
119 SDL_X11_SYM(1,void,XDestroyIC,(XIC)) 121 SDL_X11_SYM(1,void,XDestroyIC,(XIC))
128 SDL_X11_SYM(1,int,_XRead,(Display*,char*,long)) 130 SDL_X11_SYM(1,int,_XRead,(Display*,char*,long))
129 SDL_X11_SYM(1,void,_XReadPad,(Display*,char*,long)) 131 SDL_X11_SYM(1,void,_XReadPad,(Display*,char*,long))
130 SDL_X11_SYM(1,void,_XSend,(Display*,_Xconst char*,long)) 132 SDL_X11_SYM(1,void,_XSend,(Display*,_Xconst char*,long))
131 SDL_X11_SYM(1,Status,_XReply,(Display*,xReply*,int,Bool)) 133 SDL_X11_SYM(1,Status,_XReply,(Display*,xReply*,int,Bool))
132 SDL_X11_SYM(1,unsigned long,_XSetLastRequestRead,(Display*,xGenericReply*)) 134 SDL_X11_SYM(1,unsigned long,_XSetLastRequestRead,(Display*,xGenericReply*))
133 SDL_X11_SYM(0,int,_XData32,(Display *dpy,register long *data,unsigned len)) 135
134 SDL_X11_SYM(0,void,_XRead32,(Display *dpy,register long *data,long len)) 136 /*
137 * These don't exist in 32-bit versions and are removed by Xlib macros, but
138 * 64+ bit systems will use them.
139 */
140 #ifdef LONG64
141 SDL_X11_SYM(1,int,_XData32,(Display *dpy,register long *data,unsigned len))
142 SDL_X11_SYM(1,void,_XRead32,(Display *dpy,register long *data,long len))
143 #endif
135 144
136 #if NeedWidePrototypes 145 #if NeedWidePrototypes
137 SDL_X11_SYM(1,KeySym,XKeycodeToKeysym,(Display*,unsigned int,int)) 146 SDL_X11_SYM(1,KeySym,XKeycodeToKeysym,(Display*,unsigned int,int))
138 #else 147 #else
139 SDL_X11_SYM(1,KeySym,XKeycodeToKeysym,(Display*,KeyCode,int)) 148 SDL_X11_SYM(1,KeySym,XKeycodeToKeysym,(Display*,KeyCode,int))