src/video/x11/SDL_x11dyn.h
changeset 1599 ecba4bbaf9c2
parent 1589 34cca785be57
child 1662 782fd950bd46
child 1895 c121d94672cb
child 3978 b966761fef6c
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. */