Mercurial > sdl-ios-xcode
diff src/video/Xext/extensions/extutil.h @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children |
line wrap: on
line diff
--- a/src/video/Xext/extensions/extutil.h Mon May 29 03:53:21 2006 +0000 +++ b/src/video/Xext/extensions/extutil.h Mon May 29 04:04:35 2006 +0000 @@ -110,18 +110,18 @@ XExtCodes * /* codes */ #endif ); - Bool (*wire_to_event) ( + Bool(*wire_to_event) ( #if NeedNestedPrototypes - Display * /* display */ , - XEvent * /* re */ , - xEvent * /* event */ + Display * /* display */ , + XEvent * /* re */ , + xEvent * /* event */ #endif ); - Status (*event_to_wire) ( + Status(*event_to_wire) ( #if NeedNestedPrototypes - Display * /* display */ , - XEvent * /* re */ , - xEvent * /* event */ + Display * /* display */ , + XEvent * /* re */ , + xEvent * /* event */ #endif ); int (*error) ( @@ -143,36 +143,36 @@ ); } XExtensionHooks; -extern XExtensionInfo *XextCreateExtension ( +extern XExtensionInfo *XextCreateExtension( #if NeedFunctionPrototypes - void + void +#endif + ); +extern void XextDestroyExtension( +#if NeedFunctionPrototypes + XExtensionInfo * /* info */ #endif ); -extern void XextDestroyExtension ( +extern XExtDisplayInfo *XextAddDisplay( #if NeedFunctionPrototypes - XExtensionInfo * /* info */ + XExtensionInfo * /* extinfo */ , + Display * /* dpy */ , + char * /* ext_name */ , + XExtensionHooks * /* hooks */ , + int /* nevents */ , + XPointer /* data */ #endif ); -extern XExtDisplayInfo *XextAddDisplay ( +extern int XextRemoveDisplay( +#if NeedFunctionPrototypes + XExtensionInfo * /* extinfo */ , + Display * /* dpy */ +#endif + ); +extern XExtDisplayInfo *XextFindDisplay( #if NeedFunctionPrototypes XExtensionInfo * /* extinfo */ , - Display * /* dpy */ , - char * /* ext_name */ , - XExtensionHooks * /* hooks */ , - int /* nevents */ , - XPointer /* data */ -#endif - ); -extern int XextRemoveDisplay ( -#if NeedFunctionPrototypes - XExtensionInfo * /* extinfo */ , - Display * /* dpy */ -#endif - ); -extern XExtDisplayInfo *XextFindDisplay ( -#if NeedFunctionPrototypes - XExtensionInfo * /* extinfo */ , - Display * /* dpy */ + Display * /* dpy */ #endif );