src/video/x11/SDL_x11dyn.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
    57 extern "C"
    57 extern "C"
    58 {
    58 {
    59 #endif
    59 #endif
    60 
    60 
    61 /* evil function signatures... */
    61 /* evil function signatures... */
    62     typedef Bool (*SDL_X11_XESetWireToEventRetType) (Display *, XEvent *,
    62     typedef Bool(*SDL_X11_XESetWireToEventRetType) (Display *, XEvent *,
    63                                                      xEvent *);
    63                                                     xEvent *);
    64     typedef int (*SDL_X11_XSynchronizeRetType) (Display *);
    64     typedef int (*SDL_X11_XSynchronizeRetType) (Display *);
    65     typedef Status (*SDL_X11_XESetEventToWireRetType) (Display *, XEvent *,
    65     typedef Status(*SDL_X11_XESetEventToWireRetType) (Display *, XEvent *,
    66                                                        xEvent *);
    66                                                       xEvent *);
    67 
    67 
    68     int SDL_X11_LoadSymbols (void);
    68     int SDL_X11_LoadSymbols(void);
    69     void SDL_X11_UnloadSymbols (void);
    69     void SDL_X11_UnloadSymbols(void);
    70 
    70 
    71 /* That's really annoying...make this a function pointer no matter what. */
    71 /* That's really annoying...make this a function pointer no matter what. */
    72 #ifdef X_HAVE_UTF8_STRING
    72 #ifdef X_HAVE_UTF8_STRING
    73     extern XIC (*pXCreateIC) (XIM, ...);
    73     extern XIC(*pXCreateIC) (XIM, ...);
    74 #endif
    74 #endif
    75 
    75 
    76 /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */
    76 /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */
    77 #define SDL_X11_MODULE(modname) extern int SDL_X11_HAVE_##modname;
    77 #define SDL_X11_MODULE(modname) extern int SDL_X11_HAVE_##modname;
    78 #define SDL_X11_SYM(rc,fn,params,args,ret)
    78 #define SDL_X11_SYM(rc,fn,params,args,ret)