comparison 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
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
108 #if NeedNestedPrototypes 108 #if NeedNestedPrototypes
109 Display * /* display */ , 109 Display * /* display */ ,
110 XExtCodes * /* codes */ 110 XExtCodes * /* codes */
111 #endif 111 #endif
112 ); 112 );
113 Bool (*wire_to_event) ( 113 Bool(*wire_to_event) (
114 #if NeedNestedPrototypes 114 #if NeedNestedPrototypes
115 Display * /* display */ , 115 Display * /* display */ ,
116 XEvent * /* re */ , 116 XEvent * /* re */ ,
117 xEvent * /* event */ 117 xEvent * /* event */
118 #endif 118 #endif
119 ); 119 );
120 Status (*event_to_wire) ( 120 Status(*event_to_wire) (
121 #if NeedNestedPrototypes 121 #if NeedNestedPrototypes
122 Display * /* display */ , 122 Display * /* display */ ,
123 XEvent * /* re */ , 123 XEvent * /* re */ ,
124 xEvent * /* event */ 124 xEvent * /* event */
125 #endif 125 #endif
126 ); 126 );
127 int (*error) ( 127 int (*error) (
128 #if NeedNestedPrototypes 128 #if NeedNestedPrototypes
129 Display * /* display */ , 129 Display * /* display */ ,
141 int /* nbytes */ 141 int /* nbytes */
142 #endif 142 #endif
143 ); 143 );
144 } XExtensionHooks; 144 } XExtensionHooks;
145 145
146 extern XExtensionInfo *XextCreateExtension ( 146 extern XExtensionInfo *XextCreateExtension(
147 #if NeedFunctionPrototypes 147 #if NeedFunctionPrototypes
148 void 148 void
149 #endif 149 #endif
150 ); 150 );
151 extern void XextDestroyExtension ( 151 extern void XextDestroyExtension(
152 #if NeedFunctionPrototypes 152 #if NeedFunctionPrototypes
153 XExtensionInfo * /* info */ 153 XExtensionInfo * /* info */
154 #endif 154 #endif
155 ); 155 );
156 extern XExtDisplayInfo *XextAddDisplay ( 156 extern XExtDisplayInfo *XextAddDisplay(
157 #if NeedFunctionPrototypes
158 XExtensionInfo * /* extinfo */ ,
159 Display * /* dpy */ ,
160 char * /* ext_name */ ,
161 XExtensionHooks * /* hooks */ ,
162 int /* nevents */ ,
163 XPointer /* data */
164 #endif
165 );
166 extern int XextRemoveDisplay(
167 #if NeedFunctionPrototypes
168 XExtensionInfo * /* extinfo */ ,
169 Display * /* dpy */
170 #endif
171 );
172 extern XExtDisplayInfo *XextFindDisplay(
157 #if NeedFunctionPrototypes 173 #if NeedFunctionPrototypes
158 XExtensionInfo * /* extinfo */ , 174 XExtensionInfo * /* extinfo */ ,
159 Display * /* dpy */ , 175 Display * /* dpy */
160 char * /* ext_name */ ,
161 XExtensionHooks * /* hooks */ ,
162 int /* nevents */ ,
163 XPointer /* data */
164 #endif
165 );
166 extern int XextRemoveDisplay (
167 #if NeedFunctionPrototypes
168 XExtensionInfo * /* extinfo */ ,
169 Display * /* dpy */
170 #endif
171 );
172 extern XExtDisplayInfo *XextFindDisplay (
173 #if NeedFunctionPrototypes
174 XExtensionInfo * /* extinfo */ ,
175 Display * /* dpy */
176 #endif 176 #endif
177 ); 177 );
178 178
179 #define XextHasExtension(i) ((i) && ((i)->codes)) 179 #define XextHasExtension(i) ((i) && ((i)->codes))
180 #define XextCheckExtension(dpy,i,name,val) \ 180 #define XextCheckExtension(dpy,i,name,val) \