Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11dyn.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | ecba4bbaf9c2 |
children |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h Thu Jul 06 18:01:37 2006 +0000 +++ b/src/video/x11/SDL_x11dyn.h Mon Jul 10 21:04:37 2006 +0000 @@ -54,20 +54,23 @@ * headers that may or may not exist or vary on a given platform. */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif /* evil function signatures... */ -typedef Bool (*SDL_X11_XESetWireToEventRetType)(Display*,XEvent*,xEvent*); -typedef int (*SDL_X11_XSynchronizeRetType)(Display*); -typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*); + typedef Bool(*SDL_X11_XESetWireToEventRetType) (Display *, XEvent *, + xEvent *); + typedef int (*SDL_X11_XSynchronizeRetType) (Display *); + typedef Status(*SDL_X11_XESetEventToWireRetType) (Display *, XEvent *, + xEvent *); -int SDL_X11_LoadSymbols(void); -void SDL_X11_UnloadSymbols(void); + int SDL_X11_LoadSymbols(void); + void SDL_X11_UnloadSymbols(void); /* That's really annoying...make this a function pointer no matter what. */ #ifdef X_HAVE_UTF8_STRING -extern XIC (*pXCreateIC)(XIM,...); + extern XIC(*pXCreateIC) (XIM, ...); #endif /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */ @@ -82,5 +85,5 @@ } #endif -#endif /* !defined _SDL_x11dyn_h */ - +#endif /* !defined _SDL_x11dyn_h */ +/* vi: set ts=4 sw=4 expandtab: */