comparison src/video/x11/SDL_x11dyn.h @ 1599:ecba4bbaf9c2

More dynamic X11 mangling...should fix NetBSD builds. And hopefully doesn't break 6 other platforms. :)
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 23 Mar 2006 08:43:37 +0000
parents 34cca785be57
children 782fd950bd46 c121d94672cb b966761fef6c
comparison
equal deleted inserted replaced
1598:5a6893ebc15a 1599:ecba4bbaf9c2
28 #include <X11/Xutil.h> 28 #include <X11/Xutil.h>
29 #include <X11/Xatom.h> 29 #include <X11/Xatom.h>
30 #include <X11/Xlibint.h> 30 #include <X11/Xlibint.h>
31 #include <X11/Xproto.h> 31 #include <X11/Xproto.h>
32 32
33 #include "../Xext/extensions/Xext.h"
33 #include "../Xext/extensions/extutil.h" 34 #include "../Xext/extensions/extutil.h"
34 35
35 #ifndef NO_SHARED_MEMORY 36 #ifndef NO_SHARED_MEMORY
36 #include <sys/ipc.h> 37 #include <sys/ipc.h>
37 #include <sys/shm.h> 38 #include <sys/shm.h>
58 59
59 /* evil function signatures... */ 60 /* evil function signatures... */
60 typedef Bool (*SDL_X11_XESetWireToEventRetType)(Display*,XEvent*,xEvent*); 61 typedef Bool (*SDL_X11_XESetWireToEventRetType)(Display*,XEvent*,xEvent*);
61 typedef int (*SDL_X11_XSynchronizeRetType)(Display*); 62 typedef int (*SDL_X11_XSynchronizeRetType)(Display*);
62 typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*); 63 typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*);
63 typedef int (*SDL_X11_XSetExtensionErrorHandlerType)(Display *,char *,char *);
64 64
65 int SDL_X11_LoadSymbols(void); 65 int SDL_X11_LoadSymbols(void);
66 void SDL_X11_UnloadSymbols(void); 66 void SDL_X11_UnloadSymbols(void);
67 67
68 /* That's really annoying...make this a function pointer no matter what. */ 68 /* That's really annoying...make this a function pointer no matter what. */