Skip to main content

makepad_x11_sys/
bindings.rs

1/* automatically generated by rust-bindgen */
2
3pub const XlibSpecificationRelease: u32 = 6;
4pub const _SYS_TYPES_H: u32 = 1;
5pub const _FEATURES_H: u32 = 1;
6pub const _DEFAULT_SOURCE: u32 = 1;
7pub const __USE_ISOC11: u32 = 1;
8pub const __USE_ISOC99: u32 = 1;
9pub const __USE_ISOC95: u32 = 1;
10pub const __USE_POSIX_IMPLICITLY: u32 = 1;
11pub const _POSIX_SOURCE: u32 = 1;
12pub const _POSIX_C_SOURCE: u32 = 200809;
13pub const __USE_POSIX: u32 = 1;
14pub const __USE_POSIX2: u32 = 1;
15pub const __USE_POSIX199309: u32 = 1;
16pub const __USE_POSIX199506: u32 = 1;
17pub const __USE_XOPEN2K: u32 = 1;
18pub const __USE_XOPEN2K8: u32 = 1;
19pub const _ATFILE_SOURCE: u32 = 1;
20pub const __USE_MISC: u32 = 1;
21pub const __USE_ATFILE: u32 = 1;
22pub const __USE_FORTIFY_LEVEL: u32 = 0;
23pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
24pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
25pub const _STDC_PREDEF_H: u32 = 1;
26pub const __STDC_IEC_559__: u32 = 1;
27pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
28pub const __STDC_ISO_10646__: u32 = 201706;
29pub const __GNU_LIBRARY__: u32 = 6;
30pub const __GLIBC__: u32 = 2;
31pub const __GLIBC_MINOR__: u32 = 29;
32pub const _SYS_CDEFS_H: u32 = 1;
33pub const __glibc_c99_flexarr_available: u32 = 1;
34pub const __WORDSIZE: u32 = 64;
35pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
36pub const __SYSCALL_WORDSIZE: u32 = 64;
37pub const __HAVE_GENERIC_SELECTION: u32 = 1;
38pub const _BITS_TYPES_H: u32 = 1;
39pub const __TIMESIZE: u32 = 64;
40pub const _BITS_TYPESIZES_H: u32 = 1;
41pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
42pub const __INO_T_MATCHES_INO64_T: u32 = 1;
43pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
44pub const __FD_SETSIZE: u32 = 1024;
45pub const _BITS_TIME64_H: u32 = 1;
46pub const __clock_t_defined: u32 = 1;
47pub const __clockid_t_defined: u32 = 1;
48pub const __time_t_defined: u32 = 1;
49pub const __timer_t_defined: u32 = 1;
50pub const _BITS_STDINT_INTN_H: u32 = 1;
51pub const __BIT_TYPES_DEFINED__: u32 = 1;
52pub const _ENDIAN_H: u32 = 1;
53pub const __LITTLE_ENDIAN: u32 = 1234;
54pub const __BIG_ENDIAN: u32 = 4321;
55pub const __PDP_ENDIAN: u32 = 3412;
56pub const __BYTE_ORDER: u32 = 1234;
57pub const __FLOAT_WORD_ORDER: u32 = 1234;
58pub const LITTLE_ENDIAN: u32 = 1234;
59pub const BIG_ENDIAN: u32 = 4321;
60pub const PDP_ENDIAN: u32 = 3412;
61pub const BYTE_ORDER: u32 = 1234;
62pub const _BITS_BYTESWAP_H: u32 = 1;
63pub const _BITS_UINTN_IDENTITY_H: u32 = 1;
64pub const _SYS_SELECT_H: u32 = 1;
65pub const __FD_ZERO_STOS: &'static [u8; 6usize] = b"stosq\0";
66pub const __sigset_t_defined: u32 = 1;
67pub const __timeval_defined: u32 = 1;
68pub const _STRUCT_TIMESPEC: u32 = 1;
69pub const FD_SETSIZE: u32 = 1024;
70pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1;
71pub const _THREAD_SHARED_TYPES_H: u32 = 1;
72pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1;
73pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40;
74pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56;
75pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56;
76pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32;
77pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4;
78pub const __SIZEOF_PTHREAD_COND_T: u32 = 48;
79pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4;
80pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8;
81pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4;
82pub const __PTHREAD_MUTEX_LOCK_ELISION: u32 = 1;
83pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND: u32 = 0;
84pub const __PTHREAD_MUTEX_USE_UNION: u32 = 0;
85pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED: u32 = 1;
86pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1;
87pub const __have_pthread_attr_t: u32 = 1;
88pub const X_PROTOCOL: u32 = 11;
89pub const X_PROTOCOL_REVISION: u32 = 0;
90pub const None: u32 = 0;
91pub const ParentRelative: u32 = 1;
92pub const CopyFromParent: u32 = 0;
93pub const PointerWindow: u32 = 0;
94pub const InputFocus: u32 = 1;
95pub const PointerRoot: u32 = 1;
96pub const AnyPropertyType: u32 = 0;
97pub const AnyKey: u32 = 0;
98pub const AnyButton: u32 = 0;
99pub const AllTemporary: u32 = 0;
100pub const CurrentTime: u32 = 0;
101pub const NoSymbol: u32 = 0;
102pub const NoEventMask: u32 = 0;
103pub const KeyPressMask: u32 = 1;
104pub const KeyReleaseMask: u32 = 2;
105pub const ButtonPressMask: u32 = 4;
106pub const ButtonReleaseMask: u32 = 8;
107pub const EnterWindowMask: u32 = 16;
108pub const LeaveWindowMask: u32 = 32;
109pub const PointerMotionMask: u32 = 64;
110pub const PointerMotionHintMask: u32 = 128;
111pub const Button1MotionMask: u32 = 256;
112pub const Button2MotionMask: u32 = 512;
113pub const Button3MotionMask: u32 = 1024;
114pub const Button4MotionMask: u32 = 2048;
115pub const Button5MotionMask: u32 = 4096;
116pub const ButtonMotionMask: u32 = 8192;
117pub const KeymapStateMask: u32 = 16384;
118pub const ExposureMask: u32 = 32768;
119pub const VisibilityChangeMask: u32 = 65536;
120pub const StructureNotifyMask: u32 = 131072;
121pub const ResizeRedirectMask: u32 = 262144;
122pub const SubstructureNotifyMask: u32 = 524288;
123pub const SubstructureRedirectMask: u32 = 1048576;
124pub const FocusChangeMask: u32 = 2097152;
125pub const PropertyChangeMask: u32 = 4194304;
126pub const ColormapChangeMask: u32 = 8388608;
127pub const OwnerGrabButtonMask: u32 = 16777216;
128pub const KeyPress: u32 = 2;
129pub const KeyRelease: u32 = 3;
130pub const ButtonPress: u32 = 4;
131pub const ButtonRelease: u32 = 5;
132pub const MotionNotify: u32 = 6;
133pub const EnterNotify: u32 = 7;
134pub const LeaveNotify: u32 = 8;
135pub const FocusIn: u32 = 9;
136pub const FocusOut: u32 = 10;
137pub const KeymapNotify: u32 = 11;
138pub const Expose: u32 = 12;
139pub const GraphicsExpose: u32 = 13;
140pub const NoExpose: u32 = 14;
141pub const VisibilityNotify: u32 = 15;
142pub const CreateNotify: u32 = 16;
143pub const DestroyNotify: u32 = 17;
144pub const UnmapNotify: u32 = 18;
145pub const MapNotify: u32 = 19;
146pub const MapRequest: u32 = 20;
147pub const ReparentNotify: u32 = 21;
148pub const ConfigureNotify: u32 = 22;
149pub const ConfigureRequest: u32 = 23;
150pub const GravityNotify: u32 = 24;
151pub const ResizeRequest: u32 = 25;
152pub const CirculateNotify: u32 = 26;
153pub const CirculateRequest: u32 = 27;
154pub const PropertyNotify: u32 = 28;
155pub const SelectionClear: u32 = 29;
156pub const SelectionRequest: u32 = 30;
157pub const SelectionNotify: u32 = 31;
158pub const ColormapNotify: u32 = 32;
159pub const ClientMessage: u32 = 33;
160pub const MappingNotify: u32 = 34;
161pub const GenericEvent: u32 = 35;
162pub const LASTEvent: u32 = 36;
163pub const ShiftMask: u32 = 1;
164pub const LockMask: u32 = 2;
165pub const ControlMask: u32 = 4;
166pub const Mod1Mask: u32 = 8;
167pub const Mod2Mask: u32 = 16;
168pub const Mod3Mask: u32 = 32;
169pub const Mod4Mask: u32 = 64;
170pub const Mod5Mask: u32 = 128;
171pub const ShiftMapIndex: u32 = 0;
172pub const LockMapIndex: u32 = 1;
173pub const ControlMapIndex: u32 = 2;
174pub const Mod1MapIndex: u32 = 3;
175pub const Mod2MapIndex: u32 = 4;
176pub const Mod3MapIndex: u32 = 5;
177pub const Mod4MapIndex: u32 = 6;
178pub const Mod5MapIndex: u32 = 7;
179pub const Button1Mask: u32 = 256;
180pub const Button2Mask: u32 = 512;
181pub const Button3Mask: u32 = 1024;
182pub const Button4Mask: u32 = 2048;
183pub const Button5Mask: u32 = 4096;
184pub const AnyModifier: u32 = 32768;
185pub const Button1: u32 = 1;
186pub const Button2: u32 = 2;
187pub const Button3: u32 = 3;
188pub const Button4: u32 = 4;
189pub const Button5: u32 = 5;
190pub const NotifyNormal: u32 = 0;
191pub const NotifyGrab: u32 = 1;
192pub const NotifyUngrab: u32 = 2;
193pub const NotifyWhileGrabbed: u32 = 3;
194pub const NotifyHint: u32 = 1;
195pub const NotifyAncestor: u32 = 0;
196pub const NotifyVirtual: u32 = 1;
197pub const NotifyInferior: u32 = 2;
198pub const NotifyNonlinear: u32 = 3;
199pub const NotifyNonlinearVirtual: u32 = 4;
200pub const NotifyPointer: u32 = 5;
201pub const NotifyPointerRoot: u32 = 6;
202pub const NotifyDetailNone: u32 = 7;
203pub const VisibilityUnobscured: u32 = 0;
204pub const VisibilityPartiallyObscured: u32 = 1;
205pub const VisibilityFullyObscured: u32 = 2;
206pub const PlaceOnTop: u32 = 0;
207pub const PlaceOnBottom: u32 = 1;
208pub const FamilyInternet: u32 = 0;
209pub const FamilyDECnet: u32 = 1;
210pub const FamilyChaos: u32 = 2;
211pub const FamilyInternet6: u32 = 6;
212pub const FamilyServerInterpreted: u32 = 5;
213pub const PropertyNewValue: u32 = 0;
214pub const PropertyDelete: u32 = 1;
215pub const ColormapUninstalled: u32 = 0;
216pub const ColormapInstalled: u32 = 1;
217pub const GrabModeSync: u32 = 0;
218pub const GrabModeAsync: u32 = 1;
219pub const GrabSuccess: u32 = 0;
220pub const AlreadyGrabbed: u32 = 1;
221pub const GrabInvalidTime: u32 = 2;
222pub const GrabNotViewable: u32 = 3;
223pub const GrabFrozen: u32 = 4;
224pub const AsyncPointer: u32 = 0;
225pub const SyncPointer: u32 = 1;
226pub const ReplayPointer: u32 = 2;
227pub const AsyncKeyboard: u32 = 3;
228pub const SyncKeyboard: u32 = 4;
229pub const ReplayKeyboard: u32 = 5;
230pub const AsyncBoth: u32 = 6;
231pub const SyncBoth: u32 = 7;
232pub const RevertToParent: u32 = 2;
233pub const Success: u32 = 0;
234pub const BadRequest: u32 = 1;
235pub const BadValue: u32 = 2;
236pub const BadWindow: u32 = 3;
237pub const BadPixmap: u32 = 4;
238pub const BadAtom: u32 = 5;
239pub const BadCursor: u32 = 6;
240pub const BadFont: u32 = 7;
241pub const BadMatch: u32 = 8;
242pub const BadDrawable: u32 = 9;
243pub const BadAccess: u32 = 10;
244pub const BadAlloc: u32 = 11;
245pub const BadColor: u32 = 12;
246pub const BadGC: u32 = 13;
247pub const BadIDChoice: u32 = 14;
248pub const BadName: u32 = 15;
249pub const BadLength: u32 = 16;
250pub const BadImplementation: u32 = 17;
251pub const FirstExtensionError: u32 = 128;
252pub const LastExtensionError: u32 = 255;
253pub const InputOutput: u32 = 1;
254pub const InputOnly: u32 = 2;
255pub const CWBackPixmap: u32 = 1;
256pub const CWBackPixel: u32 = 2;
257pub const CWBorderPixmap: u32 = 4;
258pub const CWBorderPixel: u32 = 8;
259pub const CWBitGravity: u32 = 16;
260pub const CWWinGravity: u32 = 32;
261pub const CWBackingStore: u32 = 64;
262pub const CWBackingPlanes: u32 = 128;
263pub const CWBackingPixel: u32 = 256;
264pub const CWOverrideRedirect: u32 = 512;
265pub const CWSaveUnder: u32 = 1024;
266pub const CWEventMask: u32 = 2048;
267pub const CWDontPropagate: u32 = 4096;
268pub const CWColormap: u32 = 8192;
269pub const CWCursor: u32 = 16384;
270pub const CWX: u32 = 1;
271pub const CWY: u32 = 2;
272pub const CWWidth: u32 = 4;
273pub const CWHeight: u32 = 8;
274pub const CWBorderWidth: u32 = 16;
275pub const CWSibling: u32 = 32;
276pub const CWStackMode: u32 = 64;
277pub const ForgetGravity: u32 = 0;
278pub const NorthWestGravity: u32 = 1;
279pub const NorthGravity: u32 = 2;
280pub const NorthEastGravity: u32 = 3;
281pub const WestGravity: u32 = 4;
282pub const CenterGravity: u32 = 5;
283pub const EastGravity: u32 = 6;
284pub const SouthWestGravity: u32 = 7;
285pub const SouthGravity: u32 = 8;
286pub const SouthEastGravity: u32 = 9;
287pub const StaticGravity: u32 = 10;
288pub const UnmapGravity: u32 = 0;
289pub const NotUseful: u32 = 0;
290pub const WhenMapped: u32 = 1;
291pub const Always: u32 = 2;
292pub const IsUnmapped: u32 = 0;
293pub const IsUnviewable: u32 = 1;
294pub const IsViewable: u32 = 2;
295pub const SetModeInsert: u32 = 0;
296pub const SetModeDelete: u32 = 1;
297pub const DestroyAll: u32 = 0;
298pub const RetainPermanent: u32 = 1;
299pub const RetainTemporary: u32 = 2;
300pub const Above: u32 = 0;
301pub const Below: u32 = 1;
302pub const TopIf: u32 = 2;
303pub const BottomIf: u32 = 3;
304pub const Opposite: u32 = 4;
305pub const RaiseLowest: u32 = 0;
306pub const LowerHighest: u32 = 1;
307pub const PropModeReplace: u32 = 0;
308pub const PropModePrepend: u32 = 1;
309pub const PropModeAppend: u32 = 2;
310pub const GXclear: u32 = 0;
311pub const GXand: u32 = 1;
312pub const GXandReverse: u32 = 2;
313pub const GXcopy: u32 = 3;
314pub const GXandInverted: u32 = 4;
315pub const GXnoop: u32 = 5;
316pub const GXxor: u32 = 6;
317pub const GXor: u32 = 7;
318pub const GXnor: u32 = 8;
319pub const GXequiv: u32 = 9;
320pub const GXinvert: u32 = 10;
321pub const GXorReverse: u32 = 11;
322pub const GXcopyInverted: u32 = 12;
323pub const GXorInverted: u32 = 13;
324pub const GXnand: u32 = 14;
325pub const GXset: u32 = 15;
326pub const LineSolid: u32 = 0;
327pub const LineOnOffDash: u32 = 1;
328pub const LineDoubleDash: u32 = 2;
329pub const CapNotLast: u32 = 0;
330pub const CapButt: u32 = 1;
331pub const CapRound: u32 = 2;
332pub const CapProjecting: u32 = 3;
333pub const JoinMiter: u32 = 0;
334pub const JoinRound: u32 = 1;
335pub const JoinBevel: u32 = 2;
336pub const FillSolid: u32 = 0;
337pub const FillTiled: u32 = 1;
338pub const FillStippled: u32 = 2;
339pub const FillOpaqueStippled: u32 = 3;
340pub const EvenOddRule: u32 = 0;
341pub const WindingRule: u32 = 1;
342pub const ClipByChildren: u32 = 0;
343pub const IncludeInferiors: u32 = 1;
344pub const Unsorted: u32 = 0;
345pub const YSorted: u32 = 1;
346pub const YXSorted: u32 = 2;
347pub const YXBanded: u32 = 3;
348pub const CoordModeOrigin: u32 = 0;
349pub const CoordModePrevious: u32 = 1;
350pub const Complex: u32 = 0;
351pub const Nonconvex: u32 = 1;
352pub const Convex: u32 = 2;
353pub const ArcChord: u32 = 0;
354pub const ArcPieSlice: u32 = 1;
355pub const GCFunction: u32 = 1;
356pub const GCPlaneMask: u32 = 2;
357pub const GCForeground: u32 = 4;
358pub const GCBackground: u32 = 8;
359pub const GCLineWidth: u32 = 16;
360pub const GCLineStyle: u32 = 32;
361pub const GCCapStyle: u32 = 64;
362pub const GCJoinStyle: u32 = 128;
363pub const GCFillStyle: u32 = 256;
364pub const GCFillRule: u32 = 512;
365pub const GCTile: u32 = 1024;
366pub const GCStipple: u32 = 2048;
367pub const GCTileStipXOrigin: u32 = 4096;
368pub const GCTileStipYOrigin: u32 = 8192;
369pub const GCFont: u32 = 16384;
370pub const GCSubwindowMode: u32 = 32768;
371pub const GCGraphicsExposures: u32 = 65536;
372pub const GCClipXOrigin: u32 = 131072;
373pub const GCClipYOrigin: u32 = 262144;
374pub const GCClipMask: u32 = 524288;
375pub const GCDashOffset: u32 = 1048576;
376pub const GCDashList: u32 = 2097152;
377pub const GCArcMode: u32 = 4194304;
378pub const GCLastBit: u32 = 22;
379pub const FontLeftToRight: u32 = 0;
380pub const FontRightToLeft: u32 = 1;
381pub const FontChange: u32 = 255;
382pub const XYBitmap: u32 = 0;
383pub const XYPixmap: u32 = 1;
384pub const ZPixmap: u32 = 2;
385pub const AllocNone: u32 = 0;
386pub const AllocAll: u32 = 1;
387pub const DoRed: u32 = 1;
388pub const DoGreen: u32 = 2;
389pub const DoBlue: u32 = 4;
390pub const CursorShape: u32 = 0;
391pub const TileShape: u32 = 1;
392pub const StippleShape: u32 = 2;
393pub const AutoRepeatModeOff: u32 = 0;
394pub const AutoRepeatModeOn: u32 = 1;
395pub const AutoRepeatModeDefault: u32 = 2;
396pub const LedModeOff: u32 = 0;
397pub const LedModeOn: u32 = 1;
398pub const KBKeyClickPercent: u32 = 1;
399pub const KBBellPercent: u32 = 2;
400pub const KBBellPitch: u32 = 4;
401pub const KBBellDuration: u32 = 8;
402pub const KBLed: u32 = 16;
403pub const KBLedMode: u32 = 32;
404pub const KBKey: u32 = 64;
405pub const KBAutoRepeatMode: u32 = 128;
406pub const MappingSuccess: u32 = 0;
407pub const MappingBusy: u32 = 1;
408pub const MappingFailed: u32 = 2;
409pub const MappingModifier: u32 = 0;
410pub const MappingKeyboard: u32 = 1;
411pub const MappingPointer: u32 = 2;
412pub const DontPreferBlanking: u32 = 0;
413pub const PreferBlanking: u32 = 1;
414pub const DefaultBlanking: u32 = 2;
415pub const DisableScreenSaver: u32 = 0;
416pub const DisableScreenInterval: u32 = 0;
417pub const DontAllowExposures: u32 = 0;
418pub const AllowExposures: u32 = 1;
419pub const DefaultExposures: u32 = 2;
420pub const ScreenSaverReset: u32 = 0;
421pub const ScreenSaverActive: u32 = 1;
422pub const HostInsert: u32 = 0;
423pub const HostDelete: u32 = 1;
424pub const EnableAccess: u32 = 1;
425pub const DisableAccess: u32 = 0;
426pub const StaticGray: u32 = 0;
427pub const GrayScale: u32 = 1;
428pub const StaticColor: u32 = 2;
429pub const PseudoColor: u32 = 3;
430pub const TrueColor: u32 = 4;
431pub const DirectColor: u32 = 5;
432pub const LSBFirst: u32 = 0;
433pub const MSBFirst: u32 = 1;
434pub const NeedFunctionPrototypes: u32 = 1;
435pub const NeedVarargsPrototypes: u32 = 1;
436pub const NeedNestedPrototypes: u32 = 1;
437pub const FUNCPROTO: u32 = 15;
438pub const NeedWidePrototypes: u32 = 0;
439pub const X_HAVE_UTF8_STRING: u32 = 1;
440pub const True: u32 = 1;
441pub const False: u32 = 0;
442pub const QueuedAlready: u32 = 0;
443pub const QueuedAfterReading: u32 = 1;
444pub const QueuedAfterFlush: u32 = 2;
445pub const XNRequiredCharSet: &'static [u8; 16usize] = b"requiredCharSet\0";
446pub const XNQueryOrientation: &'static [u8; 17usize] = b"queryOrientation\0";
447pub const XNBaseFontName: &'static [u8; 13usize] = b"baseFontName\0";
448pub const XNOMAutomatic: &'static [u8; 12usize] = b"omAutomatic\0";
449pub const XNMissingCharSet: &'static [u8; 15usize] = b"missingCharSet\0";
450pub const XNDefaultString: &'static [u8; 14usize] = b"defaultString\0";
451pub const XNOrientation: &'static [u8; 12usize] = b"orientation\0";
452pub const XNDirectionalDependentDrawing: &'static [u8; 28usize] = b"directionalDependentDrawing\0";
453pub const XNContextualDrawing: &'static [u8; 18usize] = b"contextualDrawing\0";
454pub const XNFontInfo: &'static [u8; 9usize] = b"fontInfo\0";
455pub const XIMPreeditArea: u32 = 1;
456pub const XIMPreeditCallbacks: u32 = 2;
457pub const XIMPreeditPosition: u32 = 4;
458pub const XIMPreeditNothing: u32 = 8;
459pub const XIMPreeditNone: u32 = 16;
460pub const XIMStatusArea: u32 = 256;
461pub const XIMStatusCallbacks: u32 = 512;
462pub const XIMStatusNothing: u32 = 1024;
463pub const XIMStatusNone: u32 = 2048;
464pub const XNVaNestedList: &'static [u8; 15usize] = b"XNVaNestedList\0";
465pub const XNQueryInputStyle: &'static [u8; 16usize] = b"queryInputStyle\0";
466pub const XNClientWindow: &'static [u8; 13usize] = b"clientWindow\0";
467pub const XNInputStyle: &'static [u8; 11usize] = b"inputStyle\0";
468pub const XNFocusWindow: &'static [u8; 12usize] = b"focusWindow\0";
469pub const XNResourceName: &'static [u8; 13usize] = b"resourceName\0";
470pub const XNResourceClass: &'static [u8; 14usize] = b"resourceClass\0";
471pub const XNGeometryCallback: &'static [u8; 17usize] = b"geometryCallback\0";
472pub const XNDestroyCallback: &'static [u8; 16usize] = b"destroyCallback\0";
473pub const XNFilterEvents: &'static [u8; 13usize] = b"filterEvents\0";
474pub const XNPreeditStartCallback: &'static [u8; 21usize] = b"preeditStartCallback\0";
475pub const XNPreeditDoneCallback: &'static [u8; 20usize] = b"preeditDoneCallback\0";
476pub const XNPreeditDrawCallback: &'static [u8; 20usize] = b"preeditDrawCallback\0";
477pub const XNPreeditCaretCallback: &'static [u8; 21usize] = b"preeditCaretCallback\0";
478pub const XNPreeditStateNotifyCallback: &'static [u8; 27usize] = b"preeditStateNotifyCallback\0";
479pub const XNPreeditAttributes: &'static [u8; 18usize] = b"preeditAttributes\0";
480pub const XNStatusStartCallback: &'static [u8; 20usize] = b"statusStartCallback\0";
481pub const XNStatusDoneCallback: &'static [u8; 19usize] = b"statusDoneCallback\0";
482pub const XNStatusDrawCallback: &'static [u8; 19usize] = b"statusDrawCallback\0";
483pub const XNStatusAttributes: &'static [u8; 17usize] = b"statusAttributes\0";
484pub const XNArea: &'static [u8; 5usize] = b"area\0";
485pub const XNAreaNeeded: &'static [u8; 11usize] = b"areaNeeded\0";
486pub const XNSpotLocation: &'static [u8; 13usize] = b"spotLocation\0";
487pub const XNColormap: &'static [u8; 9usize] = b"colorMap\0";
488pub const XNStdColormap: &'static [u8; 12usize] = b"stdColorMap\0";
489pub const XNForeground: &'static [u8; 11usize] = b"foreground\0";
490pub const XNBackground: &'static [u8; 11usize] = b"background\0";
491pub const XNBackgroundPixmap: &'static [u8; 17usize] = b"backgroundPixmap\0";
492pub const XNFontSet: &'static [u8; 8usize] = b"fontSet\0";
493pub const XNLineSpace: &'static [u8; 10usize] = b"lineSpace\0";
494pub const XNCursor: &'static [u8; 7usize] = b"cursor\0";
495pub const XNQueryIMValuesList: &'static [u8; 18usize] = b"queryIMValuesList\0";
496pub const XNQueryICValuesList: &'static [u8; 18usize] = b"queryICValuesList\0";
497pub const XNVisiblePosition: &'static [u8; 16usize] = b"visiblePosition\0";
498pub const XNR6PreeditCallback: &'static [u8; 18usize] = b"r6PreeditCallback\0";
499pub const XNStringConversionCallback: &'static [u8; 25usize] = b"stringConversionCallback\0";
500pub const XNStringConversion: &'static [u8; 17usize] = b"stringConversion\0";
501pub const XNResetState: &'static [u8; 11usize] = b"resetState\0";
502pub const XNHotKey: &'static [u8; 7usize] = b"hotKey\0";
503pub const XNHotKeyState: &'static [u8; 12usize] = b"hotKeyState\0";
504pub const XNPreeditState: &'static [u8; 13usize] = b"preeditState\0";
505pub const XNSeparatorofNestedList: &'static [u8; 22usize] = b"separatorofNestedList\0";
506pub const XBufferOverflow: i32 = -1;
507pub const XLookupNone: u32 = 1;
508pub const XLookupChars: u32 = 2;
509pub const XLookupKeySym: u32 = 3;
510pub const XLookupBoth: u32 = 4;
511pub const XIMReverse: u32 = 1;
512pub const XIMUnderline: u32 = 2;
513pub const XIMHighlight: u32 = 4;
514pub const XIMPrimary: u32 = 32;
515pub const XIMSecondary: u32 = 64;
516pub const XIMTertiary: u32 = 128;
517pub const XIMVisibleToForward: u32 = 256;
518pub const XIMVisibleToBackword: u32 = 512;
519pub const XIMVisibleToCenter: u32 = 1024;
520pub const XIMPreeditUnKnown: u32 = 0;
521pub const XIMPreeditEnable: u32 = 1;
522pub const XIMPreeditDisable: u32 = 2;
523pub const XIMInitialState: u32 = 1;
524pub const XIMPreserveState: u32 = 2;
525pub const XIMStringConversionLeftEdge: u32 = 1;
526pub const XIMStringConversionRightEdge: u32 = 2;
527pub const XIMStringConversionTopEdge: u32 = 4;
528pub const XIMStringConversionBottomEdge: u32 = 8;
529pub const XIMStringConversionConcealed: u32 = 16;
530pub const XIMStringConversionWrapped: u32 = 32;
531pub const XIMStringConversionBuffer: u32 = 1;
532pub const XIMStringConversionLine: u32 = 2;
533pub const XIMStringConversionWord: u32 = 3;
534pub const XIMStringConversionChar: u32 = 4;
535pub const XIMStringConversionSubstitution: u32 = 1;
536pub const XIMStringConversionRetrieval: u32 = 2;
537pub const XIMHotKeyStateON: u32 = 1;
538pub const XIMHotKeyStateOFF: u32 = 2;
539pub const _STDIO_H: u32 = 1;
540pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
541pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
542pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
543pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
544pub const __GNUC_VA_LIST: u32 = 1;
545pub const _____fpos_t_defined: u32 = 1;
546pub const ____mbstate_t_defined: u32 = 1;
547pub const _____fpos64_t_defined: u32 = 1;
548pub const ____FILE_defined: u32 = 1;
549pub const __FILE_defined: u32 = 1;
550pub const __struct_FILE_defined: u32 = 1;
551pub const _IO_EOF_SEEN: u32 = 16;
552pub const _IO_ERR_SEEN: u32 = 32;
553pub const _IO_USER_LOCK: u32 = 32768;
554pub const _IOFBF: u32 = 0;
555pub const _IOLBF: u32 = 1;
556pub const _IONBF: u32 = 2;
557pub const BUFSIZ: u32 = 8192;
558pub const EOF: i32 = -1;
559pub const SEEK_SET: u32 = 0;
560pub const SEEK_CUR: u32 = 1;
561pub const SEEK_END: u32 = 2;
562pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\0";
563pub const _BITS_STDIO_LIM_H: u32 = 1;
564pub const L_tmpnam: u32 = 20;
565pub const TMP_MAX: u32 = 238328;
566pub const FILENAME_MAX: u32 = 4096;
567pub const L_ctermid: u32 = 9;
568pub const FOPEN_MAX: u32 = 16;
569pub const XcursorTrue: u32 = 1;
570pub const XcursorFalse: u32 = 0;
571pub const XCURSOR_MAGIC: u32 = 1920295768;
572pub const XCURSOR_LIB_MAJOR: u32 = 1;
573pub const XCURSOR_LIB_MINOR: u32 = 2;
574pub const XCURSOR_LIB_REVISION: u32 = 0;
575pub const XCURSOR_LIB_VERSION: u32 = 10200;
576pub const XCURSOR_FILE_MAJOR: u32 = 1;
577pub const XCURSOR_FILE_MINOR: u32 = 0;
578pub const XCURSOR_FILE_VERSION: u32 = 65536;
579pub const XCURSOR_FILE_HEADER_LEN: u32 = 16;
580pub const XCURSOR_FILE_TOC_LEN: u32 = 12;
581pub const XCURSOR_CHUNK_HEADER_LEN: u32 = 16;
582pub const XCURSOR_COMMENT_TYPE: u32 = 4294836225;
583pub const XCURSOR_COMMENT_VERSION: u32 = 1;
584pub const XCURSOR_COMMENT_HEADER_LEN: u32 = 20;
585pub const XCURSOR_COMMENT_COPYRIGHT: u32 = 1;
586pub const XCURSOR_COMMENT_LICENSE: u32 = 2;
587pub const XCURSOR_COMMENT_OTHER: u32 = 3;
588pub const XCURSOR_COMMENT_MAX_LEN: u32 = 1048576;
589pub const XCURSOR_IMAGE_TYPE: u32 = 4294770690;
590pub const XCURSOR_IMAGE_VERSION: u32 = 1;
591pub const XCURSOR_IMAGE_HEADER_LEN: u32 = 36;
592pub const XCURSOR_IMAGE_MAX_SIZE: u32 = 32767;
593pub const XCURSOR_CORE_THEME: &'static [u8; 5usize] = b"core\0";
594pub const XCURSOR_BITMAP_HASH_SIZE: u32 = 16;
595pub const XrmEnumAllLevels: u32 = 0;
596pub const XrmEnumOneLevel: u32 = 1;
597pub const XK_VoidSymbol: u32 = 16777215;
598pub const XK_BackSpace: u32 = 65288;
599pub const XK_Tab: u32 = 65289;
600pub const XK_Linefeed: u32 = 65290;
601pub const XK_Clear: u32 = 65291;
602pub const XK_Return: u32 = 65293;
603pub const XK_Pause: u32 = 65299;
604pub const XK_Scroll_Lock: u32 = 65300;
605pub const XK_Sys_Req: u32 = 65301;
606pub const XK_Escape: u32 = 65307;
607pub const XK_Delete: u32 = 65535;
608pub const XK_Multi_key: u32 = 65312;
609pub const XK_Codeinput: u32 = 65335;
610pub const XK_SingleCandidate: u32 = 65340;
611pub const XK_MultipleCandidate: u32 = 65341;
612pub const XK_PreviousCandidate: u32 = 65342;
613pub const XK_Kanji: u32 = 65313;
614pub const XK_Muhenkan: u32 = 65314;
615pub const XK_Henkan_Mode: u32 = 65315;
616pub const XK_Henkan: u32 = 65315;
617pub const XK_Romaji: u32 = 65316;
618pub const XK_Hiragana: u32 = 65317;
619pub const XK_Katakana: u32 = 65318;
620pub const XK_Hiragana_Katakana: u32 = 65319;
621pub const XK_Zenkaku: u32 = 65320;
622pub const XK_Hankaku: u32 = 65321;
623pub const XK_Zenkaku_Hankaku: u32 = 65322;
624pub const XK_Touroku: u32 = 65323;
625pub const XK_Massyo: u32 = 65324;
626pub const XK_Kana_Lock: u32 = 65325;
627pub const XK_Kana_Shift: u32 = 65326;
628pub const XK_Eisu_Shift: u32 = 65327;
629pub const XK_Eisu_toggle: u32 = 65328;
630pub const XK_Kanji_Bangou: u32 = 65335;
631pub const XK_Zen_Koho: u32 = 65341;
632pub const XK_Mae_Koho: u32 = 65342;
633pub const XK_Home: u32 = 65360;
634pub const XK_Left: u32 = 65361;
635pub const XK_Up: u32 = 65362;
636pub const XK_Right: u32 = 65363;
637pub const XK_Down: u32 = 65364;
638pub const XK_Prior: u32 = 65365;
639pub const XK_Page_Up: u32 = 65365;
640pub const XK_Next: u32 = 65366;
641pub const XK_Page_Down: u32 = 65366;
642pub const XK_End: u32 = 65367;
643pub const XK_Begin: u32 = 65368;
644pub const XK_Select: u32 = 65376;
645pub const XK_Print: u32 = 65377;
646pub const XK_Execute: u32 = 65378;
647pub const XK_Insert: u32 = 65379;
648pub const XK_Undo: u32 = 65381;
649pub const XK_Redo: u32 = 65382;
650pub const XK_Menu: u32 = 65383;
651pub const XK_Find: u32 = 65384;
652pub const XK_Cancel: u32 = 65385;
653pub const XK_Help: u32 = 65386;
654pub const XK_Break: u32 = 65387;
655pub const XK_Mode_switch: u32 = 65406;
656pub const XK_script_switch: u32 = 65406;
657pub const XK_Num_Lock: u32 = 65407;
658pub const XK_KP_Space: u32 = 65408;
659pub const XK_KP_Tab: u32 = 65417;
660pub const XK_KP_Enter: u32 = 65421;
661pub const XK_KP_F1: u32 = 65425;
662pub const XK_KP_F2: u32 = 65426;
663pub const XK_KP_F3: u32 = 65427;
664pub const XK_KP_F4: u32 = 65428;
665pub const XK_KP_Home: u32 = 65429;
666pub const XK_KP_Left: u32 = 65430;
667pub const XK_KP_Up: u32 = 65431;
668pub const XK_KP_Right: u32 = 65432;
669pub const XK_KP_Down: u32 = 65433;
670pub const XK_KP_Prior: u32 = 65434;
671pub const XK_KP_Page_Up: u32 = 65434;
672pub const XK_KP_Next: u32 = 65435;
673pub const XK_KP_Page_Down: u32 = 65435;
674pub const XK_KP_End: u32 = 65436;
675pub const XK_KP_Begin: u32 = 65437;
676pub const XK_KP_Insert: u32 = 65438;
677pub const XK_KP_Delete: u32 = 65439;
678pub const XK_KP_Equal: u32 = 65469;
679pub const XK_KP_Multiply: u32 = 65450;
680pub const XK_KP_Add: u32 = 65451;
681pub const XK_KP_Separator: u32 = 65452;
682pub const XK_KP_Subtract: u32 = 65453;
683pub const XK_KP_Decimal: u32 = 65454;
684pub const XK_KP_Divide: u32 = 65455;
685pub const XK_KP_0: u32 = 65456;
686pub const XK_KP_1: u32 = 65457;
687pub const XK_KP_2: u32 = 65458;
688pub const XK_KP_3: u32 = 65459;
689pub const XK_KP_4: u32 = 65460;
690pub const XK_KP_5: u32 = 65461;
691pub const XK_KP_6: u32 = 65462;
692pub const XK_KP_7: u32 = 65463;
693pub const XK_KP_8: u32 = 65464;
694pub const XK_KP_9: u32 = 65465;
695pub const XK_F1: u32 = 65470;
696pub const XK_F2: u32 = 65471;
697pub const XK_F3: u32 = 65472;
698pub const XK_F4: u32 = 65473;
699pub const XK_F5: u32 = 65474;
700pub const XK_F6: u32 = 65475;
701pub const XK_F7: u32 = 65476;
702pub const XK_F8: u32 = 65477;
703pub const XK_F9: u32 = 65478;
704pub const XK_F10: u32 = 65479;
705pub const XK_F11: u32 = 65480;
706pub const XK_L1: u32 = 65480;
707pub const XK_F12: u32 = 65481;
708pub const XK_L2: u32 = 65481;
709pub const XK_F13: u32 = 65482;
710pub const XK_L3: u32 = 65482;
711pub const XK_F14: u32 = 65483;
712pub const XK_L4: u32 = 65483;
713pub const XK_F15: u32 = 65484;
714pub const XK_L5: u32 = 65484;
715pub const XK_F16: u32 = 65485;
716pub const XK_L6: u32 = 65485;
717pub const XK_F17: u32 = 65486;
718pub const XK_L7: u32 = 65486;
719pub const XK_F18: u32 = 65487;
720pub const XK_L8: u32 = 65487;
721pub const XK_F19: u32 = 65488;
722pub const XK_L9: u32 = 65488;
723pub const XK_F20: u32 = 65489;
724pub const XK_L10: u32 = 65489;
725pub const XK_F21: u32 = 65490;
726pub const XK_R1: u32 = 65490;
727pub const XK_F22: u32 = 65491;
728pub const XK_R2: u32 = 65491;
729pub const XK_F23: u32 = 65492;
730pub const XK_R3: u32 = 65492;
731pub const XK_F24: u32 = 65493;
732pub const XK_R4: u32 = 65493;
733pub const XK_F25: u32 = 65494;
734pub const XK_R5: u32 = 65494;
735pub const XK_F26: u32 = 65495;
736pub const XK_R6: u32 = 65495;
737pub const XK_F27: u32 = 65496;
738pub const XK_R7: u32 = 65496;
739pub const XK_F28: u32 = 65497;
740pub const XK_R8: u32 = 65497;
741pub const XK_F29: u32 = 65498;
742pub const XK_R9: u32 = 65498;
743pub const XK_F30: u32 = 65499;
744pub const XK_R10: u32 = 65499;
745pub const XK_F31: u32 = 65500;
746pub const XK_R11: u32 = 65500;
747pub const XK_F32: u32 = 65501;
748pub const XK_R12: u32 = 65501;
749pub const XK_F33: u32 = 65502;
750pub const XK_R13: u32 = 65502;
751pub const XK_F34: u32 = 65503;
752pub const XK_R14: u32 = 65503;
753pub const XK_F35: u32 = 65504;
754pub const XK_R15: u32 = 65504;
755pub const XK_Shift_L: u32 = 65505;
756pub const XK_Shift_R: u32 = 65506;
757pub const XK_Control_L: u32 = 65507;
758pub const XK_Control_R: u32 = 65508;
759pub const XK_Caps_Lock: u32 = 65509;
760pub const XK_Shift_Lock: u32 = 65510;
761pub const XK_Meta_L: u32 = 65511;
762pub const XK_Meta_R: u32 = 65512;
763pub const XK_Alt_L: u32 = 65513;
764pub const XK_Alt_R: u32 = 65514;
765pub const XK_Super_L: u32 = 65515;
766pub const XK_Super_R: u32 = 65516;
767pub const XK_Hyper_L: u32 = 65517;
768pub const XK_Hyper_R: u32 = 65518;
769pub const XK_ISO_Lock: u32 = 65025;
770pub const XK_ISO_Level2_Latch: u32 = 65026;
771pub const XK_ISO_Level3_Shift: u32 = 65027;
772pub const XK_ISO_Level3_Latch: u32 = 65028;
773pub const XK_ISO_Level3_Lock: u32 = 65029;
774pub const XK_ISO_Level5_Shift: u32 = 65041;
775pub const XK_ISO_Level5_Latch: u32 = 65042;
776pub const XK_ISO_Level5_Lock: u32 = 65043;
777pub const XK_ISO_Group_Shift: u32 = 65406;
778pub const XK_ISO_Group_Latch: u32 = 65030;
779pub const XK_ISO_Group_Lock: u32 = 65031;
780pub const XK_ISO_Next_Group: u32 = 65032;
781pub const XK_ISO_Next_Group_Lock: u32 = 65033;
782pub const XK_ISO_Prev_Group: u32 = 65034;
783pub const XK_ISO_Prev_Group_Lock: u32 = 65035;
784pub const XK_ISO_First_Group: u32 = 65036;
785pub const XK_ISO_First_Group_Lock: u32 = 65037;
786pub const XK_ISO_Last_Group: u32 = 65038;
787pub const XK_ISO_Last_Group_Lock: u32 = 65039;
788pub const XK_ISO_Left_Tab: u32 = 65056;
789pub const XK_ISO_Move_Line_Up: u32 = 65057;
790pub const XK_ISO_Move_Line_Down: u32 = 65058;
791pub const XK_ISO_Partial_Line_Up: u32 = 65059;
792pub const XK_ISO_Partial_Line_Down: u32 = 65060;
793pub const XK_ISO_Partial_Space_Left: u32 = 65061;
794pub const XK_ISO_Partial_Space_Right: u32 = 65062;
795pub const XK_ISO_Set_Margin_Left: u32 = 65063;
796pub const XK_ISO_Set_Margin_Right: u32 = 65064;
797pub const XK_ISO_Release_Margin_Left: u32 = 65065;
798pub const XK_ISO_Release_Margin_Right: u32 = 65066;
799pub const XK_ISO_Release_Both_Margins: u32 = 65067;
800pub const XK_ISO_Fast_Cursor_Left: u32 = 65068;
801pub const XK_ISO_Fast_Cursor_Right: u32 = 65069;
802pub const XK_ISO_Fast_Cursor_Up: u32 = 65070;
803pub const XK_ISO_Fast_Cursor_Down: u32 = 65071;
804pub const XK_ISO_Continuous_Underline: u32 = 65072;
805pub const XK_ISO_Discontinuous_Underline: u32 = 65073;
806pub const XK_ISO_Emphasize: u32 = 65074;
807pub const XK_ISO_Center_Object: u32 = 65075;
808pub const XK_ISO_Enter: u32 = 65076;
809pub const XK_dead_grave: u32 = 65104;
810pub const XK_dead_acute: u32 = 65105;
811pub const XK_dead_circumflex: u32 = 65106;
812pub const XK_dead_tilde: u32 = 65107;
813pub const XK_dead_perispomeni: u32 = 65107;
814pub const XK_dead_macron: u32 = 65108;
815pub const XK_dead_breve: u32 = 65109;
816pub const XK_dead_abovedot: u32 = 65110;
817pub const XK_dead_diaeresis: u32 = 65111;
818pub const XK_dead_abovering: u32 = 65112;
819pub const XK_dead_doubleacute: u32 = 65113;
820pub const XK_dead_caron: u32 = 65114;
821pub const XK_dead_cedilla: u32 = 65115;
822pub const XK_dead_ogonek: u32 = 65116;
823pub const XK_dead_iota: u32 = 65117;
824pub const XK_dead_voiced_sound: u32 = 65118;
825pub const XK_dead_semivoiced_sound: u32 = 65119;
826pub const XK_dead_belowdot: u32 = 65120;
827pub const XK_dead_hook: u32 = 65121;
828pub const XK_dead_horn: u32 = 65122;
829pub const XK_dead_stroke: u32 = 65123;
830pub const XK_dead_abovecomma: u32 = 65124;
831pub const XK_dead_psili: u32 = 65124;
832pub const XK_dead_abovereversedcomma: u32 = 65125;
833pub const XK_dead_dasia: u32 = 65125;
834pub const XK_dead_doublegrave: u32 = 65126;
835pub const XK_dead_belowring: u32 = 65127;
836pub const XK_dead_belowmacron: u32 = 65128;
837pub const XK_dead_belowcircumflex: u32 = 65129;
838pub const XK_dead_belowtilde: u32 = 65130;
839pub const XK_dead_belowbreve: u32 = 65131;
840pub const XK_dead_belowdiaeresis: u32 = 65132;
841pub const XK_dead_invertedbreve: u32 = 65133;
842pub const XK_dead_belowcomma: u32 = 65134;
843pub const XK_dead_currency: u32 = 65135;
844pub const XK_dead_lowline: u32 = 65168;
845pub const XK_dead_aboveverticalline: u32 = 65169;
846pub const XK_dead_belowverticalline: u32 = 65170;
847pub const XK_dead_longsolidusoverlay: u32 = 65171;
848pub const XK_dead_a: u32 = 65152;
849pub const XK_dead_A: u32 = 65153;
850pub const XK_dead_e: u32 = 65154;
851pub const XK_dead_E: u32 = 65155;
852pub const XK_dead_i: u32 = 65156;
853pub const XK_dead_I: u32 = 65157;
854pub const XK_dead_o: u32 = 65158;
855pub const XK_dead_O: u32 = 65159;
856pub const XK_dead_u: u32 = 65160;
857pub const XK_dead_U: u32 = 65161;
858pub const XK_dead_small_schwa: u32 = 65162;
859pub const XK_dead_capital_schwa: u32 = 65163;
860pub const XK_dead_greek: u32 = 65164;
861pub const XK_First_Virtual_Screen: u32 = 65232;
862pub const XK_Prev_Virtual_Screen: u32 = 65233;
863pub const XK_Next_Virtual_Screen: u32 = 65234;
864pub const XK_Last_Virtual_Screen: u32 = 65236;
865pub const XK_Terminate_Server: u32 = 65237;
866pub const XK_AccessX_Enable: u32 = 65136;
867pub const XK_AccessX_Feedback_Enable: u32 = 65137;
868pub const XK_RepeatKeys_Enable: u32 = 65138;
869pub const XK_SlowKeys_Enable: u32 = 65139;
870pub const XK_BounceKeys_Enable: u32 = 65140;
871pub const XK_StickyKeys_Enable: u32 = 65141;
872pub const XK_MouseKeys_Enable: u32 = 65142;
873pub const XK_MouseKeys_Accel_Enable: u32 = 65143;
874pub const XK_Overlay1_Enable: u32 = 65144;
875pub const XK_Overlay2_Enable: u32 = 65145;
876pub const XK_AudibleBell_Enable: u32 = 65146;
877pub const XK_Pointer_Left: u32 = 65248;
878pub const XK_Pointer_Right: u32 = 65249;
879pub const XK_Pointer_Up: u32 = 65250;
880pub const XK_Pointer_Down: u32 = 65251;
881pub const XK_Pointer_UpLeft: u32 = 65252;
882pub const XK_Pointer_UpRight: u32 = 65253;
883pub const XK_Pointer_DownLeft: u32 = 65254;
884pub const XK_Pointer_DownRight: u32 = 65255;
885pub const XK_Pointer_Button_Dflt: u32 = 65256;
886pub const XK_Pointer_Button1: u32 = 65257;
887pub const XK_Pointer_Button2: u32 = 65258;
888pub const XK_Pointer_Button3: u32 = 65259;
889pub const XK_Pointer_Button4: u32 = 65260;
890pub const XK_Pointer_Button5: u32 = 65261;
891pub const XK_Pointer_DblClick_Dflt: u32 = 65262;
892pub const XK_Pointer_DblClick1: u32 = 65263;
893pub const XK_Pointer_DblClick2: u32 = 65264;
894pub const XK_Pointer_DblClick3: u32 = 65265;
895pub const XK_Pointer_DblClick4: u32 = 65266;
896pub const XK_Pointer_DblClick5: u32 = 65267;
897pub const XK_Pointer_Drag_Dflt: u32 = 65268;
898pub const XK_Pointer_Drag1: u32 = 65269;
899pub const XK_Pointer_Drag2: u32 = 65270;
900pub const XK_Pointer_Drag3: u32 = 65271;
901pub const XK_Pointer_Drag4: u32 = 65272;
902pub const XK_Pointer_Drag5: u32 = 65277;
903pub const XK_Pointer_EnableKeys: u32 = 65273;
904pub const XK_Pointer_Accelerate: u32 = 65274;
905pub const XK_Pointer_DfltBtnNext: u32 = 65275;
906pub const XK_Pointer_DfltBtnPrev: u32 = 65276;
907pub const XK_ch: u32 = 65184;
908pub const XK_Ch: u32 = 65185;
909pub const XK_CH: u32 = 65186;
910pub const XK_c_h: u32 = 65187;
911pub const XK_C_h: u32 = 65188;
912pub const XK_C_H: u32 = 65189;
913pub const XK_space: u32 = 32;
914pub const XK_exclam: u32 = 33;
915pub const XK_quotedbl: u32 = 34;
916pub const XK_numbersign: u32 = 35;
917pub const XK_dollar: u32 = 36;
918pub const XK_percent: u32 = 37;
919pub const XK_ampersand: u32 = 38;
920pub const XK_apostrophe: u32 = 39;
921pub const XK_quoteright: u32 = 39;
922pub const XK_parenleft: u32 = 40;
923pub const XK_parenright: u32 = 41;
924pub const XK_asterisk: u32 = 42;
925pub const XK_plus: u32 = 43;
926pub const XK_comma: u32 = 44;
927pub const XK_minus: u32 = 45;
928pub const XK_period: u32 = 46;
929pub const XK_slash: u32 = 47;
930pub const XK_0: u32 = 48;
931pub const XK_1: u32 = 49;
932pub const XK_2: u32 = 50;
933pub const XK_3: u32 = 51;
934pub const XK_4: u32 = 52;
935pub const XK_5: u32 = 53;
936pub const XK_6: u32 = 54;
937pub const XK_7: u32 = 55;
938pub const XK_8: u32 = 56;
939pub const XK_9: u32 = 57;
940pub const XK_colon: u32 = 58;
941pub const XK_semicolon: u32 = 59;
942pub const XK_less: u32 = 60;
943pub const XK_equal: u32 = 61;
944pub const XK_greater: u32 = 62;
945pub const XK_question: u32 = 63;
946pub const XK_at: u32 = 64;
947pub const XK_A: u32 = 65;
948pub const XK_B: u32 = 66;
949pub const XK_C: u32 = 67;
950pub const XK_D: u32 = 68;
951pub const XK_E: u32 = 69;
952pub const XK_F: u32 = 70;
953pub const XK_G: u32 = 71;
954pub const XK_H: u32 = 72;
955pub const XK_I: u32 = 73;
956pub const XK_J: u32 = 74;
957pub const XK_K: u32 = 75;
958pub const XK_L: u32 = 76;
959pub const XK_M: u32 = 77;
960pub const XK_N: u32 = 78;
961pub const XK_O: u32 = 79;
962pub const XK_P: u32 = 80;
963pub const XK_Q: u32 = 81;
964pub const XK_R: u32 = 82;
965pub const XK_S: u32 = 83;
966pub const XK_T: u32 = 84;
967pub const XK_U: u32 = 85;
968pub const XK_V: u32 = 86;
969pub const XK_W: u32 = 87;
970pub const XK_X: u32 = 88;
971pub const XK_Y: u32 = 89;
972pub const XK_Z: u32 = 90;
973pub const XK_bracketleft: u32 = 91;
974pub const XK_backslash: u32 = 92;
975pub const XK_bracketright: u32 = 93;
976pub const XK_asciicircum: u32 = 94;
977pub const XK_underscore: u32 = 95;
978pub const XK_grave: u32 = 96;
979pub const XK_quoteleft: u32 = 96;
980pub const XK_a: u32 = 97;
981pub const XK_b: u32 = 98;
982pub const XK_c: u32 = 99;
983pub const XK_d: u32 = 100;
984pub const XK_e: u32 = 101;
985pub const XK_f: u32 = 102;
986pub const XK_g: u32 = 103;
987pub const XK_h: u32 = 104;
988pub const XK_i: u32 = 105;
989pub const XK_j: u32 = 106;
990pub const XK_k: u32 = 107;
991pub const XK_l: u32 = 108;
992pub const XK_m: u32 = 109;
993pub const XK_n: u32 = 110;
994pub const XK_o: u32 = 111;
995pub const XK_p: u32 = 112;
996pub const XK_q: u32 = 113;
997pub const XK_r: u32 = 114;
998pub const XK_s: u32 = 115;
999pub const XK_t: u32 = 116;
1000pub const XK_u: u32 = 117;
1001pub const XK_v: u32 = 118;
1002pub const XK_w: u32 = 119;
1003pub const XK_x: u32 = 120;
1004pub const XK_y: u32 = 121;
1005pub const XK_z: u32 = 122;
1006pub const XK_braceleft: u32 = 123;
1007pub const XK_bar: u32 = 124;
1008pub const XK_braceright: u32 = 125;
1009pub const XK_asciitilde: u32 = 126;
1010pub const XK_nobreakspace: u32 = 160;
1011pub const XK_exclamdown: u32 = 161;
1012pub const XK_cent: u32 = 162;
1013pub const XK_sterling: u32 = 163;
1014pub const XK_currency: u32 = 164;
1015pub const XK_yen: u32 = 165;
1016pub const XK_brokenbar: u32 = 166;
1017pub const XK_section: u32 = 167;
1018pub const XK_diaeresis: u32 = 168;
1019pub const XK_copyright: u32 = 169;
1020pub const XK_ordfeminine: u32 = 170;
1021pub const XK_guillemotleft: u32 = 171;
1022pub const XK_notsign: u32 = 172;
1023pub const XK_hyphen: u32 = 173;
1024pub const XK_registered: u32 = 174;
1025pub const XK_macron: u32 = 175;
1026pub const XK_degree: u32 = 176;
1027pub const XK_plusminus: u32 = 177;
1028pub const XK_twosuperior: u32 = 178;
1029pub const XK_threesuperior: u32 = 179;
1030pub const XK_acute: u32 = 180;
1031pub const XK_mu: u32 = 181;
1032pub const XK_paragraph: u32 = 182;
1033pub const XK_periodcentered: u32 = 183;
1034pub const XK_cedilla: u32 = 184;
1035pub const XK_onesuperior: u32 = 185;
1036pub const XK_masculine: u32 = 186;
1037pub const XK_guillemotright: u32 = 187;
1038pub const XK_onequarter: u32 = 188;
1039pub const XK_onehalf: u32 = 189;
1040pub const XK_threequarters: u32 = 190;
1041pub const XK_questiondown: u32 = 191;
1042pub const XK_Agrave: u32 = 192;
1043pub const XK_Aacute: u32 = 193;
1044pub const XK_Acircumflex: u32 = 194;
1045pub const XK_Atilde: u32 = 195;
1046pub const XK_Adiaeresis: u32 = 196;
1047pub const XK_Aring: u32 = 197;
1048pub const XK_AE: u32 = 198;
1049pub const XK_Ccedilla: u32 = 199;
1050pub const XK_Egrave: u32 = 200;
1051pub const XK_Eacute: u32 = 201;
1052pub const XK_Ecircumflex: u32 = 202;
1053pub const XK_Ediaeresis: u32 = 203;
1054pub const XK_Igrave: u32 = 204;
1055pub const XK_Iacute: u32 = 205;
1056pub const XK_Icircumflex: u32 = 206;
1057pub const XK_Idiaeresis: u32 = 207;
1058pub const XK_ETH: u32 = 208;
1059pub const XK_Eth: u32 = 208;
1060pub const XK_Ntilde: u32 = 209;
1061pub const XK_Ograve: u32 = 210;
1062pub const XK_Oacute: u32 = 211;
1063pub const XK_Ocircumflex: u32 = 212;
1064pub const XK_Otilde: u32 = 213;
1065pub const XK_Odiaeresis: u32 = 214;
1066pub const XK_multiply: u32 = 215;
1067pub const XK_Oslash: u32 = 216;
1068pub const XK_Ooblique: u32 = 216;
1069pub const XK_Ugrave: u32 = 217;
1070pub const XK_Uacute: u32 = 218;
1071pub const XK_Ucircumflex: u32 = 219;
1072pub const XK_Udiaeresis: u32 = 220;
1073pub const XK_Yacute: u32 = 221;
1074pub const XK_THORN: u32 = 222;
1075pub const XK_Thorn: u32 = 222;
1076pub const XK_ssharp: u32 = 223;
1077pub const XK_agrave: u32 = 224;
1078pub const XK_aacute: u32 = 225;
1079pub const XK_acircumflex: u32 = 226;
1080pub const XK_atilde: u32 = 227;
1081pub const XK_adiaeresis: u32 = 228;
1082pub const XK_aring: u32 = 229;
1083pub const XK_ae: u32 = 230;
1084pub const XK_ccedilla: u32 = 231;
1085pub const XK_egrave: u32 = 232;
1086pub const XK_eacute: u32 = 233;
1087pub const XK_ecircumflex: u32 = 234;
1088pub const XK_ediaeresis: u32 = 235;
1089pub const XK_igrave: u32 = 236;
1090pub const XK_iacute: u32 = 237;
1091pub const XK_icircumflex: u32 = 238;
1092pub const XK_idiaeresis: u32 = 239;
1093pub const XK_eth: u32 = 240;
1094pub const XK_ntilde: u32 = 241;
1095pub const XK_ograve: u32 = 242;
1096pub const XK_oacute: u32 = 243;
1097pub const XK_ocircumflex: u32 = 244;
1098pub const XK_otilde: u32 = 245;
1099pub const XK_odiaeresis: u32 = 246;
1100pub const XK_division: u32 = 247;
1101pub const XK_oslash: u32 = 248;
1102pub const XK_ooblique: u32 = 248;
1103pub const XK_ugrave: u32 = 249;
1104pub const XK_uacute: u32 = 250;
1105pub const XK_ucircumflex: u32 = 251;
1106pub const XK_udiaeresis: u32 = 252;
1107pub const XK_yacute: u32 = 253;
1108pub const XK_thorn: u32 = 254;
1109pub const XK_ydiaeresis: u32 = 255;
1110pub const XK_Aogonek: u32 = 417;
1111pub const XK_breve: u32 = 418;
1112pub const XK_Lstroke: u32 = 419;
1113pub const XK_Lcaron: u32 = 421;
1114pub const XK_Sacute: u32 = 422;
1115pub const XK_Scaron: u32 = 425;
1116pub const XK_Scedilla: u32 = 426;
1117pub const XK_Tcaron: u32 = 427;
1118pub const XK_Zacute: u32 = 428;
1119pub const XK_Zcaron: u32 = 430;
1120pub const XK_Zabovedot: u32 = 431;
1121pub const XK_aogonek: u32 = 433;
1122pub const XK_ogonek: u32 = 434;
1123pub const XK_lstroke: u32 = 435;
1124pub const XK_lcaron: u32 = 437;
1125pub const XK_sacute: u32 = 438;
1126pub const XK_caron: u32 = 439;
1127pub const XK_scaron: u32 = 441;
1128pub const XK_scedilla: u32 = 442;
1129pub const XK_tcaron: u32 = 443;
1130pub const XK_zacute: u32 = 444;
1131pub const XK_doubleacute: u32 = 445;
1132pub const XK_zcaron: u32 = 446;
1133pub const XK_zabovedot: u32 = 447;
1134pub const XK_Racute: u32 = 448;
1135pub const XK_Abreve: u32 = 451;
1136pub const XK_Lacute: u32 = 453;
1137pub const XK_Cacute: u32 = 454;
1138pub const XK_Ccaron: u32 = 456;
1139pub const XK_Eogonek: u32 = 458;
1140pub const XK_Ecaron: u32 = 460;
1141pub const XK_Dcaron: u32 = 463;
1142pub const XK_Dstroke: u32 = 464;
1143pub const XK_Nacute: u32 = 465;
1144pub const XK_Ncaron: u32 = 466;
1145pub const XK_Odoubleacute: u32 = 469;
1146pub const XK_Rcaron: u32 = 472;
1147pub const XK_Uring: u32 = 473;
1148pub const XK_Udoubleacute: u32 = 475;
1149pub const XK_Tcedilla: u32 = 478;
1150pub const XK_racute: u32 = 480;
1151pub const XK_abreve: u32 = 483;
1152pub const XK_lacute: u32 = 485;
1153pub const XK_cacute: u32 = 486;
1154pub const XK_ccaron: u32 = 488;
1155pub const XK_eogonek: u32 = 490;
1156pub const XK_ecaron: u32 = 492;
1157pub const XK_dcaron: u32 = 495;
1158pub const XK_dstroke: u32 = 496;
1159pub const XK_nacute: u32 = 497;
1160pub const XK_ncaron: u32 = 498;
1161pub const XK_odoubleacute: u32 = 501;
1162pub const XK_rcaron: u32 = 504;
1163pub const XK_uring: u32 = 505;
1164pub const XK_udoubleacute: u32 = 507;
1165pub const XK_tcedilla: u32 = 510;
1166pub const XK_abovedot: u32 = 511;
1167pub const XK_Hstroke: u32 = 673;
1168pub const XK_Hcircumflex: u32 = 678;
1169pub const XK_Iabovedot: u32 = 681;
1170pub const XK_Gbreve: u32 = 683;
1171pub const XK_Jcircumflex: u32 = 684;
1172pub const XK_hstroke: u32 = 689;
1173pub const XK_hcircumflex: u32 = 694;
1174pub const XK_idotless: u32 = 697;
1175pub const XK_gbreve: u32 = 699;
1176pub const XK_jcircumflex: u32 = 700;
1177pub const XK_Cabovedot: u32 = 709;
1178pub const XK_Ccircumflex: u32 = 710;
1179pub const XK_Gabovedot: u32 = 725;
1180pub const XK_Gcircumflex: u32 = 728;
1181pub const XK_Ubreve: u32 = 733;
1182pub const XK_Scircumflex: u32 = 734;
1183pub const XK_cabovedot: u32 = 741;
1184pub const XK_ccircumflex: u32 = 742;
1185pub const XK_gabovedot: u32 = 757;
1186pub const XK_gcircumflex: u32 = 760;
1187pub const XK_ubreve: u32 = 765;
1188pub const XK_scircumflex: u32 = 766;
1189pub const XK_kra: u32 = 930;
1190pub const XK_kappa: u32 = 930;
1191pub const XK_Rcedilla: u32 = 931;
1192pub const XK_Itilde: u32 = 933;
1193pub const XK_Lcedilla: u32 = 934;
1194pub const XK_Emacron: u32 = 938;
1195pub const XK_Gcedilla: u32 = 939;
1196pub const XK_Tslash: u32 = 940;
1197pub const XK_rcedilla: u32 = 947;
1198pub const XK_itilde: u32 = 949;
1199pub const XK_lcedilla: u32 = 950;
1200pub const XK_emacron: u32 = 954;
1201pub const XK_gcedilla: u32 = 955;
1202pub const XK_tslash: u32 = 956;
1203pub const XK_ENG: u32 = 957;
1204pub const XK_eng: u32 = 959;
1205pub const XK_Amacron: u32 = 960;
1206pub const XK_Iogonek: u32 = 967;
1207pub const XK_Eabovedot: u32 = 972;
1208pub const XK_Imacron: u32 = 975;
1209pub const XK_Ncedilla: u32 = 977;
1210pub const XK_Omacron: u32 = 978;
1211pub const XK_Kcedilla: u32 = 979;
1212pub const XK_Uogonek: u32 = 985;
1213pub const XK_Utilde: u32 = 989;
1214pub const XK_Umacron: u32 = 990;
1215pub const XK_amacron: u32 = 992;
1216pub const XK_iogonek: u32 = 999;
1217pub const XK_eabovedot: u32 = 1004;
1218pub const XK_imacron: u32 = 1007;
1219pub const XK_ncedilla: u32 = 1009;
1220pub const XK_omacron: u32 = 1010;
1221pub const XK_kcedilla: u32 = 1011;
1222pub const XK_uogonek: u32 = 1017;
1223pub const XK_utilde: u32 = 1021;
1224pub const XK_umacron: u32 = 1022;
1225pub const XK_Wcircumflex: u32 = 16777588;
1226pub const XK_wcircumflex: u32 = 16777589;
1227pub const XK_Ycircumflex: u32 = 16777590;
1228pub const XK_ycircumflex: u32 = 16777591;
1229pub const XK_Babovedot: u32 = 16784898;
1230pub const XK_babovedot: u32 = 16784899;
1231pub const XK_Dabovedot: u32 = 16784906;
1232pub const XK_dabovedot: u32 = 16784907;
1233pub const XK_Fabovedot: u32 = 16784926;
1234pub const XK_fabovedot: u32 = 16784927;
1235pub const XK_Mabovedot: u32 = 16784960;
1236pub const XK_mabovedot: u32 = 16784961;
1237pub const XK_Pabovedot: u32 = 16784982;
1238pub const XK_pabovedot: u32 = 16784983;
1239pub const XK_Sabovedot: u32 = 16784992;
1240pub const XK_sabovedot: u32 = 16784993;
1241pub const XK_Tabovedot: u32 = 16785002;
1242pub const XK_tabovedot: u32 = 16785003;
1243pub const XK_Wgrave: u32 = 16785024;
1244pub const XK_wgrave: u32 = 16785025;
1245pub const XK_Wacute: u32 = 16785026;
1246pub const XK_wacute: u32 = 16785027;
1247pub const XK_Wdiaeresis: u32 = 16785028;
1248pub const XK_wdiaeresis: u32 = 16785029;
1249pub const XK_Ygrave: u32 = 16785138;
1250pub const XK_ygrave: u32 = 16785139;
1251pub const XK_OE: u32 = 5052;
1252pub const XK_oe: u32 = 5053;
1253pub const XK_Ydiaeresis: u32 = 5054;
1254pub const XK_overline: u32 = 1150;
1255pub const XK_kana_fullstop: u32 = 1185;
1256pub const XK_kana_openingbracket: u32 = 1186;
1257pub const XK_kana_closingbracket: u32 = 1187;
1258pub const XK_kana_comma: u32 = 1188;
1259pub const XK_kana_conjunctive: u32 = 1189;
1260pub const XK_kana_middledot: u32 = 1189;
1261pub const XK_kana_WO: u32 = 1190;
1262pub const XK_kana_a: u32 = 1191;
1263pub const XK_kana_i: u32 = 1192;
1264pub const XK_kana_u: u32 = 1193;
1265pub const XK_kana_e: u32 = 1194;
1266pub const XK_kana_o: u32 = 1195;
1267pub const XK_kana_ya: u32 = 1196;
1268pub const XK_kana_yu: u32 = 1197;
1269pub const XK_kana_yo: u32 = 1198;
1270pub const XK_kana_tsu: u32 = 1199;
1271pub const XK_kana_tu: u32 = 1199;
1272pub const XK_prolongedsound: u32 = 1200;
1273pub const XK_kana_A: u32 = 1201;
1274pub const XK_kana_I: u32 = 1202;
1275pub const XK_kana_U: u32 = 1203;
1276pub const XK_kana_E: u32 = 1204;
1277pub const XK_kana_O: u32 = 1205;
1278pub const XK_kana_KA: u32 = 1206;
1279pub const XK_kana_KI: u32 = 1207;
1280pub const XK_kana_KU: u32 = 1208;
1281pub const XK_kana_KE: u32 = 1209;
1282pub const XK_kana_KO: u32 = 1210;
1283pub const XK_kana_SA: u32 = 1211;
1284pub const XK_kana_SHI: u32 = 1212;
1285pub const XK_kana_SU: u32 = 1213;
1286pub const XK_kana_SE: u32 = 1214;
1287pub const XK_kana_SO: u32 = 1215;
1288pub const XK_kana_TA: u32 = 1216;
1289pub const XK_kana_CHI: u32 = 1217;
1290pub const XK_kana_TI: u32 = 1217;
1291pub const XK_kana_TSU: u32 = 1218;
1292pub const XK_kana_TU: u32 = 1218;
1293pub const XK_kana_TE: u32 = 1219;
1294pub const XK_kana_TO: u32 = 1220;
1295pub const XK_kana_NA: u32 = 1221;
1296pub const XK_kana_NI: u32 = 1222;
1297pub const XK_kana_NU: u32 = 1223;
1298pub const XK_kana_NE: u32 = 1224;
1299pub const XK_kana_NO: u32 = 1225;
1300pub const XK_kana_HA: u32 = 1226;
1301pub const XK_kana_HI: u32 = 1227;
1302pub const XK_kana_FU: u32 = 1228;
1303pub const XK_kana_HU: u32 = 1228;
1304pub const XK_kana_HE: u32 = 1229;
1305pub const XK_kana_HO: u32 = 1230;
1306pub const XK_kana_MA: u32 = 1231;
1307pub const XK_kana_MI: u32 = 1232;
1308pub const XK_kana_MU: u32 = 1233;
1309pub const XK_kana_ME: u32 = 1234;
1310pub const XK_kana_MO: u32 = 1235;
1311pub const XK_kana_YA: u32 = 1236;
1312pub const XK_kana_YU: u32 = 1237;
1313pub const XK_kana_YO: u32 = 1238;
1314pub const XK_kana_RA: u32 = 1239;
1315pub const XK_kana_RI: u32 = 1240;
1316pub const XK_kana_RU: u32 = 1241;
1317pub const XK_kana_RE: u32 = 1242;
1318pub const XK_kana_RO: u32 = 1243;
1319pub const XK_kana_WA: u32 = 1244;
1320pub const XK_kana_N: u32 = 1245;
1321pub const XK_voicedsound: u32 = 1246;
1322pub const XK_semivoicedsound: u32 = 1247;
1323pub const XK_kana_switch: u32 = 65406;
1324pub const XK_Farsi_0: u32 = 16778992;
1325pub const XK_Farsi_1: u32 = 16778993;
1326pub const XK_Farsi_2: u32 = 16778994;
1327pub const XK_Farsi_3: u32 = 16778995;
1328pub const XK_Farsi_4: u32 = 16778996;
1329pub const XK_Farsi_5: u32 = 16778997;
1330pub const XK_Farsi_6: u32 = 16778998;
1331pub const XK_Farsi_7: u32 = 16778999;
1332pub const XK_Farsi_8: u32 = 16779000;
1333pub const XK_Farsi_9: u32 = 16779001;
1334pub const XK_Arabic_percent: u32 = 16778858;
1335pub const XK_Arabic_superscript_alef: u32 = 16778864;
1336pub const XK_Arabic_tteh: u32 = 16778873;
1337pub const XK_Arabic_peh: u32 = 16778878;
1338pub const XK_Arabic_tcheh: u32 = 16778886;
1339pub const XK_Arabic_ddal: u32 = 16778888;
1340pub const XK_Arabic_rreh: u32 = 16778897;
1341pub const XK_Arabic_comma: u32 = 1452;
1342pub const XK_Arabic_fullstop: u32 = 16778964;
1343pub const XK_Arabic_0: u32 = 16778848;
1344pub const XK_Arabic_1: u32 = 16778849;
1345pub const XK_Arabic_2: u32 = 16778850;
1346pub const XK_Arabic_3: u32 = 16778851;
1347pub const XK_Arabic_4: u32 = 16778852;
1348pub const XK_Arabic_5: u32 = 16778853;
1349pub const XK_Arabic_6: u32 = 16778854;
1350pub const XK_Arabic_7: u32 = 16778855;
1351pub const XK_Arabic_8: u32 = 16778856;
1352pub const XK_Arabic_9: u32 = 16778857;
1353pub const XK_Arabic_semicolon: u32 = 1467;
1354pub const XK_Arabic_question_mark: u32 = 1471;
1355pub const XK_Arabic_hamza: u32 = 1473;
1356pub const XK_Arabic_maddaonalef: u32 = 1474;
1357pub const XK_Arabic_hamzaonalef: u32 = 1475;
1358pub const XK_Arabic_hamzaonwaw: u32 = 1476;
1359pub const XK_Arabic_hamzaunderalef: u32 = 1477;
1360pub const XK_Arabic_hamzaonyeh: u32 = 1478;
1361pub const XK_Arabic_alef: u32 = 1479;
1362pub const XK_Arabic_beh: u32 = 1480;
1363pub const XK_Arabic_tehmarbuta: u32 = 1481;
1364pub const XK_Arabic_teh: u32 = 1482;
1365pub const XK_Arabic_theh: u32 = 1483;
1366pub const XK_Arabic_jeem: u32 = 1484;
1367pub const XK_Arabic_hah: u32 = 1485;
1368pub const XK_Arabic_khah: u32 = 1486;
1369pub const XK_Arabic_dal: u32 = 1487;
1370pub const XK_Arabic_thal: u32 = 1488;
1371pub const XK_Arabic_ra: u32 = 1489;
1372pub const XK_Arabic_zain: u32 = 1490;
1373pub const XK_Arabic_seen: u32 = 1491;
1374pub const XK_Arabic_sheen: u32 = 1492;
1375pub const XK_Arabic_sad: u32 = 1493;
1376pub const XK_Arabic_dad: u32 = 1494;
1377pub const XK_Arabic_tah: u32 = 1495;
1378pub const XK_Arabic_zah: u32 = 1496;
1379pub const XK_Arabic_ain: u32 = 1497;
1380pub const XK_Arabic_ghain: u32 = 1498;
1381pub const XK_Arabic_tatweel: u32 = 1504;
1382pub const XK_Arabic_feh: u32 = 1505;
1383pub const XK_Arabic_qaf: u32 = 1506;
1384pub const XK_Arabic_kaf: u32 = 1507;
1385pub const XK_Arabic_lam: u32 = 1508;
1386pub const XK_Arabic_meem: u32 = 1509;
1387pub const XK_Arabic_noon: u32 = 1510;
1388pub const XK_Arabic_ha: u32 = 1511;
1389pub const XK_Arabic_heh: u32 = 1511;
1390pub const XK_Arabic_waw: u32 = 1512;
1391pub const XK_Arabic_alefmaksura: u32 = 1513;
1392pub const XK_Arabic_yeh: u32 = 1514;
1393pub const XK_Arabic_fathatan: u32 = 1515;
1394pub const XK_Arabic_dammatan: u32 = 1516;
1395pub const XK_Arabic_kasratan: u32 = 1517;
1396pub const XK_Arabic_fatha: u32 = 1518;
1397pub const XK_Arabic_damma: u32 = 1519;
1398pub const XK_Arabic_kasra: u32 = 1520;
1399pub const XK_Arabic_shadda: u32 = 1521;
1400pub const XK_Arabic_sukun: u32 = 1522;
1401pub const XK_Arabic_madda_above: u32 = 16778835;
1402pub const XK_Arabic_hamza_above: u32 = 16778836;
1403pub const XK_Arabic_hamza_below: u32 = 16778837;
1404pub const XK_Arabic_jeh: u32 = 16778904;
1405pub const XK_Arabic_veh: u32 = 16778916;
1406pub const XK_Arabic_keheh: u32 = 16778921;
1407pub const XK_Arabic_gaf: u32 = 16778927;
1408pub const XK_Arabic_noon_ghunna: u32 = 16778938;
1409pub const XK_Arabic_heh_doachashmee: u32 = 16778942;
1410pub const XK_Farsi_yeh: u32 = 16778956;
1411pub const XK_Arabic_farsi_yeh: u32 = 16778956;
1412pub const XK_Arabic_yeh_baree: u32 = 16778962;
1413pub const XK_Arabic_heh_goal: u32 = 16778945;
1414pub const XK_Arabic_switch: u32 = 65406;
1415pub const XK_Cyrillic_GHE_bar: u32 = 16778386;
1416pub const XK_Cyrillic_ghe_bar: u32 = 16778387;
1417pub const XK_Cyrillic_ZHE_descender: u32 = 16778390;
1418pub const XK_Cyrillic_zhe_descender: u32 = 16778391;
1419pub const XK_Cyrillic_KA_descender: u32 = 16778394;
1420pub const XK_Cyrillic_ka_descender: u32 = 16778395;
1421pub const XK_Cyrillic_KA_vertstroke: u32 = 16778396;
1422pub const XK_Cyrillic_ka_vertstroke: u32 = 16778397;
1423pub const XK_Cyrillic_EN_descender: u32 = 16778402;
1424pub const XK_Cyrillic_en_descender: u32 = 16778403;
1425pub const XK_Cyrillic_U_straight: u32 = 16778414;
1426pub const XK_Cyrillic_u_straight: u32 = 16778415;
1427pub const XK_Cyrillic_U_straight_bar: u32 = 16778416;
1428pub const XK_Cyrillic_u_straight_bar: u32 = 16778417;
1429pub const XK_Cyrillic_HA_descender: u32 = 16778418;
1430pub const XK_Cyrillic_ha_descender: u32 = 16778419;
1431pub const XK_Cyrillic_CHE_descender: u32 = 16778422;
1432pub const XK_Cyrillic_che_descender: u32 = 16778423;
1433pub const XK_Cyrillic_CHE_vertstroke: u32 = 16778424;
1434pub const XK_Cyrillic_che_vertstroke: u32 = 16778425;
1435pub const XK_Cyrillic_SHHA: u32 = 16778426;
1436pub const XK_Cyrillic_shha: u32 = 16778427;
1437pub const XK_Cyrillic_SCHWA: u32 = 16778456;
1438pub const XK_Cyrillic_schwa: u32 = 16778457;
1439pub const XK_Cyrillic_I_macron: u32 = 16778466;
1440pub const XK_Cyrillic_i_macron: u32 = 16778467;
1441pub const XK_Cyrillic_O_bar: u32 = 16778472;
1442pub const XK_Cyrillic_o_bar: u32 = 16778473;
1443pub const XK_Cyrillic_U_macron: u32 = 16778478;
1444pub const XK_Cyrillic_u_macron: u32 = 16778479;
1445pub const XK_Serbian_dje: u32 = 1697;
1446pub const XK_Macedonia_gje: u32 = 1698;
1447pub const XK_Cyrillic_io: u32 = 1699;
1448pub const XK_Ukrainian_ie: u32 = 1700;
1449pub const XK_Ukranian_je: u32 = 1700;
1450pub const XK_Macedonia_dse: u32 = 1701;
1451pub const XK_Ukrainian_i: u32 = 1702;
1452pub const XK_Ukranian_i: u32 = 1702;
1453pub const XK_Ukrainian_yi: u32 = 1703;
1454pub const XK_Ukranian_yi: u32 = 1703;
1455pub const XK_Cyrillic_je: u32 = 1704;
1456pub const XK_Serbian_je: u32 = 1704;
1457pub const XK_Cyrillic_lje: u32 = 1705;
1458pub const XK_Serbian_lje: u32 = 1705;
1459pub const XK_Cyrillic_nje: u32 = 1706;
1460pub const XK_Serbian_nje: u32 = 1706;
1461pub const XK_Serbian_tshe: u32 = 1707;
1462pub const XK_Macedonia_kje: u32 = 1708;
1463pub const XK_Ukrainian_ghe_with_upturn: u32 = 1709;
1464pub const XK_Byelorussian_shortu: u32 = 1710;
1465pub const XK_Cyrillic_dzhe: u32 = 1711;
1466pub const XK_Serbian_dze: u32 = 1711;
1467pub const XK_numerosign: u32 = 1712;
1468pub const XK_Serbian_DJE: u32 = 1713;
1469pub const XK_Macedonia_GJE: u32 = 1714;
1470pub const XK_Cyrillic_IO: u32 = 1715;
1471pub const XK_Ukrainian_IE: u32 = 1716;
1472pub const XK_Ukranian_JE: u32 = 1716;
1473pub const XK_Macedonia_DSE: u32 = 1717;
1474pub const XK_Ukrainian_I: u32 = 1718;
1475pub const XK_Ukranian_I: u32 = 1718;
1476pub const XK_Ukrainian_YI: u32 = 1719;
1477pub const XK_Ukranian_YI: u32 = 1719;
1478pub const XK_Cyrillic_JE: u32 = 1720;
1479pub const XK_Serbian_JE: u32 = 1720;
1480pub const XK_Cyrillic_LJE: u32 = 1721;
1481pub const XK_Serbian_LJE: u32 = 1721;
1482pub const XK_Cyrillic_NJE: u32 = 1722;
1483pub const XK_Serbian_NJE: u32 = 1722;
1484pub const XK_Serbian_TSHE: u32 = 1723;
1485pub const XK_Macedonia_KJE: u32 = 1724;
1486pub const XK_Ukrainian_GHE_WITH_UPTURN: u32 = 1725;
1487pub const XK_Byelorussian_SHORTU: u32 = 1726;
1488pub const XK_Cyrillic_DZHE: u32 = 1727;
1489pub const XK_Serbian_DZE: u32 = 1727;
1490pub const XK_Cyrillic_yu: u32 = 1728;
1491pub const XK_Cyrillic_a: u32 = 1729;
1492pub const XK_Cyrillic_be: u32 = 1730;
1493pub const XK_Cyrillic_tse: u32 = 1731;
1494pub const XK_Cyrillic_de: u32 = 1732;
1495pub const XK_Cyrillic_ie: u32 = 1733;
1496pub const XK_Cyrillic_ef: u32 = 1734;
1497pub const XK_Cyrillic_ghe: u32 = 1735;
1498pub const XK_Cyrillic_ha: u32 = 1736;
1499pub const XK_Cyrillic_i: u32 = 1737;
1500pub const XK_Cyrillic_shorti: u32 = 1738;
1501pub const XK_Cyrillic_ka: u32 = 1739;
1502pub const XK_Cyrillic_el: u32 = 1740;
1503pub const XK_Cyrillic_em: u32 = 1741;
1504pub const XK_Cyrillic_en: u32 = 1742;
1505pub const XK_Cyrillic_o: u32 = 1743;
1506pub const XK_Cyrillic_pe: u32 = 1744;
1507pub const XK_Cyrillic_ya: u32 = 1745;
1508pub const XK_Cyrillic_er: u32 = 1746;
1509pub const XK_Cyrillic_es: u32 = 1747;
1510pub const XK_Cyrillic_te: u32 = 1748;
1511pub const XK_Cyrillic_u: u32 = 1749;
1512pub const XK_Cyrillic_zhe: u32 = 1750;
1513pub const XK_Cyrillic_ve: u32 = 1751;
1514pub const XK_Cyrillic_softsign: u32 = 1752;
1515pub const XK_Cyrillic_yeru: u32 = 1753;
1516pub const XK_Cyrillic_ze: u32 = 1754;
1517pub const XK_Cyrillic_sha: u32 = 1755;
1518pub const XK_Cyrillic_e: u32 = 1756;
1519pub const XK_Cyrillic_shcha: u32 = 1757;
1520pub const XK_Cyrillic_che: u32 = 1758;
1521pub const XK_Cyrillic_hardsign: u32 = 1759;
1522pub const XK_Cyrillic_YU: u32 = 1760;
1523pub const XK_Cyrillic_A: u32 = 1761;
1524pub const XK_Cyrillic_BE: u32 = 1762;
1525pub const XK_Cyrillic_TSE: u32 = 1763;
1526pub const XK_Cyrillic_DE: u32 = 1764;
1527pub const XK_Cyrillic_IE: u32 = 1765;
1528pub const XK_Cyrillic_EF: u32 = 1766;
1529pub const XK_Cyrillic_GHE: u32 = 1767;
1530pub const XK_Cyrillic_HA: u32 = 1768;
1531pub const XK_Cyrillic_I: u32 = 1769;
1532pub const XK_Cyrillic_SHORTI: u32 = 1770;
1533pub const XK_Cyrillic_KA: u32 = 1771;
1534pub const XK_Cyrillic_EL: u32 = 1772;
1535pub const XK_Cyrillic_EM: u32 = 1773;
1536pub const XK_Cyrillic_EN: u32 = 1774;
1537pub const XK_Cyrillic_O: u32 = 1775;
1538pub const XK_Cyrillic_PE: u32 = 1776;
1539pub const XK_Cyrillic_YA: u32 = 1777;
1540pub const XK_Cyrillic_ER: u32 = 1778;
1541pub const XK_Cyrillic_ES: u32 = 1779;
1542pub const XK_Cyrillic_TE: u32 = 1780;
1543pub const XK_Cyrillic_U: u32 = 1781;
1544pub const XK_Cyrillic_ZHE: u32 = 1782;
1545pub const XK_Cyrillic_VE: u32 = 1783;
1546pub const XK_Cyrillic_SOFTSIGN: u32 = 1784;
1547pub const XK_Cyrillic_YERU: u32 = 1785;
1548pub const XK_Cyrillic_ZE: u32 = 1786;
1549pub const XK_Cyrillic_SHA: u32 = 1787;
1550pub const XK_Cyrillic_E: u32 = 1788;
1551pub const XK_Cyrillic_SHCHA: u32 = 1789;
1552pub const XK_Cyrillic_CHE: u32 = 1790;
1553pub const XK_Cyrillic_HARDSIGN: u32 = 1791;
1554pub const XK_Greek_ALPHAaccent: u32 = 1953;
1555pub const XK_Greek_EPSILONaccent: u32 = 1954;
1556pub const XK_Greek_ETAaccent: u32 = 1955;
1557pub const XK_Greek_IOTAaccent: u32 = 1956;
1558pub const XK_Greek_IOTAdieresis: u32 = 1957;
1559pub const XK_Greek_IOTAdiaeresis: u32 = 1957;
1560pub const XK_Greek_OMICRONaccent: u32 = 1959;
1561pub const XK_Greek_UPSILONaccent: u32 = 1960;
1562pub const XK_Greek_UPSILONdieresis: u32 = 1961;
1563pub const XK_Greek_OMEGAaccent: u32 = 1963;
1564pub const XK_Greek_accentdieresis: u32 = 1966;
1565pub const XK_Greek_horizbar: u32 = 1967;
1566pub const XK_Greek_alphaaccent: u32 = 1969;
1567pub const XK_Greek_epsilonaccent: u32 = 1970;
1568pub const XK_Greek_etaaccent: u32 = 1971;
1569pub const XK_Greek_iotaaccent: u32 = 1972;
1570pub const XK_Greek_iotadieresis: u32 = 1973;
1571pub const XK_Greek_iotaaccentdieresis: u32 = 1974;
1572pub const XK_Greek_omicronaccent: u32 = 1975;
1573pub const XK_Greek_upsilonaccent: u32 = 1976;
1574pub const XK_Greek_upsilondieresis: u32 = 1977;
1575pub const XK_Greek_upsilonaccentdieresis: u32 = 1978;
1576pub const XK_Greek_omegaaccent: u32 = 1979;
1577pub const XK_Greek_ALPHA: u32 = 1985;
1578pub const XK_Greek_BETA: u32 = 1986;
1579pub const XK_Greek_GAMMA: u32 = 1987;
1580pub const XK_Greek_DELTA: u32 = 1988;
1581pub const XK_Greek_EPSILON: u32 = 1989;
1582pub const XK_Greek_ZETA: u32 = 1990;
1583pub const XK_Greek_ETA: u32 = 1991;
1584pub const XK_Greek_THETA: u32 = 1992;
1585pub const XK_Greek_IOTA: u32 = 1993;
1586pub const XK_Greek_KAPPA: u32 = 1994;
1587pub const XK_Greek_LAMDA: u32 = 1995;
1588pub const XK_Greek_LAMBDA: u32 = 1995;
1589pub const XK_Greek_MU: u32 = 1996;
1590pub const XK_Greek_NU: u32 = 1997;
1591pub const XK_Greek_XI: u32 = 1998;
1592pub const XK_Greek_OMICRON: u32 = 1999;
1593pub const XK_Greek_PI: u32 = 2000;
1594pub const XK_Greek_RHO: u32 = 2001;
1595pub const XK_Greek_SIGMA: u32 = 2002;
1596pub const XK_Greek_TAU: u32 = 2004;
1597pub const XK_Greek_UPSILON: u32 = 2005;
1598pub const XK_Greek_PHI: u32 = 2006;
1599pub const XK_Greek_CHI: u32 = 2007;
1600pub const XK_Greek_PSI: u32 = 2008;
1601pub const XK_Greek_OMEGA: u32 = 2009;
1602pub const XK_Greek_alpha: u32 = 2017;
1603pub const XK_Greek_beta: u32 = 2018;
1604pub const XK_Greek_gamma: u32 = 2019;
1605pub const XK_Greek_delta: u32 = 2020;
1606pub const XK_Greek_epsilon: u32 = 2021;
1607pub const XK_Greek_zeta: u32 = 2022;
1608pub const XK_Greek_eta: u32 = 2023;
1609pub const XK_Greek_theta: u32 = 2024;
1610pub const XK_Greek_iota: u32 = 2025;
1611pub const XK_Greek_kappa: u32 = 2026;
1612pub const XK_Greek_lamda: u32 = 2027;
1613pub const XK_Greek_lambda: u32 = 2027;
1614pub const XK_Greek_mu: u32 = 2028;
1615pub const XK_Greek_nu: u32 = 2029;
1616pub const XK_Greek_xi: u32 = 2030;
1617pub const XK_Greek_omicron: u32 = 2031;
1618pub const XK_Greek_pi: u32 = 2032;
1619pub const XK_Greek_rho: u32 = 2033;
1620pub const XK_Greek_sigma: u32 = 2034;
1621pub const XK_Greek_finalsmallsigma: u32 = 2035;
1622pub const XK_Greek_tau: u32 = 2036;
1623pub const XK_Greek_upsilon: u32 = 2037;
1624pub const XK_Greek_phi: u32 = 2038;
1625pub const XK_Greek_chi: u32 = 2039;
1626pub const XK_Greek_psi: u32 = 2040;
1627pub const XK_Greek_omega: u32 = 2041;
1628pub const XK_Greek_switch: u32 = 65406;
1629pub const XK_hebrew_doublelowline: u32 = 3295;
1630pub const XK_hebrew_aleph: u32 = 3296;
1631pub const XK_hebrew_bet: u32 = 3297;
1632pub const XK_hebrew_beth: u32 = 3297;
1633pub const XK_hebrew_gimel: u32 = 3298;
1634pub const XK_hebrew_gimmel: u32 = 3298;
1635pub const XK_hebrew_dalet: u32 = 3299;
1636pub const XK_hebrew_daleth: u32 = 3299;
1637pub const XK_hebrew_he: u32 = 3300;
1638pub const XK_hebrew_waw: u32 = 3301;
1639pub const XK_hebrew_zain: u32 = 3302;
1640pub const XK_hebrew_zayin: u32 = 3302;
1641pub const XK_hebrew_chet: u32 = 3303;
1642pub const XK_hebrew_het: u32 = 3303;
1643pub const XK_hebrew_tet: u32 = 3304;
1644pub const XK_hebrew_teth: u32 = 3304;
1645pub const XK_hebrew_yod: u32 = 3305;
1646pub const XK_hebrew_finalkaph: u32 = 3306;
1647pub const XK_hebrew_kaph: u32 = 3307;
1648pub const XK_hebrew_lamed: u32 = 3308;
1649pub const XK_hebrew_finalmem: u32 = 3309;
1650pub const XK_hebrew_mem: u32 = 3310;
1651pub const XK_hebrew_finalnun: u32 = 3311;
1652pub const XK_hebrew_nun: u32 = 3312;
1653pub const XK_hebrew_samech: u32 = 3313;
1654pub const XK_hebrew_samekh: u32 = 3313;
1655pub const XK_hebrew_ayin: u32 = 3314;
1656pub const XK_hebrew_finalpe: u32 = 3315;
1657pub const XK_hebrew_pe: u32 = 3316;
1658pub const XK_hebrew_finalzade: u32 = 3317;
1659pub const XK_hebrew_finalzadi: u32 = 3317;
1660pub const XK_hebrew_zade: u32 = 3318;
1661pub const XK_hebrew_zadi: u32 = 3318;
1662pub const XK_hebrew_qoph: u32 = 3319;
1663pub const XK_hebrew_kuf: u32 = 3319;
1664pub const XK_hebrew_resh: u32 = 3320;
1665pub const XK_hebrew_shin: u32 = 3321;
1666pub const XK_hebrew_taw: u32 = 3322;
1667pub const XK_hebrew_taf: u32 = 3322;
1668pub const XK_Hebrew_switch: u32 = 65406;
1669pub const XK_Thai_kokai: u32 = 3489;
1670pub const XK_Thai_khokhai: u32 = 3490;
1671pub const XK_Thai_khokhuat: u32 = 3491;
1672pub const XK_Thai_khokhwai: u32 = 3492;
1673pub const XK_Thai_khokhon: u32 = 3493;
1674pub const XK_Thai_khorakhang: u32 = 3494;
1675pub const XK_Thai_ngongu: u32 = 3495;
1676pub const XK_Thai_chochan: u32 = 3496;
1677pub const XK_Thai_choching: u32 = 3497;
1678pub const XK_Thai_chochang: u32 = 3498;
1679pub const XK_Thai_soso: u32 = 3499;
1680pub const XK_Thai_chochoe: u32 = 3500;
1681pub const XK_Thai_yoying: u32 = 3501;
1682pub const XK_Thai_dochada: u32 = 3502;
1683pub const XK_Thai_topatak: u32 = 3503;
1684pub const XK_Thai_thothan: u32 = 3504;
1685pub const XK_Thai_thonangmontho: u32 = 3505;
1686pub const XK_Thai_thophuthao: u32 = 3506;
1687pub const XK_Thai_nonen: u32 = 3507;
1688pub const XK_Thai_dodek: u32 = 3508;
1689pub const XK_Thai_totao: u32 = 3509;
1690pub const XK_Thai_thothung: u32 = 3510;
1691pub const XK_Thai_thothahan: u32 = 3511;
1692pub const XK_Thai_thothong: u32 = 3512;
1693pub const XK_Thai_nonu: u32 = 3513;
1694pub const XK_Thai_bobaimai: u32 = 3514;
1695pub const XK_Thai_popla: u32 = 3515;
1696pub const XK_Thai_phophung: u32 = 3516;
1697pub const XK_Thai_fofa: u32 = 3517;
1698pub const XK_Thai_phophan: u32 = 3518;
1699pub const XK_Thai_fofan: u32 = 3519;
1700pub const XK_Thai_phosamphao: u32 = 3520;
1701pub const XK_Thai_moma: u32 = 3521;
1702pub const XK_Thai_yoyak: u32 = 3522;
1703pub const XK_Thai_rorua: u32 = 3523;
1704pub const XK_Thai_ru: u32 = 3524;
1705pub const XK_Thai_loling: u32 = 3525;
1706pub const XK_Thai_lu: u32 = 3526;
1707pub const XK_Thai_wowaen: u32 = 3527;
1708pub const XK_Thai_sosala: u32 = 3528;
1709pub const XK_Thai_sorusi: u32 = 3529;
1710pub const XK_Thai_sosua: u32 = 3530;
1711pub const XK_Thai_hohip: u32 = 3531;
1712pub const XK_Thai_lochula: u32 = 3532;
1713pub const XK_Thai_oang: u32 = 3533;
1714pub const XK_Thai_honokhuk: u32 = 3534;
1715pub const XK_Thai_paiyannoi: u32 = 3535;
1716pub const XK_Thai_saraa: u32 = 3536;
1717pub const XK_Thai_maihanakat: u32 = 3537;
1718pub const XK_Thai_saraaa: u32 = 3538;
1719pub const XK_Thai_saraam: u32 = 3539;
1720pub const XK_Thai_sarai: u32 = 3540;
1721pub const XK_Thai_saraii: u32 = 3541;
1722pub const XK_Thai_saraue: u32 = 3542;
1723pub const XK_Thai_sarauee: u32 = 3543;
1724pub const XK_Thai_sarau: u32 = 3544;
1725pub const XK_Thai_sarauu: u32 = 3545;
1726pub const XK_Thai_phinthu: u32 = 3546;
1727pub const XK_Thai_maihanakat_maitho: u32 = 3550;
1728pub const XK_Thai_baht: u32 = 3551;
1729pub const XK_Thai_sarae: u32 = 3552;
1730pub const XK_Thai_saraae: u32 = 3553;
1731pub const XK_Thai_sarao: u32 = 3554;
1732pub const XK_Thai_saraaimaimuan: u32 = 3555;
1733pub const XK_Thai_saraaimaimalai: u32 = 3556;
1734pub const XK_Thai_lakkhangyao: u32 = 3557;
1735pub const XK_Thai_maiyamok: u32 = 3558;
1736pub const XK_Thai_maitaikhu: u32 = 3559;
1737pub const XK_Thai_maiek: u32 = 3560;
1738pub const XK_Thai_maitho: u32 = 3561;
1739pub const XK_Thai_maitri: u32 = 3562;
1740pub const XK_Thai_maichattawa: u32 = 3563;
1741pub const XK_Thai_thanthakhat: u32 = 3564;
1742pub const XK_Thai_nikhahit: u32 = 3565;
1743pub const XK_Thai_leksun: u32 = 3568;
1744pub const XK_Thai_leknung: u32 = 3569;
1745pub const XK_Thai_leksong: u32 = 3570;
1746pub const XK_Thai_leksam: u32 = 3571;
1747pub const XK_Thai_leksi: u32 = 3572;
1748pub const XK_Thai_lekha: u32 = 3573;
1749pub const XK_Thai_lekhok: u32 = 3574;
1750pub const XK_Thai_lekchet: u32 = 3575;
1751pub const XK_Thai_lekpaet: u32 = 3576;
1752pub const XK_Thai_lekkao: u32 = 3577;
1753pub const XK_Hangul: u32 = 65329;
1754pub const XK_Hangul_Start: u32 = 65330;
1755pub const XK_Hangul_End: u32 = 65331;
1756pub const XK_Hangul_Hanja: u32 = 65332;
1757pub const XK_Hangul_Jamo: u32 = 65333;
1758pub const XK_Hangul_Romaja: u32 = 65334;
1759pub const XK_Hangul_Codeinput: u32 = 65335;
1760pub const XK_Hangul_Jeonja: u32 = 65336;
1761pub const XK_Hangul_Banja: u32 = 65337;
1762pub const XK_Hangul_PreHanja: u32 = 65338;
1763pub const XK_Hangul_PostHanja: u32 = 65339;
1764pub const XK_Hangul_SingleCandidate: u32 = 65340;
1765pub const XK_Hangul_MultipleCandidate: u32 = 65341;
1766pub const XK_Hangul_PreviousCandidate: u32 = 65342;
1767pub const XK_Hangul_Special: u32 = 65343;
1768pub const XK_Hangul_switch: u32 = 65406;
1769pub const XK_Hangul_Kiyeog: u32 = 3745;
1770pub const XK_Hangul_SsangKiyeog: u32 = 3746;
1771pub const XK_Hangul_KiyeogSios: u32 = 3747;
1772pub const XK_Hangul_Nieun: u32 = 3748;
1773pub const XK_Hangul_NieunJieuj: u32 = 3749;
1774pub const XK_Hangul_NieunHieuh: u32 = 3750;
1775pub const XK_Hangul_Dikeud: u32 = 3751;
1776pub const XK_Hangul_SsangDikeud: u32 = 3752;
1777pub const XK_Hangul_Rieul: u32 = 3753;
1778pub const XK_Hangul_RieulKiyeog: u32 = 3754;
1779pub const XK_Hangul_RieulMieum: u32 = 3755;
1780pub const XK_Hangul_RieulPieub: u32 = 3756;
1781pub const XK_Hangul_RieulSios: u32 = 3757;
1782pub const XK_Hangul_RieulTieut: u32 = 3758;
1783pub const XK_Hangul_RieulPhieuf: u32 = 3759;
1784pub const XK_Hangul_RieulHieuh: u32 = 3760;
1785pub const XK_Hangul_Mieum: u32 = 3761;
1786pub const XK_Hangul_Pieub: u32 = 3762;
1787pub const XK_Hangul_SsangPieub: u32 = 3763;
1788pub const XK_Hangul_PieubSios: u32 = 3764;
1789pub const XK_Hangul_Sios: u32 = 3765;
1790pub const XK_Hangul_SsangSios: u32 = 3766;
1791pub const XK_Hangul_Ieung: u32 = 3767;
1792pub const XK_Hangul_Jieuj: u32 = 3768;
1793pub const XK_Hangul_SsangJieuj: u32 = 3769;
1794pub const XK_Hangul_Cieuc: u32 = 3770;
1795pub const XK_Hangul_Khieuq: u32 = 3771;
1796pub const XK_Hangul_Tieut: u32 = 3772;
1797pub const XK_Hangul_Phieuf: u32 = 3773;
1798pub const XK_Hangul_Hieuh: u32 = 3774;
1799pub const XK_Hangul_A: u32 = 3775;
1800pub const XK_Hangul_AE: u32 = 3776;
1801pub const XK_Hangul_YA: u32 = 3777;
1802pub const XK_Hangul_YAE: u32 = 3778;
1803pub const XK_Hangul_EO: u32 = 3779;
1804pub const XK_Hangul_E: u32 = 3780;
1805pub const XK_Hangul_YEO: u32 = 3781;
1806pub const XK_Hangul_YE: u32 = 3782;
1807pub const XK_Hangul_O: u32 = 3783;
1808pub const XK_Hangul_WA: u32 = 3784;
1809pub const XK_Hangul_WAE: u32 = 3785;
1810pub const XK_Hangul_OE: u32 = 3786;
1811pub const XK_Hangul_YO: u32 = 3787;
1812pub const XK_Hangul_U: u32 = 3788;
1813pub const XK_Hangul_WEO: u32 = 3789;
1814pub const XK_Hangul_WE: u32 = 3790;
1815pub const XK_Hangul_WI: u32 = 3791;
1816pub const XK_Hangul_YU: u32 = 3792;
1817pub const XK_Hangul_EU: u32 = 3793;
1818pub const XK_Hangul_YI: u32 = 3794;
1819pub const XK_Hangul_I: u32 = 3795;
1820pub const XK_Hangul_J_Kiyeog: u32 = 3796;
1821pub const XK_Hangul_J_SsangKiyeog: u32 = 3797;
1822pub const XK_Hangul_J_KiyeogSios: u32 = 3798;
1823pub const XK_Hangul_J_Nieun: u32 = 3799;
1824pub const XK_Hangul_J_NieunJieuj: u32 = 3800;
1825pub const XK_Hangul_J_NieunHieuh: u32 = 3801;
1826pub const XK_Hangul_J_Dikeud: u32 = 3802;
1827pub const XK_Hangul_J_Rieul: u32 = 3803;
1828pub const XK_Hangul_J_RieulKiyeog: u32 = 3804;
1829pub const XK_Hangul_J_RieulMieum: u32 = 3805;
1830pub const XK_Hangul_J_RieulPieub: u32 = 3806;
1831pub const XK_Hangul_J_RieulSios: u32 = 3807;
1832pub const XK_Hangul_J_RieulTieut: u32 = 3808;
1833pub const XK_Hangul_J_RieulPhieuf: u32 = 3809;
1834pub const XK_Hangul_J_RieulHieuh: u32 = 3810;
1835pub const XK_Hangul_J_Mieum: u32 = 3811;
1836pub const XK_Hangul_J_Pieub: u32 = 3812;
1837pub const XK_Hangul_J_PieubSios: u32 = 3813;
1838pub const XK_Hangul_J_Sios: u32 = 3814;
1839pub const XK_Hangul_J_SsangSios: u32 = 3815;
1840pub const XK_Hangul_J_Ieung: u32 = 3816;
1841pub const XK_Hangul_J_Jieuj: u32 = 3817;
1842pub const XK_Hangul_J_Cieuc: u32 = 3818;
1843pub const XK_Hangul_J_Khieuq: u32 = 3819;
1844pub const XK_Hangul_J_Tieut: u32 = 3820;
1845pub const XK_Hangul_J_Phieuf: u32 = 3821;
1846pub const XK_Hangul_J_Hieuh: u32 = 3822;
1847pub const XK_Hangul_RieulYeorinHieuh: u32 = 3823;
1848pub const XK_Hangul_SunkyeongeumMieum: u32 = 3824;
1849pub const XK_Hangul_SunkyeongeumPieub: u32 = 3825;
1850pub const XK_Hangul_PanSios: u32 = 3826;
1851pub const XK_Hangul_KkogjiDalrinIeung: u32 = 3827;
1852pub const XK_Hangul_SunkyeongeumPhieuf: u32 = 3828;
1853pub const XK_Hangul_YeorinHieuh: u32 = 3829;
1854pub const XK_Hangul_AraeA: u32 = 3830;
1855pub const XK_Hangul_AraeAE: u32 = 3831;
1856pub const XK_Hangul_J_PanSios: u32 = 3832;
1857pub const XK_Hangul_J_KkogjiDalrinIeung: u32 = 3833;
1858pub const XK_Hangul_J_YeorinHieuh: u32 = 3834;
1859pub const XK_Korean_Won: u32 = 3839;
1860pub const XK_Armenian_ligature_ew: u32 = 16778631;
1861pub const XK_Armenian_full_stop: u32 = 16778633;
1862pub const XK_Armenian_verjaket: u32 = 16778633;
1863pub const XK_Armenian_separation_mark: u32 = 16778589;
1864pub const XK_Armenian_but: u32 = 16778589;
1865pub const XK_Armenian_hyphen: u32 = 16778634;
1866pub const XK_Armenian_yentamna: u32 = 16778634;
1867pub const XK_Armenian_exclam: u32 = 16778588;
1868pub const XK_Armenian_amanak: u32 = 16778588;
1869pub const XK_Armenian_accent: u32 = 16778587;
1870pub const XK_Armenian_shesht: u32 = 16778587;
1871pub const XK_Armenian_question: u32 = 16778590;
1872pub const XK_Armenian_paruyk: u32 = 16778590;
1873pub const XK_Armenian_AYB: u32 = 16778545;
1874pub const XK_Armenian_ayb: u32 = 16778593;
1875pub const XK_Armenian_BEN: u32 = 16778546;
1876pub const XK_Armenian_ben: u32 = 16778594;
1877pub const XK_Armenian_GIM: u32 = 16778547;
1878pub const XK_Armenian_gim: u32 = 16778595;
1879pub const XK_Armenian_DA: u32 = 16778548;
1880pub const XK_Armenian_da: u32 = 16778596;
1881pub const XK_Armenian_YECH: u32 = 16778549;
1882pub const XK_Armenian_yech: u32 = 16778597;
1883pub const XK_Armenian_ZA: u32 = 16778550;
1884pub const XK_Armenian_za: u32 = 16778598;
1885pub const XK_Armenian_E: u32 = 16778551;
1886pub const XK_Armenian_e: u32 = 16778599;
1887pub const XK_Armenian_AT: u32 = 16778552;
1888pub const XK_Armenian_at: u32 = 16778600;
1889pub const XK_Armenian_TO: u32 = 16778553;
1890pub const XK_Armenian_to: u32 = 16778601;
1891pub const XK_Armenian_ZHE: u32 = 16778554;
1892pub const XK_Armenian_zhe: u32 = 16778602;
1893pub const XK_Armenian_INI: u32 = 16778555;
1894pub const XK_Armenian_ini: u32 = 16778603;
1895pub const XK_Armenian_LYUN: u32 = 16778556;
1896pub const XK_Armenian_lyun: u32 = 16778604;
1897pub const XK_Armenian_KHE: u32 = 16778557;
1898pub const XK_Armenian_khe: u32 = 16778605;
1899pub const XK_Armenian_TSA: u32 = 16778558;
1900pub const XK_Armenian_tsa: u32 = 16778606;
1901pub const XK_Armenian_KEN: u32 = 16778559;
1902pub const XK_Armenian_ken: u32 = 16778607;
1903pub const XK_Armenian_HO: u32 = 16778560;
1904pub const XK_Armenian_ho: u32 = 16778608;
1905pub const XK_Armenian_DZA: u32 = 16778561;
1906pub const XK_Armenian_dza: u32 = 16778609;
1907pub const XK_Armenian_GHAT: u32 = 16778562;
1908pub const XK_Armenian_ghat: u32 = 16778610;
1909pub const XK_Armenian_TCHE: u32 = 16778563;
1910pub const XK_Armenian_tche: u32 = 16778611;
1911pub const XK_Armenian_MEN: u32 = 16778564;
1912pub const XK_Armenian_men: u32 = 16778612;
1913pub const XK_Armenian_HI: u32 = 16778565;
1914pub const XK_Armenian_hi: u32 = 16778613;
1915pub const XK_Armenian_NU: u32 = 16778566;
1916pub const XK_Armenian_nu: u32 = 16778614;
1917pub const XK_Armenian_SHA: u32 = 16778567;
1918pub const XK_Armenian_sha: u32 = 16778615;
1919pub const XK_Armenian_VO: u32 = 16778568;
1920pub const XK_Armenian_vo: u32 = 16778616;
1921pub const XK_Armenian_CHA: u32 = 16778569;
1922pub const XK_Armenian_cha: u32 = 16778617;
1923pub const XK_Armenian_PE: u32 = 16778570;
1924pub const XK_Armenian_pe: u32 = 16778618;
1925pub const XK_Armenian_JE: u32 = 16778571;
1926pub const XK_Armenian_je: u32 = 16778619;
1927pub const XK_Armenian_RA: u32 = 16778572;
1928pub const XK_Armenian_ra: u32 = 16778620;
1929pub const XK_Armenian_SE: u32 = 16778573;
1930pub const XK_Armenian_se: u32 = 16778621;
1931pub const XK_Armenian_VEV: u32 = 16778574;
1932pub const XK_Armenian_vev: u32 = 16778622;
1933pub const XK_Armenian_TYUN: u32 = 16778575;
1934pub const XK_Armenian_tyun: u32 = 16778623;
1935pub const XK_Armenian_RE: u32 = 16778576;
1936pub const XK_Armenian_re: u32 = 16778624;
1937pub const XK_Armenian_TSO: u32 = 16778577;
1938pub const XK_Armenian_tso: u32 = 16778625;
1939pub const XK_Armenian_VYUN: u32 = 16778578;
1940pub const XK_Armenian_vyun: u32 = 16778626;
1941pub const XK_Armenian_PYUR: u32 = 16778579;
1942pub const XK_Armenian_pyur: u32 = 16778627;
1943pub const XK_Armenian_KE: u32 = 16778580;
1944pub const XK_Armenian_ke: u32 = 16778628;
1945pub const XK_Armenian_O: u32 = 16778581;
1946pub const XK_Armenian_o: u32 = 16778629;
1947pub const XK_Armenian_FE: u32 = 16778582;
1948pub const XK_Armenian_fe: u32 = 16778630;
1949pub const XK_Armenian_apostrophe: u32 = 16778586;
1950pub const XK_Georgian_an: u32 = 16781520;
1951pub const XK_Georgian_ban: u32 = 16781521;
1952pub const XK_Georgian_gan: u32 = 16781522;
1953pub const XK_Georgian_don: u32 = 16781523;
1954pub const XK_Georgian_en: u32 = 16781524;
1955pub const XK_Georgian_vin: u32 = 16781525;
1956pub const XK_Georgian_zen: u32 = 16781526;
1957pub const XK_Georgian_tan: u32 = 16781527;
1958pub const XK_Georgian_in: u32 = 16781528;
1959pub const XK_Georgian_kan: u32 = 16781529;
1960pub const XK_Georgian_las: u32 = 16781530;
1961pub const XK_Georgian_man: u32 = 16781531;
1962pub const XK_Georgian_nar: u32 = 16781532;
1963pub const XK_Georgian_on: u32 = 16781533;
1964pub const XK_Georgian_par: u32 = 16781534;
1965pub const XK_Georgian_zhar: u32 = 16781535;
1966pub const XK_Georgian_rae: u32 = 16781536;
1967pub const XK_Georgian_san: u32 = 16781537;
1968pub const XK_Georgian_tar: u32 = 16781538;
1969pub const XK_Georgian_un: u32 = 16781539;
1970pub const XK_Georgian_phar: u32 = 16781540;
1971pub const XK_Georgian_khar: u32 = 16781541;
1972pub const XK_Georgian_ghan: u32 = 16781542;
1973pub const XK_Georgian_qar: u32 = 16781543;
1974pub const XK_Georgian_shin: u32 = 16781544;
1975pub const XK_Georgian_chin: u32 = 16781545;
1976pub const XK_Georgian_can: u32 = 16781546;
1977pub const XK_Georgian_jil: u32 = 16781547;
1978pub const XK_Georgian_cil: u32 = 16781548;
1979pub const XK_Georgian_char: u32 = 16781549;
1980pub const XK_Georgian_xan: u32 = 16781550;
1981pub const XK_Georgian_jhan: u32 = 16781551;
1982pub const XK_Georgian_hae: u32 = 16781552;
1983pub const XK_Georgian_he: u32 = 16781553;
1984pub const XK_Georgian_hie: u32 = 16781554;
1985pub const XK_Georgian_we: u32 = 16781555;
1986pub const XK_Georgian_har: u32 = 16781556;
1987pub const XK_Georgian_hoe: u32 = 16781557;
1988pub const XK_Georgian_fi: u32 = 16781558;
1989pub const XK_Xabovedot: u32 = 16785034;
1990pub const XK_Ibreve: u32 = 16777516;
1991pub const XK_Zstroke: u32 = 16777653;
1992pub const XK_Gcaron: u32 = 16777702;
1993pub const XK_Ocaron: u32 = 16777681;
1994pub const XK_Obarred: u32 = 16777631;
1995pub const XK_xabovedot: u32 = 16785035;
1996pub const XK_ibreve: u32 = 16777517;
1997pub const XK_zstroke: u32 = 16777654;
1998pub const XK_gcaron: u32 = 16777703;
1999pub const XK_ocaron: u32 = 16777682;
2000pub const XK_obarred: u32 = 16777845;
2001pub const XK_SCHWA: u32 = 16777615;
2002pub const XK_schwa: u32 = 16777817;
2003pub const XK_EZH: u32 = 16777655;
2004pub const XK_ezh: u32 = 16777874;
2005pub const XK_Lbelowdot: u32 = 16784950;
2006pub const XK_lbelowdot: u32 = 16784951;
2007pub const XK_Abelowdot: u32 = 16785056;
2008pub const XK_abelowdot: u32 = 16785057;
2009pub const XK_Ahook: u32 = 16785058;
2010pub const XK_ahook: u32 = 16785059;
2011pub const XK_Acircumflexacute: u32 = 16785060;
2012pub const XK_acircumflexacute: u32 = 16785061;
2013pub const XK_Acircumflexgrave: u32 = 16785062;
2014pub const XK_acircumflexgrave: u32 = 16785063;
2015pub const XK_Acircumflexhook: u32 = 16785064;
2016pub const XK_acircumflexhook: u32 = 16785065;
2017pub const XK_Acircumflextilde: u32 = 16785066;
2018pub const XK_acircumflextilde: u32 = 16785067;
2019pub const XK_Acircumflexbelowdot: u32 = 16785068;
2020pub const XK_acircumflexbelowdot: u32 = 16785069;
2021pub const XK_Abreveacute: u32 = 16785070;
2022pub const XK_abreveacute: u32 = 16785071;
2023pub const XK_Abrevegrave: u32 = 16785072;
2024pub const XK_abrevegrave: u32 = 16785073;
2025pub const XK_Abrevehook: u32 = 16785074;
2026pub const XK_abrevehook: u32 = 16785075;
2027pub const XK_Abrevetilde: u32 = 16785076;
2028pub const XK_abrevetilde: u32 = 16785077;
2029pub const XK_Abrevebelowdot: u32 = 16785078;
2030pub const XK_abrevebelowdot: u32 = 16785079;
2031pub const XK_Ebelowdot: u32 = 16785080;
2032pub const XK_ebelowdot: u32 = 16785081;
2033pub const XK_Ehook: u32 = 16785082;
2034pub const XK_ehook: u32 = 16785083;
2035pub const XK_Etilde: u32 = 16785084;
2036pub const XK_etilde: u32 = 16785085;
2037pub const XK_Ecircumflexacute: u32 = 16785086;
2038pub const XK_ecircumflexacute: u32 = 16785087;
2039pub const XK_Ecircumflexgrave: u32 = 16785088;
2040pub const XK_ecircumflexgrave: u32 = 16785089;
2041pub const XK_Ecircumflexhook: u32 = 16785090;
2042pub const XK_ecircumflexhook: u32 = 16785091;
2043pub const XK_Ecircumflextilde: u32 = 16785092;
2044pub const XK_ecircumflextilde: u32 = 16785093;
2045pub const XK_Ecircumflexbelowdot: u32 = 16785094;
2046pub const XK_ecircumflexbelowdot: u32 = 16785095;
2047pub const XK_Ihook: u32 = 16785096;
2048pub const XK_ihook: u32 = 16785097;
2049pub const XK_Ibelowdot: u32 = 16785098;
2050pub const XK_ibelowdot: u32 = 16785099;
2051pub const XK_Obelowdot: u32 = 16785100;
2052pub const XK_obelowdot: u32 = 16785101;
2053pub const XK_Ohook: u32 = 16785102;
2054pub const XK_ohook: u32 = 16785103;
2055pub const XK_Ocircumflexacute: u32 = 16785104;
2056pub const XK_ocircumflexacute: u32 = 16785105;
2057pub const XK_Ocircumflexgrave: u32 = 16785106;
2058pub const XK_ocircumflexgrave: u32 = 16785107;
2059pub const XK_Ocircumflexhook: u32 = 16785108;
2060pub const XK_ocircumflexhook: u32 = 16785109;
2061pub const XK_Ocircumflextilde: u32 = 16785110;
2062pub const XK_ocircumflextilde: u32 = 16785111;
2063pub const XK_Ocircumflexbelowdot: u32 = 16785112;
2064pub const XK_ocircumflexbelowdot: u32 = 16785113;
2065pub const XK_Ohornacute: u32 = 16785114;
2066pub const XK_ohornacute: u32 = 16785115;
2067pub const XK_Ohorngrave: u32 = 16785116;
2068pub const XK_ohorngrave: u32 = 16785117;
2069pub const XK_Ohornhook: u32 = 16785118;
2070pub const XK_ohornhook: u32 = 16785119;
2071pub const XK_Ohorntilde: u32 = 16785120;
2072pub const XK_ohorntilde: u32 = 16785121;
2073pub const XK_Ohornbelowdot: u32 = 16785122;
2074pub const XK_ohornbelowdot: u32 = 16785123;
2075pub const XK_Ubelowdot: u32 = 16785124;
2076pub const XK_ubelowdot: u32 = 16785125;
2077pub const XK_Uhook: u32 = 16785126;
2078pub const XK_uhook: u32 = 16785127;
2079pub const XK_Uhornacute: u32 = 16785128;
2080pub const XK_uhornacute: u32 = 16785129;
2081pub const XK_Uhorngrave: u32 = 16785130;
2082pub const XK_uhorngrave: u32 = 16785131;
2083pub const XK_Uhornhook: u32 = 16785132;
2084pub const XK_uhornhook: u32 = 16785133;
2085pub const XK_Uhorntilde: u32 = 16785134;
2086pub const XK_uhorntilde: u32 = 16785135;
2087pub const XK_Uhornbelowdot: u32 = 16785136;
2088pub const XK_uhornbelowdot: u32 = 16785137;
2089pub const XK_Ybelowdot: u32 = 16785140;
2090pub const XK_ybelowdot: u32 = 16785141;
2091pub const XK_Yhook: u32 = 16785142;
2092pub const XK_yhook: u32 = 16785143;
2093pub const XK_Ytilde: u32 = 16785144;
2094pub const XK_ytilde: u32 = 16785145;
2095pub const XK_Ohorn: u32 = 16777632;
2096pub const XK_ohorn: u32 = 16777633;
2097pub const XK_Uhorn: u32 = 16777647;
2098pub const XK_uhorn: u32 = 16777648;
2099pub const XK_EcuSign: u32 = 16785568;
2100pub const XK_ColonSign: u32 = 16785569;
2101pub const XK_CruzeiroSign: u32 = 16785570;
2102pub const XK_FFrancSign: u32 = 16785571;
2103pub const XK_LiraSign: u32 = 16785572;
2104pub const XK_MillSign: u32 = 16785573;
2105pub const XK_NairaSign: u32 = 16785574;
2106pub const XK_PesetaSign: u32 = 16785575;
2107pub const XK_RupeeSign: u32 = 16785576;
2108pub const XK_WonSign: u32 = 16785577;
2109pub const XK_NewSheqelSign: u32 = 16785578;
2110pub const XK_DongSign: u32 = 16785579;
2111pub const XK_EuroSign: u32 = 8364;
2112pub const XK_zerosuperior: u32 = 16785520;
2113pub const XK_foursuperior: u32 = 16785524;
2114pub const XK_fivesuperior: u32 = 16785525;
2115pub const XK_sixsuperior: u32 = 16785526;
2116pub const XK_sevensuperior: u32 = 16785527;
2117pub const XK_eightsuperior: u32 = 16785528;
2118pub const XK_ninesuperior: u32 = 16785529;
2119pub const XK_zerosubscript: u32 = 16785536;
2120pub const XK_onesubscript: u32 = 16785537;
2121pub const XK_twosubscript: u32 = 16785538;
2122pub const XK_threesubscript: u32 = 16785539;
2123pub const XK_foursubscript: u32 = 16785540;
2124pub const XK_fivesubscript: u32 = 16785541;
2125pub const XK_sixsubscript: u32 = 16785542;
2126pub const XK_sevensubscript: u32 = 16785543;
2127pub const XK_eightsubscript: u32 = 16785544;
2128pub const XK_ninesubscript: u32 = 16785545;
2129pub const XK_partdifferential: u32 = 16785922;
2130pub const XK_emptyset: u32 = 16785925;
2131pub const XK_elementof: u32 = 16785928;
2132pub const XK_notelementof: u32 = 16785929;
2133pub const XK_containsas: u32 = 16785931;
2134pub const XK_squareroot: u32 = 16785946;
2135pub const XK_cuberoot: u32 = 16785947;
2136pub const XK_fourthroot: u32 = 16785948;
2137pub const XK_dintegral: u32 = 16785964;
2138pub const XK_tintegral: u32 = 16785965;
2139pub const XK_because: u32 = 16785973;
2140pub const XK_approxeq: u32 = 16785992;
2141pub const XK_notapproxeq: u32 = 16785991;
2142pub const XK_notidentical: u32 = 16786018;
2143pub const XK_stricteq: u32 = 16786019;
2144pub const XK_braille_dot_1: u32 = 65521;
2145pub const XK_braille_dot_2: u32 = 65522;
2146pub const XK_braille_dot_3: u32 = 65523;
2147pub const XK_braille_dot_4: u32 = 65524;
2148pub const XK_braille_dot_5: u32 = 65525;
2149pub const XK_braille_dot_6: u32 = 65526;
2150pub const XK_braille_dot_7: u32 = 65527;
2151pub const XK_braille_dot_8: u32 = 65528;
2152pub const XK_braille_dot_9: u32 = 65529;
2153pub const XK_braille_dot_10: u32 = 65530;
2154pub const XK_braille_blank: u32 = 16787456;
2155pub const XK_braille_dots_1: u32 = 16787457;
2156pub const XK_braille_dots_2: u32 = 16787458;
2157pub const XK_braille_dots_12: u32 = 16787459;
2158pub const XK_braille_dots_3: u32 = 16787460;
2159pub const XK_braille_dots_13: u32 = 16787461;
2160pub const XK_braille_dots_23: u32 = 16787462;
2161pub const XK_braille_dots_123: u32 = 16787463;
2162pub const XK_braille_dots_4: u32 = 16787464;
2163pub const XK_braille_dots_14: u32 = 16787465;
2164pub const XK_braille_dots_24: u32 = 16787466;
2165pub const XK_braille_dots_124: u32 = 16787467;
2166pub const XK_braille_dots_34: u32 = 16787468;
2167pub const XK_braille_dots_134: u32 = 16787469;
2168pub const XK_braille_dots_234: u32 = 16787470;
2169pub const XK_braille_dots_1234: u32 = 16787471;
2170pub const XK_braille_dots_5: u32 = 16787472;
2171pub const XK_braille_dots_15: u32 = 16787473;
2172pub const XK_braille_dots_25: u32 = 16787474;
2173pub const XK_braille_dots_125: u32 = 16787475;
2174pub const XK_braille_dots_35: u32 = 16787476;
2175pub const XK_braille_dots_135: u32 = 16787477;
2176pub const XK_braille_dots_235: u32 = 16787478;
2177pub const XK_braille_dots_1235: u32 = 16787479;
2178pub const XK_braille_dots_45: u32 = 16787480;
2179pub const XK_braille_dots_145: u32 = 16787481;
2180pub const XK_braille_dots_245: u32 = 16787482;
2181pub const XK_braille_dots_1245: u32 = 16787483;
2182pub const XK_braille_dots_345: u32 = 16787484;
2183pub const XK_braille_dots_1345: u32 = 16787485;
2184pub const XK_braille_dots_2345: u32 = 16787486;
2185pub const XK_braille_dots_12345: u32 = 16787487;
2186pub const XK_braille_dots_6: u32 = 16787488;
2187pub const XK_braille_dots_16: u32 = 16787489;
2188pub const XK_braille_dots_26: u32 = 16787490;
2189pub const XK_braille_dots_126: u32 = 16787491;
2190pub const XK_braille_dots_36: u32 = 16787492;
2191pub const XK_braille_dots_136: u32 = 16787493;
2192pub const XK_braille_dots_236: u32 = 16787494;
2193pub const XK_braille_dots_1236: u32 = 16787495;
2194pub const XK_braille_dots_46: u32 = 16787496;
2195pub const XK_braille_dots_146: u32 = 16787497;
2196pub const XK_braille_dots_246: u32 = 16787498;
2197pub const XK_braille_dots_1246: u32 = 16787499;
2198pub const XK_braille_dots_346: u32 = 16787500;
2199pub const XK_braille_dots_1346: u32 = 16787501;
2200pub const XK_braille_dots_2346: u32 = 16787502;
2201pub const XK_braille_dots_12346: u32 = 16787503;
2202pub const XK_braille_dots_56: u32 = 16787504;
2203pub const XK_braille_dots_156: u32 = 16787505;
2204pub const XK_braille_dots_256: u32 = 16787506;
2205pub const XK_braille_dots_1256: u32 = 16787507;
2206pub const XK_braille_dots_356: u32 = 16787508;
2207pub const XK_braille_dots_1356: u32 = 16787509;
2208pub const XK_braille_dots_2356: u32 = 16787510;
2209pub const XK_braille_dots_12356: u32 = 16787511;
2210pub const XK_braille_dots_456: u32 = 16787512;
2211pub const XK_braille_dots_1456: u32 = 16787513;
2212pub const XK_braille_dots_2456: u32 = 16787514;
2213pub const XK_braille_dots_12456: u32 = 16787515;
2214pub const XK_braille_dots_3456: u32 = 16787516;
2215pub const XK_braille_dots_13456: u32 = 16787517;
2216pub const XK_braille_dots_23456: u32 = 16787518;
2217pub const XK_braille_dots_123456: u32 = 16787519;
2218pub const XK_braille_dots_7: u32 = 16787520;
2219pub const XK_braille_dots_17: u32 = 16787521;
2220pub const XK_braille_dots_27: u32 = 16787522;
2221pub const XK_braille_dots_127: u32 = 16787523;
2222pub const XK_braille_dots_37: u32 = 16787524;
2223pub const XK_braille_dots_137: u32 = 16787525;
2224pub const XK_braille_dots_237: u32 = 16787526;
2225pub const XK_braille_dots_1237: u32 = 16787527;
2226pub const XK_braille_dots_47: u32 = 16787528;
2227pub const XK_braille_dots_147: u32 = 16787529;
2228pub const XK_braille_dots_247: u32 = 16787530;
2229pub const XK_braille_dots_1247: u32 = 16787531;
2230pub const XK_braille_dots_347: u32 = 16787532;
2231pub const XK_braille_dots_1347: u32 = 16787533;
2232pub const XK_braille_dots_2347: u32 = 16787534;
2233pub const XK_braille_dots_12347: u32 = 16787535;
2234pub const XK_braille_dots_57: u32 = 16787536;
2235pub const XK_braille_dots_157: u32 = 16787537;
2236pub const XK_braille_dots_257: u32 = 16787538;
2237pub const XK_braille_dots_1257: u32 = 16787539;
2238pub const XK_braille_dots_357: u32 = 16787540;
2239pub const XK_braille_dots_1357: u32 = 16787541;
2240pub const XK_braille_dots_2357: u32 = 16787542;
2241pub const XK_braille_dots_12357: u32 = 16787543;
2242pub const XK_braille_dots_457: u32 = 16787544;
2243pub const XK_braille_dots_1457: u32 = 16787545;
2244pub const XK_braille_dots_2457: u32 = 16787546;
2245pub const XK_braille_dots_12457: u32 = 16787547;
2246pub const XK_braille_dots_3457: u32 = 16787548;
2247pub const XK_braille_dots_13457: u32 = 16787549;
2248pub const XK_braille_dots_23457: u32 = 16787550;
2249pub const XK_braille_dots_123457: u32 = 16787551;
2250pub const XK_braille_dots_67: u32 = 16787552;
2251pub const XK_braille_dots_167: u32 = 16787553;
2252pub const XK_braille_dots_267: u32 = 16787554;
2253pub const XK_braille_dots_1267: u32 = 16787555;
2254pub const XK_braille_dots_367: u32 = 16787556;
2255pub const XK_braille_dots_1367: u32 = 16787557;
2256pub const XK_braille_dots_2367: u32 = 16787558;
2257pub const XK_braille_dots_12367: u32 = 16787559;
2258pub const XK_braille_dots_467: u32 = 16787560;
2259pub const XK_braille_dots_1467: u32 = 16787561;
2260pub const XK_braille_dots_2467: u32 = 16787562;
2261pub const XK_braille_dots_12467: u32 = 16787563;
2262pub const XK_braille_dots_3467: u32 = 16787564;
2263pub const XK_braille_dots_13467: u32 = 16787565;
2264pub const XK_braille_dots_23467: u32 = 16787566;
2265pub const XK_braille_dots_123467: u32 = 16787567;
2266pub const XK_braille_dots_567: u32 = 16787568;
2267pub const XK_braille_dots_1567: u32 = 16787569;
2268pub const XK_braille_dots_2567: u32 = 16787570;
2269pub const XK_braille_dots_12567: u32 = 16787571;
2270pub const XK_braille_dots_3567: u32 = 16787572;
2271pub const XK_braille_dots_13567: u32 = 16787573;
2272pub const XK_braille_dots_23567: u32 = 16787574;
2273pub const XK_braille_dots_123567: u32 = 16787575;
2274pub const XK_braille_dots_4567: u32 = 16787576;
2275pub const XK_braille_dots_14567: u32 = 16787577;
2276pub const XK_braille_dots_24567: u32 = 16787578;
2277pub const XK_braille_dots_124567: u32 = 16787579;
2278pub const XK_braille_dots_34567: u32 = 16787580;
2279pub const XK_braille_dots_134567: u32 = 16787581;
2280pub const XK_braille_dots_234567: u32 = 16787582;
2281pub const XK_braille_dots_1234567: u32 = 16787583;
2282pub const XK_braille_dots_8: u32 = 16787584;
2283pub const XK_braille_dots_18: u32 = 16787585;
2284pub const XK_braille_dots_28: u32 = 16787586;
2285pub const XK_braille_dots_128: u32 = 16787587;
2286pub const XK_braille_dots_38: u32 = 16787588;
2287pub const XK_braille_dots_138: u32 = 16787589;
2288pub const XK_braille_dots_238: u32 = 16787590;
2289pub const XK_braille_dots_1238: u32 = 16787591;
2290pub const XK_braille_dots_48: u32 = 16787592;
2291pub const XK_braille_dots_148: u32 = 16787593;
2292pub const XK_braille_dots_248: u32 = 16787594;
2293pub const XK_braille_dots_1248: u32 = 16787595;
2294pub const XK_braille_dots_348: u32 = 16787596;
2295pub const XK_braille_dots_1348: u32 = 16787597;
2296pub const XK_braille_dots_2348: u32 = 16787598;
2297pub const XK_braille_dots_12348: u32 = 16787599;
2298pub const XK_braille_dots_58: u32 = 16787600;
2299pub const XK_braille_dots_158: u32 = 16787601;
2300pub const XK_braille_dots_258: u32 = 16787602;
2301pub const XK_braille_dots_1258: u32 = 16787603;
2302pub const XK_braille_dots_358: u32 = 16787604;
2303pub const XK_braille_dots_1358: u32 = 16787605;
2304pub const XK_braille_dots_2358: u32 = 16787606;
2305pub const XK_braille_dots_12358: u32 = 16787607;
2306pub const XK_braille_dots_458: u32 = 16787608;
2307pub const XK_braille_dots_1458: u32 = 16787609;
2308pub const XK_braille_dots_2458: u32 = 16787610;
2309pub const XK_braille_dots_12458: u32 = 16787611;
2310pub const XK_braille_dots_3458: u32 = 16787612;
2311pub const XK_braille_dots_13458: u32 = 16787613;
2312pub const XK_braille_dots_23458: u32 = 16787614;
2313pub const XK_braille_dots_123458: u32 = 16787615;
2314pub const XK_braille_dots_68: u32 = 16787616;
2315pub const XK_braille_dots_168: u32 = 16787617;
2316pub const XK_braille_dots_268: u32 = 16787618;
2317pub const XK_braille_dots_1268: u32 = 16787619;
2318pub const XK_braille_dots_368: u32 = 16787620;
2319pub const XK_braille_dots_1368: u32 = 16787621;
2320pub const XK_braille_dots_2368: u32 = 16787622;
2321pub const XK_braille_dots_12368: u32 = 16787623;
2322pub const XK_braille_dots_468: u32 = 16787624;
2323pub const XK_braille_dots_1468: u32 = 16787625;
2324pub const XK_braille_dots_2468: u32 = 16787626;
2325pub const XK_braille_dots_12468: u32 = 16787627;
2326pub const XK_braille_dots_3468: u32 = 16787628;
2327pub const XK_braille_dots_13468: u32 = 16787629;
2328pub const XK_braille_dots_23468: u32 = 16787630;
2329pub const XK_braille_dots_123468: u32 = 16787631;
2330pub const XK_braille_dots_568: u32 = 16787632;
2331pub const XK_braille_dots_1568: u32 = 16787633;
2332pub const XK_braille_dots_2568: u32 = 16787634;
2333pub const XK_braille_dots_12568: u32 = 16787635;
2334pub const XK_braille_dots_3568: u32 = 16787636;
2335pub const XK_braille_dots_13568: u32 = 16787637;
2336pub const XK_braille_dots_23568: u32 = 16787638;
2337pub const XK_braille_dots_123568: u32 = 16787639;
2338pub const XK_braille_dots_4568: u32 = 16787640;
2339pub const XK_braille_dots_14568: u32 = 16787641;
2340pub const XK_braille_dots_24568: u32 = 16787642;
2341pub const XK_braille_dots_124568: u32 = 16787643;
2342pub const XK_braille_dots_34568: u32 = 16787644;
2343pub const XK_braille_dots_134568: u32 = 16787645;
2344pub const XK_braille_dots_234568: u32 = 16787646;
2345pub const XK_braille_dots_1234568: u32 = 16787647;
2346pub const XK_braille_dots_78: u32 = 16787648;
2347pub const XK_braille_dots_178: u32 = 16787649;
2348pub const XK_braille_dots_278: u32 = 16787650;
2349pub const XK_braille_dots_1278: u32 = 16787651;
2350pub const XK_braille_dots_378: u32 = 16787652;
2351pub const XK_braille_dots_1378: u32 = 16787653;
2352pub const XK_braille_dots_2378: u32 = 16787654;
2353pub const XK_braille_dots_12378: u32 = 16787655;
2354pub const XK_braille_dots_478: u32 = 16787656;
2355pub const XK_braille_dots_1478: u32 = 16787657;
2356pub const XK_braille_dots_2478: u32 = 16787658;
2357pub const XK_braille_dots_12478: u32 = 16787659;
2358pub const XK_braille_dots_3478: u32 = 16787660;
2359pub const XK_braille_dots_13478: u32 = 16787661;
2360pub const XK_braille_dots_23478: u32 = 16787662;
2361pub const XK_braille_dots_123478: u32 = 16787663;
2362pub const XK_braille_dots_578: u32 = 16787664;
2363pub const XK_braille_dots_1578: u32 = 16787665;
2364pub const XK_braille_dots_2578: u32 = 16787666;
2365pub const XK_braille_dots_12578: u32 = 16787667;
2366pub const XK_braille_dots_3578: u32 = 16787668;
2367pub const XK_braille_dots_13578: u32 = 16787669;
2368pub const XK_braille_dots_23578: u32 = 16787670;
2369pub const XK_braille_dots_123578: u32 = 16787671;
2370pub const XK_braille_dots_4578: u32 = 16787672;
2371pub const XK_braille_dots_14578: u32 = 16787673;
2372pub const XK_braille_dots_24578: u32 = 16787674;
2373pub const XK_braille_dots_124578: u32 = 16787675;
2374pub const XK_braille_dots_34578: u32 = 16787676;
2375pub const XK_braille_dots_134578: u32 = 16787677;
2376pub const XK_braille_dots_234578: u32 = 16787678;
2377pub const XK_braille_dots_1234578: u32 = 16787679;
2378pub const XK_braille_dots_678: u32 = 16787680;
2379pub const XK_braille_dots_1678: u32 = 16787681;
2380pub const XK_braille_dots_2678: u32 = 16787682;
2381pub const XK_braille_dots_12678: u32 = 16787683;
2382pub const XK_braille_dots_3678: u32 = 16787684;
2383pub const XK_braille_dots_13678: u32 = 16787685;
2384pub const XK_braille_dots_23678: u32 = 16787686;
2385pub const XK_braille_dots_123678: u32 = 16787687;
2386pub const XK_braille_dots_4678: u32 = 16787688;
2387pub const XK_braille_dots_14678: u32 = 16787689;
2388pub const XK_braille_dots_24678: u32 = 16787690;
2389pub const XK_braille_dots_124678: u32 = 16787691;
2390pub const XK_braille_dots_34678: u32 = 16787692;
2391pub const XK_braille_dots_134678: u32 = 16787693;
2392pub const XK_braille_dots_234678: u32 = 16787694;
2393pub const XK_braille_dots_1234678: u32 = 16787695;
2394pub const XK_braille_dots_5678: u32 = 16787696;
2395pub const XK_braille_dots_15678: u32 = 16787697;
2396pub const XK_braille_dots_25678: u32 = 16787698;
2397pub const XK_braille_dots_125678: u32 = 16787699;
2398pub const XK_braille_dots_35678: u32 = 16787700;
2399pub const XK_braille_dots_135678: u32 = 16787701;
2400pub const XK_braille_dots_235678: u32 = 16787702;
2401pub const XK_braille_dots_1235678: u32 = 16787703;
2402pub const XK_braille_dots_45678: u32 = 16787704;
2403pub const XK_braille_dots_145678: u32 = 16787705;
2404pub const XK_braille_dots_245678: u32 = 16787706;
2405pub const XK_braille_dots_1245678: u32 = 16787707;
2406pub const XK_braille_dots_345678: u32 = 16787708;
2407pub const XK_braille_dots_1345678: u32 = 16787709;
2408pub const XK_braille_dots_2345678: u32 = 16787710;
2409pub const XK_braille_dots_12345678: u32 = 16787711;
2410pub const XK_Sinh_ng: u32 = 16780674;
2411pub const XK_Sinh_h2: u32 = 16780675;
2412pub const XK_Sinh_a: u32 = 16780677;
2413pub const XK_Sinh_aa: u32 = 16780678;
2414pub const XK_Sinh_ae: u32 = 16780679;
2415pub const XK_Sinh_aee: u32 = 16780680;
2416pub const XK_Sinh_i: u32 = 16780681;
2417pub const XK_Sinh_ii: u32 = 16780682;
2418pub const XK_Sinh_u: u32 = 16780683;
2419pub const XK_Sinh_uu: u32 = 16780684;
2420pub const XK_Sinh_ri: u32 = 16780685;
2421pub const XK_Sinh_rii: u32 = 16780686;
2422pub const XK_Sinh_lu: u32 = 16780687;
2423pub const XK_Sinh_luu: u32 = 16780688;
2424pub const XK_Sinh_e: u32 = 16780689;
2425pub const XK_Sinh_ee: u32 = 16780690;
2426pub const XK_Sinh_ai: u32 = 16780691;
2427pub const XK_Sinh_o: u32 = 16780692;
2428pub const XK_Sinh_oo: u32 = 16780693;
2429pub const XK_Sinh_au: u32 = 16780694;
2430pub const XK_Sinh_ka: u32 = 16780698;
2431pub const XK_Sinh_kha: u32 = 16780699;
2432pub const XK_Sinh_ga: u32 = 16780700;
2433pub const XK_Sinh_gha: u32 = 16780701;
2434pub const XK_Sinh_ng2: u32 = 16780702;
2435pub const XK_Sinh_nga: u32 = 16780703;
2436pub const XK_Sinh_ca: u32 = 16780704;
2437pub const XK_Sinh_cha: u32 = 16780705;
2438pub const XK_Sinh_ja: u32 = 16780706;
2439pub const XK_Sinh_jha: u32 = 16780707;
2440pub const XK_Sinh_nya: u32 = 16780708;
2441pub const XK_Sinh_jnya: u32 = 16780709;
2442pub const XK_Sinh_nja: u32 = 16780710;
2443pub const XK_Sinh_tta: u32 = 16780711;
2444pub const XK_Sinh_ttha: u32 = 16780712;
2445pub const XK_Sinh_dda: u32 = 16780713;
2446pub const XK_Sinh_ddha: u32 = 16780714;
2447pub const XK_Sinh_nna: u32 = 16780715;
2448pub const XK_Sinh_ndda: u32 = 16780716;
2449pub const XK_Sinh_tha: u32 = 16780717;
2450pub const XK_Sinh_thha: u32 = 16780718;
2451pub const XK_Sinh_dha: u32 = 16780719;
2452pub const XK_Sinh_dhha: u32 = 16780720;
2453pub const XK_Sinh_na: u32 = 16780721;
2454pub const XK_Sinh_ndha: u32 = 16780723;
2455pub const XK_Sinh_pa: u32 = 16780724;
2456pub const XK_Sinh_pha: u32 = 16780725;
2457pub const XK_Sinh_ba: u32 = 16780726;
2458pub const XK_Sinh_bha: u32 = 16780727;
2459pub const XK_Sinh_ma: u32 = 16780728;
2460pub const XK_Sinh_mba: u32 = 16780729;
2461pub const XK_Sinh_ya: u32 = 16780730;
2462pub const XK_Sinh_ra: u32 = 16780731;
2463pub const XK_Sinh_la: u32 = 16780733;
2464pub const XK_Sinh_va: u32 = 16780736;
2465pub const XK_Sinh_sha: u32 = 16780737;
2466pub const XK_Sinh_ssha: u32 = 16780738;
2467pub const XK_Sinh_sa: u32 = 16780739;
2468pub const XK_Sinh_ha: u32 = 16780740;
2469pub const XK_Sinh_lla: u32 = 16780741;
2470pub const XK_Sinh_fa: u32 = 16780742;
2471pub const XK_Sinh_al: u32 = 16780746;
2472pub const XK_Sinh_aa2: u32 = 16780751;
2473pub const XK_Sinh_ae2: u32 = 16780752;
2474pub const XK_Sinh_aee2: u32 = 16780753;
2475pub const XK_Sinh_i2: u32 = 16780754;
2476pub const XK_Sinh_ii2: u32 = 16780755;
2477pub const XK_Sinh_u2: u32 = 16780756;
2478pub const XK_Sinh_uu2: u32 = 16780758;
2479pub const XK_Sinh_ru2: u32 = 16780760;
2480pub const XK_Sinh_e2: u32 = 16780761;
2481pub const XK_Sinh_ee2: u32 = 16780762;
2482pub const XK_Sinh_ai2: u32 = 16780763;
2483pub const XK_Sinh_o2: u32 = 16780764;
2484pub const XK_Sinh_oo2: u32 = 16780765;
2485pub const XK_Sinh_au2: u32 = 16780766;
2486pub const XK_Sinh_lu2: u32 = 16780767;
2487pub const XK_Sinh_ruu2: u32 = 16780786;
2488pub const XK_Sinh_luu2: u32 = 16780787;
2489pub const XK_Sinh_kunddaliya: u32 = 16780788;
2490pub const NoValue: u32 = 0;
2491pub const XValue: u32 = 1;
2492pub const YValue: u32 = 2;
2493pub const WidthValue: u32 = 4;
2494pub const HeightValue: u32 = 8;
2495pub const AllValues: u32 = 15;
2496pub const XNegative: u32 = 16;
2497pub const YNegative: u32 = 32;
2498pub const USPosition: u32 = 1;
2499pub const USSize: u32 = 2;
2500pub const PPosition: u32 = 4;
2501pub const PSize: u32 = 8;
2502pub const PMinSize: u32 = 16;
2503pub const PMaxSize: u32 = 32;
2504pub const PResizeInc: u32 = 64;
2505pub const PAspect: u32 = 128;
2506pub const PBaseSize: u32 = 256;
2507pub const PWinGravity: u32 = 512;
2508pub const PAllHints: u32 = 252;
2509pub const InputHint: u32 = 1;
2510pub const StateHint: u32 = 2;
2511pub const IconPixmapHint: u32 = 4;
2512pub const IconWindowHint: u32 = 8;
2513pub const IconPositionHint: u32 = 16;
2514pub const IconMaskHint: u32 = 32;
2515pub const WindowGroupHint: u32 = 64;
2516pub const AllHints: u32 = 127;
2517pub const XUrgencyHint: u32 = 256;
2518pub const WithdrawnState: u32 = 0;
2519pub const NormalState: u32 = 1;
2520pub const IconicState: u32 = 3;
2521pub const DontCareState: u32 = 0;
2522pub const ZoomState: u32 = 2;
2523pub const InactiveState: u32 = 4;
2524pub const XNoMemory: i32 = -1;
2525pub const XLocaleNotSupported: i32 = -2;
2526pub const XConverterNotFound: i32 = -3;
2527pub const RectangleOut: u32 = 0;
2528pub const RectangleIn: u32 = 1;
2529pub const RectanglePart: u32 = 2;
2530pub const VisualNoMask: u32 = 0;
2531pub const VisualIDMask: u32 = 1;
2532pub const VisualScreenMask: u32 = 2;
2533pub const VisualDepthMask: u32 = 4;
2534pub const VisualClassMask: u32 = 8;
2535pub const VisualRedMaskMask: u32 = 16;
2536pub const VisualGreenMaskMask: u32 = 32;
2537pub const VisualBlueMaskMask: u32 = 64;
2538pub const VisualColormapSizeMask: u32 = 128;
2539pub const VisualBitsPerRGBMask: u32 = 256;
2540pub const VisualAllMask: u32 = 511;
2541pub const BitmapSuccess: u32 = 0;
2542pub const BitmapOpenFailed: u32 = 1;
2543pub const BitmapFileInvalid: u32 = 2;
2544pub const BitmapNoMemory: u32 = 3;
2545pub const XCSUCCESS: u32 = 0;
2546pub const XCNOMEM: u32 = 1;
2547pub const XCNOENT: u32 = 2;
2548pub type __u_char = ::std::os::raw::c_uchar;
2549pub type __u_short = ::std::os::raw::c_ushort;
2550pub type __u_int = ::std::os::raw::c_uint;
2551pub type __u_long = ::std::os::raw::c_ulong;
2552pub type __int8_t = ::std::os::raw::c_schar;
2553pub type __uint8_t = ::std::os::raw::c_uchar;
2554pub type __int16_t = ::std::os::raw::c_short;
2555pub type __uint16_t = ::std::os::raw::c_ushort;
2556pub type __int32_t = ::std::os::raw::c_int;
2557pub type __uint32_t = ::std::os::raw::c_uint;
2558pub type __int64_t = ::std::os::raw::c_long;
2559pub type __uint64_t = ::std::os::raw::c_ulong;
2560pub type __int_least8_t = __int8_t;
2561pub type __uint_least8_t = __uint8_t;
2562pub type __int_least16_t = __int16_t;
2563pub type __uint_least16_t = __uint16_t;
2564pub type __int_least32_t = __int32_t;
2565pub type __uint_least32_t = __uint32_t;
2566pub type __int_least64_t = __int64_t;
2567pub type __uint_least64_t = __uint64_t;
2568pub type __quad_t = ::std::os::raw::c_long;
2569pub type __u_quad_t = ::std::os::raw::c_ulong;
2570pub type __intmax_t = ::std::os::raw::c_long;
2571pub type __uintmax_t = ::std::os::raw::c_ulong;
2572pub type __dev_t = ::std::os::raw::c_ulong;
2573pub type __uid_t = ::std::os::raw::c_uint;
2574pub type __gid_t = ::std::os::raw::c_uint;
2575pub type __ino_t = ::std::os::raw::c_ulong;
2576pub type __ino64_t = ::std::os::raw::c_ulong;
2577pub type __mode_t = ::std::os::raw::c_uint;
2578pub type __nlink_t = ::std::os::raw::c_ulong;
2579pub type __off_t = ::std::os::raw::c_long;
2580pub type __off64_t = ::std::os::raw::c_long;
2581pub type __pid_t = ::std::os::raw::c_int;
2582#[repr(C)]
2583#[derive(Debug, Copy, Clone)]
2584pub struct __fsid_t {
2585    pub __val: [::std::os::raw::c_int; 2usize],
2586}
2587#[test]
2588fn bindgen_test_layout___fsid_t() {
2589    assert_eq!(
2590        ::std::mem::size_of::<__fsid_t>(),
2591        8usize,
2592        concat!("Size of: ", stringify!(__fsid_t))
2593    );
2594    assert_eq!(
2595        ::std::mem::align_of::<__fsid_t>(),
2596        4usize,
2597        concat!("Alignment of ", stringify!(__fsid_t))
2598    );
2599    assert_eq!(
2600        unsafe { &(*(::std::ptr::null::<__fsid_t>())).__val as *const _ as usize },
2601        0usize,
2602        concat!(
2603            "Offset of field: ",
2604            stringify!(__fsid_t),
2605            "::",
2606            stringify!(__val)
2607        )
2608    );
2609}
2610pub type __clock_t = ::std::os::raw::c_long;
2611pub type __rlim_t = ::std::os::raw::c_ulong;
2612pub type __rlim64_t = ::std::os::raw::c_ulong;
2613pub type __id_t = ::std::os::raw::c_uint;
2614pub type __time_t = ::std::os::raw::c_long;
2615pub type __useconds_t = ::std::os::raw::c_uint;
2616pub type __suseconds_t = ::std::os::raw::c_long;
2617pub type __daddr_t = ::std::os::raw::c_int;
2618pub type __key_t = ::std::os::raw::c_int;
2619pub type __clockid_t = ::std::os::raw::c_int;
2620pub type __timer_t = *mut ::std::os::raw::c_void;
2621pub type __blksize_t = ::std::os::raw::c_long;
2622pub type __blkcnt_t = ::std::os::raw::c_long;
2623pub type __blkcnt64_t = ::std::os::raw::c_long;
2624pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
2625pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
2626pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
2627pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
2628pub type __fsword_t = ::std::os::raw::c_long;
2629pub type __ssize_t = ::std::os::raw::c_long;
2630pub type __syscall_slong_t = ::std::os::raw::c_long;
2631pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
2632pub type __loff_t = __off64_t;
2633pub type __caddr_t = *mut ::std::os::raw::c_char;
2634pub type __intptr_t = ::std::os::raw::c_long;
2635pub type __socklen_t = ::std::os::raw::c_uint;
2636pub type __sig_atomic_t = ::std::os::raw::c_int;
2637pub type u_char = __u_char;
2638pub type u_short = __u_short;
2639pub type u_int = __u_int;
2640pub type u_long = __u_long;
2641pub type quad_t = __quad_t;
2642pub type u_quad_t = __u_quad_t;
2643pub type fsid_t = __fsid_t;
2644pub type loff_t = __loff_t;
2645pub type ino_t = __ino_t;
2646pub type dev_t = __dev_t;
2647pub type gid_t = __gid_t;
2648pub type mode_t = __mode_t;
2649pub type nlink_t = __nlink_t;
2650pub type uid_t = __uid_t;
2651pub type off_t = __off_t;
2652pub type pid_t = __pid_t;
2653pub type id_t = __id_t;
2654pub type daddr_t = __daddr_t;
2655pub type caddr_t = __caddr_t;
2656pub type key_t = __key_t;
2657pub type clock_t = __clock_t;
2658pub type clockid_t = __clockid_t;
2659pub type time_t = __time_t;
2660pub type timer_t = __timer_t;
2661pub type ulong = ::std::os::raw::c_ulong;
2662pub type ushort = ::std::os::raw::c_ushort;
2663pub type uint = ::std::os::raw::c_uint;
2664pub type u_int8_t = ::std::os::raw::c_uchar;
2665pub type u_int16_t = ::std::os::raw::c_ushort;
2666pub type u_int32_t = ::std::os::raw::c_uint;
2667pub type u_int64_t = ::std::os::raw::c_ulong;
2668pub type register_t = ::std::os::raw::c_long;
2669#[repr(C)]
2670#[derive(Debug, Copy, Clone)]
2671pub struct __sigset_t {
2672    pub __val: [::std::os::raw::c_ulong; 16usize],
2673}
2674#[test]
2675fn bindgen_test_layout___sigset_t() {
2676    assert_eq!(
2677        ::std::mem::size_of::<__sigset_t>(),
2678        128usize,
2679        concat!("Size of: ", stringify!(__sigset_t))
2680    );
2681    assert_eq!(
2682        ::std::mem::align_of::<__sigset_t>(),
2683        8usize,
2684        concat!("Alignment of ", stringify!(__sigset_t))
2685    );
2686    assert_eq!(
2687        unsafe { &(*(::std::ptr::null::<__sigset_t>())).__val as *const _ as usize },
2688        0usize,
2689        concat!(
2690            "Offset of field: ",
2691            stringify!(__sigset_t),
2692            "::",
2693            stringify!(__val)
2694        )
2695    );
2696}
2697pub type sigset_t = __sigset_t;
2698#[repr(C)]
2699#[derive(Debug, Copy, Clone)]
2700pub struct timeval {
2701    pub tv_sec: __time_t,
2702    pub tv_usec: __suseconds_t,
2703}
2704#[test]
2705fn bindgen_test_layout_timeval() {
2706    assert_eq!(
2707        ::std::mem::size_of::<timeval>(),
2708        16usize,
2709        concat!("Size of: ", stringify!(timeval))
2710    );
2711    assert_eq!(
2712        ::std::mem::align_of::<timeval>(),
2713        8usize,
2714        concat!("Alignment of ", stringify!(timeval))
2715    );
2716    assert_eq!(
2717        unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
2718        0usize,
2719        concat!(
2720            "Offset of field: ",
2721            stringify!(timeval),
2722            "::",
2723            stringify!(tv_sec)
2724        )
2725    );
2726    assert_eq!(
2727        unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
2728        8usize,
2729        concat!(
2730            "Offset of field: ",
2731            stringify!(timeval),
2732            "::",
2733            stringify!(tv_usec)
2734        )
2735    );
2736}
2737#[repr(C)]
2738#[derive(Debug, Copy, Clone)]
2739pub struct timespec {
2740    pub tv_sec: __time_t,
2741    pub tv_nsec: __syscall_slong_t,
2742}
2743#[test]
2744fn bindgen_test_layout_timespec() {
2745    assert_eq!(
2746        ::std::mem::size_of::<timespec>(),
2747        16usize,
2748        concat!("Size of: ", stringify!(timespec))
2749    );
2750    assert_eq!(
2751        ::std::mem::align_of::<timespec>(),
2752        8usize,
2753        concat!("Alignment of ", stringify!(timespec))
2754    );
2755    assert_eq!(
2756        unsafe { &(*(::std::ptr::null::<timespec>())).tv_sec as *const _ as usize },
2757        0usize,
2758        concat!(
2759            "Offset of field: ",
2760            stringify!(timespec),
2761            "::",
2762            stringify!(tv_sec)
2763        )
2764    );
2765    assert_eq!(
2766        unsafe { &(*(::std::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
2767        8usize,
2768        concat!(
2769            "Offset of field: ",
2770            stringify!(timespec),
2771            "::",
2772            stringify!(tv_nsec)
2773        )
2774    );
2775}
2776pub type suseconds_t = __suseconds_t;
2777pub type __fd_mask = ::std::os::raw::c_long;
2778#[repr(C)]
2779#[derive(Debug, Copy, Clone)]
2780pub struct fd_set {
2781    pub __fds_bits: [__fd_mask; 16usize],
2782}
2783#[test]
2784fn bindgen_test_layout_fd_set() {
2785    assert_eq!(
2786        ::std::mem::size_of::<fd_set>(),
2787        128usize,
2788        concat!("Size of: ", stringify!(fd_set))
2789    );
2790    assert_eq!(
2791        ::std::mem::align_of::<fd_set>(),
2792        8usize,
2793        concat!("Alignment of ", stringify!(fd_set))
2794    );
2795    assert_eq!(
2796        unsafe { &(*(::std::ptr::null::<fd_set>())).__fds_bits as *const _ as usize },
2797        0usize,
2798        concat!(
2799            "Offset of field: ",
2800            stringify!(fd_set),
2801            "::",
2802            stringify!(__fds_bits)
2803        )
2804    );
2805}
2806pub type fd_mask = __fd_mask;
2807extern "C" {
2808    pub fn select(
2809        __nfds: ::std::os::raw::c_int,
2810        __readfds: *mut fd_set,
2811        __writefds: *mut fd_set,
2812        __exceptfds: *mut fd_set,
2813        __timeout: *mut timeval,
2814    ) -> ::std::os::raw::c_int;
2815}
2816extern "C" {
2817    pub fn pselect(
2818        __nfds: ::std::os::raw::c_int,
2819        __readfds: *mut fd_set,
2820        __writefds: *mut fd_set,
2821        __exceptfds: *mut fd_set,
2822        __timeout: *const timespec,
2823        __sigmask: *const __sigset_t,
2824    ) -> ::std::os::raw::c_int;
2825}
2826pub type blksize_t = __blksize_t;
2827pub type blkcnt_t = __blkcnt_t;
2828pub type fsblkcnt_t = __fsblkcnt_t;
2829pub type fsfilcnt_t = __fsfilcnt_t;
2830#[repr(C)]
2831#[derive(Debug, Copy, Clone)]
2832pub struct __pthread_rwlock_arch_t {
2833    pub __readers: ::std::os::raw::c_uint,
2834    pub __writers: ::std::os::raw::c_uint,
2835    pub __wrphase_futex: ::std::os::raw::c_uint,
2836    pub __writers_futex: ::std::os::raw::c_uint,
2837    pub __pad3: ::std::os::raw::c_uint,
2838    pub __pad4: ::std::os::raw::c_uint,
2839    pub __cur_writer: ::std::os::raw::c_int,
2840    pub __shared: ::std::os::raw::c_int,
2841    pub __rwelision: ::std::os::raw::c_schar,
2842    pub __pad1: [::std::os::raw::c_uchar; 7usize],
2843    pub __pad2: ::std::os::raw::c_ulong,
2844    pub __flags: ::std::os::raw::c_uint,
2845}
2846#[test]
2847fn bindgen_test_layout___pthread_rwlock_arch_t() {
2848    assert_eq!(
2849        ::std::mem::size_of::<__pthread_rwlock_arch_t>(),
2850        56usize,
2851        concat!("Size of: ", stringify!(__pthread_rwlock_arch_t))
2852    );
2853    assert_eq!(
2854        ::std::mem::align_of::<__pthread_rwlock_arch_t>(),
2855        8usize,
2856        concat!("Alignment of ", stringify!(__pthread_rwlock_arch_t))
2857    );
2858    assert_eq!(
2859        unsafe {
2860            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__readers as *const _ as usize
2861        },
2862        0usize,
2863        concat!(
2864            "Offset of field: ",
2865            stringify!(__pthread_rwlock_arch_t),
2866            "::",
2867            stringify!(__readers)
2868        )
2869    );
2870    assert_eq!(
2871        unsafe {
2872            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers as *const _ as usize
2873        },
2874        4usize,
2875        concat!(
2876            "Offset of field: ",
2877            stringify!(__pthread_rwlock_arch_t),
2878            "::",
2879            stringify!(__writers)
2880        )
2881    );
2882    assert_eq!(
2883        unsafe {
2884            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__wrphase_futex as *const _ as usize
2885        },
2886        8usize,
2887        concat!(
2888            "Offset of field: ",
2889            stringify!(__pthread_rwlock_arch_t),
2890            "::",
2891            stringify!(__wrphase_futex)
2892        )
2893    );
2894    assert_eq!(
2895        unsafe {
2896            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers_futex as *const _ as usize
2897        },
2898        12usize,
2899        concat!(
2900            "Offset of field: ",
2901            stringify!(__pthread_rwlock_arch_t),
2902            "::",
2903            stringify!(__writers_futex)
2904        )
2905    );
2906    assert_eq!(
2907        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad3 as *const _ as usize },
2908        16usize,
2909        concat!(
2910            "Offset of field: ",
2911            stringify!(__pthread_rwlock_arch_t),
2912            "::",
2913            stringify!(__pad3)
2914        )
2915    );
2916    assert_eq!(
2917        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad4 as *const _ as usize },
2918        20usize,
2919        concat!(
2920            "Offset of field: ",
2921            stringify!(__pthread_rwlock_arch_t),
2922            "::",
2923            stringify!(__pad4)
2924        )
2925    );
2926    assert_eq!(
2927        unsafe {
2928            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__cur_writer as *const _ as usize
2929        },
2930        24usize,
2931        concat!(
2932            "Offset of field: ",
2933            stringify!(__pthread_rwlock_arch_t),
2934            "::",
2935            stringify!(__cur_writer)
2936        )
2937    );
2938    assert_eq!(
2939        unsafe {
2940            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__shared as *const _ as usize
2941        },
2942        28usize,
2943        concat!(
2944            "Offset of field: ",
2945            stringify!(__pthread_rwlock_arch_t),
2946            "::",
2947            stringify!(__shared)
2948        )
2949    );
2950    assert_eq!(
2951        unsafe {
2952            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__rwelision as *const _ as usize
2953        },
2954        32usize,
2955        concat!(
2956            "Offset of field: ",
2957            stringify!(__pthread_rwlock_arch_t),
2958            "::",
2959            stringify!(__rwelision)
2960        )
2961    );
2962    assert_eq!(
2963        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad1 as *const _ as usize },
2964        33usize,
2965        concat!(
2966            "Offset of field: ",
2967            stringify!(__pthread_rwlock_arch_t),
2968            "::",
2969            stringify!(__pad1)
2970        )
2971    );
2972    assert_eq!(
2973        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad2 as *const _ as usize },
2974        40usize,
2975        concat!(
2976            "Offset of field: ",
2977            stringify!(__pthread_rwlock_arch_t),
2978            "::",
2979            stringify!(__pad2)
2980        )
2981    );
2982    assert_eq!(
2983        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__flags as *const _ as usize },
2984        48usize,
2985        concat!(
2986            "Offset of field: ",
2987            stringify!(__pthread_rwlock_arch_t),
2988            "::",
2989            stringify!(__flags)
2990        )
2991    );
2992}
2993#[repr(C)]
2994#[derive(Debug, Copy, Clone)]
2995pub struct __pthread_internal_list {
2996    pub __prev: *mut __pthread_internal_list,
2997    pub __next: *mut __pthread_internal_list,
2998}
2999#[test]
3000fn bindgen_test_layout___pthread_internal_list() {
3001    assert_eq!(
3002        ::std::mem::size_of::<__pthread_internal_list>(),
3003        16usize,
3004        concat!("Size of: ", stringify!(__pthread_internal_list))
3005    );
3006    assert_eq!(
3007        ::std::mem::align_of::<__pthread_internal_list>(),
3008        8usize,
3009        concat!("Alignment of ", stringify!(__pthread_internal_list))
3010    );
3011    assert_eq!(
3012        unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__prev as *const _ as usize },
3013        0usize,
3014        concat!(
3015            "Offset of field: ",
3016            stringify!(__pthread_internal_list),
3017            "::",
3018            stringify!(__prev)
3019        )
3020    );
3021    assert_eq!(
3022        unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__next as *const _ as usize },
3023        8usize,
3024        concat!(
3025            "Offset of field: ",
3026            stringify!(__pthread_internal_list),
3027            "::",
3028            stringify!(__next)
3029        )
3030    );
3031}
3032pub type __pthread_list_t = __pthread_internal_list;
3033#[repr(C)]
3034#[derive(Debug, Copy, Clone)]
3035pub struct __pthread_mutex_s {
3036    pub __lock: ::std::os::raw::c_int,
3037    pub __count: ::std::os::raw::c_uint,
3038    pub __owner: ::std::os::raw::c_int,
3039    pub __nusers: ::std::os::raw::c_uint,
3040    pub __kind: ::std::os::raw::c_int,
3041    pub __spins: ::std::os::raw::c_short,
3042    pub __elision: ::std::os::raw::c_short,
3043    pub __list: __pthread_list_t,
3044}
3045#[test]
3046fn bindgen_test_layout___pthread_mutex_s() {
3047    assert_eq!(
3048        ::std::mem::size_of::<__pthread_mutex_s>(),
3049        40usize,
3050        concat!("Size of: ", stringify!(__pthread_mutex_s))
3051    );
3052    assert_eq!(
3053        ::std::mem::align_of::<__pthread_mutex_s>(),
3054        8usize,
3055        concat!("Alignment of ", stringify!(__pthread_mutex_s))
3056    );
3057    assert_eq!(
3058        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__lock as *const _ as usize },
3059        0usize,
3060        concat!(
3061            "Offset of field: ",
3062            stringify!(__pthread_mutex_s),
3063            "::",
3064            stringify!(__lock)
3065        )
3066    );
3067    assert_eq!(
3068        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__count as *const _ as usize },
3069        4usize,
3070        concat!(
3071            "Offset of field: ",
3072            stringify!(__pthread_mutex_s),
3073            "::",
3074            stringify!(__count)
3075        )
3076    );
3077    assert_eq!(
3078        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__owner as *const _ as usize },
3079        8usize,
3080        concat!(
3081            "Offset of field: ",
3082            stringify!(__pthread_mutex_s),
3083            "::",
3084            stringify!(__owner)
3085        )
3086    );
3087    assert_eq!(
3088        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__nusers as *const _ as usize },
3089        12usize,
3090        concat!(
3091            "Offset of field: ",
3092            stringify!(__pthread_mutex_s),
3093            "::",
3094            stringify!(__nusers)
3095        )
3096    );
3097    assert_eq!(
3098        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__kind as *const _ as usize },
3099        16usize,
3100        concat!(
3101            "Offset of field: ",
3102            stringify!(__pthread_mutex_s),
3103            "::",
3104            stringify!(__kind)
3105        )
3106    );
3107    assert_eq!(
3108        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__spins as *const _ as usize },
3109        20usize,
3110        concat!(
3111            "Offset of field: ",
3112            stringify!(__pthread_mutex_s),
3113            "::",
3114            stringify!(__spins)
3115        )
3116    );
3117    assert_eq!(
3118        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__elision as *const _ as usize },
3119        22usize,
3120        concat!(
3121            "Offset of field: ",
3122            stringify!(__pthread_mutex_s),
3123            "::",
3124            stringify!(__elision)
3125        )
3126    );
3127    assert_eq!(
3128        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__list as *const _ as usize },
3129        24usize,
3130        concat!(
3131            "Offset of field: ",
3132            stringify!(__pthread_mutex_s),
3133            "::",
3134            stringify!(__list)
3135        )
3136    );
3137}
3138#[repr(C)]
3139#[derive(Copy, Clone)]
3140pub struct __pthread_cond_s {
3141    pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1,
3142    pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2,
3143    pub __g_refs: [::std::os::raw::c_uint; 2usize],
3144    pub __g_size: [::std::os::raw::c_uint; 2usize],
3145    pub __g1_orig_size: ::std::os::raw::c_uint,
3146    pub __wrefs: ::std::os::raw::c_uint,
3147    pub __g_signals: [::std::os::raw::c_uint; 2usize],
3148}
3149#[repr(C)]
3150#[derive(Copy, Clone)]
3151pub union __pthread_cond_s__bindgen_ty_1 {
3152    pub __wseq: ::std::os::raw::c_ulonglong,
3153    pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1,
3154    _bindgen_union_align: u64,
3155}
3156#[repr(C)]
3157#[derive(Debug, Copy, Clone)]
3158pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 {
3159    pub __low: ::std::os::raw::c_uint,
3160    pub __high: ::std::os::raw::c_uint,
3161}
3162#[test]
3163fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1() {
3164    assert_eq!(
3165        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
3166        8usize,
3167        concat!(
3168            "Size of: ",
3169            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
3170        )
3171    );
3172    assert_eq!(
3173        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
3174        4usize,
3175        concat!(
3176            "Alignment of ",
3177            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
3178        )
3179    );
3180    assert_eq!(
3181        unsafe {
3182            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__low
3183                as *const _ as usize
3184        },
3185        0usize,
3186        concat!(
3187            "Offset of field: ",
3188            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
3189            "::",
3190            stringify!(__low)
3191        )
3192    );
3193    assert_eq!(
3194        unsafe {
3195            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__high
3196                as *const _ as usize
3197        },
3198        4usize,
3199        concat!(
3200            "Offset of field: ",
3201            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
3202            "::",
3203            stringify!(__high)
3204        )
3205    );
3206}
3207#[test]
3208fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1() {
3209    assert_eq!(
3210        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_1>(),
3211        8usize,
3212        concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_1))
3213    );
3214    assert_eq!(
3215        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_1>(),
3216        8usize,
3217        concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_1))
3218    );
3219    assert_eq!(
3220        unsafe {
3221            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq as *const _ as usize
3222        },
3223        0usize,
3224        concat!(
3225            "Offset of field: ",
3226            stringify!(__pthread_cond_s__bindgen_ty_1),
3227            "::",
3228            stringify!(__wseq)
3229        )
3230    );
3231    assert_eq!(
3232        unsafe {
3233            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq32 as *const _ as usize
3234        },
3235        0usize,
3236        concat!(
3237            "Offset of field: ",
3238            stringify!(__pthread_cond_s__bindgen_ty_1),
3239            "::",
3240            stringify!(__wseq32)
3241        )
3242    );
3243}
3244#[repr(C)]
3245#[derive(Copy, Clone)]
3246pub union __pthread_cond_s__bindgen_ty_2 {
3247    pub __g1_start: ::std::os::raw::c_ulonglong,
3248    pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1,
3249    _bindgen_union_align: u64,
3250}
3251#[repr(C)]
3252#[derive(Debug, Copy, Clone)]
3253pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 {
3254    pub __low: ::std::os::raw::c_uint,
3255    pub __high: ::std::os::raw::c_uint,
3256}
3257#[test]
3258fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1() {
3259    assert_eq!(
3260        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
3261        8usize,
3262        concat!(
3263            "Size of: ",
3264            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
3265        )
3266    );
3267    assert_eq!(
3268        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
3269        4usize,
3270        concat!(
3271            "Alignment of ",
3272            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
3273        )
3274    );
3275    assert_eq!(
3276        unsafe {
3277            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__low
3278                as *const _ as usize
3279        },
3280        0usize,
3281        concat!(
3282            "Offset of field: ",
3283            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
3284            "::",
3285            stringify!(__low)
3286        )
3287    );
3288    assert_eq!(
3289        unsafe {
3290            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__high
3291                as *const _ as usize
3292        },
3293        4usize,
3294        concat!(
3295            "Offset of field: ",
3296            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
3297            "::",
3298            stringify!(__high)
3299        )
3300    );
3301}
3302#[test]
3303fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2() {
3304    assert_eq!(
3305        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_2>(),
3306        8usize,
3307        concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_2))
3308    );
3309    assert_eq!(
3310        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_2>(),
3311        8usize,
3312        concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_2))
3313    );
3314    assert_eq!(
3315        unsafe {
3316            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start as *const _
3317                as usize
3318        },
3319        0usize,
3320        concat!(
3321            "Offset of field: ",
3322            stringify!(__pthread_cond_s__bindgen_ty_2),
3323            "::",
3324            stringify!(__g1_start)
3325        )
3326    );
3327    assert_eq!(
3328        unsafe {
3329            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start32 as *const _
3330                as usize
3331        },
3332        0usize,
3333        concat!(
3334            "Offset of field: ",
3335            stringify!(__pthread_cond_s__bindgen_ty_2),
3336            "::",
3337            stringify!(__g1_start32)
3338        )
3339    );
3340}
3341#[test]
3342fn bindgen_test_layout___pthread_cond_s() {
3343    assert_eq!(
3344        ::std::mem::size_of::<__pthread_cond_s>(),
3345        48usize,
3346        concat!("Size of: ", stringify!(__pthread_cond_s))
3347    );
3348    assert_eq!(
3349        ::std::mem::align_of::<__pthread_cond_s>(),
3350        8usize,
3351        concat!("Alignment of ", stringify!(__pthread_cond_s))
3352    );
3353    assert_eq!(
3354        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_refs as *const _ as usize },
3355        16usize,
3356        concat!(
3357            "Offset of field: ",
3358            stringify!(__pthread_cond_s),
3359            "::",
3360            stringify!(__g_refs)
3361        )
3362    );
3363    assert_eq!(
3364        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_size as *const _ as usize },
3365        24usize,
3366        concat!(
3367            "Offset of field: ",
3368            stringify!(__pthread_cond_s),
3369            "::",
3370            stringify!(__g_size)
3371        )
3372    );
3373    assert_eq!(
3374        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g1_orig_size as *const _ as usize },
3375        32usize,
3376        concat!(
3377            "Offset of field: ",
3378            stringify!(__pthread_cond_s),
3379            "::",
3380            stringify!(__g1_orig_size)
3381        )
3382    );
3383    assert_eq!(
3384        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__wrefs as *const _ as usize },
3385        36usize,
3386        concat!(
3387            "Offset of field: ",
3388            stringify!(__pthread_cond_s),
3389            "::",
3390            stringify!(__wrefs)
3391        )
3392    );
3393    assert_eq!(
3394        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_signals as *const _ as usize },
3395        40usize,
3396        concat!(
3397            "Offset of field: ",
3398            stringify!(__pthread_cond_s),
3399            "::",
3400            stringify!(__g_signals)
3401        )
3402    );
3403}
3404pub type pthread_t = ::std::os::raw::c_ulong;
3405#[repr(C)]
3406#[derive(Copy, Clone)]
3407pub union pthread_mutexattr_t {
3408    pub __size: [::std::os::raw::c_char; 4usize],
3409    pub __align: ::std::os::raw::c_int,
3410    _bindgen_union_align: u32,
3411}
3412#[test]
3413fn bindgen_test_layout_pthread_mutexattr_t() {
3414    assert_eq!(
3415        ::std::mem::size_of::<pthread_mutexattr_t>(),
3416        4usize,
3417        concat!("Size of: ", stringify!(pthread_mutexattr_t))
3418    );
3419    assert_eq!(
3420        ::std::mem::align_of::<pthread_mutexattr_t>(),
3421        4usize,
3422        concat!("Alignment of ", stringify!(pthread_mutexattr_t))
3423    );
3424    assert_eq!(
3425        unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__size as *const _ as usize },
3426        0usize,
3427        concat!(
3428            "Offset of field: ",
3429            stringify!(pthread_mutexattr_t),
3430            "::",
3431            stringify!(__size)
3432        )
3433    );
3434    assert_eq!(
3435        unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__align as *const _ as usize },
3436        0usize,
3437        concat!(
3438            "Offset of field: ",
3439            stringify!(pthread_mutexattr_t),
3440            "::",
3441            stringify!(__align)
3442        )
3443    );
3444}
3445#[repr(C)]
3446#[derive(Copy, Clone)]
3447pub union pthread_condattr_t {
3448    pub __size: [::std::os::raw::c_char; 4usize],
3449    pub __align: ::std::os::raw::c_int,
3450    _bindgen_union_align: u32,
3451}
3452#[test]
3453fn bindgen_test_layout_pthread_condattr_t() {
3454    assert_eq!(
3455        ::std::mem::size_of::<pthread_condattr_t>(),
3456        4usize,
3457        concat!("Size of: ", stringify!(pthread_condattr_t))
3458    );
3459    assert_eq!(
3460        ::std::mem::align_of::<pthread_condattr_t>(),
3461        4usize,
3462        concat!("Alignment of ", stringify!(pthread_condattr_t))
3463    );
3464    assert_eq!(
3465        unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__size as *const _ as usize },
3466        0usize,
3467        concat!(
3468            "Offset of field: ",
3469            stringify!(pthread_condattr_t),
3470            "::",
3471            stringify!(__size)
3472        )
3473    );
3474    assert_eq!(
3475        unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__align as *const _ as usize },
3476        0usize,
3477        concat!(
3478            "Offset of field: ",
3479            stringify!(pthread_condattr_t),
3480            "::",
3481            stringify!(__align)
3482        )
3483    );
3484}
3485pub type pthread_key_t = ::std::os::raw::c_uint;
3486pub type pthread_once_t = ::std::os::raw::c_int;
3487#[repr(C)]
3488#[derive(Copy, Clone)]
3489pub union pthread_attr_t {
3490    pub __size: [::std::os::raw::c_char; 56usize],
3491    pub __align: ::std::os::raw::c_long,
3492    _bindgen_union_align: [u64; 7usize],
3493}
3494#[test]
3495fn bindgen_test_layout_pthread_attr_t() {
3496    assert_eq!(
3497        ::std::mem::size_of::<pthread_attr_t>(),
3498        56usize,
3499        concat!("Size of: ", stringify!(pthread_attr_t))
3500    );
3501    assert_eq!(
3502        ::std::mem::align_of::<pthread_attr_t>(),
3503        8usize,
3504        concat!("Alignment of ", stringify!(pthread_attr_t))
3505    );
3506    assert_eq!(
3507        unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__size as *const _ as usize },
3508        0usize,
3509        concat!(
3510            "Offset of field: ",
3511            stringify!(pthread_attr_t),
3512            "::",
3513            stringify!(__size)
3514        )
3515    );
3516    assert_eq!(
3517        unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__align as *const _ as usize },
3518        0usize,
3519        concat!(
3520            "Offset of field: ",
3521            stringify!(pthread_attr_t),
3522            "::",
3523            stringify!(__align)
3524        )
3525    );
3526}
3527#[repr(C)]
3528#[derive(Copy, Clone)]
3529pub union pthread_mutex_t {
3530    pub __data: __pthread_mutex_s,
3531    pub __size: [::std::os::raw::c_char; 40usize],
3532    pub __align: ::std::os::raw::c_long,
3533    _bindgen_union_align: [u64; 5usize],
3534}
3535#[test]
3536fn bindgen_test_layout_pthread_mutex_t() {
3537    assert_eq!(
3538        ::std::mem::size_of::<pthread_mutex_t>(),
3539        40usize,
3540        concat!("Size of: ", stringify!(pthread_mutex_t))
3541    );
3542    assert_eq!(
3543        ::std::mem::align_of::<pthread_mutex_t>(),
3544        8usize,
3545        concat!("Alignment of ", stringify!(pthread_mutex_t))
3546    );
3547    assert_eq!(
3548        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__data as *const _ as usize },
3549        0usize,
3550        concat!(
3551            "Offset of field: ",
3552            stringify!(pthread_mutex_t),
3553            "::",
3554            stringify!(__data)
3555        )
3556    );
3557    assert_eq!(
3558        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__size as *const _ as usize },
3559        0usize,
3560        concat!(
3561            "Offset of field: ",
3562            stringify!(pthread_mutex_t),
3563            "::",
3564            stringify!(__size)
3565        )
3566    );
3567    assert_eq!(
3568        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__align as *const _ as usize },
3569        0usize,
3570        concat!(
3571            "Offset of field: ",
3572            stringify!(pthread_mutex_t),
3573            "::",
3574            stringify!(__align)
3575        )
3576    );
3577}
3578#[repr(C)]
3579#[derive(Copy, Clone)]
3580pub union pthread_cond_t {
3581    pub __data: __pthread_cond_s,
3582    pub __size: [::std::os::raw::c_char; 48usize],
3583    pub __align: ::std::os::raw::c_longlong,
3584    _bindgen_union_align: [u64; 6usize],
3585}
3586#[test]
3587fn bindgen_test_layout_pthread_cond_t() {
3588    assert_eq!(
3589        ::std::mem::size_of::<pthread_cond_t>(),
3590        48usize,
3591        concat!("Size of: ", stringify!(pthread_cond_t))
3592    );
3593    assert_eq!(
3594        ::std::mem::align_of::<pthread_cond_t>(),
3595        8usize,
3596        concat!("Alignment of ", stringify!(pthread_cond_t))
3597    );
3598    assert_eq!(
3599        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__data as *const _ as usize },
3600        0usize,
3601        concat!(
3602            "Offset of field: ",
3603            stringify!(pthread_cond_t),
3604            "::",
3605            stringify!(__data)
3606        )
3607    );
3608    assert_eq!(
3609        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__size as *const _ as usize },
3610        0usize,
3611        concat!(
3612            "Offset of field: ",
3613            stringify!(pthread_cond_t),
3614            "::",
3615            stringify!(__size)
3616        )
3617    );
3618    assert_eq!(
3619        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__align as *const _ as usize },
3620        0usize,
3621        concat!(
3622            "Offset of field: ",
3623            stringify!(pthread_cond_t),
3624            "::",
3625            stringify!(__align)
3626        )
3627    );
3628}
3629#[repr(C)]
3630#[derive(Copy, Clone)]
3631pub union pthread_rwlock_t {
3632    pub __data: __pthread_rwlock_arch_t,
3633    pub __size: [::std::os::raw::c_char; 56usize],
3634    pub __align: ::std::os::raw::c_long,
3635    _bindgen_union_align: [u64; 7usize],
3636}
3637#[test]
3638fn bindgen_test_layout_pthread_rwlock_t() {
3639    assert_eq!(
3640        ::std::mem::size_of::<pthread_rwlock_t>(),
3641        56usize,
3642        concat!("Size of: ", stringify!(pthread_rwlock_t))
3643    );
3644    assert_eq!(
3645        ::std::mem::align_of::<pthread_rwlock_t>(),
3646        8usize,
3647        concat!("Alignment of ", stringify!(pthread_rwlock_t))
3648    );
3649    assert_eq!(
3650        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__data as *const _ as usize },
3651        0usize,
3652        concat!(
3653            "Offset of field: ",
3654            stringify!(pthread_rwlock_t),
3655            "::",
3656            stringify!(__data)
3657        )
3658    );
3659    assert_eq!(
3660        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__size as *const _ as usize },
3661        0usize,
3662        concat!(
3663            "Offset of field: ",
3664            stringify!(pthread_rwlock_t),
3665            "::",
3666            stringify!(__size)
3667        )
3668    );
3669    assert_eq!(
3670        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__align as *const _ as usize },
3671        0usize,
3672        concat!(
3673            "Offset of field: ",
3674            stringify!(pthread_rwlock_t),
3675            "::",
3676            stringify!(__align)
3677        )
3678    );
3679}
3680#[repr(C)]
3681#[derive(Copy, Clone)]
3682pub union pthread_rwlockattr_t {
3683    pub __size: [::std::os::raw::c_char; 8usize],
3684    pub __align: ::std::os::raw::c_long,
3685    _bindgen_union_align: u64,
3686}
3687#[test]
3688fn bindgen_test_layout_pthread_rwlockattr_t() {
3689    assert_eq!(
3690        ::std::mem::size_of::<pthread_rwlockattr_t>(),
3691        8usize,
3692        concat!("Size of: ", stringify!(pthread_rwlockattr_t))
3693    );
3694    assert_eq!(
3695        ::std::mem::align_of::<pthread_rwlockattr_t>(),
3696        8usize,
3697        concat!("Alignment of ", stringify!(pthread_rwlockattr_t))
3698    );
3699    assert_eq!(
3700        unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__size as *const _ as usize },
3701        0usize,
3702        concat!(
3703            "Offset of field: ",
3704            stringify!(pthread_rwlockattr_t),
3705            "::",
3706            stringify!(__size)
3707        )
3708    );
3709    assert_eq!(
3710        unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__align as *const _ as usize },
3711        0usize,
3712        concat!(
3713            "Offset of field: ",
3714            stringify!(pthread_rwlockattr_t),
3715            "::",
3716            stringify!(__align)
3717        )
3718    );
3719}
3720pub type pthread_spinlock_t = ::std::os::raw::c_int;
3721#[repr(C)]
3722#[derive(Copy, Clone)]
3723pub union pthread_barrier_t {
3724    pub __size: [::std::os::raw::c_char; 32usize],
3725    pub __align: ::std::os::raw::c_long,
3726    _bindgen_union_align: [u64; 4usize],
3727}
3728#[test]
3729fn bindgen_test_layout_pthread_barrier_t() {
3730    assert_eq!(
3731        ::std::mem::size_of::<pthread_barrier_t>(),
3732        32usize,
3733        concat!("Size of: ", stringify!(pthread_barrier_t))
3734    );
3735    assert_eq!(
3736        ::std::mem::align_of::<pthread_barrier_t>(),
3737        8usize,
3738        concat!("Alignment of ", stringify!(pthread_barrier_t))
3739    );
3740    assert_eq!(
3741        unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__size as *const _ as usize },
3742        0usize,
3743        concat!(
3744            "Offset of field: ",
3745            stringify!(pthread_barrier_t),
3746            "::",
3747            stringify!(__size)
3748        )
3749    );
3750    assert_eq!(
3751        unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__align as *const _ as usize },
3752        0usize,
3753        concat!(
3754            "Offset of field: ",
3755            stringify!(pthread_barrier_t),
3756            "::",
3757            stringify!(__align)
3758        )
3759    );
3760}
3761#[repr(C)]
3762#[derive(Copy, Clone)]
3763pub union pthread_barrierattr_t {
3764    pub __size: [::std::os::raw::c_char; 4usize],
3765    pub __align: ::std::os::raw::c_int,
3766    _bindgen_union_align: u32,
3767}
3768#[test]
3769fn bindgen_test_layout_pthread_barrierattr_t() {
3770    assert_eq!(
3771        ::std::mem::size_of::<pthread_barrierattr_t>(),
3772        4usize,
3773        concat!("Size of: ", stringify!(pthread_barrierattr_t))
3774    );
3775    assert_eq!(
3776        ::std::mem::align_of::<pthread_barrierattr_t>(),
3777        4usize,
3778        concat!("Alignment of ", stringify!(pthread_barrierattr_t))
3779    );
3780    assert_eq!(
3781        unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__size as *const _ as usize },
3782        0usize,
3783        concat!(
3784            "Offset of field: ",
3785            stringify!(pthread_barrierattr_t),
3786            "::",
3787            stringify!(__size)
3788        )
3789    );
3790    assert_eq!(
3791        unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__align as *const _ as usize },
3792        0usize,
3793        concat!(
3794            "Offset of field: ",
3795            stringify!(pthread_barrierattr_t),
3796            "::",
3797            stringify!(__align)
3798        )
3799    );
3800}
3801pub type XID = ::std::os::raw::c_ulong;
3802pub type Mask = ::std::os::raw::c_ulong;
3803pub type Atom = ::std::os::raw::c_ulong;
3804pub type VisualID = ::std::os::raw::c_ulong;
3805pub type Time = ::std::os::raw::c_ulong;
3806pub type Window = XID;
3807pub type Drawable = XID;
3808pub type Font = XID;
3809pub type Pixmap = XID;
3810pub type Cursor = XID;
3811pub type Colormap = XID;
3812pub type GContext = XID;
3813pub type KeySym = XID;
3814pub type KeyCode = ::std::os::raw::c_uchar;
3815pub type wchar_t = ::std::os::raw::c_int;
3816#[repr(C)]
3817#[repr(align(16))]
3818#[derive(Debug, Copy, Clone)]
3819pub struct max_align_t {
3820    pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
3821    pub __bindgen_padding_0: u64,
3822    pub __clang_max_align_nonce2: u128,
3823}
3824#[test]
3825fn bindgen_test_layout_max_align_t() {
3826    assert_eq!(
3827        ::std::mem::size_of::<max_align_t>(),
3828        32usize,
3829        concat!("Size of: ", stringify!(max_align_t))
3830    );
3831    assert_eq!(
3832        ::std::mem::align_of::<max_align_t>(),
3833        16usize,
3834        concat!("Alignment of ", stringify!(max_align_t))
3835    );
3836    assert_eq!(
3837        unsafe {
3838            &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce1 as *const _ as usize
3839        },
3840        0usize,
3841        concat!(
3842            "Offset of field: ",
3843            stringify!(max_align_t),
3844            "::",
3845            stringify!(__clang_max_align_nonce1)
3846        )
3847    );
3848    assert_eq!(
3849        unsafe {
3850            &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce2 as *const _ as usize
3851        },
3852        16usize,
3853        concat!(
3854            "Offset of field: ",
3855            stringify!(max_align_t),
3856            "::",
3857            stringify!(__clang_max_align_nonce2)
3858        )
3859    );
3860}
3861extern "C" {
3862    pub fn _Xmblen(
3863        str: *mut ::std::os::raw::c_char,
3864        len: ::std::os::raw::c_int,
3865    ) -> ::std::os::raw::c_int;
3866}
3867pub type XPointer = *mut ::std::os::raw::c_char;
3868#[repr(C)]
3869#[derive(Debug, Copy, Clone)]
3870pub struct _XExtData {
3871    pub number: ::std::os::raw::c_int,
3872    pub next: *mut _XExtData,
3873    pub free_private: ::std::option::Option<
3874        unsafe extern "C" fn(extension: *mut _XExtData) -> ::std::os::raw::c_int,
3875    >,
3876    pub private_data: XPointer,
3877}
3878#[test]
3879fn bindgen_test_layout__XExtData() {
3880    assert_eq!(
3881        ::std::mem::size_of::<_XExtData>(),
3882        32usize,
3883        concat!("Size of: ", stringify!(_XExtData))
3884    );
3885    assert_eq!(
3886        ::std::mem::align_of::<_XExtData>(),
3887        8usize,
3888        concat!("Alignment of ", stringify!(_XExtData))
3889    );
3890    assert_eq!(
3891        unsafe { &(*(::std::ptr::null::<_XExtData>())).number as *const _ as usize },
3892        0usize,
3893        concat!(
3894            "Offset of field: ",
3895            stringify!(_XExtData),
3896            "::",
3897            stringify!(number)
3898        )
3899    );
3900    assert_eq!(
3901        unsafe { &(*(::std::ptr::null::<_XExtData>())).next as *const _ as usize },
3902        8usize,
3903        concat!(
3904            "Offset of field: ",
3905            stringify!(_XExtData),
3906            "::",
3907            stringify!(next)
3908        )
3909    );
3910    assert_eq!(
3911        unsafe { &(*(::std::ptr::null::<_XExtData>())).free_private as *const _ as usize },
3912        16usize,
3913        concat!(
3914            "Offset of field: ",
3915            stringify!(_XExtData),
3916            "::",
3917            stringify!(free_private)
3918        )
3919    );
3920    assert_eq!(
3921        unsafe { &(*(::std::ptr::null::<_XExtData>())).private_data as *const _ as usize },
3922        24usize,
3923        concat!(
3924            "Offset of field: ",
3925            stringify!(_XExtData),
3926            "::",
3927            stringify!(private_data)
3928        )
3929    );
3930}
3931pub type XExtData = _XExtData;
3932#[repr(C)]
3933#[derive(Debug, Copy, Clone)]
3934pub struct XExtCodes {
3935    pub extension: ::std::os::raw::c_int,
3936    pub major_opcode: ::std::os::raw::c_int,
3937    pub first_event: ::std::os::raw::c_int,
3938    pub first_error: ::std::os::raw::c_int,
3939}
3940#[test]
3941fn bindgen_test_layout_XExtCodes() {
3942    assert_eq!(
3943        ::std::mem::size_of::<XExtCodes>(),
3944        16usize,
3945        concat!("Size of: ", stringify!(XExtCodes))
3946    );
3947    assert_eq!(
3948        ::std::mem::align_of::<XExtCodes>(),
3949        4usize,
3950        concat!("Alignment of ", stringify!(XExtCodes))
3951    );
3952    assert_eq!(
3953        unsafe { &(*(::std::ptr::null::<XExtCodes>())).extension as *const _ as usize },
3954        0usize,
3955        concat!(
3956            "Offset of field: ",
3957            stringify!(XExtCodes),
3958            "::",
3959            stringify!(extension)
3960        )
3961    );
3962    assert_eq!(
3963        unsafe { &(*(::std::ptr::null::<XExtCodes>())).major_opcode as *const _ as usize },
3964        4usize,
3965        concat!(
3966            "Offset of field: ",
3967            stringify!(XExtCodes),
3968            "::",
3969            stringify!(major_opcode)
3970        )
3971    );
3972    assert_eq!(
3973        unsafe { &(*(::std::ptr::null::<XExtCodes>())).first_event as *const _ as usize },
3974        8usize,
3975        concat!(
3976            "Offset of field: ",
3977            stringify!(XExtCodes),
3978            "::",
3979            stringify!(first_event)
3980        )
3981    );
3982    assert_eq!(
3983        unsafe { &(*(::std::ptr::null::<XExtCodes>())).first_error as *const _ as usize },
3984        12usize,
3985        concat!(
3986            "Offset of field: ",
3987            stringify!(XExtCodes),
3988            "::",
3989            stringify!(first_error)
3990        )
3991    );
3992}
3993#[repr(C)]
3994#[derive(Debug, Copy, Clone)]
3995pub struct XPixmapFormatValues {
3996    pub depth: ::std::os::raw::c_int,
3997    pub bits_per_pixel: ::std::os::raw::c_int,
3998    pub scanline_pad: ::std::os::raw::c_int,
3999}
4000#[test]
4001fn bindgen_test_layout_XPixmapFormatValues() {
4002    assert_eq!(
4003        ::std::mem::size_of::<XPixmapFormatValues>(),
4004        12usize,
4005        concat!("Size of: ", stringify!(XPixmapFormatValues))
4006    );
4007    assert_eq!(
4008        ::std::mem::align_of::<XPixmapFormatValues>(),
4009        4usize,
4010        concat!("Alignment of ", stringify!(XPixmapFormatValues))
4011    );
4012    assert_eq!(
4013        unsafe { &(*(::std::ptr::null::<XPixmapFormatValues>())).depth as *const _ as usize },
4014        0usize,
4015        concat!(
4016            "Offset of field: ",
4017            stringify!(XPixmapFormatValues),
4018            "::",
4019            stringify!(depth)
4020        )
4021    );
4022    assert_eq!(
4023        unsafe {
4024            &(*(::std::ptr::null::<XPixmapFormatValues>())).bits_per_pixel as *const _ as usize
4025        },
4026        4usize,
4027        concat!(
4028            "Offset of field: ",
4029            stringify!(XPixmapFormatValues),
4030            "::",
4031            stringify!(bits_per_pixel)
4032        )
4033    );
4034    assert_eq!(
4035        unsafe {
4036            &(*(::std::ptr::null::<XPixmapFormatValues>())).scanline_pad as *const _ as usize
4037        },
4038        8usize,
4039        concat!(
4040            "Offset of field: ",
4041            stringify!(XPixmapFormatValues),
4042            "::",
4043            stringify!(scanline_pad)
4044        )
4045    );
4046}
4047#[repr(C)]
4048#[derive(Debug, Copy, Clone)]
4049pub struct XGCValues {
4050    pub function: ::std::os::raw::c_int,
4051    pub plane_mask: ::std::os::raw::c_ulong,
4052    pub foreground: ::std::os::raw::c_ulong,
4053    pub background: ::std::os::raw::c_ulong,
4054    pub line_width: ::std::os::raw::c_int,
4055    pub line_style: ::std::os::raw::c_int,
4056    pub cap_style: ::std::os::raw::c_int,
4057    pub join_style: ::std::os::raw::c_int,
4058    pub fill_style: ::std::os::raw::c_int,
4059    pub fill_rule: ::std::os::raw::c_int,
4060    pub arc_mode: ::std::os::raw::c_int,
4061    pub tile: Pixmap,
4062    pub stipple: Pixmap,
4063    pub ts_x_origin: ::std::os::raw::c_int,
4064    pub ts_y_origin: ::std::os::raw::c_int,
4065    pub font: Font,
4066    pub subwindow_mode: ::std::os::raw::c_int,
4067    pub graphics_exposures: ::std::os::raw::c_int,
4068    pub clip_x_origin: ::std::os::raw::c_int,
4069    pub clip_y_origin: ::std::os::raw::c_int,
4070    pub clip_mask: Pixmap,
4071    pub dash_offset: ::std::os::raw::c_int,
4072    pub dashes: ::std::os::raw::c_char,
4073}
4074#[test]
4075fn bindgen_test_layout_XGCValues() {
4076    assert_eq!(
4077        ::std::mem::size_of::<XGCValues>(),
4078        128usize,
4079        concat!("Size of: ", stringify!(XGCValues))
4080    );
4081    assert_eq!(
4082        ::std::mem::align_of::<XGCValues>(),
4083        8usize,
4084        concat!("Alignment of ", stringify!(XGCValues))
4085    );
4086    assert_eq!(
4087        unsafe { &(*(::std::ptr::null::<XGCValues>())).function as *const _ as usize },
4088        0usize,
4089        concat!(
4090            "Offset of field: ",
4091            stringify!(XGCValues),
4092            "::",
4093            stringify!(function)
4094        )
4095    );
4096    assert_eq!(
4097        unsafe { &(*(::std::ptr::null::<XGCValues>())).plane_mask as *const _ as usize },
4098        8usize,
4099        concat!(
4100            "Offset of field: ",
4101            stringify!(XGCValues),
4102            "::",
4103            stringify!(plane_mask)
4104        )
4105    );
4106    assert_eq!(
4107        unsafe { &(*(::std::ptr::null::<XGCValues>())).foreground as *const _ as usize },
4108        16usize,
4109        concat!(
4110            "Offset of field: ",
4111            stringify!(XGCValues),
4112            "::",
4113            stringify!(foreground)
4114        )
4115    );
4116    assert_eq!(
4117        unsafe { &(*(::std::ptr::null::<XGCValues>())).background as *const _ as usize },
4118        24usize,
4119        concat!(
4120            "Offset of field: ",
4121            stringify!(XGCValues),
4122            "::",
4123            stringify!(background)
4124        )
4125    );
4126    assert_eq!(
4127        unsafe { &(*(::std::ptr::null::<XGCValues>())).line_width as *const _ as usize },
4128        32usize,
4129        concat!(
4130            "Offset of field: ",
4131            stringify!(XGCValues),
4132            "::",
4133            stringify!(line_width)
4134        )
4135    );
4136    assert_eq!(
4137        unsafe { &(*(::std::ptr::null::<XGCValues>())).line_style as *const _ as usize },
4138        36usize,
4139        concat!(
4140            "Offset of field: ",
4141            stringify!(XGCValues),
4142            "::",
4143            stringify!(line_style)
4144        )
4145    );
4146    assert_eq!(
4147        unsafe { &(*(::std::ptr::null::<XGCValues>())).cap_style as *const _ as usize },
4148        40usize,
4149        concat!(
4150            "Offset of field: ",
4151            stringify!(XGCValues),
4152            "::",
4153            stringify!(cap_style)
4154        )
4155    );
4156    assert_eq!(
4157        unsafe { &(*(::std::ptr::null::<XGCValues>())).join_style as *const _ as usize },
4158        44usize,
4159        concat!(
4160            "Offset of field: ",
4161            stringify!(XGCValues),
4162            "::",
4163            stringify!(join_style)
4164        )
4165    );
4166    assert_eq!(
4167        unsafe { &(*(::std::ptr::null::<XGCValues>())).fill_style as *const _ as usize },
4168        48usize,
4169        concat!(
4170            "Offset of field: ",
4171            stringify!(XGCValues),
4172            "::",
4173            stringify!(fill_style)
4174        )
4175    );
4176    assert_eq!(
4177        unsafe { &(*(::std::ptr::null::<XGCValues>())).fill_rule as *const _ as usize },
4178        52usize,
4179        concat!(
4180            "Offset of field: ",
4181            stringify!(XGCValues),
4182            "::",
4183            stringify!(fill_rule)
4184        )
4185    );
4186    assert_eq!(
4187        unsafe { &(*(::std::ptr::null::<XGCValues>())).arc_mode as *const _ as usize },
4188        56usize,
4189        concat!(
4190            "Offset of field: ",
4191            stringify!(XGCValues),
4192            "::",
4193            stringify!(arc_mode)
4194        )
4195    );
4196    assert_eq!(
4197        unsafe { &(*(::std::ptr::null::<XGCValues>())).tile as *const _ as usize },
4198        64usize,
4199        concat!(
4200            "Offset of field: ",
4201            stringify!(XGCValues),
4202            "::",
4203            stringify!(tile)
4204        )
4205    );
4206    assert_eq!(
4207        unsafe { &(*(::std::ptr::null::<XGCValues>())).stipple as *const _ as usize },
4208        72usize,
4209        concat!(
4210            "Offset of field: ",
4211            stringify!(XGCValues),
4212            "::",
4213            stringify!(stipple)
4214        )
4215    );
4216    assert_eq!(
4217        unsafe { &(*(::std::ptr::null::<XGCValues>())).ts_x_origin as *const _ as usize },
4218        80usize,
4219        concat!(
4220            "Offset of field: ",
4221            stringify!(XGCValues),
4222            "::",
4223            stringify!(ts_x_origin)
4224        )
4225    );
4226    assert_eq!(
4227        unsafe { &(*(::std::ptr::null::<XGCValues>())).ts_y_origin as *const _ as usize },
4228        84usize,
4229        concat!(
4230            "Offset of field: ",
4231            stringify!(XGCValues),
4232            "::",
4233            stringify!(ts_y_origin)
4234        )
4235    );
4236    assert_eq!(
4237        unsafe { &(*(::std::ptr::null::<XGCValues>())).font as *const _ as usize },
4238        88usize,
4239        concat!(
4240            "Offset of field: ",
4241            stringify!(XGCValues),
4242            "::",
4243            stringify!(font)
4244        )
4245    );
4246    assert_eq!(
4247        unsafe { &(*(::std::ptr::null::<XGCValues>())).subwindow_mode as *const _ as usize },
4248        96usize,
4249        concat!(
4250            "Offset of field: ",
4251            stringify!(XGCValues),
4252            "::",
4253            stringify!(subwindow_mode)
4254        )
4255    );
4256    assert_eq!(
4257        unsafe { &(*(::std::ptr::null::<XGCValues>())).graphics_exposures as *const _ as usize },
4258        100usize,
4259        concat!(
4260            "Offset of field: ",
4261            stringify!(XGCValues),
4262            "::",
4263            stringify!(graphics_exposures)
4264        )
4265    );
4266    assert_eq!(
4267        unsafe { &(*(::std::ptr::null::<XGCValues>())).clip_x_origin as *const _ as usize },
4268        104usize,
4269        concat!(
4270            "Offset of field: ",
4271            stringify!(XGCValues),
4272            "::",
4273            stringify!(clip_x_origin)
4274        )
4275    );
4276    assert_eq!(
4277        unsafe { &(*(::std::ptr::null::<XGCValues>())).clip_y_origin as *const _ as usize },
4278        108usize,
4279        concat!(
4280            "Offset of field: ",
4281            stringify!(XGCValues),
4282            "::",
4283            stringify!(clip_y_origin)
4284        )
4285    );
4286    assert_eq!(
4287        unsafe { &(*(::std::ptr::null::<XGCValues>())).clip_mask as *const _ as usize },
4288        112usize,
4289        concat!(
4290            "Offset of field: ",
4291            stringify!(XGCValues),
4292            "::",
4293            stringify!(clip_mask)
4294        )
4295    );
4296    assert_eq!(
4297        unsafe { &(*(::std::ptr::null::<XGCValues>())).dash_offset as *const _ as usize },
4298        120usize,
4299        concat!(
4300            "Offset of field: ",
4301            stringify!(XGCValues),
4302            "::",
4303            stringify!(dash_offset)
4304        )
4305    );
4306    assert_eq!(
4307        unsafe { &(*(::std::ptr::null::<XGCValues>())).dashes as *const _ as usize },
4308        124usize,
4309        concat!(
4310            "Offset of field: ",
4311            stringify!(XGCValues),
4312            "::",
4313            stringify!(dashes)
4314        )
4315    );
4316}
4317#[repr(C)]
4318#[derive(Debug, Copy, Clone)]
4319pub struct _XGC {
4320    _unused: [u8; 0],
4321}
4322pub type GC = *mut _XGC;
4323#[repr(C)]
4324#[derive(Debug, Copy, Clone)]
4325pub struct Visual {
4326    pub ext_data: *mut XExtData,
4327    pub visualid: VisualID,
4328    pub class: ::std::os::raw::c_int,
4329    pub red_mask: ::std::os::raw::c_ulong,
4330    pub green_mask: ::std::os::raw::c_ulong,
4331    pub blue_mask: ::std::os::raw::c_ulong,
4332    pub bits_per_rgb: ::std::os::raw::c_int,
4333    pub map_entries: ::std::os::raw::c_int,
4334}
4335#[test]
4336fn bindgen_test_layout_Visual() {
4337    assert_eq!(
4338        ::std::mem::size_of::<Visual>(),
4339        56usize,
4340        concat!("Size of: ", stringify!(Visual))
4341    );
4342    assert_eq!(
4343        ::std::mem::align_of::<Visual>(),
4344        8usize,
4345        concat!("Alignment of ", stringify!(Visual))
4346    );
4347    assert_eq!(
4348        unsafe { &(*(::std::ptr::null::<Visual>())).ext_data as *const _ as usize },
4349        0usize,
4350        concat!(
4351            "Offset of field: ",
4352            stringify!(Visual),
4353            "::",
4354            stringify!(ext_data)
4355        )
4356    );
4357    assert_eq!(
4358        unsafe { &(*(::std::ptr::null::<Visual>())).visualid as *const _ as usize },
4359        8usize,
4360        concat!(
4361            "Offset of field: ",
4362            stringify!(Visual),
4363            "::",
4364            stringify!(visualid)
4365        )
4366    );
4367    assert_eq!(
4368        unsafe { &(*(::std::ptr::null::<Visual>())).class as *const _ as usize },
4369        16usize,
4370        concat!(
4371            "Offset of field: ",
4372            stringify!(Visual),
4373            "::",
4374            stringify!(class)
4375        )
4376    );
4377    assert_eq!(
4378        unsafe { &(*(::std::ptr::null::<Visual>())).red_mask as *const _ as usize },
4379        24usize,
4380        concat!(
4381            "Offset of field: ",
4382            stringify!(Visual),
4383            "::",
4384            stringify!(red_mask)
4385        )
4386    );
4387    assert_eq!(
4388        unsafe { &(*(::std::ptr::null::<Visual>())).green_mask as *const _ as usize },
4389        32usize,
4390        concat!(
4391            "Offset of field: ",
4392            stringify!(Visual),
4393            "::",
4394            stringify!(green_mask)
4395        )
4396    );
4397    assert_eq!(
4398        unsafe { &(*(::std::ptr::null::<Visual>())).blue_mask as *const _ as usize },
4399        40usize,
4400        concat!(
4401            "Offset of field: ",
4402            stringify!(Visual),
4403            "::",
4404            stringify!(blue_mask)
4405        )
4406    );
4407    assert_eq!(
4408        unsafe { &(*(::std::ptr::null::<Visual>())).bits_per_rgb as *const _ as usize },
4409        48usize,
4410        concat!(
4411            "Offset of field: ",
4412            stringify!(Visual),
4413            "::",
4414            stringify!(bits_per_rgb)
4415        )
4416    );
4417    assert_eq!(
4418        unsafe { &(*(::std::ptr::null::<Visual>())).map_entries as *const _ as usize },
4419        52usize,
4420        concat!(
4421            "Offset of field: ",
4422            stringify!(Visual),
4423            "::",
4424            stringify!(map_entries)
4425        )
4426    );
4427}
4428#[repr(C)]
4429#[derive(Debug, Copy, Clone)]
4430pub struct Depth {
4431    pub depth: ::std::os::raw::c_int,
4432    pub nvisuals: ::std::os::raw::c_int,
4433    pub visuals: *mut Visual,
4434}
4435#[test]
4436fn bindgen_test_layout_Depth() {
4437    assert_eq!(
4438        ::std::mem::size_of::<Depth>(),
4439        16usize,
4440        concat!("Size of: ", stringify!(Depth))
4441    );
4442    assert_eq!(
4443        ::std::mem::align_of::<Depth>(),
4444        8usize,
4445        concat!("Alignment of ", stringify!(Depth))
4446    );
4447    assert_eq!(
4448        unsafe { &(*(::std::ptr::null::<Depth>())).depth as *const _ as usize },
4449        0usize,
4450        concat!(
4451            "Offset of field: ",
4452            stringify!(Depth),
4453            "::",
4454            stringify!(depth)
4455        )
4456    );
4457    assert_eq!(
4458        unsafe { &(*(::std::ptr::null::<Depth>())).nvisuals as *const _ as usize },
4459        4usize,
4460        concat!(
4461            "Offset of field: ",
4462            stringify!(Depth),
4463            "::",
4464            stringify!(nvisuals)
4465        )
4466    );
4467    assert_eq!(
4468        unsafe { &(*(::std::ptr::null::<Depth>())).visuals as *const _ as usize },
4469        8usize,
4470        concat!(
4471            "Offset of field: ",
4472            stringify!(Depth),
4473            "::",
4474            stringify!(visuals)
4475        )
4476    );
4477}
4478#[repr(C)]
4479#[derive(Debug, Copy, Clone)]
4480pub struct _XDisplay {
4481    _unused: [u8; 0],
4482}
4483#[repr(C)]
4484#[derive(Debug, Copy, Clone)]
4485pub struct Screen {
4486    pub ext_data: *mut XExtData,
4487    pub display: *mut _XDisplay,
4488    pub root: Window,
4489    pub width: ::std::os::raw::c_int,
4490    pub height: ::std::os::raw::c_int,
4491    pub mwidth: ::std::os::raw::c_int,
4492    pub mheight: ::std::os::raw::c_int,
4493    pub ndepths: ::std::os::raw::c_int,
4494    pub depths: *mut Depth,
4495    pub root_depth: ::std::os::raw::c_int,
4496    pub root_visual: *mut Visual,
4497    pub default_gc: GC,
4498    pub cmap: Colormap,
4499    pub white_pixel: ::std::os::raw::c_ulong,
4500    pub black_pixel: ::std::os::raw::c_ulong,
4501    pub max_maps: ::std::os::raw::c_int,
4502    pub min_maps: ::std::os::raw::c_int,
4503    pub backing_store: ::std::os::raw::c_int,
4504    pub save_unders: ::std::os::raw::c_int,
4505    pub root_input_mask: ::std::os::raw::c_long,
4506}
4507#[test]
4508fn bindgen_test_layout_Screen() {
4509    assert_eq!(
4510        ::std::mem::size_of::<Screen>(),
4511        128usize,
4512        concat!("Size of: ", stringify!(Screen))
4513    );
4514    assert_eq!(
4515        ::std::mem::align_of::<Screen>(),
4516        8usize,
4517        concat!("Alignment of ", stringify!(Screen))
4518    );
4519    assert_eq!(
4520        unsafe { &(*(::std::ptr::null::<Screen>())).ext_data as *const _ as usize },
4521        0usize,
4522        concat!(
4523            "Offset of field: ",
4524            stringify!(Screen),
4525            "::",
4526            stringify!(ext_data)
4527        )
4528    );
4529    assert_eq!(
4530        unsafe { &(*(::std::ptr::null::<Screen>())).display as *const _ as usize },
4531        8usize,
4532        concat!(
4533            "Offset of field: ",
4534            stringify!(Screen),
4535            "::",
4536            stringify!(display)
4537        )
4538    );
4539    assert_eq!(
4540        unsafe { &(*(::std::ptr::null::<Screen>())).root as *const _ as usize },
4541        16usize,
4542        concat!(
4543            "Offset of field: ",
4544            stringify!(Screen),
4545            "::",
4546            stringify!(root)
4547        )
4548    );
4549    assert_eq!(
4550        unsafe { &(*(::std::ptr::null::<Screen>())).width as *const _ as usize },
4551        24usize,
4552        concat!(
4553            "Offset of field: ",
4554            stringify!(Screen),
4555            "::",
4556            stringify!(width)
4557        )
4558    );
4559    assert_eq!(
4560        unsafe { &(*(::std::ptr::null::<Screen>())).height as *const _ as usize },
4561        28usize,
4562        concat!(
4563            "Offset of field: ",
4564            stringify!(Screen),
4565            "::",
4566            stringify!(height)
4567        )
4568    );
4569    assert_eq!(
4570        unsafe { &(*(::std::ptr::null::<Screen>())).mwidth as *const _ as usize },
4571        32usize,
4572        concat!(
4573            "Offset of field: ",
4574            stringify!(Screen),
4575            "::",
4576            stringify!(mwidth)
4577        )
4578    );
4579    assert_eq!(
4580        unsafe { &(*(::std::ptr::null::<Screen>())).mheight as *const _ as usize },
4581        36usize,
4582        concat!(
4583            "Offset of field: ",
4584            stringify!(Screen),
4585            "::",
4586            stringify!(mheight)
4587        )
4588    );
4589    assert_eq!(
4590        unsafe { &(*(::std::ptr::null::<Screen>())).ndepths as *const _ as usize },
4591        40usize,
4592        concat!(
4593            "Offset of field: ",
4594            stringify!(Screen),
4595            "::",
4596            stringify!(ndepths)
4597        )
4598    );
4599    assert_eq!(
4600        unsafe { &(*(::std::ptr::null::<Screen>())).depths as *const _ as usize },
4601        48usize,
4602        concat!(
4603            "Offset of field: ",
4604            stringify!(Screen),
4605            "::",
4606            stringify!(depths)
4607        )
4608    );
4609    assert_eq!(
4610        unsafe { &(*(::std::ptr::null::<Screen>())).root_depth as *const _ as usize },
4611        56usize,
4612        concat!(
4613            "Offset of field: ",
4614            stringify!(Screen),
4615            "::",
4616            stringify!(root_depth)
4617        )
4618    );
4619    assert_eq!(
4620        unsafe { &(*(::std::ptr::null::<Screen>())).root_visual as *const _ as usize },
4621        64usize,
4622        concat!(
4623            "Offset of field: ",
4624            stringify!(Screen),
4625            "::",
4626            stringify!(root_visual)
4627        )
4628    );
4629    assert_eq!(
4630        unsafe { &(*(::std::ptr::null::<Screen>())).default_gc as *const _ as usize },
4631        72usize,
4632        concat!(
4633            "Offset of field: ",
4634            stringify!(Screen),
4635            "::",
4636            stringify!(default_gc)
4637        )
4638    );
4639    assert_eq!(
4640        unsafe { &(*(::std::ptr::null::<Screen>())).cmap as *const _ as usize },
4641        80usize,
4642        concat!(
4643            "Offset of field: ",
4644            stringify!(Screen),
4645            "::",
4646            stringify!(cmap)
4647        )
4648    );
4649    assert_eq!(
4650        unsafe { &(*(::std::ptr::null::<Screen>())).white_pixel as *const _ as usize },
4651        88usize,
4652        concat!(
4653            "Offset of field: ",
4654            stringify!(Screen),
4655            "::",
4656            stringify!(white_pixel)
4657        )
4658    );
4659    assert_eq!(
4660        unsafe { &(*(::std::ptr::null::<Screen>())).black_pixel as *const _ as usize },
4661        96usize,
4662        concat!(
4663            "Offset of field: ",
4664            stringify!(Screen),
4665            "::",
4666            stringify!(black_pixel)
4667        )
4668    );
4669    assert_eq!(
4670        unsafe { &(*(::std::ptr::null::<Screen>())).max_maps as *const _ as usize },
4671        104usize,
4672        concat!(
4673            "Offset of field: ",
4674            stringify!(Screen),
4675            "::",
4676            stringify!(max_maps)
4677        )
4678    );
4679    assert_eq!(
4680        unsafe { &(*(::std::ptr::null::<Screen>())).min_maps as *const _ as usize },
4681        108usize,
4682        concat!(
4683            "Offset of field: ",
4684            stringify!(Screen),
4685            "::",
4686            stringify!(min_maps)
4687        )
4688    );
4689    assert_eq!(
4690        unsafe { &(*(::std::ptr::null::<Screen>())).backing_store as *const _ as usize },
4691        112usize,
4692        concat!(
4693            "Offset of field: ",
4694            stringify!(Screen),
4695            "::",
4696            stringify!(backing_store)
4697        )
4698    );
4699    assert_eq!(
4700        unsafe { &(*(::std::ptr::null::<Screen>())).save_unders as *const _ as usize },
4701        116usize,
4702        concat!(
4703            "Offset of field: ",
4704            stringify!(Screen),
4705            "::",
4706            stringify!(save_unders)
4707        )
4708    );
4709    assert_eq!(
4710        unsafe { &(*(::std::ptr::null::<Screen>())).root_input_mask as *const _ as usize },
4711        120usize,
4712        concat!(
4713            "Offset of field: ",
4714            stringify!(Screen),
4715            "::",
4716            stringify!(root_input_mask)
4717        )
4718    );
4719}
4720#[repr(C)]
4721#[derive(Debug, Copy, Clone)]
4722pub struct ScreenFormat {
4723    pub ext_data: *mut XExtData,
4724    pub depth: ::std::os::raw::c_int,
4725    pub bits_per_pixel: ::std::os::raw::c_int,
4726    pub scanline_pad: ::std::os::raw::c_int,
4727}
4728#[test]
4729fn bindgen_test_layout_ScreenFormat() {
4730    assert_eq!(
4731        ::std::mem::size_of::<ScreenFormat>(),
4732        24usize,
4733        concat!("Size of: ", stringify!(ScreenFormat))
4734    );
4735    assert_eq!(
4736        ::std::mem::align_of::<ScreenFormat>(),
4737        8usize,
4738        concat!("Alignment of ", stringify!(ScreenFormat))
4739    );
4740    assert_eq!(
4741        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).ext_data as *const _ as usize },
4742        0usize,
4743        concat!(
4744            "Offset of field: ",
4745            stringify!(ScreenFormat),
4746            "::",
4747            stringify!(ext_data)
4748        )
4749    );
4750    assert_eq!(
4751        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).depth as *const _ as usize },
4752        8usize,
4753        concat!(
4754            "Offset of field: ",
4755            stringify!(ScreenFormat),
4756            "::",
4757            stringify!(depth)
4758        )
4759    );
4760    assert_eq!(
4761        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).bits_per_pixel as *const _ as usize },
4762        12usize,
4763        concat!(
4764            "Offset of field: ",
4765            stringify!(ScreenFormat),
4766            "::",
4767            stringify!(bits_per_pixel)
4768        )
4769    );
4770    assert_eq!(
4771        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).scanline_pad as *const _ as usize },
4772        16usize,
4773        concat!(
4774            "Offset of field: ",
4775            stringify!(ScreenFormat),
4776            "::",
4777            stringify!(scanline_pad)
4778        )
4779    );
4780}
4781#[repr(C)]
4782#[derive(Debug, Copy, Clone)]
4783pub struct XSetWindowAttributes {
4784    pub background_pixmap: Pixmap,
4785    pub background_pixel: ::std::os::raw::c_ulong,
4786    pub border_pixmap: Pixmap,
4787    pub border_pixel: ::std::os::raw::c_ulong,
4788    pub bit_gravity: ::std::os::raw::c_int,
4789    pub win_gravity: ::std::os::raw::c_int,
4790    pub backing_store: ::std::os::raw::c_int,
4791    pub backing_planes: ::std::os::raw::c_ulong,
4792    pub backing_pixel: ::std::os::raw::c_ulong,
4793    pub save_under: ::std::os::raw::c_int,
4794    pub event_mask: ::std::os::raw::c_long,
4795    pub do_not_propagate_mask: ::std::os::raw::c_long,
4796    pub override_redirect: ::std::os::raw::c_int,
4797    pub colormap: Colormap,
4798    pub cursor: Cursor,
4799}
4800#[test]
4801fn bindgen_test_layout_XSetWindowAttributes() {
4802    assert_eq!(
4803        ::std::mem::size_of::<XSetWindowAttributes>(),
4804        112usize,
4805        concat!("Size of: ", stringify!(XSetWindowAttributes))
4806    );
4807    assert_eq!(
4808        ::std::mem::align_of::<XSetWindowAttributes>(),
4809        8usize,
4810        concat!("Alignment of ", stringify!(XSetWindowAttributes))
4811    );
4812    assert_eq!(
4813        unsafe {
4814            &(*(::std::ptr::null::<XSetWindowAttributes>())).background_pixmap as *const _ as usize
4815        },
4816        0usize,
4817        concat!(
4818            "Offset of field: ",
4819            stringify!(XSetWindowAttributes),
4820            "::",
4821            stringify!(background_pixmap)
4822        )
4823    );
4824    assert_eq!(
4825        unsafe {
4826            &(*(::std::ptr::null::<XSetWindowAttributes>())).background_pixel as *const _ as usize
4827        },
4828        8usize,
4829        concat!(
4830            "Offset of field: ",
4831            stringify!(XSetWindowAttributes),
4832            "::",
4833            stringify!(background_pixel)
4834        )
4835    );
4836    assert_eq!(
4837        unsafe {
4838            &(*(::std::ptr::null::<XSetWindowAttributes>())).border_pixmap as *const _ as usize
4839        },
4840        16usize,
4841        concat!(
4842            "Offset of field: ",
4843            stringify!(XSetWindowAttributes),
4844            "::",
4845            stringify!(border_pixmap)
4846        )
4847    );
4848    assert_eq!(
4849        unsafe {
4850            &(*(::std::ptr::null::<XSetWindowAttributes>())).border_pixel as *const _ as usize
4851        },
4852        24usize,
4853        concat!(
4854            "Offset of field: ",
4855            stringify!(XSetWindowAttributes),
4856            "::",
4857            stringify!(border_pixel)
4858        )
4859    );
4860    assert_eq!(
4861        unsafe {
4862            &(*(::std::ptr::null::<XSetWindowAttributes>())).bit_gravity as *const _ as usize
4863        },
4864        32usize,
4865        concat!(
4866            "Offset of field: ",
4867            stringify!(XSetWindowAttributes),
4868            "::",
4869            stringify!(bit_gravity)
4870        )
4871    );
4872    assert_eq!(
4873        unsafe {
4874            &(*(::std::ptr::null::<XSetWindowAttributes>())).win_gravity as *const _ as usize
4875        },
4876        36usize,
4877        concat!(
4878            "Offset of field: ",
4879            stringify!(XSetWindowAttributes),
4880            "::",
4881            stringify!(win_gravity)
4882        )
4883    );
4884    assert_eq!(
4885        unsafe {
4886            &(*(::std::ptr::null::<XSetWindowAttributes>())).backing_store as *const _ as usize
4887        },
4888        40usize,
4889        concat!(
4890            "Offset of field: ",
4891            stringify!(XSetWindowAttributes),
4892            "::",
4893            stringify!(backing_store)
4894        )
4895    );
4896    assert_eq!(
4897        unsafe {
4898            &(*(::std::ptr::null::<XSetWindowAttributes>())).backing_planes as *const _ as usize
4899        },
4900        48usize,
4901        concat!(
4902            "Offset of field: ",
4903            stringify!(XSetWindowAttributes),
4904            "::",
4905            stringify!(backing_planes)
4906        )
4907    );
4908    assert_eq!(
4909        unsafe {
4910            &(*(::std::ptr::null::<XSetWindowAttributes>())).backing_pixel as *const _ as usize
4911        },
4912        56usize,
4913        concat!(
4914            "Offset of field: ",
4915            stringify!(XSetWindowAttributes),
4916            "::",
4917            stringify!(backing_pixel)
4918        )
4919    );
4920    assert_eq!(
4921        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).save_under as *const _ as usize },
4922        64usize,
4923        concat!(
4924            "Offset of field: ",
4925            stringify!(XSetWindowAttributes),
4926            "::",
4927            stringify!(save_under)
4928        )
4929    );
4930    assert_eq!(
4931        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).event_mask as *const _ as usize },
4932        72usize,
4933        concat!(
4934            "Offset of field: ",
4935            stringify!(XSetWindowAttributes),
4936            "::",
4937            stringify!(event_mask)
4938        )
4939    );
4940    assert_eq!(
4941        unsafe {
4942            &(*(::std::ptr::null::<XSetWindowAttributes>())).do_not_propagate_mask as *const _
4943                as usize
4944        },
4945        80usize,
4946        concat!(
4947            "Offset of field: ",
4948            stringify!(XSetWindowAttributes),
4949            "::",
4950            stringify!(do_not_propagate_mask)
4951        )
4952    );
4953    assert_eq!(
4954        unsafe {
4955            &(*(::std::ptr::null::<XSetWindowAttributes>())).override_redirect as *const _ as usize
4956        },
4957        88usize,
4958        concat!(
4959            "Offset of field: ",
4960            stringify!(XSetWindowAttributes),
4961            "::",
4962            stringify!(override_redirect)
4963        )
4964    );
4965    assert_eq!(
4966        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).colormap as *const _ as usize },
4967        96usize,
4968        concat!(
4969            "Offset of field: ",
4970            stringify!(XSetWindowAttributes),
4971            "::",
4972            stringify!(colormap)
4973        )
4974    );
4975    assert_eq!(
4976        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).cursor as *const _ as usize },
4977        104usize,
4978        concat!(
4979            "Offset of field: ",
4980            stringify!(XSetWindowAttributes),
4981            "::",
4982            stringify!(cursor)
4983        )
4984    );
4985}
4986#[repr(C)]
4987#[derive(Debug, Copy, Clone)]
4988pub struct XWindowAttributes {
4989    pub x: ::std::os::raw::c_int,
4990    pub y: ::std::os::raw::c_int,
4991    pub width: ::std::os::raw::c_int,
4992    pub height: ::std::os::raw::c_int,
4993    pub border_width: ::std::os::raw::c_int,
4994    pub depth: ::std::os::raw::c_int,
4995    pub visual: *mut Visual,
4996    pub root: Window,
4997    pub class: ::std::os::raw::c_int,
4998    pub bit_gravity: ::std::os::raw::c_int,
4999    pub win_gravity: ::std::os::raw::c_int,
5000    pub backing_store: ::std::os::raw::c_int,
5001    pub backing_planes: ::std::os::raw::c_ulong,
5002    pub backing_pixel: ::std::os::raw::c_ulong,
5003    pub save_under: ::std::os::raw::c_int,
5004    pub colormap: Colormap,
5005    pub map_installed: ::std::os::raw::c_int,
5006    pub map_state: ::std::os::raw::c_int,
5007    pub all_event_masks: ::std::os::raw::c_long,
5008    pub your_event_mask: ::std::os::raw::c_long,
5009    pub do_not_propagate_mask: ::std::os::raw::c_long,
5010    pub override_redirect: ::std::os::raw::c_int,
5011    pub screen: *mut Screen,
5012}
5013#[test]
5014fn bindgen_test_layout_XWindowAttributes() {
5015    assert_eq!(
5016        ::std::mem::size_of::<XWindowAttributes>(),
5017        136usize,
5018        concat!("Size of: ", stringify!(XWindowAttributes))
5019    );
5020    assert_eq!(
5021        ::std::mem::align_of::<XWindowAttributes>(),
5022        8usize,
5023        concat!("Alignment of ", stringify!(XWindowAttributes))
5024    );
5025    assert_eq!(
5026        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).x as *const _ as usize },
5027        0usize,
5028        concat!(
5029            "Offset of field: ",
5030            stringify!(XWindowAttributes),
5031            "::",
5032            stringify!(x)
5033        )
5034    );
5035    assert_eq!(
5036        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).y as *const _ as usize },
5037        4usize,
5038        concat!(
5039            "Offset of field: ",
5040            stringify!(XWindowAttributes),
5041            "::",
5042            stringify!(y)
5043        )
5044    );
5045    assert_eq!(
5046        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).width as *const _ as usize },
5047        8usize,
5048        concat!(
5049            "Offset of field: ",
5050            stringify!(XWindowAttributes),
5051            "::",
5052            stringify!(width)
5053        )
5054    );
5055    assert_eq!(
5056        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).height as *const _ as usize },
5057        12usize,
5058        concat!(
5059            "Offset of field: ",
5060            stringify!(XWindowAttributes),
5061            "::",
5062            stringify!(height)
5063        )
5064    );
5065    assert_eq!(
5066        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).border_width as *const _ as usize },
5067        16usize,
5068        concat!(
5069            "Offset of field: ",
5070            stringify!(XWindowAttributes),
5071            "::",
5072            stringify!(border_width)
5073        )
5074    );
5075    assert_eq!(
5076        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).depth as *const _ as usize },
5077        20usize,
5078        concat!(
5079            "Offset of field: ",
5080            stringify!(XWindowAttributes),
5081            "::",
5082            stringify!(depth)
5083        )
5084    );
5085    assert_eq!(
5086        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).visual as *const _ as usize },
5087        24usize,
5088        concat!(
5089            "Offset of field: ",
5090            stringify!(XWindowAttributes),
5091            "::",
5092            stringify!(visual)
5093        )
5094    );
5095    assert_eq!(
5096        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).root as *const _ as usize },
5097        32usize,
5098        concat!(
5099            "Offset of field: ",
5100            stringify!(XWindowAttributes),
5101            "::",
5102            stringify!(root)
5103        )
5104    );
5105    assert_eq!(
5106        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).class as *const _ as usize },
5107        40usize,
5108        concat!(
5109            "Offset of field: ",
5110            stringify!(XWindowAttributes),
5111            "::",
5112            stringify!(class)
5113        )
5114    );
5115    assert_eq!(
5116        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).bit_gravity as *const _ as usize },
5117        44usize,
5118        concat!(
5119            "Offset of field: ",
5120            stringify!(XWindowAttributes),
5121            "::",
5122            stringify!(bit_gravity)
5123        )
5124    );
5125    assert_eq!(
5126        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).win_gravity as *const _ as usize },
5127        48usize,
5128        concat!(
5129            "Offset of field: ",
5130            stringify!(XWindowAttributes),
5131            "::",
5132            stringify!(win_gravity)
5133        )
5134    );
5135    assert_eq!(
5136        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).backing_store as *const _ as usize },
5137        52usize,
5138        concat!(
5139            "Offset of field: ",
5140            stringify!(XWindowAttributes),
5141            "::",
5142            stringify!(backing_store)
5143        )
5144    );
5145    assert_eq!(
5146        unsafe {
5147            &(*(::std::ptr::null::<XWindowAttributes>())).backing_planes as *const _ as usize
5148        },
5149        56usize,
5150        concat!(
5151            "Offset of field: ",
5152            stringify!(XWindowAttributes),
5153            "::",
5154            stringify!(backing_planes)
5155        )
5156    );
5157    assert_eq!(
5158        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).backing_pixel as *const _ as usize },
5159        64usize,
5160        concat!(
5161            "Offset of field: ",
5162            stringify!(XWindowAttributes),
5163            "::",
5164            stringify!(backing_pixel)
5165        )
5166    );
5167    assert_eq!(
5168        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).save_under as *const _ as usize },
5169        72usize,
5170        concat!(
5171            "Offset of field: ",
5172            stringify!(XWindowAttributes),
5173            "::",
5174            stringify!(save_under)
5175        )
5176    );
5177    assert_eq!(
5178        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).colormap as *const _ as usize },
5179        80usize,
5180        concat!(
5181            "Offset of field: ",
5182            stringify!(XWindowAttributes),
5183            "::",
5184            stringify!(colormap)
5185        )
5186    );
5187    assert_eq!(
5188        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).map_installed as *const _ as usize },
5189        88usize,
5190        concat!(
5191            "Offset of field: ",
5192            stringify!(XWindowAttributes),
5193            "::",
5194            stringify!(map_installed)
5195        )
5196    );
5197    assert_eq!(
5198        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).map_state as *const _ as usize },
5199        92usize,
5200        concat!(
5201            "Offset of field: ",
5202            stringify!(XWindowAttributes),
5203            "::",
5204            stringify!(map_state)
5205        )
5206    );
5207    assert_eq!(
5208        unsafe {
5209            &(*(::std::ptr::null::<XWindowAttributes>())).all_event_masks as *const _ as usize
5210        },
5211        96usize,
5212        concat!(
5213            "Offset of field: ",
5214            stringify!(XWindowAttributes),
5215            "::",
5216            stringify!(all_event_masks)
5217        )
5218    );
5219    assert_eq!(
5220        unsafe {
5221            &(*(::std::ptr::null::<XWindowAttributes>())).your_event_mask as *const _ as usize
5222        },
5223        104usize,
5224        concat!(
5225            "Offset of field: ",
5226            stringify!(XWindowAttributes),
5227            "::",
5228            stringify!(your_event_mask)
5229        )
5230    );
5231    assert_eq!(
5232        unsafe {
5233            &(*(::std::ptr::null::<XWindowAttributes>())).do_not_propagate_mask as *const _ as usize
5234        },
5235        112usize,
5236        concat!(
5237            "Offset of field: ",
5238            stringify!(XWindowAttributes),
5239            "::",
5240            stringify!(do_not_propagate_mask)
5241        )
5242    );
5243    assert_eq!(
5244        unsafe {
5245            &(*(::std::ptr::null::<XWindowAttributes>())).override_redirect as *const _ as usize
5246        },
5247        120usize,
5248        concat!(
5249            "Offset of field: ",
5250            stringify!(XWindowAttributes),
5251            "::",
5252            stringify!(override_redirect)
5253        )
5254    );
5255    assert_eq!(
5256        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).screen as *const _ as usize },
5257        128usize,
5258        concat!(
5259            "Offset of field: ",
5260            stringify!(XWindowAttributes),
5261            "::",
5262            stringify!(screen)
5263        )
5264    );
5265}
5266#[repr(C)]
5267#[derive(Debug, Copy, Clone)]
5268pub struct XHostAddress {
5269    pub family: ::std::os::raw::c_int,
5270    pub length: ::std::os::raw::c_int,
5271    pub address: *mut ::std::os::raw::c_char,
5272}
5273#[test]
5274fn bindgen_test_layout_XHostAddress() {
5275    assert_eq!(
5276        ::std::mem::size_of::<XHostAddress>(),
5277        16usize,
5278        concat!("Size of: ", stringify!(XHostAddress))
5279    );
5280    assert_eq!(
5281        ::std::mem::align_of::<XHostAddress>(),
5282        8usize,
5283        concat!("Alignment of ", stringify!(XHostAddress))
5284    );
5285    assert_eq!(
5286        unsafe { &(*(::std::ptr::null::<XHostAddress>())).family as *const _ as usize },
5287        0usize,
5288        concat!(
5289            "Offset of field: ",
5290            stringify!(XHostAddress),
5291            "::",
5292            stringify!(family)
5293        )
5294    );
5295    assert_eq!(
5296        unsafe { &(*(::std::ptr::null::<XHostAddress>())).length as *const _ as usize },
5297        4usize,
5298        concat!(
5299            "Offset of field: ",
5300            stringify!(XHostAddress),
5301            "::",
5302            stringify!(length)
5303        )
5304    );
5305    assert_eq!(
5306        unsafe { &(*(::std::ptr::null::<XHostAddress>())).address as *const _ as usize },
5307        8usize,
5308        concat!(
5309            "Offset of field: ",
5310            stringify!(XHostAddress),
5311            "::",
5312            stringify!(address)
5313        )
5314    );
5315}
5316#[repr(C)]
5317#[derive(Debug, Copy, Clone)]
5318pub struct XServerInterpretedAddress {
5319    pub typelength: ::std::os::raw::c_int,
5320    pub valuelength: ::std::os::raw::c_int,
5321    pub type_: *mut ::std::os::raw::c_char,
5322    pub value: *mut ::std::os::raw::c_char,
5323}
5324#[test]
5325fn bindgen_test_layout_XServerInterpretedAddress() {
5326    assert_eq!(
5327        ::std::mem::size_of::<XServerInterpretedAddress>(),
5328        24usize,
5329        concat!("Size of: ", stringify!(XServerInterpretedAddress))
5330    );
5331    assert_eq!(
5332        ::std::mem::align_of::<XServerInterpretedAddress>(),
5333        8usize,
5334        concat!("Alignment of ", stringify!(XServerInterpretedAddress))
5335    );
5336    assert_eq!(
5337        unsafe {
5338            &(*(::std::ptr::null::<XServerInterpretedAddress>())).typelength as *const _ as usize
5339        },
5340        0usize,
5341        concat!(
5342            "Offset of field: ",
5343            stringify!(XServerInterpretedAddress),
5344            "::",
5345            stringify!(typelength)
5346        )
5347    );
5348    assert_eq!(
5349        unsafe {
5350            &(*(::std::ptr::null::<XServerInterpretedAddress>())).valuelength as *const _ as usize
5351        },
5352        4usize,
5353        concat!(
5354            "Offset of field: ",
5355            stringify!(XServerInterpretedAddress),
5356            "::",
5357            stringify!(valuelength)
5358        )
5359    );
5360    assert_eq!(
5361        unsafe { &(*(::std::ptr::null::<XServerInterpretedAddress>())).type_ as *const _ as usize },
5362        8usize,
5363        concat!(
5364            "Offset of field: ",
5365            stringify!(XServerInterpretedAddress),
5366            "::",
5367            stringify!(type_)
5368        )
5369    );
5370    assert_eq!(
5371        unsafe { &(*(::std::ptr::null::<XServerInterpretedAddress>())).value as *const _ as usize },
5372        16usize,
5373        concat!(
5374            "Offset of field: ",
5375            stringify!(XServerInterpretedAddress),
5376            "::",
5377            stringify!(value)
5378        )
5379    );
5380}
5381#[repr(C)]
5382#[derive(Debug, Copy, Clone)]
5383pub struct _XImage {
5384    pub width: ::std::os::raw::c_int,
5385    pub height: ::std::os::raw::c_int,
5386    pub xoffset: ::std::os::raw::c_int,
5387    pub format: ::std::os::raw::c_int,
5388    pub data: *mut ::std::os::raw::c_char,
5389    pub byte_order: ::std::os::raw::c_int,
5390    pub bitmap_unit: ::std::os::raw::c_int,
5391    pub bitmap_bit_order: ::std::os::raw::c_int,
5392    pub bitmap_pad: ::std::os::raw::c_int,
5393    pub depth: ::std::os::raw::c_int,
5394    pub bytes_per_line: ::std::os::raw::c_int,
5395    pub bits_per_pixel: ::std::os::raw::c_int,
5396    pub red_mask: ::std::os::raw::c_ulong,
5397    pub green_mask: ::std::os::raw::c_ulong,
5398    pub blue_mask: ::std::os::raw::c_ulong,
5399    pub obdata: XPointer,
5400    pub f: _XImage_funcs,
5401}
5402#[repr(C)]
5403#[derive(Debug, Copy, Clone)]
5404pub struct _XImage_funcs {
5405    pub create_image: ::std::option::Option<
5406        unsafe extern "C" fn(
5407            arg1: *mut _XDisplay,
5408            arg2: *mut Visual,
5409            arg3: ::std::os::raw::c_uint,
5410            arg4: ::std::os::raw::c_int,
5411            arg5: ::std::os::raw::c_int,
5412            arg6: *mut ::std::os::raw::c_char,
5413            arg7: ::std::os::raw::c_uint,
5414            arg8: ::std::os::raw::c_uint,
5415            arg9: ::std::os::raw::c_int,
5416            arg10: ::std::os::raw::c_int,
5417        ) -> *mut _XImage,
5418    >,
5419    pub destroy_image:
5420        ::std::option::Option<unsafe extern "C" fn(arg1: *mut _XImage) -> ::std::os::raw::c_int>,
5421    pub get_pixel: ::std::option::Option<
5422        unsafe extern "C" fn(
5423            arg1: *mut _XImage,
5424            arg2: ::std::os::raw::c_int,
5425            arg3: ::std::os::raw::c_int,
5426        ) -> ::std::os::raw::c_ulong,
5427    >,
5428    pub put_pixel: ::std::option::Option<
5429        unsafe extern "C" fn(
5430            arg1: *mut _XImage,
5431            arg2: ::std::os::raw::c_int,
5432            arg3: ::std::os::raw::c_int,
5433            arg4: ::std::os::raw::c_ulong,
5434        ) -> ::std::os::raw::c_int,
5435    >,
5436    pub sub_image: ::std::option::Option<
5437        unsafe extern "C" fn(
5438            arg1: *mut _XImage,
5439            arg2: ::std::os::raw::c_int,
5440            arg3: ::std::os::raw::c_int,
5441            arg4: ::std::os::raw::c_uint,
5442            arg5: ::std::os::raw::c_uint,
5443        ) -> *mut _XImage,
5444    >,
5445    pub add_pixel: ::std::option::Option<
5446        unsafe extern "C" fn(
5447            arg1: *mut _XImage,
5448            arg2: ::std::os::raw::c_long,
5449        ) -> ::std::os::raw::c_int,
5450    >,
5451}
5452#[test]
5453fn bindgen_test_layout__XImage_funcs() {
5454    assert_eq!(
5455        ::std::mem::size_of::<_XImage_funcs>(),
5456        48usize,
5457        concat!("Size of: ", stringify!(_XImage_funcs))
5458    );
5459    assert_eq!(
5460        ::std::mem::align_of::<_XImage_funcs>(),
5461        8usize,
5462        concat!("Alignment of ", stringify!(_XImage_funcs))
5463    );
5464    assert_eq!(
5465        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).create_image as *const _ as usize },
5466        0usize,
5467        concat!(
5468            "Offset of field: ",
5469            stringify!(_XImage_funcs),
5470            "::",
5471            stringify!(create_image)
5472        )
5473    );
5474    assert_eq!(
5475        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).destroy_image as *const _ as usize },
5476        8usize,
5477        concat!(
5478            "Offset of field: ",
5479            stringify!(_XImage_funcs),
5480            "::",
5481            stringify!(destroy_image)
5482        )
5483    );
5484    assert_eq!(
5485        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).get_pixel as *const _ as usize },
5486        16usize,
5487        concat!(
5488            "Offset of field: ",
5489            stringify!(_XImage_funcs),
5490            "::",
5491            stringify!(get_pixel)
5492        )
5493    );
5494    assert_eq!(
5495        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).put_pixel as *const _ as usize },
5496        24usize,
5497        concat!(
5498            "Offset of field: ",
5499            stringify!(_XImage_funcs),
5500            "::",
5501            stringify!(put_pixel)
5502        )
5503    );
5504    assert_eq!(
5505        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).sub_image as *const _ as usize },
5506        32usize,
5507        concat!(
5508            "Offset of field: ",
5509            stringify!(_XImage_funcs),
5510            "::",
5511            stringify!(sub_image)
5512        )
5513    );
5514    assert_eq!(
5515        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).add_pixel as *const _ as usize },
5516        40usize,
5517        concat!(
5518            "Offset of field: ",
5519            stringify!(_XImage_funcs),
5520            "::",
5521            stringify!(add_pixel)
5522        )
5523    );
5524}
5525#[test]
5526fn bindgen_test_layout__XImage() {
5527    assert_eq!(
5528        ::std::mem::size_of::<_XImage>(),
5529        136usize,
5530        concat!("Size of: ", stringify!(_XImage))
5531    );
5532    assert_eq!(
5533        ::std::mem::align_of::<_XImage>(),
5534        8usize,
5535        concat!("Alignment of ", stringify!(_XImage))
5536    );
5537    assert_eq!(
5538        unsafe { &(*(::std::ptr::null::<_XImage>())).width as *const _ as usize },
5539        0usize,
5540        concat!(
5541            "Offset of field: ",
5542            stringify!(_XImage),
5543            "::",
5544            stringify!(width)
5545        )
5546    );
5547    assert_eq!(
5548        unsafe { &(*(::std::ptr::null::<_XImage>())).height as *const _ as usize },
5549        4usize,
5550        concat!(
5551            "Offset of field: ",
5552            stringify!(_XImage),
5553            "::",
5554            stringify!(height)
5555        )
5556    );
5557    assert_eq!(
5558        unsafe { &(*(::std::ptr::null::<_XImage>())).xoffset as *const _ as usize },
5559        8usize,
5560        concat!(
5561            "Offset of field: ",
5562            stringify!(_XImage),
5563            "::",
5564            stringify!(xoffset)
5565        )
5566    );
5567    assert_eq!(
5568        unsafe { &(*(::std::ptr::null::<_XImage>())).format as *const _ as usize },
5569        12usize,
5570        concat!(
5571            "Offset of field: ",
5572            stringify!(_XImage),
5573            "::",
5574            stringify!(format)
5575        )
5576    );
5577    assert_eq!(
5578        unsafe { &(*(::std::ptr::null::<_XImage>())).data as *const _ as usize },
5579        16usize,
5580        concat!(
5581            "Offset of field: ",
5582            stringify!(_XImage),
5583            "::",
5584            stringify!(data)
5585        )
5586    );
5587    assert_eq!(
5588        unsafe { &(*(::std::ptr::null::<_XImage>())).byte_order as *const _ as usize },
5589        24usize,
5590        concat!(
5591            "Offset of field: ",
5592            stringify!(_XImage),
5593            "::",
5594            stringify!(byte_order)
5595        )
5596    );
5597    assert_eq!(
5598        unsafe { &(*(::std::ptr::null::<_XImage>())).bitmap_unit as *const _ as usize },
5599        28usize,
5600        concat!(
5601            "Offset of field: ",
5602            stringify!(_XImage),
5603            "::",
5604            stringify!(bitmap_unit)
5605        )
5606    );
5607    assert_eq!(
5608        unsafe { &(*(::std::ptr::null::<_XImage>())).bitmap_bit_order as *const _ as usize },
5609        32usize,
5610        concat!(
5611            "Offset of field: ",
5612            stringify!(_XImage),
5613            "::",
5614            stringify!(bitmap_bit_order)
5615        )
5616    );
5617    assert_eq!(
5618        unsafe { &(*(::std::ptr::null::<_XImage>())).bitmap_pad as *const _ as usize },
5619        36usize,
5620        concat!(
5621            "Offset of field: ",
5622            stringify!(_XImage),
5623            "::",
5624            stringify!(bitmap_pad)
5625        )
5626    );
5627    assert_eq!(
5628        unsafe { &(*(::std::ptr::null::<_XImage>())).depth as *const _ as usize },
5629        40usize,
5630        concat!(
5631            "Offset of field: ",
5632            stringify!(_XImage),
5633            "::",
5634            stringify!(depth)
5635        )
5636    );
5637    assert_eq!(
5638        unsafe { &(*(::std::ptr::null::<_XImage>())).bytes_per_line as *const _ as usize },
5639        44usize,
5640        concat!(
5641            "Offset of field: ",
5642            stringify!(_XImage),
5643            "::",
5644            stringify!(bytes_per_line)
5645        )
5646    );
5647    assert_eq!(
5648        unsafe { &(*(::std::ptr::null::<_XImage>())).bits_per_pixel as *const _ as usize },
5649        48usize,
5650        concat!(
5651            "Offset of field: ",
5652            stringify!(_XImage),
5653            "::",
5654            stringify!(bits_per_pixel)
5655        )
5656    );
5657    assert_eq!(
5658        unsafe { &(*(::std::ptr::null::<_XImage>())).red_mask as *const _ as usize },
5659        56usize,
5660        concat!(
5661            "Offset of field: ",
5662            stringify!(_XImage),
5663            "::",
5664            stringify!(red_mask)
5665        )
5666    );
5667    assert_eq!(
5668        unsafe { &(*(::std::ptr::null::<_XImage>())).green_mask as *const _ as usize },
5669        64usize,
5670        concat!(
5671            "Offset of field: ",
5672            stringify!(_XImage),
5673            "::",
5674            stringify!(green_mask)
5675        )
5676    );
5677    assert_eq!(
5678        unsafe { &(*(::std::ptr::null::<_XImage>())).blue_mask as *const _ as usize },
5679        72usize,
5680        concat!(
5681            "Offset of field: ",
5682            stringify!(_XImage),
5683            "::",
5684            stringify!(blue_mask)
5685        )
5686    );
5687    assert_eq!(
5688        unsafe { &(*(::std::ptr::null::<_XImage>())).obdata as *const _ as usize },
5689        80usize,
5690        concat!(
5691            "Offset of field: ",
5692            stringify!(_XImage),
5693            "::",
5694            stringify!(obdata)
5695        )
5696    );
5697    assert_eq!(
5698        unsafe { &(*(::std::ptr::null::<_XImage>())).f as *const _ as usize },
5699        88usize,
5700        concat!(
5701            "Offset of field: ",
5702            stringify!(_XImage),
5703            "::",
5704            stringify!(f)
5705        )
5706    );
5707}
5708pub type XImage = _XImage;
5709#[repr(C)]
5710#[derive(Debug, Copy, Clone)]
5711pub struct XWindowChanges {
5712    pub x: ::std::os::raw::c_int,
5713    pub y: ::std::os::raw::c_int,
5714    pub width: ::std::os::raw::c_int,
5715    pub height: ::std::os::raw::c_int,
5716    pub border_width: ::std::os::raw::c_int,
5717    pub sibling: Window,
5718    pub stack_mode: ::std::os::raw::c_int,
5719}
5720#[test]
5721fn bindgen_test_layout_XWindowChanges() {
5722    assert_eq!(
5723        ::std::mem::size_of::<XWindowChanges>(),
5724        40usize,
5725        concat!("Size of: ", stringify!(XWindowChanges))
5726    );
5727    assert_eq!(
5728        ::std::mem::align_of::<XWindowChanges>(),
5729        8usize,
5730        concat!("Alignment of ", stringify!(XWindowChanges))
5731    );
5732    assert_eq!(
5733        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).x as *const _ as usize },
5734        0usize,
5735        concat!(
5736            "Offset of field: ",
5737            stringify!(XWindowChanges),
5738            "::",
5739            stringify!(x)
5740        )
5741    );
5742    assert_eq!(
5743        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).y as *const _ as usize },
5744        4usize,
5745        concat!(
5746            "Offset of field: ",
5747            stringify!(XWindowChanges),
5748            "::",
5749            stringify!(y)
5750        )
5751    );
5752    assert_eq!(
5753        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).width as *const _ as usize },
5754        8usize,
5755        concat!(
5756            "Offset of field: ",
5757            stringify!(XWindowChanges),
5758            "::",
5759            stringify!(width)
5760        )
5761    );
5762    assert_eq!(
5763        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).height as *const _ as usize },
5764        12usize,
5765        concat!(
5766            "Offset of field: ",
5767            stringify!(XWindowChanges),
5768            "::",
5769            stringify!(height)
5770        )
5771    );
5772    assert_eq!(
5773        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).border_width as *const _ as usize },
5774        16usize,
5775        concat!(
5776            "Offset of field: ",
5777            stringify!(XWindowChanges),
5778            "::",
5779            stringify!(border_width)
5780        )
5781    );
5782    assert_eq!(
5783        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).sibling as *const _ as usize },
5784        24usize,
5785        concat!(
5786            "Offset of field: ",
5787            stringify!(XWindowChanges),
5788            "::",
5789            stringify!(sibling)
5790        )
5791    );
5792    assert_eq!(
5793        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).stack_mode as *const _ as usize },
5794        32usize,
5795        concat!(
5796            "Offset of field: ",
5797            stringify!(XWindowChanges),
5798            "::",
5799            stringify!(stack_mode)
5800        )
5801    );
5802}
5803#[repr(C)]
5804#[derive(Debug, Copy, Clone)]
5805pub struct XColor {
5806    pub pixel: ::std::os::raw::c_ulong,
5807    pub red: ::std::os::raw::c_ushort,
5808    pub green: ::std::os::raw::c_ushort,
5809    pub blue: ::std::os::raw::c_ushort,
5810    pub flags: ::std::os::raw::c_char,
5811    pub pad: ::std::os::raw::c_char,
5812}
5813#[test]
5814fn bindgen_test_layout_XColor() {
5815    assert_eq!(
5816        ::std::mem::size_of::<XColor>(),
5817        16usize,
5818        concat!("Size of: ", stringify!(XColor))
5819    );
5820    assert_eq!(
5821        ::std::mem::align_of::<XColor>(),
5822        8usize,
5823        concat!("Alignment of ", stringify!(XColor))
5824    );
5825    assert_eq!(
5826        unsafe { &(*(::std::ptr::null::<XColor>())).pixel as *const _ as usize },
5827        0usize,
5828        concat!(
5829            "Offset of field: ",
5830            stringify!(XColor),
5831            "::",
5832            stringify!(pixel)
5833        )
5834    );
5835    assert_eq!(
5836        unsafe { &(*(::std::ptr::null::<XColor>())).red as *const _ as usize },
5837        8usize,
5838        concat!(
5839            "Offset of field: ",
5840            stringify!(XColor),
5841            "::",
5842            stringify!(red)
5843        )
5844    );
5845    assert_eq!(
5846        unsafe { &(*(::std::ptr::null::<XColor>())).green as *const _ as usize },
5847        10usize,
5848        concat!(
5849            "Offset of field: ",
5850            stringify!(XColor),
5851            "::",
5852            stringify!(green)
5853        )
5854    );
5855    assert_eq!(
5856        unsafe { &(*(::std::ptr::null::<XColor>())).blue as *const _ as usize },
5857        12usize,
5858        concat!(
5859            "Offset of field: ",
5860            stringify!(XColor),
5861            "::",
5862            stringify!(blue)
5863        )
5864    );
5865    assert_eq!(
5866        unsafe { &(*(::std::ptr::null::<XColor>())).flags as *const _ as usize },
5867        14usize,
5868        concat!(
5869            "Offset of field: ",
5870            stringify!(XColor),
5871            "::",
5872            stringify!(flags)
5873        )
5874    );
5875    assert_eq!(
5876        unsafe { &(*(::std::ptr::null::<XColor>())).pad as *const _ as usize },
5877        15usize,
5878        concat!(
5879            "Offset of field: ",
5880            stringify!(XColor),
5881            "::",
5882            stringify!(pad)
5883        )
5884    );
5885}
5886#[repr(C)]
5887#[derive(Debug, Copy, Clone)]
5888pub struct XSegment {
5889    pub x1: ::std::os::raw::c_short,
5890    pub y1: ::std::os::raw::c_short,
5891    pub x2: ::std::os::raw::c_short,
5892    pub y2: ::std::os::raw::c_short,
5893}
5894#[test]
5895fn bindgen_test_layout_XSegment() {
5896    assert_eq!(
5897        ::std::mem::size_of::<XSegment>(),
5898        8usize,
5899        concat!("Size of: ", stringify!(XSegment))
5900    );
5901    assert_eq!(
5902        ::std::mem::align_of::<XSegment>(),
5903        2usize,
5904        concat!("Alignment of ", stringify!(XSegment))
5905    );
5906    assert_eq!(
5907        unsafe { &(*(::std::ptr::null::<XSegment>())).x1 as *const _ as usize },
5908        0usize,
5909        concat!(
5910            "Offset of field: ",
5911            stringify!(XSegment),
5912            "::",
5913            stringify!(x1)
5914        )
5915    );
5916    assert_eq!(
5917        unsafe { &(*(::std::ptr::null::<XSegment>())).y1 as *const _ as usize },
5918        2usize,
5919        concat!(
5920            "Offset of field: ",
5921            stringify!(XSegment),
5922            "::",
5923            stringify!(y1)
5924        )
5925    );
5926    assert_eq!(
5927        unsafe { &(*(::std::ptr::null::<XSegment>())).x2 as *const _ as usize },
5928        4usize,
5929        concat!(
5930            "Offset of field: ",
5931            stringify!(XSegment),
5932            "::",
5933            stringify!(x2)
5934        )
5935    );
5936    assert_eq!(
5937        unsafe { &(*(::std::ptr::null::<XSegment>())).y2 as *const _ as usize },
5938        6usize,
5939        concat!(
5940            "Offset of field: ",
5941            stringify!(XSegment),
5942            "::",
5943            stringify!(y2)
5944        )
5945    );
5946}
5947#[repr(C)]
5948#[derive(Debug, Copy, Clone)]
5949pub struct XPoint {
5950    pub x: ::std::os::raw::c_short,
5951    pub y: ::std::os::raw::c_short,
5952}
5953#[test]
5954fn bindgen_test_layout_XPoint() {
5955    assert_eq!(
5956        ::std::mem::size_of::<XPoint>(),
5957        4usize,
5958        concat!("Size of: ", stringify!(XPoint))
5959    );
5960    assert_eq!(
5961        ::std::mem::align_of::<XPoint>(),
5962        2usize,
5963        concat!("Alignment of ", stringify!(XPoint))
5964    );
5965    assert_eq!(
5966        unsafe { &(*(::std::ptr::null::<XPoint>())).x as *const _ as usize },
5967        0usize,
5968        concat!("Offset of field: ", stringify!(XPoint), "::", stringify!(x))
5969    );
5970    assert_eq!(
5971        unsafe { &(*(::std::ptr::null::<XPoint>())).y as *const _ as usize },
5972        2usize,
5973        concat!("Offset of field: ", stringify!(XPoint), "::", stringify!(y))
5974    );
5975}
5976#[repr(C)]
5977#[derive(Debug, Copy, Clone)]
5978pub struct XRectangle {
5979    pub x: ::std::os::raw::c_short,
5980    pub y: ::std::os::raw::c_short,
5981    pub width: ::std::os::raw::c_ushort,
5982    pub height: ::std::os::raw::c_ushort,
5983}
5984#[test]
5985fn bindgen_test_layout_XRectangle() {
5986    assert_eq!(
5987        ::std::mem::size_of::<XRectangle>(),
5988        8usize,
5989        concat!("Size of: ", stringify!(XRectangle))
5990    );
5991    assert_eq!(
5992        ::std::mem::align_of::<XRectangle>(),
5993        2usize,
5994        concat!("Alignment of ", stringify!(XRectangle))
5995    );
5996    assert_eq!(
5997        unsafe { &(*(::std::ptr::null::<XRectangle>())).x as *const _ as usize },
5998        0usize,
5999        concat!(
6000            "Offset of field: ",
6001            stringify!(XRectangle),
6002            "::",
6003            stringify!(x)
6004        )
6005    );
6006    assert_eq!(
6007        unsafe { &(*(::std::ptr::null::<XRectangle>())).y as *const _ as usize },
6008        2usize,
6009        concat!(
6010            "Offset of field: ",
6011            stringify!(XRectangle),
6012            "::",
6013            stringify!(y)
6014        )
6015    );
6016    assert_eq!(
6017        unsafe { &(*(::std::ptr::null::<XRectangle>())).width as *const _ as usize },
6018        4usize,
6019        concat!(
6020            "Offset of field: ",
6021            stringify!(XRectangle),
6022            "::",
6023            stringify!(width)
6024        )
6025    );
6026    assert_eq!(
6027        unsafe { &(*(::std::ptr::null::<XRectangle>())).height as *const _ as usize },
6028        6usize,
6029        concat!(
6030            "Offset of field: ",
6031            stringify!(XRectangle),
6032            "::",
6033            stringify!(height)
6034        )
6035    );
6036}
6037#[repr(C)]
6038#[derive(Debug, Copy, Clone)]
6039pub struct XArc {
6040    pub x: ::std::os::raw::c_short,
6041    pub y: ::std::os::raw::c_short,
6042    pub width: ::std::os::raw::c_ushort,
6043    pub height: ::std::os::raw::c_ushort,
6044    pub angle1: ::std::os::raw::c_short,
6045    pub angle2: ::std::os::raw::c_short,
6046}
6047#[test]
6048fn bindgen_test_layout_XArc() {
6049    assert_eq!(
6050        ::std::mem::size_of::<XArc>(),
6051        12usize,
6052        concat!("Size of: ", stringify!(XArc))
6053    );
6054    assert_eq!(
6055        ::std::mem::align_of::<XArc>(),
6056        2usize,
6057        concat!("Alignment of ", stringify!(XArc))
6058    );
6059    assert_eq!(
6060        unsafe { &(*(::std::ptr::null::<XArc>())).x as *const _ as usize },
6061        0usize,
6062        concat!("Offset of field: ", stringify!(XArc), "::", stringify!(x))
6063    );
6064    assert_eq!(
6065        unsafe { &(*(::std::ptr::null::<XArc>())).y as *const _ as usize },
6066        2usize,
6067        concat!("Offset of field: ", stringify!(XArc), "::", stringify!(y))
6068    );
6069    assert_eq!(
6070        unsafe { &(*(::std::ptr::null::<XArc>())).width as *const _ as usize },
6071        4usize,
6072        concat!(
6073            "Offset of field: ",
6074            stringify!(XArc),
6075            "::",
6076            stringify!(width)
6077        )
6078    );
6079    assert_eq!(
6080        unsafe { &(*(::std::ptr::null::<XArc>())).height as *const _ as usize },
6081        6usize,
6082        concat!(
6083            "Offset of field: ",
6084            stringify!(XArc),
6085            "::",
6086            stringify!(height)
6087        )
6088    );
6089    assert_eq!(
6090        unsafe { &(*(::std::ptr::null::<XArc>())).angle1 as *const _ as usize },
6091        8usize,
6092        concat!(
6093            "Offset of field: ",
6094            stringify!(XArc),
6095            "::",
6096            stringify!(angle1)
6097        )
6098    );
6099    assert_eq!(
6100        unsafe { &(*(::std::ptr::null::<XArc>())).angle2 as *const _ as usize },
6101        10usize,
6102        concat!(
6103            "Offset of field: ",
6104            stringify!(XArc),
6105            "::",
6106            stringify!(angle2)
6107        )
6108    );
6109}
6110#[repr(C)]
6111#[derive(Debug, Copy, Clone)]
6112pub struct XKeyboardControl {
6113    pub key_click_percent: ::std::os::raw::c_int,
6114    pub bell_percent: ::std::os::raw::c_int,
6115    pub bell_pitch: ::std::os::raw::c_int,
6116    pub bell_duration: ::std::os::raw::c_int,
6117    pub led: ::std::os::raw::c_int,
6118    pub led_mode: ::std::os::raw::c_int,
6119    pub key: ::std::os::raw::c_int,
6120    pub auto_repeat_mode: ::std::os::raw::c_int,
6121}
6122#[test]
6123fn bindgen_test_layout_XKeyboardControl() {
6124    assert_eq!(
6125        ::std::mem::size_of::<XKeyboardControl>(),
6126        32usize,
6127        concat!("Size of: ", stringify!(XKeyboardControl))
6128    );
6129    assert_eq!(
6130        ::std::mem::align_of::<XKeyboardControl>(),
6131        4usize,
6132        concat!("Alignment of ", stringify!(XKeyboardControl))
6133    );
6134    assert_eq!(
6135        unsafe {
6136            &(*(::std::ptr::null::<XKeyboardControl>())).key_click_percent as *const _ as usize
6137        },
6138        0usize,
6139        concat!(
6140            "Offset of field: ",
6141            stringify!(XKeyboardControl),
6142            "::",
6143            stringify!(key_click_percent)
6144        )
6145    );
6146    assert_eq!(
6147        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).bell_percent as *const _ as usize },
6148        4usize,
6149        concat!(
6150            "Offset of field: ",
6151            stringify!(XKeyboardControl),
6152            "::",
6153            stringify!(bell_percent)
6154        )
6155    );
6156    assert_eq!(
6157        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).bell_pitch as *const _ as usize },
6158        8usize,
6159        concat!(
6160            "Offset of field: ",
6161            stringify!(XKeyboardControl),
6162            "::",
6163            stringify!(bell_pitch)
6164        )
6165    );
6166    assert_eq!(
6167        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).bell_duration as *const _ as usize },
6168        12usize,
6169        concat!(
6170            "Offset of field: ",
6171            stringify!(XKeyboardControl),
6172            "::",
6173            stringify!(bell_duration)
6174        )
6175    );
6176    assert_eq!(
6177        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).led as *const _ as usize },
6178        16usize,
6179        concat!(
6180            "Offset of field: ",
6181            stringify!(XKeyboardControl),
6182            "::",
6183            stringify!(led)
6184        )
6185    );
6186    assert_eq!(
6187        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).led_mode as *const _ as usize },
6188        20usize,
6189        concat!(
6190            "Offset of field: ",
6191            stringify!(XKeyboardControl),
6192            "::",
6193            stringify!(led_mode)
6194        )
6195    );
6196    assert_eq!(
6197        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).key as *const _ as usize },
6198        24usize,
6199        concat!(
6200            "Offset of field: ",
6201            stringify!(XKeyboardControl),
6202            "::",
6203            stringify!(key)
6204        )
6205    );
6206    assert_eq!(
6207        unsafe {
6208            &(*(::std::ptr::null::<XKeyboardControl>())).auto_repeat_mode as *const _ as usize
6209        },
6210        28usize,
6211        concat!(
6212            "Offset of field: ",
6213            stringify!(XKeyboardControl),
6214            "::",
6215            stringify!(auto_repeat_mode)
6216        )
6217    );
6218}
6219#[repr(C)]
6220#[derive(Debug, Copy, Clone)]
6221pub struct XKeyboardState {
6222    pub key_click_percent: ::std::os::raw::c_int,
6223    pub bell_percent: ::std::os::raw::c_int,
6224    pub bell_pitch: ::std::os::raw::c_uint,
6225    pub bell_duration: ::std::os::raw::c_uint,
6226    pub led_mask: ::std::os::raw::c_ulong,
6227    pub global_auto_repeat: ::std::os::raw::c_int,
6228    pub auto_repeats: [::std::os::raw::c_char; 32usize],
6229}
6230#[test]
6231fn bindgen_test_layout_XKeyboardState() {
6232    assert_eq!(
6233        ::std::mem::size_of::<XKeyboardState>(),
6234        64usize,
6235        concat!("Size of: ", stringify!(XKeyboardState))
6236    );
6237    assert_eq!(
6238        ::std::mem::align_of::<XKeyboardState>(),
6239        8usize,
6240        concat!("Alignment of ", stringify!(XKeyboardState))
6241    );
6242    assert_eq!(
6243        unsafe {
6244            &(*(::std::ptr::null::<XKeyboardState>())).key_click_percent as *const _ as usize
6245        },
6246        0usize,
6247        concat!(
6248            "Offset of field: ",
6249            stringify!(XKeyboardState),
6250            "::",
6251            stringify!(key_click_percent)
6252        )
6253    );
6254    assert_eq!(
6255        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).bell_percent as *const _ as usize },
6256        4usize,
6257        concat!(
6258            "Offset of field: ",
6259            stringify!(XKeyboardState),
6260            "::",
6261            stringify!(bell_percent)
6262        )
6263    );
6264    assert_eq!(
6265        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).bell_pitch as *const _ as usize },
6266        8usize,
6267        concat!(
6268            "Offset of field: ",
6269            stringify!(XKeyboardState),
6270            "::",
6271            stringify!(bell_pitch)
6272        )
6273    );
6274    assert_eq!(
6275        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).bell_duration as *const _ as usize },
6276        12usize,
6277        concat!(
6278            "Offset of field: ",
6279            stringify!(XKeyboardState),
6280            "::",
6281            stringify!(bell_duration)
6282        )
6283    );
6284    assert_eq!(
6285        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).led_mask as *const _ as usize },
6286        16usize,
6287        concat!(
6288            "Offset of field: ",
6289            stringify!(XKeyboardState),
6290            "::",
6291            stringify!(led_mask)
6292        )
6293    );
6294    assert_eq!(
6295        unsafe {
6296            &(*(::std::ptr::null::<XKeyboardState>())).global_auto_repeat as *const _ as usize
6297        },
6298        24usize,
6299        concat!(
6300            "Offset of field: ",
6301            stringify!(XKeyboardState),
6302            "::",
6303            stringify!(global_auto_repeat)
6304        )
6305    );
6306    assert_eq!(
6307        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).auto_repeats as *const _ as usize },
6308        28usize,
6309        concat!(
6310            "Offset of field: ",
6311            stringify!(XKeyboardState),
6312            "::",
6313            stringify!(auto_repeats)
6314        )
6315    );
6316}
6317#[repr(C)]
6318#[derive(Debug, Copy, Clone)]
6319pub struct XTimeCoord {
6320    pub time: Time,
6321    pub x: ::std::os::raw::c_short,
6322    pub y: ::std::os::raw::c_short,
6323}
6324#[test]
6325fn bindgen_test_layout_XTimeCoord() {
6326    assert_eq!(
6327        ::std::mem::size_of::<XTimeCoord>(),
6328        16usize,
6329        concat!("Size of: ", stringify!(XTimeCoord))
6330    );
6331    assert_eq!(
6332        ::std::mem::align_of::<XTimeCoord>(),
6333        8usize,
6334        concat!("Alignment of ", stringify!(XTimeCoord))
6335    );
6336    assert_eq!(
6337        unsafe { &(*(::std::ptr::null::<XTimeCoord>())).time as *const _ as usize },
6338        0usize,
6339        concat!(
6340            "Offset of field: ",
6341            stringify!(XTimeCoord),
6342            "::",
6343            stringify!(time)
6344        )
6345    );
6346    assert_eq!(
6347        unsafe { &(*(::std::ptr::null::<XTimeCoord>())).x as *const _ as usize },
6348        8usize,
6349        concat!(
6350            "Offset of field: ",
6351            stringify!(XTimeCoord),
6352            "::",
6353            stringify!(x)
6354        )
6355    );
6356    assert_eq!(
6357        unsafe { &(*(::std::ptr::null::<XTimeCoord>())).y as *const _ as usize },
6358        10usize,
6359        concat!(
6360            "Offset of field: ",
6361            stringify!(XTimeCoord),
6362            "::",
6363            stringify!(y)
6364        )
6365    );
6366}
6367#[repr(C)]
6368#[derive(Debug, Copy, Clone)]
6369pub struct XModifierKeymap {
6370    pub max_keypermod: ::std::os::raw::c_int,
6371    pub modifiermap: *mut KeyCode,
6372}
6373#[test]
6374fn bindgen_test_layout_XModifierKeymap() {
6375    assert_eq!(
6376        ::std::mem::size_of::<XModifierKeymap>(),
6377        16usize,
6378        concat!("Size of: ", stringify!(XModifierKeymap))
6379    );
6380    assert_eq!(
6381        ::std::mem::align_of::<XModifierKeymap>(),
6382        8usize,
6383        concat!("Alignment of ", stringify!(XModifierKeymap))
6384    );
6385    assert_eq!(
6386        unsafe { &(*(::std::ptr::null::<XModifierKeymap>())).max_keypermod as *const _ as usize },
6387        0usize,
6388        concat!(
6389            "Offset of field: ",
6390            stringify!(XModifierKeymap),
6391            "::",
6392            stringify!(max_keypermod)
6393        )
6394    );
6395    assert_eq!(
6396        unsafe { &(*(::std::ptr::null::<XModifierKeymap>())).modifiermap as *const _ as usize },
6397        8usize,
6398        concat!(
6399            "Offset of field: ",
6400            stringify!(XModifierKeymap),
6401            "::",
6402            stringify!(modifiermap)
6403        )
6404    );
6405}
6406pub type Display = _XDisplay;
6407#[repr(C)]
6408#[derive(Debug, Copy, Clone)]
6409pub struct _XPrivate {
6410    _unused: [u8; 0],
6411}
6412#[repr(C)]
6413#[derive(Debug, Copy, Clone)]
6414pub struct _XrmHashBucketRec {
6415    _unused: [u8; 0],
6416}
6417#[repr(C)]
6418#[derive(Debug, Copy, Clone)]
6419pub struct _bindgen_ty_1 {
6420    pub ext_data: *mut XExtData,
6421    pub private1: *mut _XPrivate,
6422    pub fd: ::std::os::raw::c_int,
6423    pub private2: ::std::os::raw::c_int,
6424    pub proto_major_version: ::std::os::raw::c_int,
6425    pub proto_minor_version: ::std::os::raw::c_int,
6426    pub vendor: *mut ::std::os::raw::c_char,
6427    pub private3: XID,
6428    pub private4: XID,
6429    pub private5: XID,
6430    pub private6: ::std::os::raw::c_int,
6431    pub resource_alloc: ::std::option::Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> XID>,
6432    pub byte_order: ::std::os::raw::c_int,
6433    pub bitmap_unit: ::std::os::raw::c_int,
6434    pub bitmap_pad: ::std::os::raw::c_int,
6435    pub bitmap_bit_order: ::std::os::raw::c_int,
6436    pub nformats: ::std::os::raw::c_int,
6437    pub pixmap_format: *mut ScreenFormat,
6438    pub private8: ::std::os::raw::c_int,
6439    pub release: ::std::os::raw::c_int,
6440    pub private9: *mut _XPrivate,
6441    pub private10: *mut _XPrivate,
6442    pub qlen: ::std::os::raw::c_int,
6443    pub last_request_read: ::std::os::raw::c_ulong,
6444    pub request: ::std::os::raw::c_ulong,
6445    pub private11: XPointer,
6446    pub private12: XPointer,
6447    pub private13: XPointer,
6448    pub private14: XPointer,
6449    pub max_request_size: ::std::os::raw::c_uint,
6450    pub db: *mut _XrmHashBucketRec,
6451    pub private15:
6452        ::std::option::Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> ::std::os::raw::c_int>,
6453    pub display_name: *mut ::std::os::raw::c_char,
6454    pub default_screen: ::std::os::raw::c_int,
6455    pub nscreens: ::std::os::raw::c_int,
6456    pub screens: *mut Screen,
6457    pub motion_buffer: ::std::os::raw::c_ulong,
6458    pub private16: ::std::os::raw::c_ulong,
6459    pub min_keycode: ::std::os::raw::c_int,
6460    pub max_keycode: ::std::os::raw::c_int,
6461    pub private17: XPointer,
6462    pub private18: XPointer,
6463    pub private19: ::std::os::raw::c_int,
6464    pub xdefaults: *mut ::std::os::raw::c_char,
6465}
6466#[test]
6467fn bindgen_test_layout__bindgen_ty_1() {
6468    assert_eq!(
6469        ::std::mem::size_of::<_bindgen_ty_1>(),
6470        296usize,
6471        concat!("Size of: ", stringify!(_bindgen_ty_1))
6472    );
6473    assert_eq!(
6474        ::std::mem::align_of::<_bindgen_ty_1>(),
6475        8usize,
6476        concat!("Alignment of ", stringify!(_bindgen_ty_1))
6477    );
6478    assert_eq!(
6479        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).ext_data as *const _ as usize },
6480        0usize,
6481        concat!(
6482            "Offset of field: ",
6483            stringify!(_bindgen_ty_1),
6484            "::",
6485            stringify!(ext_data)
6486        )
6487    );
6488    assert_eq!(
6489        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private1 as *const _ as usize },
6490        8usize,
6491        concat!(
6492            "Offset of field: ",
6493            stringify!(_bindgen_ty_1),
6494            "::",
6495            stringify!(private1)
6496        )
6497    );
6498    assert_eq!(
6499        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).fd as *const _ as usize },
6500        16usize,
6501        concat!(
6502            "Offset of field: ",
6503            stringify!(_bindgen_ty_1),
6504            "::",
6505            stringify!(fd)
6506        )
6507    );
6508    assert_eq!(
6509        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private2 as *const _ as usize },
6510        20usize,
6511        concat!(
6512            "Offset of field: ",
6513            stringify!(_bindgen_ty_1),
6514            "::",
6515            stringify!(private2)
6516        )
6517    );
6518    assert_eq!(
6519        unsafe {
6520            &(*(::std::ptr::null::<_bindgen_ty_1>())).proto_major_version as *const _ as usize
6521        },
6522        24usize,
6523        concat!(
6524            "Offset of field: ",
6525            stringify!(_bindgen_ty_1),
6526            "::",
6527            stringify!(proto_major_version)
6528        )
6529    );
6530    assert_eq!(
6531        unsafe {
6532            &(*(::std::ptr::null::<_bindgen_ty_1>())).proto_minor_version as *const _ as usize
6533        },
6534        28usize,
6535        concat!(
6536            "Offset of field: ",
6537            stringify!(_bindgen_ty_1),
6538            "::",
6539            stringify!(proto_minor_version)
6540        )
6541    );
6542    assert_eq!(
6543        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).vendor as *const _ as usize },
6544        32usize,
6545        concat!(
6546            "Offset of field: ",
6547            stringify!(_bindgen_ty_1),
6548            "::",
6549            stringify!(vendor)
6550        )
6551    );
6552    assert_eq!(
6553        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private3 as *const _ as usize },
6554        40usize,
6555        concat!(
6556            "Offset of field: ",
6557            stringify!(_bindgen_ty_1),
6558            "::",
6559            stringify!(private3)
6560        )
6561    );
6562    assert_eq!(
6563        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private4 as *const _ as usize },
6564        48usize,
6565        concat!(
6566            "Offset of field: ",
6567            stringify!(_bindgen_ty_1),
6568            "::",
6569            stringify!(private4)
6570        )
6571    );
6572    assert_eq!(
6573        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private5 as *const _ as usize },
6574        56usize,
6575        concat!(
6576            "Offset of field: ",
6577            stringify!(_bindgen_ty_1),
6578            "::",
6579            stringify!(private5)
6580        )
6581    );
6582    assert_eq!(
6583        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private6 as *const _ as usize },
6584        64usize,
6585        concat!(
6586            "Offset of field: ",
6587            stringify!(_bindgen_ty_1),
6588            "::",
6589            stringify!(private6)
6590        )
6591    );
6592    assert_eq!(
6593        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).resource_alloc as *const _ as usize },
6594        72usize,
6595        concat!(
6596            "Offset of field: ",
6597            stringify!(_bindgen_ty_1),
6598            "::",
6599            stringify!(resource_alloc)
6600        )
6601    );
6602    assert_eq!(
6603        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).byte_order as *const _ as usize },
6604        80usize,
6605        concat!(
6606            "Offset of field: ",
6607            stringify!(_bindgen_ty_1),
6608            "::",
6609            stringify!(byte_order)
6610        )
6611    );
6612    assert_eq!(
6613        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).bitmap_unit as *const _ as usize },
6614        84usize,
6615        concat!(
6616            "Offset of field: ",
6617            stringify!(_bindgen_ty_1),
6618            "::",
6619            stringify!(bitmap_unit)
6620        )
6621    );
6622    assert_eq!(
6623        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).bitmap_pad as *const _ as usize },
6624        88usize,
6625        concat!(
6626            "Offset of field: ",
6627            stringify!(_bindgen_ty_1),
6628            "::",
6629            stringify!(bitmap_pad)
6630        )
6631    );
6632    assert_eq!(
6633        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).bitmap_bit_order as *const _ as usize },
6634        92usize,
6635        concat!(
6636            "Offset of field: ",
6637            stringify!(_bindgen_ty_1),
6638            "::",
6639            stringify!(bitmap_bit_order)
6640        )
6641    );
6642    assert_eq!(
6643        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).nformats as *const _ as usize },
6644        96usize,
6645        concat!(
6646            "Offset of field: ",
6647            stringify!(_bindgen_ty_1),
6648            "::",
6649            stringify!(nformats)
6650        )
6651    );
6652    assert_eq!(
6653        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).pixmap_format as *const _ as usize },
6654        104usize,
6655        concat!(
6656            "Offset of field: ",
6657            stringify!(_bindgen_ty_1),
6658            "::",
6659            stringify!(pixmap_format)
6660        )
6661    );
6662    assert_eq!(
6663        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private8 as *const _ as usize },
6664        112usize,
6665        concat!(
6666            "Offset of field: ",
6667            stringify!(_bindgen_ty_1),
6668            "::",
6669            stringify!(private8)
6670        )
6671    );
6672    assert_eq!(
6673        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).release as *const _ as usize },
6674        116usize,
6675        concat!(
6676            "Offset of field: ",
6677            stringify!(_bindgen_ty_1),
6678            "::",
6679            stringify!(release)
6680        )
6681    );
6682    assert_eq!(
6683        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private9 as *const _ as usize },
6684        120usize,
6685        concat!(
6686            "Offset of field: ",
6687            stringify!(_bindgen_ty_1),
6688            "::",
6689            stringify!(private9)
6690        )
6691    );
6692    assert_eq!(
6693        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private10 as *const _ as usize },
6694        128usize,
6695        concat!(
6696            "Offset of field: ",
6697            stringify!(_bindgen_ty_1),
6698            "::",
6699            stringify!(private10)
6700        )
6701    );
6702    assert_eq!(
6703        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).qlen as *const _ as usize },
6704        136usize,
6705        concat!(
6706            "Offset of field: ",
6707            stringify!(_bindgen_ty_1),
6708            "::",
6709            stringify!(qlen)
6710        )
6711    );
6712    assert_eq!(
6713        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).last_request_read as *const _ as usize },
6714        144usize,
6715        concat!(
6716            "Offset of field: ",
6717            stringify!(_bindgen_ty_1),
6718            "::",
6719            stringify!(last_request_read)
6720        )
6721    );
6722    assert_eq!(
6723        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).request as *const _ as usize },
6724        152usize,
6725        concat!(
6726            "Offset of field: ",
6727            stringify!(_bindgen_ty_1),
6728            "::",
6729            stringify!(request)
6730        )
6731    );
6732    assert_eq!(
6733        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private11 as *const _ as usize },
6734        160usize,
6735        concat!(
6736            "Offset of field: ",
6737            stringify!(_bindgen_ty_1),
6738            "::",
6739            stringify!(private11)
6740        )
6741    );
6742    assert_eq!(
6743        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private12 as *const _ as usize },
6744        168usize,
6745        concat!(
6746            "Offset of field: ",
6747            stringify!(_bindgen_ty_1),
6748            "::",
6749            stringify!(private12)
6750        )
6751    );
6752    assert_eq!(
6753        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private13 as *const _ as usize },
6754        176usize,
6755        concat!(
6756            "Offset of field: ",
6757            stringify!(_bindgen_ty_1),
6758            "::",
6759            stringify!(private13)
6760        )
6761    );
6762    assert_eq!(
6763        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private14 as *const _ as usize },
6764        184usize,
6765        concat!(
6766            "Offset of field: ",
6767            stringify!(_bindgen_ty_1),
6768            "::",
6769            stringify!(private14)
6770        )
6771    );
6772    assert_eq!(
6773        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).max_request_size as *const _ as usize },
6774        192usize,
6775        concat!(
6776            "Offset of field: ",
6777            stringify!(_bindgen_ty_1),
6778            "::",
6779            stringify!(max_request_size)
6780        )
6781    );
6782    assert_eq!(
6783        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).db as *const _ as usize },
6784        200usize,
6785        concat!(
6786            "Offset of field: ",
6787            stringify!(_bindgen_ty_1),
6788            "::",
6789            stringify!(db)
6790        )
6791    );
6792    assert_eq!(
6793        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private15 as *const _ as usize },
6794        208usize,
6795        concat!(
6796            "Offset of field: ",
6797            stringify!(_bindgen_ty_1),
6798            "::",
6799            stringify!(private15)
6800        )
6801    );
6802    assert_eq!(
6803        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).display_name as *const _ as usize },
6804        216usize,
6805        concat!(
6806            "Offset of field: ",
6807            stringify!(_bindgen_ty_1),
6808            "::",
6809            stringify!(display_name)
6810        )
6811    );
6812    assert_eq!(
6813        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).default_screen as *const _ as usize },
6814        224usize,
6815        concat!(
6816            "Offset of field: ",
6817            stringify!(_bindgen_ty_1),
6818            "::",
6819            stringify!(default_screen)
6820        )
6821    );
6822    assert_eq!(
6823        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).nscreens as *const _ as usize },
6824        228usize,
6825        concat!(
6826            "Offset of field: ",
6827            stringify!(_bindgen_ty_1),
6828            "::",
6829            stringify!(nscreens)
6830        )
6831    );
6832    assert_eq!(
6833        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).screens as *const _ as usize },
6834        232usize,
6835        concat!(
6836            "Offset of field: ",
6837            stringify!(_bindgen_ty_1),
6838            "::",
6839            stringify!(screens)
6840        )
6841    );
6842    assert_eq!(
6843        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).motion_buffer as *const _ as usize },
6844        240usize,
6845        concat!(
6846            "Offset of field: ",
6847            stringify!(_bindgen_ty_1),
6848            "::",
6849            stringify!(motion_buffer)
6850        )
6851    );
6852    assert_eq!(
6853        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private16 as *const _ as usize },
6854        248usize,
6855        concat!(
6856            "Offset of field: ",
6857            stringify!(_bindgen_ty_1),
6858            "::",
6859            stringify!(private16)
6860        )
6861    );
6862    assert_eq!(
6863        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).min_keycode as *const _ as usize },
6864        256usize,
6865        concat!(
6866            "Offset of field: ",
6867            stringify!(_bindgen_ty_1),
6868            "::",
6869            stringify!(min_keycode)
6870        )
6871    );
6872    assert_eq!(
6873        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).max_keycode as *const _ as usize },
6874        260usize,
6875        concat!(
6876            "Offset of field: ",
6877            stringify!(_bindgen_ty_1),
6878            "::",
6879            stringify!(max_keycode)
6880        )
6881    );
6882    assert_eq!(
6883        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private17 as *const _ as usize },
6884        264usize,
6885        concat!(
6886            "Offset of field: ",
6887            stringify!(_bindgen_ty_1),
6888            "::",
6889            stringify!(private17)
6890        )
6891    );
6892    assert_eq!(
6893        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private18 as *const _ as usize },
6894        272usize,
6895        concat!(
6896            "Offset of field: ",
6897            stringify!(_bindgen_ty_1),
6898            "::",
6899            stringify!(private18)
6900        )
6901    );
6902    assert_eq!(
6903        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private19 as *const _ as usize },
6904        280usize,
6905        concat!(
6906            "Offset of field: ",
6907            stringify!(_bindgen_ty_1),
6908            "::",
6909            stringify!(private19)
6910        )
6911    );
6912    assert_eq!(
6913        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).xdefaults as *const _ as usize },
6914        288usize,
6915        concat!(
6916            "Offset of field: ",
6917            stringify!(_bindgen_ty_1),
6918            "::",
6919            stringify!(xdefaults)
6920        )
6921    );
6922}
6923pub type _XPrivDisplay = *mut _bindgen_ty_1;
6924#[repr(C)]
6925#[derive(Debug, Copy, Clone)]
6926pub struct XKeyEvent {
6927    pub type_: ::std::os::raw::c_int,
6928    pub serial: ::std::os::raw::c_ulong,
6929    pub send_event: ::std::os::raw::c_int,
6930    pub display: *mut Display,
6931    pub window: Window,
6932    pub root: Window,
6933    pub subwindow: Window,
6934    pub time: Time,
6935    pub x: ::std::os::raw::c_int,
6936    pub y: ::std::os::raw::c_int,
6937    pub x_root: ::std::os::raw::c_int,
6938    pub y_root: ::std::os::raw::c_int,
6939    pub state: ::std::os::raw::c_uint,
6940    pub keycode: ::std::os::raw::c_uint,
6941    pub same_screen: ::std::os::raw::c_int,
6942}
6943#[test]
6944fn bindgen_test_layout_XKeyEvent() {
6945    assert_eq!(
6946        ::std::mem::size_of::<XKeyEvent>(),
6947        96usize,
6948        concat!("Size of: ", stringify!(XKeyEvent))
6949    );
6950    assert_eq!(
6951        ::std::mem::align_of::<XKeyEvent>(),
6952        8usize,
6953        concat!("Alignment of ", stringify!(XKeyEvent))
6954    );
6955    assert_eq!(
6956        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).type_ as *const _ as usize },
6957        0usize,
6958        concat!(
6959            "Offset of field: ",
6960            stringify!(XKeyEvent),
6961            "::",
6962            stringify!(type_)
6963        )
6964    );
6965    assert_eq!(
6966        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).serial as *const _ as usize },
6967        8usize,
6968        concat!(
6969            "Offset of field: ",
6970            stringify!(XKeyEvent),
6971            "::",
6972            stringify!(serial)
6973        )
6974    );
6975    assert_eq!(
6976        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).send_event as *const _ as usize },
6977        16usize,
6978        concat!(
6979            "Offset of field: ",
6980            stringify!(XKeyEvent),
6981            "::",
6982            stringify!(send_event)
6983        )
6984    );
6985    assert_eq!(
6986        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).display as *const _ as usize },
6987        24usize,
6988        concat!(
6989            "Offset of field: ",
6990            stringify!(XKeyEvent),
6991            "::",
6992            stringify!(display)
6993        )
6994    );
6995    assert_eq!(
6996        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).window as *const _ as usize },
6997        32usize,
6998        concat!(
6999            "Offset of field: ",
7000            stringify!(XKeyEvent),
7001            "::",
7002            stringify!(window)
7003        )
7004    );
7005    assert_eq!(
7006        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).root as *const _ as usize },
7007        40usize,
7008        concat!(
7009            "Offset of field: ",
7010            stringify!(XKeyEvent),
7011            "::",
7012            stringify!(root)
7013        )
7014    );
7015    assert_eq!(
7016        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).subwindow as *const _ as usize },
7017        48usize,
7018        concat!(
7019            "Offset of field: ",
7020            stringify!(XKeyEvent),
7021            "::",
7022            stringify!(subwindow)
7023        )
7024    );
7025    assert_eq!(
7026        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).time as *const _ as usize },
7027        56usize,
7028        concat!(
7029            "Offset of field: ",
7030            stringify!(XKeyEvent),
7031            "::",
7032            stringify!(time)
7033        )
7034    );
7035    assert_eq!(
7036        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).x as *const _ as usize },
7037        64usize,
7038        concat!(
7039            "Offset of field: ",
7040            stringify!(XKeyEvent),
7041            "::",
7042            stringify!(x)
7043        )
7044    );
7045    assert_eq!(
7046        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).y as *const _ as usize },
7047        68usize,
7048        concat!(
7049            "Offset of field: ",
7050            stringify!(XKeyEvent),
7051            "::",
7052            stringify!(y)
7053        )
7054    );
7055    assert_eq!(
7056        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).x_root as *const _ as usize },
7057        72usize,
7058        concat!(
7059            "Offset of field: ",
7060            stringify!(XKeyEvent),
7061            "::",
7062            stringify!(x_root)
7063        )
7064    );
7065    assert_eq!(
7066        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).y_root as *const _ as usize },
7067        76usize,
7068        concat!(
7069            "Offset of field: ",
7070            stringify!(XKeyEvent),
7071            "::",
7072            stringify!(y_root)
7073        )
7074    );
7075    assert_eq!(
7076        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).state as *const _ as usize },
7077        80usize,
7078        concat!(
7079            "Offset of field: ",
7080            stringify!(XKeyEvent),
7081            "::",
7082            stringify!(state)
7083        )
7084    );
7085    assert_eq!(
7086        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).keycode as *const _ as usize },
7087        84usize,
7088        concat!(
7089            "Offset of field: ",
7090            stringify!(XKeyEvent),
7091            "::",
7092            stringify!(keycode)
7093        )
7094    );
7095    assert_eq!(
7096        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).same_screen as *const _ as usize },
7097        88usize,
7098        concat!(
7099            "Offset of field: ",
7100            stringify!(XKeyEvent),
7101            "::",
7102            stringify!(same_screen)
7103        )
7104    );
7105}
7106pub type XKeyPressedEvent = XKeyEvent;
7107pub type XKeyReleasedEvent = XKeyEvent;
7108#[repr(C)]
7109#[derive(Debug, Copy, Clone)]
7110pub struct XButtonEvent {
7111    pub type_: ::std::os::raw::c_int,
7112    pub serial: ::std::os::raw::c_ulong,
7113    pub send_event: ::std::os::raw::c_int,
7114    pub display: *mut Display,
7115    pub window: Window,
7116    pub root: Window,
7117    pub subwindow: Window,
7118    pub time: Time,
7119    pub x: ::std::os::raw::c_int,
7120    pub y: ::std::os::raw::c_int,
7121    pub x_root: ::std::os::raw::c_int,
7122    pub y_root: ::std::os::raw::c_int,
7123    pub state: ::std::os::raw::c_uint,
7124    pub button: ::std::os::raw::c_uint,
7125    pub same_screen: ::std::os::raw::c_int,
7126}
7127#[test]
7128fn bindgen_test_layout_XButtonEvent() {
7129    assert_eq!(
7130        ::std::mem::size_of::<XButtonEvent>(),
7131        96usize,
7132        concat!("Size of: ", stringify!(XButtonEvent))
7133    );
7134    assert_eq!(
7135        ::std::mem::align_of::<XButtonEvent>(),
7136        8usize,
7137        concat!("Alignment of ", stringify!(XButtonEvent))
7138    );
7139    assert_eq!(
7140        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).type_ as *const _ as usize },
7141        0usize,
7142        concat!(
7143            "Offset of field: ",
7144            stringify!(XButtonEvent),
7145            "::",
7146            stringify!(type_)
7147        )
7148    );
7149    assert_eq!(
7150        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).serial as *const _ as usize },
7151        8usize,
7152        concat!(
7153            "Offset of field: ",
7154            stringify!(XButtonEvent),
7155            "::",
7156            stringify!(serial)
7157        )
7158    );
7159    assert_eq!(
7160        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).send_event as *const _ as usize },
7161        16usize,
7162        concat!(
7163            "Offset of field: ",
7164            stringify!(XButtonEvent),
7165            "::",
7166            stringify!(send_event)
7167        )
7168    );
7169    assert_eq!(
7170        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).display as *const _ as usize },
7171        24usize,
7172        concat!(
7173            "Offset of field: ",
7174            stringify!(XButtonEvent),
7175            "::",
7176            stringify!(display)
7177        )
7178    );
7179    assert_eq!(
7180        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).window as *const _ as usize },
7181        32usize,
7182        concat!(
7183            "Offset of field: ",
7184            stringify!(XButtonEvent),
7185            "::",
7186            stringify!(window)
7187        )
7188    );
7189    assert_eq!(
7190        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).root as *const _ as usize },
7191        40usize,
7192        concat!(
7193            "Offset of field: ",
7194            stringify!(XButtonEvent),
7195            "::",
7196            stringify!(root)
7197        )
7198    );
7199    assert_eq!(
7200        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).subwindow as *const _ as usize },
7201        48usize,
7202        concat!(
7203            "Offset of field: ",
7204            stringify!(XButtonEvent),
7205            "::",
7206            stringify!(subwindow)
7207        )
7208    );
7209    assert_eq!(
7210        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).time as *const _ as usize },
7211        56usize,
7212        concat!(
7213            "Offset of field: ",
7214            stringify!(XButtonEvent),
7215            "::",
7216            stringify!(time)
7217        )
7218    );
7219    assert_eq!(
7220        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).x as *const _ as usize },
7221        64usize,
7222        concat!(
7223            "Offset of field: ",
7224            stringify!(XButtonEvent),
7225            "::",
7226            stringify!(x)
7227        )
7228    );
7229    assert_eq!(
7230        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).y as *const _ as usize },
7231        68usize,
7232        concat!(
7233            "Offset of field: ",
7234            stringify!(XButtonEvent),
7235            "::",
7236            stringify!(y)
7237        )
7238    );
7239    assert_eq!(
7240        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).x_root as *const _ as usize },
7241        72usize,
7242        concat!(
7243            "Offset of field: ",
7244            stringify!(XButtonEvent),
7245            "::",
7246            stringify!(x_root)
7247        )
7248    );
7249    assert_eq!(
7250        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).y_root as *const _ as usize },
7251        76usize,
7252        concat!(
7253            "Offset of field: ",
7254            stringify!(XButtonEvent),
7255            "::",
7256            stringify!(y_root)
7257        )
7258    );
7259    assert_eq!(
7260        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).state as *const _ as usize },
7261        80usize,
7262        concat!(
7263            "Offset of field: ",
7264            stringify!(XButtonEvent),
7265            "::",
7266            stringify!(state)
7267        )
7268    );
7269    assert_eq!(
7270        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).button as *const _ as usize },
7271        84usize,
7272        concat!(
7273            "Offset of field: ",
7274            stringify!(XButtonEvent),
7275            "::",
7276            stringify!(button)
7277        )
7278    );
7279    assert_eq!(
7280        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).same_screen as *const _ as usize },
7281        88usize,
7282        concat!(
7283            "Offset of field: ",
7284            stringify!(XButtonEvent),
7285            "::",
7286            stringify!(same_screen)
7287        )
7288    );
7289}
7290pub type XButtonPressedEvent = XButtonEvent;
7291pub type XButtonReleasedEvent = XButtonEvent;
7292#[repr(C)]
7293#[derive(Debug, Copy, Clone)]
7294pub struct XMotionEvent {
7295    pub type_: ::std::os::raw::c_int,
7296    pub serial: ::std::os::raw::c_ulong,
7297    pub send_event: ::std::os::raw::c_int,
7298    pub display: *mut Display,
7299    pub window: Window,
7300    pub root: Window,
7301    pub subwindow: Window,
7302    pub time: Time,
7303    pub x: ::std::os::raw::c_int,
7304    pub y: ::std::os::raw::c_int,
7305    pub x_root: ::std::os::raw::c_int,
7306    pub y_root: ::std::os::raw::c_int,
7307    pub state: ::std::os::raw::c_uint,
7308    pub is_hint: ::std::os::raw::c_char,
7309    pub same_screen: ::std::os::raw::c_int,
7310}
7311#[test]
7312fn bindgen_test_layout_XMotionEvent() {
7313    assert_eq!(
7314        ::std::mem::size_of::<XMotionEvent>(),
7315        96usize,
7316        concat!("Size of: ", stringify!(XMotionEvent))
7317    );
7318    assert_eq!(
7319        ::std::mem::align_of::<XMotionEvent>(),
7320        8usize,
7321        concat!("Alignment of ", stringify!(XMotionEvent))
7322    );
7323    assert_eq!(
7324        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).type_ as *const _ as usize },
7325        0usize,
7326        concat!(
7327            "Offset of field: ",
7328            stringify!(XMotionEvent),
7329            "::",
7330            stringify!(type_)
7331        )
7332    );
7333    assert_eq!(
7334        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).serial as *const _ as usize },
7335        8usize,
7336        concat!(
7337            "Offset of field: ",
7338            stringify!(XMotionEvent),
7339            "::",
7340            stringify!(serial)
7341        )
7342    );
7343    assert_eq!(
7344        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).send_event as *const _ as usize },
7345        16usize,
7346        concat!(
7347            "Offset of field: ",
7348            stringify!(XMotionEvent),
7349            "::",
7350            stringify!(send_event)
7351        )
7352    );
7353    assert_eq!(
7354        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).display as *const _ as usize },
7355        24usize,
7356        concat!(
7357            "Offset of field: ",
7358            stringify!(XMotionEvent),
7359            "::",
7360            stringify!(display)
7361        )
7362    );
7363    assert_eq!(
7364        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).window as *const _ as usize },
7365        32usize,
7366        concat!(
7367            "Offset of field: ",
7368            stringify!(XMotionEvent),
7369            "::",
7370            stringify!(window)
7371        )
7372    );
7373    assert_eq!(
7374        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).root as *const _ as usize },
7375        40usize,
7376        concat!(
7377            "Offset of field: ",
7378            stringify!(XMotionEvent),
7379            "::",
7380            stringify!(root)
7381        )
7382    );
7383    assert_eq!(
7384        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).subwindow as *const _ as usize },
7385        48usize,
7386        concat!(
7387            "Offset of field: ",
7388            stringify!(XMotionEvent),
7389            "::",
7390            stringify!(subwindow)
7391        )
7392    );
7393    assert_eq!(
7394        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).time as *const _ as usize },
7395        56usize,
7396        concat!(
7397            "Offset of field: ",
7398            stringify!(XMotionEvent),
7399            "::",
7400            stringify!(time)
7401        )
7402    );
7403    assert_eq!(
7404        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).x as *const _ as usize },
7405        64usize,
7406        concat!(
7407            "Offset of field: ",
7408            stringify!(XMotionEvent),
7409            "::",
7410            stringify!(x)
7411        )
7412    );
7413    assert_eq!(
7414        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).y as *const _ as usize },
7415        68usize,
7416        concat!(
7417            "Offset of field: ",
7418            stringify!(XMotionEvent),
7419            "::",
7420            stringify!(y)
7421        )
7422    );
7423    assert_eq!(
7424        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).x_root as *const _ as usize },
7425        72usize,
7426        concat!(
7427            "Offset of field: ",
7428            stringify!(XMotionEvent),
7429            "::",
7430            stringify!(x_root)
7431        )
7432    );
7433    assert_eq!(
7434        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).y_root as *const _ as usize },
7435        76usize,
7436        concat!(
7437            "Offset of field: ",
7438            stringify!(XMotionEvent),
7439            "::",
7440            stringify!(y_root)
7441        )
7442    );
7443    assert_eq!(
7444        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).state as *const _ as usize },
7445        80usize,
7446        concat!(
7447            "Offset of field: ",
7448            stringify!(XMotionEvent),
7449            "::",
7450            stringify!(state)
7451        )
7452    );
7453    assert_eq!(
7454        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).is_hint as *const _ as usize },
7455        84usize,
7456        concat!(
7457            "Offset of field: ",
7458            stringify!(XMotionEvent),
7459            "::",
7460            stringify!(is_hint)
7461        )
7462    );
7463    assert_eq!(
7464        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).same_screen as *const _ as usize },
7465        88usize,
7466        concat!(
7467            "Offset of field: ",
7468            stringify!(XMotionEvent),
7469            "::",
7470            stringify!(same_screen)
7471        )
7472    );
7473}
7474pub type XPointerMovedEvent = XMotionEvent;
7475#[repr(C)]
7476#[derive(Debug, Copy, Clone)]
7477pub struct XCrossingEvent {
7478    pub type_: ::std::os::raw::c_int,
7479    pub serial: ::std::os::raw::c_ulong,
7480    pub send_event: ::std::os::raw::c_int,
7481    pub display: *mut Display,
7482    pub window: Window,
7483    pub root: Window,
7484    pub subwindow: Window,
7485    pub time: Time,
7486    pub x: ::std::os::raw::c_int,
7487    pub y: ::std::os::raw::c_int,
7488    pub x_root: ::std::os::raw::c_int,
7489    pub y_root: ::std::os::raw::c_int,
7490    pub mode: ::std::os::raw::c_int,
7491    pub detail: ::std::os::raw::c_int,
7492    pub same_screen: ::std::os::raw::c_int,
7493    pub focus: ::std::os::raw::c_int,
7494    pub state: ::std::os::raw::c_uint,
7495}
7496#[test]
7497fn bindgen_test_layout_XCrossingEvent() {
7498    assert_eq!(
7499        ::std::mem::size_of::<XCrossingEvent>(),
7500        104usize,
7501        concat!("Size of: ", stringify!(XCrossingEvent))
7502    );
7503    assert_eq!(
7504        ::std::mem::align_of::<XCrossingEvent>(),
7505        8usize,
7506        concat!("Alignment of ", stringify!(XCrossingEvent))
7507    );
7508    assert_eq!(
7509        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).type_ as *const _ as usize },
7510        0usize,
7511        concat!(
7512            "Offset of field: ",
7513            stringify!(XCrossingEvent),
7514            "::",
7515            stringify!(type_)
7516        )
7517    );
7518    assert_eq!(
7519        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).serial as *const _ as usize },
7520        8usize,
7521        concat!(
7522            "Offset of field: ",
7523            stringify!(XCrossingEvent),
7524            "::",
7525            stringify!(serial)
7526        )
7527    );
7528    assert_eq!(
7529        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).send_event as *const _ as usize },
7530        16usize,
7531        concat!(
7532            "Offset of field: ",
7533            stringify!(XCrossingEvent),
7534            "::",
7535            stringify!(send_event)
7536        )
7537    );
7538    assert_eq!(
7539        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).display as *const _ as usize },
7540        24usize,
7541        concat!(
7542            "Offset of field: ",
7543            stringify!(XCrossingEvent),
7544            "::",
7545            stringify!(display)
7546        )
7547    );
7548    assert_eq!(
7549        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).window as *const _ as usize },
7550        32usize,
7551        concat!(
7552            "Offset of field: ",
7553            stringify!(XCrossingEvent),
7554            "::",
7555            stringify!(window)
7556        )
7557    );
7558    assert_eq!(
7559        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).root as *const _ as usize },
7560        40usize,
7561        concat!(
7562            "Offset of field: ",
7563            stringify!(XCrossingEvent),
7564            "::",
7565            stringify!(root)
7566        )
7567    );
7568    assert_eq!(
7569        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).subwindow as *const _ as usize },
7570        48usize,
7571        concat!(
7572            "Offset of field: ",
7573            stringify!(XCrossingEvent),
7574            "::",
7575            stringify!(subwindow)
7576        )
7577    );
7578    assert_eq!(
7579        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).time as *const _ as usize },
7580        56usize,
7581        concat!(
7582            "Offset of field: ",
7583            stringify!(XCrossingEvent),
7584            "::",
7585            stringify!(time)
7586        )
7587    );
7588    assert_eq!(
7589        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).x as *const _ as usize },
7590        64usize,
7591        concat!(
7592            "Offset of field: ",
7593            stringify!(XCrossingEvent),
7594            "::",
7595            stringify!(x)
7596        )
7597    );
7598    assert_eq!(
7599        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).y as *const _ as usize },
7600        68usize,
7601        concat!(
7602            "Offset of field: ",
7603            stringify!(XCrossingEvent),
7604            "::",
7605            stringify!(y)
7606        )
7607    );
7608    assert_eq!(
7609        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).x_root as *const _ as usize },
7610        72usize,
7611        concat!(
7612            "Offset of field: ",
7613            stringify!(XCrossingEvent),
7614            "::",
7615            stringify!(x_root)
7616        )
7617    );
7618    assert_eq!(
7619        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).y_root as *const _ as usize },
7620        76usize,
7621        concat!(
7622            "Offset of field: ",
7623            stringify!(XCrossingEvent),
7624            "::",
7625            stringify!(y_root)
7626        )
7627    );
7628    assert_eq!(
7629        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).mode as *const _ as usize },
7630        80usize,
7631        concat!(
7632            "Offset of field: ",
7633            stringify!(XCrossingEvent),
7634            "::",
7635            stringify!(mode)
7636        )
7637    );
7638    assert_eq!(
7639        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).detail as *const _ as usize },
7640        84usize,
7641        concat!(
7642            "Offset of field: ",
7643            stringify!(XCrossingEvent),
7644            "::",
7645            stringify!(detail)
7646        )
7647    );
7648    assert_eq!(
7649        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).same_screen as *const _ as usize },
7650        88usize,
7651        concat!(
7652            "Offset of field: ",
7653            stringify!(XCrossingEvent),
7654            "::",
7655            stringify!(same_screen)
7656        )
7657    );
7658    assert_eq!(
7659        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).focus as *const _ as usize },
7660        92usize,
7661        concat!(
7662            "Offset of field: ",
7663            stringify!(XCrossingEvent),
7664            "::",
7665            stringify!(focus)
7666        )
7667    );
7668    assert_eq!(
7669        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).state as *const _ as usize },
7670        96usize,
7671        concat!(
7672            "Offset of field: ",
7673            stringify!(XCrossingEvent),
7674            "::",
7675            stringify!(state)
7676        )
7677    );
7678}
7679pub type XEnterWindowEvent = XCrossingEvent;
7680pub type XLeaveWindowEvent = XCrossingEvent;
7681#[repr(C)]
7682#[derive(Debug, Copy, Clone)]
7683pub struct XFocusChangeEvent {
7684    pub type_: ::std::os::raw::c_int,
7685    pub serial: ::std::os::raw::c_ulong,
7686    pub send_event: ::std::os::raw::c_int,
7687    pub display: *mut Display,
7688    pub window: Window,
7689    pub mode: ::std::os::raw::c_int,
7690    pub detail: ::std::os::raw::c_int,
7691}
7692#[test]
7693fn bindgen_test_layout_XFocusChangeEvent() {
7694    assert_eq!(
7695        ::std::mem::size_of::<XFocusChangeEvent>(),
7696        48usize,
7697        concat!("Size of: ", stringify!(XFocusChangeEvent))
7698    );
7699    assert_eq!(
7700        ::std::mem::align_of::<XFocusChangeEvent>(),
7701        8usize,
7702        concat!("Alignment of ", stringify!(XFocusChangeEvent))
7703    );
7704    assert_eq!(
7705        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).type_ as *const _ as usize },
7706        0usize,
7707        concat!(
7708            "Offset of field: ",
7709            stringify!(XFocusChangeEvent),
7710            "::",
7711            stringify!(type_)
7712        )
7713    );
7714    assert_eq!(
7715        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).serial as *const _ as usize },
7716        8usize,
7717        concat!(
7718            "Offset of field: ",
7719            stringify!(XFocusChangeEvent),
7720            "::",
7721            stringify!(serial)
7722        )
7723    );
7724    assert_eq!(
7725        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).send_event as *const _ as usize },
7726        16usize,
7727        concat!(
7728            "Offset of field: ",
7729            stringify!(XFocusChangeEvent),
7730            "::",
7731            stringify!(send_event)
7732        )
7733    );
7734    assert_eq!(
7735        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).display as *const _ as usize },
7736        24usize,
7737        concat!(
7738            "Offset of field: ",
7739            stringify!(XFocusChangeEvent),
7740            "::",
7741            stringify!(display)
7742        )
7743    );
7744    assert_eq!(
7745        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).window as *const _ as usize },
7746        32usize,
7747        concat!(
7748            "Offset of field: ",
7749            stringify!(XFocusChangeEvent),
7750            "::",
7751            stringify!(window)
7752        )
7753    );
7754    assert_eq!(
7755        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).mode as *const _ as usize },
7756        40usize,
7757        concat!(
7758            "Offset of field: ",
7759            stringify!(XFocusChangeEvent),
7760            "::",
7761            stringify!(mode)
7762        )
7763    );
7764    assert_eq!(
7765        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).detail as *const _ as usize },
7766        44usize,
7767        concat!(
7768            "Offset of field: ",
7769            stringify!(XFocusChangeEvent),
7770            "::",
7771            stringify!(detail)
7772        )
7773    );
7774}
7775pub type XFocusInEvent = XFocusChangeEvent;
7776pub type XFocusOutEvent = XFocusChangeEvent;
7777#[repr(C)]
7778#[derive(Debug, Copy, Clone)]
7779pub struct XKeymapEvent {
7780    pub type_: ::std::os::raw::c_int,
7781    pub serial: ::std::os::raw::c_ulong,
7782    pub send_event: ::std::os::raw::c_int,
7783    pub display: *mut Display,
7784    pub window: Window,
7785    pub key_vector: [::std::os::raw::c_char; 32usize],
7786}
7787#[test]
7788fn bindgen_test_layout_XKeymapEvent() {
7789    assert_eq!(
7790        ::std::mem::size_of::<XKeymapEvent>(),
7791        72usize,
7792        concat!("Size of: ", stringify!(XKeymapEvent))
7793    );
7794    assert_eq!(
7795        ::std::mem::align_of::<XKeymapEvent>(),
7796        8usize,
7797        concat!("Alignment of ", stringify!(XKeymapEvent))
7798    );
7799    assert_eq!(
7800        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).type_ as *const _ as usize },
7801        0usize,
7802        concat!(
7803            "Offset of field: ",
7804            stringify!(XKeymapEvent),
7805            "::",
7806            stringify!(type_)
7807        )
7808    );
7809    assert_eq!(
7810        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).serial as *const _ as usize },
7811        8usize,
7812        concat!(
7813            "Offset of field: ",
7814            stringify!(XKeymapEvent),
7815            "::",
7816            stringify!(serial)
7817        )
7818    );
7819    assert_eq!(
7820        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).send_event as *const _ as usize },
7821        16usize,
7822        concat!(
7823            "Offset of field: ",
7824            stringify!(XKeymapEvent),
7825            "::",
7826            stringify!(send_event)
7827        )
7828    );
7829    assert_eq!(
7830        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).display as *const _ as usize },
7831        24usize,
7832        concat!(
7833            "Offset of field: ",
7834            stringify!(XKeymapEvent),
7835            "::",
7836            stringify!(display)
7837        )
7838    );
7839    assert_eq!(
7840        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).window as *const _ as usize },
7841        32usize,
7842        concat!(
7843            "Offset of field: ",
7844            stringify!(XKeymapEvent),
7845            "::",
7846            stringify!(window)
7847        )
7848    );
7849    assert_eq!(
7850        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).key_vector as *const _ as usize },
7851        40usize,
7852        concat!(
7853            "Offset of field: ",
7854            stringify!(XKeymapEvent),
7855            "::",
7856            stringify!(key_vector)
7857        )
7858    );
7859}
7860#[repr(C)]
7861#[derive(Debug, Copy, Clone)]
7862pub struct XExposeEvent {
7863    pub type_: ::std::os::raw::c_int,
7864    pub serial: ::std::os::raw::c_ulong,
7865    pub send_event: ::std::os::raw::c_int,
7866    pub display: *mut Display,
7867    pub window: Window,
7868    pub x: ::std::os::raw::c_int,
7869    pub y: ::std::os::raw::c_int,
7870    pub width: ::std::os::raw::c_int,
7871    pub height: ::std::os::raw::c_int,
7872    pub count: ::std::os::raw::c_int,
7873}
7874#[test]
7875fn bindgen_test_layout_XExposeEvent() {
7876    assert_eq!(
7877        ::std::mem::size_of::<XExposeEvent>(),
7878        64usize,
7879        concat!("Size of: ", stringify!(XExposeEvent))
7880    );
7881    assert_eq!(
7882        ::std::mem::align_of::<XExposeEvent>(),
7883        8usize,
7884        concat!("Alignment of ", stringify!(XExposeEvent))
7885    );
7886    assert_eq!(
7887        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).type_ as *const _ as usize },
7888        0usize,
7889        concat!(
7890            "Offset of field: ",
7891            stringify!(XExposeEvent),
7892            "::",
7893            stringify!(type_)
7894        )
7895    );
7896    assert_eq!(
7897        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).serial as *const _ as usize },
7898        8usize,
7899        concat!(
7900            "Offset of field: ",
7901            stringify!(XExposeEvent),
7902            "::",
7903            stringify!(serial)
7904        )
7905    );
7906    assert_eq!(
7907        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).send_event as *const _ as usize },
7908        16usize,
7909        concat!(
7910            "Offset of field: ",
7911            stringify!(XExposeEvent),
7912            "::",
7913            stringify!(send_event)
7914        )
7915    );
7916    assert_eq!(
7917        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).display as *const _ as usize },
7918        24usize,
7919        concat!(
7920            "Offset of field: ",
7921            stringify!(XExposeEvent),
7922            "::",
7923            stringify!(display)
7924        )
7925    );
7926    assert_eq!(
7927        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).window as *const _ as usize },
7928        32usize,
7929        concat!(
7930            "Offset of field: ",
7931            stringify!(XExposeEvent),
7932            "::",
7933            stringify!(window)
7934        )
7935    );
7936    assert_eq!(
7937        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).x as *const _ as usize },
7938        40usize,
7939        concat!(
7940            "Offset of field: ",
7941            stringify!(XExposeEvent),
7942            "::",
7943            stringify!(x)
7944        )
7945    );
7946    assert_eq!(
7947        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).y as *const _ as usize },
7948        44usize,
7949        concat!(
7950            "Offset of field: ",
7951            stringify!(XExposeEvent),
7952            "::",
7953            stringify!(y)
7954        )
7955    );
7956    assert_eq!(
7957        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).width as *const _ as usize },
7958        48usize,
7959        concat!(
7960            "Offset of field: ",
7961            stringify!(XExposeEvent),
7962            "::",
7963            stringify!(width)
7964        )
7965    );
7966    assert_eq!(
7967        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).height as *const _ as usize },
7968        52usize,
7969        concat!(
7970            "Offset of field: ",
7971            stringify!(XExposeEvent),
7972            "::",
7973            stringify!(height)
7974        )
7975    );
7976    assert_eq!(
7977        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).count as *const _ as usize },
7978        56usize,
7979        concat!(
7980            "Offset of field: ",
7981            stringify!(XExposeEvent),
7982            "::",
7983            stringify!(count)
7984        )
7985    );
7986}
7987#[repr(C)]
7988#[derive(Debug, Copy, Clone)]
7989pub struct XGraphicsExposeEvent {
7990    pub type_: ::std::os::raw::c_int,
7991    pub serial: ::std::os::raw::c_ulong,
7992    pub send_event: ::std::os::raw::c_int,
7993    pub display: *mut Display,
7994    pub drawable: Drawable,
7995    pub x: ::std::os::raw::c_int,
7996    pub y: ::std::os::raw::c_int,
7997    pub width: ::std::os::raw::c_int,
7998    pub height: ::std::os::raw::c_int,
7999    pub count: ::std::os::raw::c_int,
8000    pub major_code: ::std::os::raw::c_int,
8001    pub minor_code: ::std::os::raw::c_int,
8002}
8003#[test]
8004fn bindgen_test_layout_XGraphicsExposeEvent() {
8005    assert_eq!(
8006        ::std::mem::size_of::<XGraphicsExposeEvent>(),
8007        72usize,
8008        concat!("Size of: ", stringify!(XGraphicsExposeEvent))
8009    );
8010    assert_eq!(
8011        ::std::mem::align_of::<XGraphicsExposeEvent>(),
8012        8usize,
8013        concat!("Alignment of ", stringify!(XGraphicsExposeEvent))
8014    );
8015    assert_eq!(
8016        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).type_ as *const _ as usize },
8017        0usize,
8018        concat!(
8019            "Offset of field: ",
8020            stringify!(XGraphicsExposeEvent),
8021            "::",
8022            stringify!(type_)
8023        )
8024    );
8025    assert_eq!(
8026        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).serial as *const _ as usize },
8027        8usize,
8028        concat!(
8029            "Offset of field: ",
8030            stringify!(XGraphicsExposeEvent),
8031            "::",
8032            stringify!(serial)
8033        )
8034    );
8035    assert_eq!(
8036        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).send_event as *const _ as usize },
8037        16usize,
8038        concat!(
8039            "Offset of field: ",
8040            stringify!(XGraphicsExposeEvent),
8041            "::",
8042            stringify!(send_event)
8043        )
8044    );
8045    assert_eq!(
8046        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).display as *const _ as usize },
8047        24usize,
8048        concat!(
8049            "Offset of field: ",
8050            stringify!(XGraphicsExposeEvent),
8051            "::",
8052            stringify!(display)
8053        )
8054    );
8055    assert_eq!(
8056        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).drawable as *const _ as usize },
8057        32usize,
8058        concat!(
8059            "Offset of field: ",
8060            stringify!(XGraphicsExposeEvent),
8061            "::",
8062            stringify!(drawable)
8063        )
8064    );
8065    assert_eq!(
8066        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).x as *const _ as usize },
8067        40usize,
8068        concat!(
8069            "Offset of field: ",
8070            stringify!(XGraphicsExposeEvent),
8071            "::",
8072            stringify!(x)
8073        )
8074    );
8075    assert_eq!(
8076        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).y as *const _ as usize },
8077        44usize,
8078        concat!(
8079            "Offset of field: ",
8080            stringify!(XGraphicsExposeEvent),
8081            "::",
8082            stringify!(y)
8083        )
8084    );
8085    assert_eq!(
8086        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).width as *const _ as usize },
8087        48usize,
8088        concat!(
8089            "Offset of field: ",
8090            stringify!(XGraphicsExposeEvent),
8091            "::",
8092            stringify!(width)
8093        )
8094    );
8095    assert_eq!(
8096        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).height as *const _ as usize },
8097        52usize,
8098        concat!(
8099            "Offset of field: ",
8100            stringify!(XGraphicsExposeEvent),
8101            "::",
8102            stringify!(height)
8103        )
8104    );
8105    assert_eq!(
8106        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).count as *const _ as usize },
8107        56usize,
8108        concat!(
8109            "Offset of field: ",
8110            stringify!(XGraphicsExposeEvent),
8111            "::",
8112            stringify!(count)
8113        )
8114    );
8115    assert_eq!(
8116        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).major_code as *const _ as usize },
8117        60usize,
8118        concat!(
8119            "Offset of field: ",
8120            stringify!(XGraphicsExposeEvent),
8121            "::",
8122            stringify!(major_code)
8123        )
8124    );
8125    assert_eq!(
8126        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).minor_code as *const _ as usize },
8127        64usize,
8128        concat!(
8129            "Offset of field: ",
8130            stringify!(XGraphicsExposeEvent),
8131            "::",
8132            stringify!(minor_code)
8133        )
8134    );
8135}
8136#[repr(C)]
8137#[derive(Debug, Copy, Clone)]
8138pub struct XNoExposeEvent {
8139    pub type_: ::std::os::raw::c_int,
8140    pub serial: ::std::os::raw::c_ulong,
8141    pub send_event: ::std::os::raw::c_int,
8142    pub display: *mut Display,
8143    pub drawable: Drawable,
8144    pub major_code: ::std::os::raw::c_int,
8145    pub minor_code: ::std::os::raw::c_int,
8146}
8147#[test]
8148fn bindgen_test_layout_XNoExposeEvent() {
8149    assert_eq!(
8150        ::std::mem::size_of::<XNoExposeEvent>(),
8151        48usize,
8152        concat!("Size of: ", stringify!(XNoExposeEvent))
8153    );
8154    assert_eq!(
8155        ::std::mem::align_of::<XNoExposeEvent>(),
8156        8usize,
8157        concat!("Alignment of ", stringify!(XNoExposeEvent))
8158    );
8159    assert_eq!(
8160        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).type_ as *const _ as usize },
8161        0usize,
8162        concat!(
8163            "Offset of field: ",
8164            stringify!(XNoExposeEvent),
8165            "::",
8166            stringify!(type_)
8167        )
8168    );
8169    assert_eq!(
8170        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).serial as *const _ as usize },
8171        8usize,
8172        concat!(
8173            "Offset of field: ",
8174            stringify!(XNoExposeEvent),
8175            "::",
8176            stringify!(serial)
8177        )
8178    );
8179    assert_eq!(
8180        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).send_event as *const _ as usize },
8181        16usize,
8182        concat!(
8183            "Offset of field: ",
8184            stringify!(XNoExposeEvent),
8185            "::",
8186            stringify!(send_event)
8187        )
8188    );
8189    assert_eq!(
8190        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).display as *const _ as usize },
8191        24usize,
8192        concat!(
8193            "Offset of field: ",
8194            stringify!(XNoExposeEvent),
8195            "::",
8196            stringify!(display)
8197        )
8198    );
8199    assert_eq!(
8200        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).drawable as *const _ as usize },
8201        32usize,
8202        concat!(
8203            "Offset of field: ",
8204            stringify!(XNoExposeEvent),
8205            "::",
8206            stringify!(drawable)
8207        )
8208    );
8209    assert_eq!(
8210        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).major_code as *const _ as usize },
8211        40usize,
8212        concat!(
8213            "Offset of field: ",
8214            stringify!(XNoExposeEvent),
8215            "::",
8216            stringify!(major_code)
8217        )
8218    );
8219    assert_eq!(
8220        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).minor_code as *const _ as usize },
8221        44usize,
8222        concat!(
8223            "Offset of field: ",
8224            stringify!(XNoExposeEvent),
8225            "::",
8226            stringify!(minor_code)
8227        )
8228    );
8229}
8230#[repr(C)]
8231#[derive(Debug, Copy, Clone)]
8232pub struct XVisibilityEvent {
8233    pub type_: ::std::os::raw::c_int,
8234    pub serial: ::std::os::raw::c_ulong,
8235    pub send_event: ::std::os::raw::c_int,
8236    pub display: *mut Display,
8237    pub window: Window,
8238    pub state: ::std::os::raw::c_int,
8239}
8240#[test]
8241fn bindgen_test_layout_XVisibilityEvent() {
8242    assert_eq!(
8243        ::std::mem::size_of::<XVisibilityEvent>(),
8244        48usize,
8245        concat!("Size of: ", stringify!(XVisibilityEvent))
8246    );
8247    assert_eq!(
8248        ::std::mem::align_of::<XVisibilityEvent>(),
8249        8usize,
8250        concat!("Alignment of ", stringify!(XVisibilityEvent))
8251    );
8252    assert_eq!(
8253        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).type_ as *const _ as usize },
8254        0usize,
8255        concat!(
8256            "Offset of field: ",
8257            stringify!(XVisibilityEvent),
8258            "::",
8259            stringify!(type_)
8260        )
8261    );
8262    assert_eq!(
8263        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).serial as *const _ as usize },
8264        8usize,
8265        concat!(
8266            "Offset of field: ",
8267            stringify!(XVisibilityEvent),
8268            "::",
8269            stringify!(serial)
8270        )
8271    );
8272    assert_eq!(
8273        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).send_event as *const _ as usize },
8274        16usize,
8275        concat!(
8276            "Offset of field: ",
8277            stringify!(XVisibilityEvent),
8278            "::",
8279            stringify!(send_event)
8280        )
8281    );
8282    assert_eq!(
8283        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).display as *const _ as usize },
8284        24usize,
8285        concat!(
8286            "Offset of field: ",
8287            stringify!(XVisibilityEvent),
8288            "::",
8289            stringify!(display)
8290        )
8291    );
8292    assert_eq!(
8293        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).window as *const _ as usize },
8294        32usize,
8295        concat!(
8296            "Offset of field: ",
8297            stringify!(XVisibilityEvent),
8298            "::",
8299            stringify!(window)
8300        )
8301    );
8302    assert_eq!(
8303        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).state as *const _ as usize },
8304        40usize,
8305        concat!(
8306            "Offset of field: ",
8307            stringify!(XVisibilityEvent),
8308            "::",
8309            stringify!(state)
8310        )
8311    );
8312}
8313#[repr(C)]
8314#[derive(Debug, Copy, Clone)]
8315pub struct XCreateWindowEvent {
8316    pub type_: ::std::os::raw::c_int,
8317    pub serial: ::std::os::raw::c_ulong,
8318    pub send_event: ::std::os::raw::c_int,
8319    pub display: *mut Display,
8320    pub parent: Window,
8321    pub window: Window,
8322    pub x: ::std::os::raw::c_int,
8323    pub y: ::std::os::raw::c_int,
8324    pub width: ::std::os::raw::c_int,
8325    pub height: ::std::os::raw::c_int,
8326    pub border_width: ::std::os::raw::c_int,
8327    pub override_redirect: ::std::os::raw::c_int,
8328}
8329#[test]
8330fn bindgen_test_layout_XCreateWindowEvent() {
8331    assert_eq!(
8332        ::std::mem::size_of::<XCreateWindowEvent>(),
8333        72usize,
8334        concat!("Size of: ", stringify!(XCreateWindowEvent))
8335    );
8336    assert_eq!(
8337        ::std::mem::align_of::<XCreateWindowEvent>(),
8338        8usize,
8339        concat!("Alignment of ", stringify!(XCreateWindowEvent))
8340    );
8341    assert_eq!(
8342        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).type_ as *const _ as usize },
8343        0usize,
8344        concat!(
8345            "Offset of field: ",
8346            stringify!(XCreateWindowEvent),
8347            "::",
8348            stringify!(type_)
8349        )
8350    );
8351    assert_eq!(
8352        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).serial as *const _ as usize },
8353        8usize,
8354        concat!(
8355            "Offset of field: ",
8356            stringify!(XCreateWindowEvent),
8357            "::",
8358            stringify!(serial)
8359        )
8360    );
8361    assert_eq!(
8362        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).send_event as *const _ as usize },
8363        16usize,
8364        concat!(
8365            "Offset of field: ",
8366            stringify!(XCreateWindowEvent),
8367            "::",
8368            stringify!(send_event)
8369        )
8370    );
8371    assert_eq!(
8372        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).display as *const _ as usize },
8373        24usize,
8374        concat!(
8375            "Offset of field: ",
8376            stringify!(XCreateWindowEvent),
8377            "::",
8378            stringify!(display)
8379        )
8380    );
8381    assert_eq!(
8382        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).parent as *const _ as usize },
8383        32usize,
8384        concat!(
8385            "Offset of field: ",
8386            stringify!(XCreateWindowEvent),
8387            "::",
8388            stringify!(parent)
8389        )
8390    );
8391    assert_eq!(
8392        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).window as *const _ as usize },
8393        40usize,
8394        concat!(
8395            "Offset of field: ",
8396            stringify!(XCreateWindowEvent),
8397            "::",
8398            stringify!(window)
8399        )
8400    );
8401    assert_eq!(
8402        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).x as *const _ as usize },
8403        48usize,
8404        concat!(
8405            "Offset of field: ",
8406            stringify!(XCreateWindowEvent),
8407            "::",
8408            stringify!(x)
8409        )
8410    );
8411    assert_eq!(
8412        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).y as *const _ as usize },
8413        52usize,
8414        concat!(
8415            "Offset of field: ",
8416            stringify!(XCreateWindowEvent),
8417            "::",
8418            stringify!(y)
8419        )
8420    );
8421    assert_eq!(
8422        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).width as *const _ as usize },
8423        56usize,
8424        concat!(
8425            "Offset of field: ",
8426            stringify!(XCreateWindowEvent),
8427            "::",
8428            stringify!(width)
8429        )
8430    );
8431    assert_eq!(
8432        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).height as *const _ as usize },
8433        60usize,
8434        concat!(
8435            "Offset of field: ",
8436            stringify!(XCreateWindowEvent),
8437            "::",
8438            stringify!(height)
8439        )
8440    );
8441    assert_eq!(
8442        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).border_width as *const _ as usize },
8443        64usize,
8444        concat!(
8445            "Offset of field: ",
8446            stringify!(XCreateWindowEvent),
8447            "::",
8448            stringify!(border_width)
8449        )
8450    );
8451    assert_eq!(
8452        unsafe {
8453            &(*(::std::ptr::null::<XCreateWindowEvent>())).override_redirect as *const _ as usize
8454        },
8455        68usize,
8456        concat!(
8457            "Offset of field: ",
8458            stringify!(XCreateWindowEvent),
8459            "::",
8460            stringify!(override_redirect)
8461        )
8462    );
8463}
8464#[repr(C)]
8465#[derive(Debug, Copy, Clone)]
8466pub struct XDestroyWindowEvent {
8467    pub type_: ::std::os::raw::c_int,
8468    pub serial: ::std::os::raw::c_ulong,
8469    pub send_event: ::std::os::raw::c_int,
8470    pub display: *mut Display,
8471    pub event: Window,
8472    pub window: Window,
8473}
8474#[test]
8475fn bindgen_test_layout_XDestroyWindowEvent() {
8476    assert_eq!(
8477        ::std::mem::size_of::<XDestroyWindowEvent>(),
8478        48usize,
8479        concat!("Size of: ", stringify!(XDestroyWindowEvent))
8480    );
8481    assert_eq!(
8482        ::std::mem::align_of::<XDestroyWindowEvent>(),
8483        8usize,
8484        concat!("Alignment of ", stringify!(XDestroyWindowEvent))
8485    );
8486    assert_eq!(
8487        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).type_ as *const _ as usize },
8488        0usize,
8489        concat!(
8490            "Offset of field: ",
8491            stringify!(XDestroyWindowEvent),
8492            "::",
8493            stringify!(type_)
8494        )
8495    );
8496    assert_eq!(
8497        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).serial as *const _ as usize },
8498        8usize,
8499        concat!(
8500            "Offset of field: ",
8501            stringify!(XDestroyWindowEvent),
8502            "::",
8503            stringify!(serial)
8504        )
8505    );
8506    assert_eq!(
8507        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).send_event as *const _ as usize },
8508        16usize,
8509        concat!(
8510            "Offset of field: ",
8511            stringify!(XDestroyWindowEvent),
8512            "::",
8513            stringify!(send_event)
8514        )
8515    );
8516    assert_eq!(
8517        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).display as *const _ as usize },
8518        24usize,
8519        concat!(
8520            "Offset of field: ",
8521            stringify!(XDestroyWindowEvent),
8522            "::",
8523            stringify!(display)
8524        )
8525    );
8526    assert_eq!(
8527        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).event as *const _ as usize },
8528        32usize,
8529        concat!(
8530            "Offset of field: ",
8531            stringify!(XDestroyWindowEvent),
8532            "::",
8533            stringify!(event)
8534        )
8535    );
8536    assert_eq!(
8537        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).window as *const _ as usize },
8538        40usize,
8539        concat!(
8540            "Offset of field: ",
8541            stringify!(XDestroyWindowEvent),
8542            "::",
8543            stringify!(window)
8544        )
8545    );
8546}
8547#[repr(C)]
8548#[derive(Debug, Copy, Clone)]
8549pub struct XUnmapEvent {
8550    pub type_: ::std::os::raw::c_int,
8551    pub serial: ::std::os::raw::c_ulong,
8552    pub send_event: ::std::os::raw::c_int,
8553    pub display: *mut Display,
8554    pub event: Window,
8555    pub window: Window,
8556    pub from_configure: ::std::os::raw::c_int,
8557}
8558#[test]
8559fn bindgen_test_layout_XUnmapEvent() {
8560    assert_eq!(
8561        ::std::mem::size_of::<XUnmapEvent>(),
8562        56usize,
8563        concat!("Size of: ", stringify!(XUnmapEvent))
8564    );
8565    assert_eq!(
8566        ::std::mem::align_of::<XUnmapEvent>(),
8567        8usize,
8568        concat!("Alignment of ", stringify!(XUnmapEvent))
8569    );
8570    assert_eq!(
8571        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).type_ as *const _ as usize },
8572        0usize,
8573        concat!(
8574            "Offset of field: ",
8575            stringify!(XUnmapEvent),
8576            "::",
8577            stringify!(type_)
8578        )
8579    );
8580    assert_eq!(
8581        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).serial as *const _ as usize },
8582        8usize,
8583        concat!(
8584            "Offset of field: ",
8585            stringify!(XUnmapEvent),
8586            "::",
8587            stringify!(serial)
8588        )
8589    );
8590    assert_eq!(
8591        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).send_event as *const _ as usize },
8592        16usize,
8593        concat!(
8594            "Offset of field: ",
8595            stringify!(XUnmapEvent),
8596            "::",
8597            stringify!(send_event)
8598        )
8599    );
8600    assert_eq!(
8601        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).display as *const _ as usize },
8602        24usize,
8603        concat!(
8604            "Offset of field: ",
8605            stringify!(XUnmapEvent),
8606            "::",
8607            stringify!(display)
8608        )
8609    );
8610    assert_eq!(
8611        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).event as *const _ as usize },
8612        32usize,
8613        concat!(
8614            "Offset of field: ",
8615            stringify!(XUnmapEvent),
8616            "::",
8617            stringify!(event)
8618        )
8619    );
8620    assert_eq!(
8621        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).window as *const _ as usize },
8622        40usize,
8623        concat!(
8624            "Offset of field: ",
8625            stringify!(XUnmapEvent),
8626            "::",
8627            stringify!(window)
8628        )
8629    );
8630    assert_eq!(
8631        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).from_configure as *const _ as usize },
8632        48usize,
8633        concat!(
8634            "Offset of field: ",
8635            stringify!(XUnmapEvent),
8636            "::",
8637            stringify!(from_configure)
8638        )
8639    );
8640}
8641#[repr(C)]
8642#[derive(Debug, Copy, Clone)]
8643pub struct XMapEvent {
8644    pub type_: ::std::os::raw::c_int,
8645    pub serial: ::std::os::raw::c_ulong,
8646    pub send_event: ::std::os::raw::c_int,
8647    pub display: *mut Display,
8648    pub event: Window,
8649    pub window: Window,
8650    pub override_redirect: ::std::os::raw::c_int,
8651}
8652#[test]
8653fn bindgen_test_layout_XMapEvent() {
8654    assert_eq!(
8655        ::std::mem::size_of::<XMapEvent>(),
8656        56usize,
8657        concat!("Size of: ", stringify!(XMapEvent))
8658    );
8659    assert_eq!(
8660        ::std::mem::align_of::<XMapEvent>(),
8661        8usize,
8662        concat!("Alignment of ", stringify!(XMapEvent))
8663    );
8664    assert_eq!(
8665        unsafe { &(*(::std::ptr::null::<XMapEvent>())).type_ as *const _ as usize },
8666        0usize,
8667        concat!(
8668            "Offset of field: ",
8669            stringify!(XMapEvent),
8670            "::",
8671            stringify!(type_)
8672        )
8673    );
8674    assert_eq!(
8675        unsafe { &(*(::std::ptr::null::<XMapEvent>())).serial as *const _ as usize },
8676        8usize,
8677        concat!(
8678            "Offset of field: ",
8679            stringify!(XMapEvent),
8680            "::",
8681            stringify!(serial)
8682        )
8683    );
8684    assert_eq!(
8685        unsafe { &(*(::std::ptr::null::<XMapEvent>())).send_event as *const _ as usize },
8686        16usize,
8687        concat!(
8688            "Offset of field: ",
8689            stringify!(XMapEvent),
8690            "::",
8691            stringify!(send_event)
8692        )
8693    );
8694    assert_eq!(
8695        unsafe { &(*(::std::ptr::null::<XMapEvent>())).display as *const _ as usize },
8696        24usize,
8697        concat!(
8698            "Offset of field: ",
8699            stringify!(XMapEvent),
8700            "::",
8701            stringify!(display)
8702        )
8703    );
8704    assert_eq!(
8705        unsafe { &(*(::std::ptr::null::<XMapEvent>())).event as *const _ as usize },
8706        32usize,
8707        concat!(
8708            "Offset of field: ",
8709            stringify!(XMapEvent),
8710            "::",
8711            stringify!(event)
8712        )
8713    );
8714    assert_eq!(
8715        unsafe { &(*(::std::ptr::null::<XMapEvent>())).window as *const _ as usize },
8716        40usize,
8717        concat!(
8718            "Offset of field: ",
8719            stringify!(XMapEvent),
8720            "::",
8721            stringify!(window)
8722        )
8723    );
8724    assert_eq!(
8725        unsafe { &(*(::std::ptr::null::<XMapEvent>())).override_redirect as *const _ as usize },
8726        48usize,
8727        concat!(
8728            "Offset of field: ",
8729            stringify!(XMapEvent),
8730            "::",
8731            stringify!(override_redirect)
8732        )
8733    );
8734}
8735#[repr(C)]
8736#[derive(Debug, Copy, Clone)]
8737pub struct XMapRequestEvent {
8738    pub type_: ::std::os::raw::c_int,
8739    pub serial: ::std::os::raw::c_ulong,
8740    pub send_event: ::std::os::raw::c_int,
8741    pub display: *mut Display,
8742    pub parent: Window,
8743    pub window: Window,
8744}
8745#[test]
8746fn bindgen_test_layout_XMapRequestEvent() {
8747    assert_eq!(
8748        ::std::mem::size_of::<XMapRequestEvent>(),
8749        48usize,
8750        concat!("Size of: ", stringify!(XMapRequestEvent))
8751    );
8752    assert_eq!(
8753        ::std::mem::align_of::<XMapRequestEvent>(),
8754        8usize,
8755        concat!("Alignment of ", stringify!(XMapRequestEvent))
8756    );
8757    assert_eq!(
8758        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).type_ as *const _ as usize },
8759        0usize,
8760        concat!(
8761            "Offset of field: ",
8762            stringify!(XMapRequestEvent),
8763            "::",
8764            stringify!(type_)
8765        )
8766    );
8767    assert_eq!(
8768        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).serial as *const _ as usize },
8769        8usize,
8770        concat!(
8771            "Offset of field: ",
8772            stringify!(XMapRequestEvent),
8773            "::",
8774            stringify!(serial)
8775        )
8776    );
8777    assert_eq!(
8778        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).send_event as *const _ as usize },
8779        16usize,
8780        concat!(
8781            "Offset of field: ",
8782            stringify!(XMapRequestEvent),
8783            "::",
8784            stringify!(send_event)
8785        )
8786    );
8787    assert_eq!(
8788        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).display as *const _ as usize },
8789        24usize,
8790        concat!(
8791            "Offset of field: ",
8792            stringify!(XMapRequestEvent),
8793            "::",
8794            stringify!(display)
8795        )
8796    );
8797    assert_eq!(
8798        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).parent as *const _ as usize },
8799        32usize,
8800        concat!(
8801            "Offset of field: ",
8802            stringify!(XMapRequestEvent),
8803            "::",
8804            stringify!(parent)
8805        )
8806    );
8807    assert_eq!(
8808        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).window as *const _ as usize },
8809        40usize,
8810        concat!(
8811            "Offset of field: ",
8812            stringify!(XMapRequestEvent),
8813            "::",
8814            stringify!(window)
8815        )
8816    );
8817}
8818#[repr(C)]
8819#[derive(Debug, Copy, Clone)]
8820pub struct XReparentEvent {
8821    pub type_: ::std::os::raw::c_int,
8822    pub serial: ::std::os::raw::c_ulong,
8823    pub send_event: ::std::os::raw::c_int,
8824    pub display: *mut Display,
8825    pub event: Window,
8826    pub window: Window,
8827    pub parent: Window,
8828    pub x: ::std::os::raw::c_int,
8829    pub y: ::std::os::raw::c_int,
8830    pub override_redirect: ::std::os::raw::c_int,
8831}
8832#[test]
8833fn bindgen_test_layout_XReparentEvent() {
8834    assert_eq!(
8835        ::std::mem::size_of::<XReparentEvent>(),
8836        72usize,
8837        concat!("Size of: ", stringify!(XReparentEvent))
8838    );
8839    assert_eq!(
8840        ::std::mem::align_of::<XReparentEvent>(),
8841        8usize,
8842        concat!("Alignment of ", stringify!(XReparentEvent))
8843    );
8844    assert_eq!(
8845        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).type_ as *const _ as usize },
8846        0usize,
8847        concat!(
8848            "Offset of field: ",
8849            stringify!(XReparentEvent),
8850            "::",
8851            stringify!(type_)
8852        )
8853    );
8854    assert_eq!(
8855        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).serial as *const _ as usize },
8856        8usize,
8857        concat!(
8858            "Offset of field: ",
8859            stringify!(XReparentEvent),
8860            "::",
8861            stringify!(serial)
8862        )
8863    );
8864    assert_eq!(
8865        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).send_event as *const _ as usize },
8866        16usize,
8867        concat!(
8868            "Offset of field: ",
8869            stringify!(XReparentEvent),
8870            "::",
8871            stringify!(send_event)
8872        )
8873    );
8874    assert_eq!(
8875        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).display as *const _ as usize },
8876        24usize,
8877        concat!(
8878            "Offset of field: ",
8879            stringify!(XReparentEvent),
8880            "::",
8881            stringify!(display)
8882        )
8883    );
8884    assert_eq!(
8885        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).event as *const _ as usize },
8886        32usize,
8887        concat!(
8888            "Offset of field: ",
8889            stringify!(XReparentEvent),
8890            "::",
8891            stringify!(event)
8892        )
8893    );
8894    assert_eq!(
8895        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).window as *const _ as usize },
8896        40usize,
8897        concat!(
8898            "Offset of field: ",
8899            stringify!(XReparentEvent),
8900            "::",
8901            stringify!(window)
8902        )
8903    );
8904    assert_eq!(
8905        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).parent as *const _ as usize },
8906        48usize,
8907        concat!(
8908            "Offset of field: ",
8909            stringify!(XReparentEvent),
8910            "::",
8911            stringify!(parent)
8912        )
8913    );
8914    assert_eq!(
8915        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).x as *const _ as usize },
8916        56usize,
8917        concat!(
8918            "Offset of field: ",
8919            stringify!(XReparentEvent),
8920            "::",
8921            stringify!(x)
8922        )
8923    );
8924    assert_eq!(
8925        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).y as *const _ as usize },
8926        60usize,
8927        concat!(
8928            "Offset of field: ",
8929            stringify!(XReparentEvent),
8930            "::",
8931            stringify!(y)
8932        )
8933    );
8934    assert_eq!(
8935        unsafe {
8936            &(*(::std::ptr::null::<XReparentEvent>())).override_redirect as *const _ as usize
8937        },
8938        64usize,
8939        concat!(
8940            "Offset of field: ",
8941            stringify!(XReparentEvent),
8942            "::",
8943            stringify!(override_redirect)
8944        )
8945    );
8946}
8947#[repr(C)]
8948#[derive(Debug, Copy, Clone)]
8949pub struct XConfigureEvent {
8950    pub type_: ::std::os::raw::c_int,
8951    pub serial: ::std::os::raw::c_ulong,
8952    pub send_event: ::std::os::raw::c_int,
8953    pub display: *mut Display,
8954    pub event: Window,
8955    pub window: Window,
8956    pub x: ::std::os::raw::c_int,
8957    pub y: ::std::os::raw::c_int,
8958    pub width: ::std::os::raw::c_int,
8959    pub height: ::std::os::raw::c_int,
8960    pub border_width: ::std::os::raw::c_int,
8961    pub above: Window,
8962    pub override_redirect: ::std::os::raw::c_int,
8963}
8964#[test]
8965fn bindgen_test_layout_XConfigureEvent() {
8966    assert_eq!(
8967        ::std::mem::size_of::<XConfigureEvent>(),
8968        88usize,
8969        concat!("Size of: ", stringify!(XConfigureEvent))
8970    );
8971    assert_eq!(
8972        ::std::mem::align_of::<XConfigureEvent>(),
8973        8usize,
8974        concat!("Alignment of ", stringify!(XConfigureEvent))
8975    );
8976    assert_eq!(
8977        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).type_ as *const _ as usize },
8978        0usize,
8979        concat!(
8980            "Offset of field: ",
8981            stringify!(XConfigureEvent),
8982            "::",
8983            stringify!(type_)
8984        )
8985    );
8986    assert_eq!(
8987        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).serial as *const _ as usize },
8988        8usize,
8989        concat!(
8990            "Offset of field: ",
8991            stringify!(XConfigureEvent),
8992            "::",
8993            stringify!(serial)
8994        )
8995    );
8996    assert_eq!(
8997        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).send_event as *const _ as usize },
8998        16usize,
8999        concat!(
9000            "Offset of field: ",
9001            stringify!(XConfigureEvent),
9002            "::",
9003            stringify!(send_event)
9004        )
9005    );
9006    assert_eq!(
9007        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).display as *const _ as usize },
9008        24usize,
9009        concat!(
9010            "Offset of field: ",
9011            stringify!(XConfigureEvent),
9012            "::",
9013            stringify!(display)
9014        )
9015    );
9016    assert_eq!(
9017        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).event as *const _ as usize },
9018        32usize,
9019        concat!(
9020            "Offset of field: ",
9021            stringify!(XConfigureEvent),
9022            "::",
9023            stringify!(event)
9024        )
9025    );
9026    assert_eq!(
9027        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).window as *const _ as usize },
9028        40usize,
9029        concat!(
9030            "Offset of field: ",
9031            stringify!(XConfigureEvent),
9032            "::",
9033            stringify!(window)
9034        )
9035    );
9036    assert_eq!(
9037        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).x as *const _ as usize },
9038        48usize,
9039        concat!(
9040            "Offset of field: ",
9041            stringify!(XConfigureEvent),
9042            "::",
9043            stringify!(x)
9044        )
9045    );
9046    assert_eq!(
9047        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).y as *const _ as usize },
9048        52usize,
9049        concat!(
9050            "Offset of field: ",
9051            stringify!(XConfigureEvent),
9052            "::",
9053            stringify!(y)
9054        )
9055    );
9056    assert_eq!(
9057        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).width as *const _ as usize },
9058        56usize,
9059        concat!(
9060            "Offset of field: ",
9061            stringify!(XConfigureEvent),
9062            "::",
9063            stringify!(width)
9064        )
9065    );
9066    assert_eq!(
9067        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).height as *const _ as usize },
9068        60usize,
9069        concat!(
9070            "Offset of field: ",
9071            stringify!(XConfigureEvent),
9072            "::",
9073            stringify!(height)
9074        )
9075    );
9076    assert_eq!(
9077        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).border_width as *const _ as usize },
9078        64usize,
9079        concat!(
9080            "Offset of field: ",
9081            stringify!(XConfigureEvent),
9082            "::",
9083            stringify!(border_width)
9084        )
9085    );
9086    assert_eq!(
9087        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).above as *const _ as usize },
9088        72usize,
9089        concat!(
9090            "Offset of field: ",
9091            stringify!(XConfigureEvent),
9092            "::",
9093            stringify!(above)
9094        )
9095    );
9096    assert_eq!(
9097        unsafe {
9098            &(*(::std::ptr::null::<XConfigureEvent>())).override_redirect as *const _ as usize
9099        },
9100        80usize,
9101        concat!(
9102            "Offset of field: ",
9103            stringify!(XConfigureEvent),
9104            "::",
9105            stringify!(override_redirect)
9106        )
9107    );
9108}
9109#[repr(C)]
9110#[derive(Debug, Copy, Clone)]
9111pub struct XGravityEvent {
9112    pub type_: ::std::os::raw::c_int,
9113    pub serial: ::std::os::raw::c_ulong,
9114    pub send_event: ::std::os::raw::c_int,
9115    pub display: *mut Display,
9116    pub event: Window,
9117    pub window: Window,
9118    pub x: ::std::os::raw::c_int,
9119    pub y: ::std::os::raw::c_int,
9120}
9121#[test]
9122fn bindgen_test_layout_XGravityEvent() {
9123    assert_eq!(
9124        ::std::mem::size_of::<XGravityEvent>(),
9125        56usize,
9126        concat!("Size of: ", stringify!(XGravityEvent))
9127    );
9128    assert_eq!(
9129        ::std::mem::align_of::<XGravityEvent>(),
9130        8usize,
9131        concat!("Alignment of ", stringify!(XGravityEvent))
9132    );
9133    assert_eq!(
9134        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).type_ as *const _ as usize },
9135        0usize,
9136        concat!(
9137            "Offset of field: ",
9138            stringify!(XGravityEvent),
9139            "::",
9140            stringify!(type_)
9141        )
9142    );
9143    assert_eq!(
9144        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).serial as *const _ as usize },
9145        8usize,
9146        concat!(
9147            "Offset of field: ",
9148            stringify!(XGravityEvent),
9149            "::",
9150            stringify!(serial)
9151        )
9152    );
9153    assert_eq!(
9154        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).send_event as *const _ as usize },
9155        16usize,
9156        concat!(
9157            "Offset of field: ",
9158            stringify!(XGravityEvent),
9159            "::",
9160            stringify!(send_event)
9161        )
9162    );
9163    assert_eq!(
9164        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).display as *const _ as usize },
9165        24usize,
9166        concat!(
9167            "Offset of field: ",
9168            stringify!(XGravityEvent),
9169            "::",
9170            stringify!(display)
9171        )
9172    );
9173    assert_eq!(
9174        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).event as *const _ as usize },
9175        32usize,
9176        concat!(
9177            "Offset of field: ",
9178            stringify!(XGravityEvent),
9179            "::",
9180            stringify!(event)
9181        )
9182    );
9183    assert_eq!(
9184        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).window as *const _ as usize },
9185        40usize,
9186        concat!(
9187            "Offset of field: ",
9188            stringify!(XGravityEvent),
9189            "::",
9190            stringify!(window)
9191        )
9192    );
9193    assert_eq!(
9194        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).x as *const _ as usize },
9195        48usize,
9196        concat!(
9197            "Offset of field: ",
9198            stringify!(XGravityEvent),
9199            "::",
9200            stringify!(x)
9201        )
9202    );
9203    assert_eq!(
9204        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).y as *const _ as usize },
9205        52usize,
9206        concat!(
9207            "Offset of field: ",
9208            stringify!(XGravityEvent),
9209            "::",
9210            stringify!(y)
9211        )
9212    );
9213}
9214#[repr(C)]
9215#[derive(Debug, Copy, Clone)]
9216pub struct XResizeRequestEvent {
9217    pub type_: ::std::os::raw::c_int,
9218    pub serial: ::std::os::raw::c_ulong,
9219    pub send_event: ::std::os::raw::c_int,
9220    pub display: *mut Display,
9221    pub window: Window,
9222    pub width: ::std::os::raw::c_int,
9223    pub height: ::std::os::raw::c_int,
9224}
9225#[test]
9226fn bindgen_test_layout_XResizeRequestEvent() {
9227    assert_eq!(
9228        ::std::mem::size_of::<XResizeRequestEvent>(),
9229        48usize,
9230        concat!("Size of: ", stringify!(XResizeRequestEvent))
9231    );
9232    assert_eq!(
9233        ::std::mem::align_of::<XResizeRequestEvent>(),
9234        8usize,
9235        concat!("Alignment of ", stringify!(XResizeRequestEvent))
9236    );
9237    assert_eq!(
9238        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).type_ as *const _ as usize },
9239        0usize,
9240        concat!(
9241            "Offset of field: ",
9242            stringify!(XResizeRequestEvent),
9243            "::",
9244            stringify!(type_)
9245        )
9246    );
9247    assert_eq!(
9248        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).serial as *const _ as usize },
9249        8usize,
9250        concat!(
9251            "Offset of field: ",
9252            stringify!(XResizeRequestEvent),
9253            "::",
9254            stringify!(serial)
9255        )
9256    );
9257    assert_eq!(
9258        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).send_event as *const _ as usize },
9259        16usize,
9260        concat!(
9261            "Offset of field: ",
9262            stringify!(XResizeRequestEvent),
9263            "::",
9264            stringify!(send_event)
9265        )
9266    );
9267    assert_eq!(
9268        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).display as *const _ as usize },
9269        24usize,
9270        concat!(
9271            "Offset of field: ",
9272            stringify!(XResizeRequestEvent),
9273            "::",
9274            stringify!(display)
9275        )
9276    );
9277    assert_eq!(
9278        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).window as *const _ as usize },
9279        32usize,
9280        concat!(
9281            "Offset of field: ",
9282            stringify!(XResizeRequestEvent),
9283            "::",
9284            stringify!(window)
9285        )
9286    );
9287    assert_eq!(
9288        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).width as *const _ as usize },
9289        40usize,
9290        concat!(
9291            "Offset of field: ",
9292            stringify!(XResizeRequestEvent),
9293            "::",
9294            stringify!(width)
9295        )
9296    );
9297    assert_eq!(
9298        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).height as *const _ as usize },
9299        44usize,
9300        concat!(
9301            "Offset of field: ",
9302            stringify!(XResizeRequestEvent),
9303            "::",
9304            stringify!(height)
9305        )
9306    );
9307}
9308#[repr(C)]
9309#[derive(Debug, Copy, Clone)]
9310pub struct XConfigureRequestEvent {
9311    pub type_: ::std::os::raw::c_int,
9312    pub serial: ::std::os::raw::c_ulong,
9313    pub send_event: ::std::os::raw::c_int,
9314    pub display: *mut Display,
9315    pub parent: Window,
9316    pub window: Window,
9317    pub x: ::std::os::raw::c_int,
9318    pub y: ::std::os::raw::c_int,
9319    pub width: ::std::os::raw::c_int,
9320    pub height: ::std::os::raw::c_int,
9321    pub border_width: ::std::os::raw::c_int,
9322    pub above: Window,
9323    pub detail: ::std::os::raw::c_int,
9324    pub value_mask: ::std::os::raw::c_ulong,
9325}
9326#[test]
9327fn bindgen_test_layout_XConfigureRequestEvent() {
9328    assert_eq!(
9329        ::std::mem::size_of::<XConfigureRequestEvent>(),
9330        96usize,
9331        concat!("Size of: ", stringify!(XConfigureRequestEvent))
9332    );
9333    assert_eq!(
9334        ::std::mem::align_of::<XConfigureRequestEvent>(),
9335        8usize,
9336        concat!("Alignment of ", stringify!(XConfigureRequestEvent))
9337    );
9338    assert_eq!(
9339        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).type_ as *const _ as usize },
9340        0usize,
9341        concat!(
9342            "Offset of field: ",
9343            stringify!(XConfigureRequestEvent),
9344            "::",
9345            stringify!(type_)
9346        )
9347    );
9348    assert_eq!(
9349        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).serial as *const _ as usize },
9350        8usize,
9351        concat!(
9352            "Offset of field: ",
9353            stringify!(XConfigureRequestEvent),
9354            "::",
9355            stringify!(serial)
9356        )
9357    );
9358    assert_eq!(
9359        unsafe {
9360            &(*(::std::ptr::null::<XConfigureRequestEvent>())).send_event as *const _ as usize
9361        },
9362        16usize,
9363        concat!(
9364            "Offset of field: ",
9365            stringify!(XConfigureRequestEvent),
9366            "::",
9367            stringify!(send_event)
9368        )
9369    );
9370    assert_eq!(
9371        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).display as *const _ as usize },
9372        24usize,
9373        concat!(
9374            "Offset of field: ",
9375            stringify!(XConfigureRequestEvent),
9376            "::",
9377            stringify!(display)
9378        )
9379    );
9380    assert_eq!(
9381        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).parent as *const _ as usize },
9382        32usize,
9383        concat!(
9384            "Offset of field: ",
9385            stringify!(XConfigureRequestEvent),
9386            "::",
9387            stringify!(parent)
9388        )
9389    );
9390    assert_eq!(
9391        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).window as *const _ as usize },
9392        40usize,
9393        concat!(
9394            "Offset of field: ",
9395            stringify!(XConfigureRequestEvent),
9396            "::",
9397            stringify!(window)
9398        )
9399    );
9400    assert_eq!(
9401        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).x as *const _ as usize },
9402        48usize,
9403        concat!(
9404            "Offset of field: ",
9405            stringify!(XConfigureRequestEvent),
9406            "::",
9407            stringify!(x)
9408        )
9409    );
9410    assert_eq!(
9411        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).y as *const _ as usize },
9412        52usize,
9413        concat!(
9414            "Offset of field: ",
9415            stringify!(XConfigureRequestEvent),
9416            "::",
9417            stringify!(y)
9418        )
9419    );
9420    assert_eq!(
9421        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).width as *const _ as usize },
9422        56usize,
9423        concat!(
9424            "Offset of field: ",
9425            stringify!(XConfigureRequestEvent),
9426            "::",
9427            stringify!(width)
9428        )
9429    );
9430    assert_eq!(
9431        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).height as *const _ as usize },
9432        60usize,
9433        concat!(
9434            "Offset of field: ",
9435            stringify!(XConfigureRequestEvent),
9436            "::",
9437            stringify!(height)
9438        )
9439    );
9440    assert_eq!(
9441        unsafe {
9442            &(*(::std::ptr::null::<XConfigureRequestEvent>())).border_width as *const _ as usize
9443        },
9444        64usize,
9445        concat!(
9446            "Offset of field: ",
9447            stringify!(XConfigureRequestEvent),
9448            "::",
9449            stringify!(border_width)
9450        )
9451    );
9452    assert_eq!(
9453        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).above as *const _ as usize },
9454        72usize,
9455        concat!(
9456            "Offset of field: ",
9457            stringify!(XConfigureRequestEvent),
9458            "::",
9459            stringify!(above)
9460        )
9461    );
9462    assert_eq!(
9463        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).detail as *const _ as usize },
9464        80usize,
9465        concat!(
9466            "Offset of field: ",
9467            stringify!(XConfigureRequestEvent),
9468            "::",
9469            stringify!(detail)
9470        )
9471    );
9472    assert_eq!(
9473        unsafe {
9474            &(*(::std::ptr::null::<XConfigureRequestEvent>())).value_mask as *const _ as usize
9475        },
9476        88usize,
9477        concat!(
9478            "Offset of field: ",
9479            stringify!(XConfigureRequestEvent),
9480            "::",
9481            stringify!(value_mask)
9482        )
9483    );
9484}
9485#[repr(C)]
9486#[derive(Debug, Copy, Clone)]
9487pub struct XCirculateEvent {
9488    pub type_: ::std::os::raw::c_int,
9489    pub serial: ::std::os::raw::c_ulong,
9490    pub send_event: ::std::os::raw::c_int,
9491    pub display: *mut Display,
9492    pub event: Window,
9493    pub window: Window,
9494    pub place: ::std::os::raw::c_int,
9495}
9496#[test]
9497fn bindgen_test_layout_XCirculateEvent() {
9498    assert_eq!(
9499        ::std::mem::size_of::<XCirculateEvent>(),
9500        56usize,
9501        concat!("Size of: ", stringify!(XCirculateEvent))
9502    );
9503    assert_eq!(
9504        ::std::mem::align_of::<XCirculateEvent>(),
9505        8usize,
9506        concat!("Alignment of ", stringify!(XCirculateEvent))
9507    );
9508    assert_eq!(
9509        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).type_ as *const _ as usize },
9510        0usize,
9511        concat!(
9512            "Offset of field: ",
9513            stringify!(XCirculateEvent),
9514            "::",
9515            stringify!(type_)
9516        )
9517    );
9518    assert_eq!(
9519        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).serial as *const _ as usize },
9520        8usize,
9521        concat!(
9522            "Offset of field: ",
9523            stringify!(XCirculateEvent),
9524            "::",
9525            stringify!(serial)
9526        )
9527    );
9528    assert_eq!(
9529        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).send_event as *const _ as usize },
9530        16usize,
9531        concat!(
9532            "Offset of field: ",
9533            stringify!(XCirculateEvent),
9534            "::",
9535            stringify!(send_event)
9536        )
9537    );
9538    assert_eq!(
9539        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).display as *const _ as usize },
9540        24usize,
9541        concat!(
9542            "Offset of field: ",
9543            stringify!(XCirculateEvent),
9544            "::",
9545            stringify!(display)
9546        )
9547    );
9548    assert_eq!(
9549        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).event as *const _ as usize },
9550        32usize,
9551        concat!(
9552            "Offset of field: ",
9553            stringify!(XCirculateEvent),
9554            "::",
9555            stringify!(event)
9556        )
9557    );
9558    assert_eq!(
9559        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).window as *const _ as usize },
9560        40usize,
9561        concat!(
9562            "Offset of field: ",
9563            stringify!(XCirculateEvent),
9564            "::",
9565            stringify!(window)
9566        )
9567    );
9568    assert_eq!(
9569        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).place as *const _ as usize },
9570        48usize,
9571        concat!(
9572            "Offset of field: ",
9573            stringify!(XCirculateEvent),
9574            "::",
9575            stringify!(place)
9576        )
9577    );
9578}
9579#[repr(C)]
9580#[derive(Debug, Copy, Clone)]
9581pub struct XCirculateRequestEvent {
9582    pub type_: ::std::os::raw::c_int,
9583    pub serial: ::std::os::raw::c_ulong,
9584    pub send_event: ::std::os::raw::c_int,
9585    pub display: *mut Display,
9586    pub parent: Window,
9587    pub window: Window,
9588    pub place: ::std::os::raw::c_int,
9589}
9590#[test]
9591fn bindgen_test_layout_XCirculateRequestEvent() {
9592    assert_eq!(
9593        ::std::mem::size_of::<XCirculateRequestEvent>(),
9594        56usize,
9595        concat!("Size of: ", stringify!(XCirculateRequestEvent))
9596    );
9597    assert_eq!(
9598        ::std::mem::align_of::<XCirculateRequestEvent>(),
9599        8usize,
9600        concat!("Alignment of ", stringify!(XCirculateRequestEvent))
9601    );
9602    assert_eq!(
9603        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).type_ as *const _ as usize },
9604        0usize,
9605        concat!(
9606            "Offset of field: ",
9607            stringify!(XCirculateRequestEvent),
9608            "::",
9609            stringify!(type_)
9610        )
9611    );
9612    assert_eq!(
9613        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).serial as *const _ as usize },
9614        8usize,
9615        concat!(
9616            "Offset of field: ",
9617            stringify!(XCirculateRequestEvent),
9618            "::",
9619            stringify!(serial)
9620        )
9621    );
9622    assert_eq!(
9623        unsafe {
9624            &(*(::std::ptr::null::<XCirculateRequestEvent>())).send_event as *const _ as usize
9625        },
9626        16usize,
9627        concat!(
9628            "Offset of field: ",
9629            stringify!(XCirculateRequestEvent),
9630            "::",
9631            stringify!(send_event)
9632        )
9633    );
9634    assert_eq!(
9635        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).display as *const _ as usize },
9636        24usize,
9637        concat!(
9638            "Offset of field: ",
9639            stringify!(XCirculateRequestEvent),
9640            "::",
9641            stringify!(display)
9642        )
9643    );
9644    assert_eq!(
9645        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).parent as *const _ as usize },
9646        32usize,
9647        concat!(
9648            "Offset of field: ",
9649            stringify!(XCirculateRequestEvent),
9650            "::",
9651            stringify!(parent)
9652        )
9653    );
9654    assert_eq!(
9655        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).window as *const _ as usize },
9656        40usize,
9657        concat!(
9658            "Offset of field: ",
9659            stringify!(XCirculateRequestEvent),
9660            "::",
9661            stringify!(window)
9662        )
9663    );
9664    assert_eq!(
9665        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).place as *const _ as usize },
9666        48usize,
9667        concat!(
9668            "Offset of field: ",
9669            stringify!(XCirculateRequestEvent),
9670            "::",
9671            stringify!(place)
9672        )
9673    );
9674}
9675#[repr(C)]
9676#[derive(Debug, Copy, Clone)]
9677pub struct XPropertyEvent {
9678    pub type_: ::std::os::raw::c_int,
9679    pub serial: ::std::os::raw::c_ulong,
9680    pub send_event: ::std::os::raw::c_int,
9681    pub display: *mut Display,
9682    pub window: Window,
9683    pub atom: Atom,
9684    pub time: Time,
9685    pub state: ::std::os::raw::c_int,
9686}
9687#[test]
9688fn bindgen_test_layout_XPropertyEvent() {
9689    assert_eq!(
9690        ::std::mem::size_of::<XPropertyEvent>(),
9691        64usize,
9692        concat!("Size of: ", stringify!(XPropertyEvent))
9693    );
9694    assert_eq!(
9695        ::std::mem::align_of::<XPropertyEvent>(),
9696        8usize,
9697        concat!("Alignment of ", stringify!(XPropertyEvent))
9698    );
9699    assert_eq!(
9700        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).type_ as *const _ as usize },
9701        0usize,
9702        concat!(
9703            "Offset of field: ",
9704            stringify!(XPropertyEvent),
9705            "::",
9706            stringify!(type_)
9707        )
9708    );
9709    assert_eq!(
9710        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).serial as *const _ as usize },
9711        8usize,
9712        concat!(
9713            "Offset of field: ",
9714            stringify!(XPropertyEvent),
9715            "::",
9716            stringify!(serial)
9717        )
9718    );
9719    assert_eq!(
9720        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).send_event as *const _ as usize },
9721        16usize,
9722        concat!(
9723            "Offset of field: ",
9724            stringify!(XPropertyEvent),
9725            "::",
9726            stringify!(send_event)
9727        )
9728    );
9729    assert_eq!(
9730        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).display as *const _ as usize },
9731        24usize,
9732        concat!(
9733            "Offset of field: ",
9734            stringify!(XPropertyEvent),
9735            "::",
9736            stringify!(display)
9737        )
9738    );
9739    assert_eq!(
9740        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).window as *const _ as usize },
9741        32usize,
9742        concat!(
9743            "Offset of field: ",
9744            stringify!(XPropertyEvent),
9745            "::",
9746            stringify!(window)
9747        )
9748    );
9749    assert_eq!(
9750        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).atom as *const _ as usize },
9751        40usize,
9752        concat!(
9753            "Offset of field: ",
9754            stringify!(XPropertyEvent),
9755            "::",
9756            stringify!(atom)
9757        )
9758    );
9759    assert_eq!(
9760        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).time as *const _ as usize },
9761        48usize,
9762        concat!(
9763            "Offset of field: ",
9764            stringify!(XPropertyEvent),
9765            "::",
9766            stringify!(time)
9767        )
9768    );
9769    assert_eq!(
9770        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).state as *const _ as usize },
9771        56usize,
9772        concat!(
9773            "Offset of field: ",
9774            stringify!(XPropertyEvent),
9775            "::",
9776            stringify!(state)
9777        )
9778    );
9779}
9780#[repr(C)]
9781#[derive(Debug, Copy, Clone)]
9782pub struct XSelectionClearEvent {
9783    pub type_: ::std::os::raw::c_int,
9784    pub serial: ::std::os::raw::c_ulong,
9785    pub send_event: ::std::os::raw::c_int,
9786    pub display: *mut Display,
9787    pub window: Window,
9788    pub selection: Atom,
9789    pub time: Time,
9790}
9791#[test]
9792fn bindgen_test_layout_XSelectionClearEvent() {
9793    assert_eq!(
9794        ::std::mem::size_of::<XSelectionClearEvent>(),
9795        56usize,
9796        concat!("Size of: ", stringify!(XSelectionClearEvent))
9797    );
9798    assert_eq!(
9799        ::std::mem::align_of::<XSelectionClearEvent>(),
9800        8usize,
9801        concat!("Alignment of ", stringify!(XSelectionClearEvent))
9802    );
9803    assert_eq!(
9804        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).type_ as *const _ as usize },
9805        0usize,
9806        concat!(
9807            "Offset of field: ",
9808            stringify!(XSelectionClearEvent),
9809            "::",
9810            stringify!(type_)
9811        )
9812    );
9813    assert_eq!(
9814        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).serial as *const _ as usize },
9815        8usize,
9816        concat!(
9817            "Offset of field: ",
9818            stringify!(XSelectionClearEvent),
9819            "::",
9820            stringify!(serial)
9821        )
9822    );
9823    assert_eq!(
9824        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).send_event as *const _ as usize },
9825        16usize,
9826        concat!(
9827            "Offset of field: ",
9828            stringify!(XSelectionClearEvent),
9829            "::",
9830            stringify!(send_event)
9831        )
9832    );
9833    assert_eq!(
9834        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).display as *const _ as usize },
9835        24usize,
9836        concat!(
9837            "Offset of field: ",
9838            stringify!(XSelectionClearEvent),
9839            "::",
9840            stringify!(display)
9841        )
9842    );
9843    assert_eq!(
9844        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).window as *const _ as usize },
9845        32usize,
9846        concat!(
9847            "Offset of field: ",
9848            stringify!(XSelectionClearEvent),
9849            "::",
9850            stringify!(window)
9851        )
9852    );
9853    assert_eq!(
9854        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).selection as *const _ as usize },
9855        40usize,
9856        concat!(
9857            "Offset of field: ",
9858            stringify!(XSelectionClearEvent),
9859            "::",
9860            stringify!(selection)
9861        )
9862    );
9863    assert_eq!(
9864        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).time as *const _ as usize },
9865        48usize,
9866        concat!(
9867            "Offset of field: ",
9868            stringify!(XSelectionClearEvent),
9869            "::",
9870            stringify!(time)
9871        )
9872    );
9873}
9874#[repr(C)]
9875#[derive(Debug, Copy, Clone)]
9876pub struct XSelectionRequestEvent {
9877    pub type_: ::std::os::raw::c_int,
9878    pub serial: ::std::os::raw::c_ulong,
9879    pub send_event: ::std::os::raw::c_int,
9880    pub display: *mut Display,
9881    pub owner: Window,
9882    pub requestor: Window,
9883    pub selection: Atom,
9884    pub target: Atom,
9885    pub property: Atom,
9886    pub time: Time,
9887}
9888#[test]
9889fn bindgen_test_layout_XSelectionRequestEvent() {
9890    assert_eq!(
9891        ::std::mem::size_of::<XSelectionRequestEvent>(),
9892        80usize,
9893        concat!("Size of: ", stringify!(XSelectionRequestEvent))
9894    );
9895    assert_eq!(
9896        ::std::mem::align_of::<XSelectionRequestEvent>(),
9897        8usize,
9898        concat!("Alignment of ", stringify!(XSelectionRequestEvent))
9899    );
9900    assert_eq!(
9901        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).type_ as *const _ as usize },
9902        0usize,
9903        concat!(
9904            "Offset of field: ",
9905            stringify!(XSelectionRequestEvent),
9906            "::",
9907            stringify!(type_)
9908        )
9909    );
9910    assert_eq!(
9911        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).serial as *const _ as usize },
9912        8usize,
9913        concat!(
9914            "Offset of field: ",
9915            stringify!(XSelectionRequestEvent),
9916            "::",
9917            stringify!(serial)
9918        )
9919    );
9920    assert_eq!(
9921        unsafe {
9922            &(*(::std::ptr::null::<XSelectionRequestEvent>())).send_event as *const _ as usize
9923        },
9924        16usize,
9925        concat!(
9926            "Offset of field: ",
9927            stringify!(XSelectionRequestEvent),
9928            "::",
9929            stringify!(send_event)
9930        )
9931    );
9932    assert_eq!(
9933        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).display as *const _ as usize },
9934        24usize,
9935        concat!(
9936            "Offset of field: ",
9937            stringify!(XSelectionRequestEvent),
9938            "::",
9939            stringify!(display)
9940        )
9941    );
9942    assert_eq!(
9943        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).owner as *const _ as usize },
9944        32usize,
9945        concat!(
9946            "Offset of field: ",
9947            stringify!(XSelectionRequestEvent),
9948            "::",
9949            stringify!(owner)
9950        )
9951    );
9952    assert_eq!(
9953        unsafe {
9954            &(*(::std::ptr::null::<XSelectionRequestEvent>())).requestor as *const _ as usize
9955        },
9956        40usize,
9957        concat!(
9958            "Offset of field: ",
9959            stringify!(XSelectionRequestEvent),
9960            "::",
9961            stringify!(requestor)
9962        )
9963    );
9964    assert_eq!(
9965        unsafe {
9966            &(*(::std::ptr::null::<XSelectionRequestEvent>())).selection as *const _ as usize
9967        },
9968        48usize,
9969        concat!(
9970            "Offset of field: ",
9971            stringify!(XSelectionRequestEvent),
9972            "::",
9973            stringify!(selection)
9974        )
9975    );
9976    assert_eq!(
9977        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).target as *const _ as usize },
9978        56usize,
9979        concat!(
9980            "Offset of field: ",
9981            stringify!(XSelectionRequestEvent),
9982            "::",
9983            stringify!(target)
9984        )
9985    );
9986    assert_eq!(
9987        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).property as *const _ as usize },
9988        64usize,
9989        concat!(
9990            "Offset of field: ",
9991            stringify!(XSelectionRequestEvent),
9992            "::",
9993            stringify!(property)
9994        )
9995    );
9996    assert_eq!(
9997        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).time as *const _ as usize },
9998        72usize,
9999        concat!(
10000            "Offset of field: ",
10001            stringify!(XSelectionRequestEvent),
10002            "::",
10003            stringify!(time)
10004        )
10005    );
10006}
10007#[repr(C)]
10008#[derive(Debug, Copy, Clone)]
10009pub struct XSelectionEvent {
10010    pub type_: ::std::os::raw::c_int,
10011    pub serial: ::std::os::raw::c_ulong,
10012    pub send_event: ::std::os::raw::c_int,
10013    pub display: *mut Display,
10014    pub requestor: Window,
10015    pub selection: Atom,
10016    pub target: Atom,
10017    pub property: Atom,
10018    pub time: Time,
10019}
10020#[test]
10021fn bindgen_test_layout_XSelectionEvent() {
10022    assert_eq!(
10023        ::std::mem::size_of::<XSelectionEvent>(),
10024        72usize,
10025        concat!("Size of: ", stringify!(XSelectionEvent))
10026    );
10027    assert_eq!(
10028        ::std::mem::align_of::<XSelectionEvent>(),
10029        8usize,
10030        concat!("Alignment of ", stringify!(XSelectionEvent))
10031    );
10032    assert_eq!(
10033        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).type_ as *const _ as usize },
10034        0usize,
10035        concat!(
10036            "Offset of field: ",
10037            stringify!(XSelectionEvent),
10038            "::",
10039            stringify!(type_)
10040        )
10041    );
10042    assert_eq!(
10043        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).serial as *const _ as usize },
10044        8usize,
10045        concat!(
10046            "Offset of field: ",
10047            stringify!(XSelectionEvent),
10048            "::",
10049            stringify!(serial)
10050        )
10051    );
10052    assert_eq!(
10053        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).send_event as *const _ as usize },
10054        16usize,
10055        concat!(
10056            "Offset of field: ",
10057            stringify!(XSelectionEvent),
10058            "::",
10059            stringify!(send_event)
10060        )
10061    );
10062    assert_eq!(
10063        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).display as *const _ as usize },
10064        24usize,
10065        concat!(
10066            "Offset of field: ",
10067            stringify!(XSelectionEvent),
10068            "::",
10069            stringify!(display)
10070        )
10071    );
10072    assert_eq!(
10073        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).requestor as *const _ as usize },
10074        32usize,
10075        concat!(
10076            "Offset of field: ",
10077            stringify!(XSelectionEvent),
10078            "::",
10079            stringify!(requestor)
10080        )
10081    );
10082    assert_eq!(
10083        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).selection as *const _ as usize },
10084        40usize,
10085        concat!(
10086            "Offset of field: ",
10087            stringify!(XSelectionEvent),
10088            "::",
10089            stringify!(selection)
10090        )
10091    );
10092    assert_eq!(
10093        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).target as *const _ as usize },
10094        48usize,
10095        concat!(
10096            "Offset of field: ",
10097            stringify!(XSelectionEvent),
10098            "::",
10099            stringify!(target)
10100        )
10101    );
10102    assert_eq!(
10103        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).property as *const _ as usize },
10104        56usize,
10105        concat!(
10106            "Offset of field: ",
10107            stringify!(XSelectionEvent),
10108            "::",
10109            stringify!(property)
10110        )
10111    );
10112    assert_eq!(
10113        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).time as *const _ as usize },
10114        64usize,
10115        concat!(
10116            "Offset of field: ",
10117            stringify!(XSelectionEvent),
10118            "::",
10119            stringify!(time)
10120        )
10121    );
10122}
10123#[repr(C)]
10124#[derive(Debug, Copy, Clone)]
10125pub struct XColormapEvent {
10126    pub type_: ::std::os::raw::c_int,
10127    pub serial: ::std::os::raw::c_ulong,
10128    pub send_event: ::std::os::raw::c_int,
10129    pub display: *mut Display,
10130    pub window: Window,
10131    pub colormap: Colormap,
10132    pub new: ::std::os::raw::c_int,
10133    pub state: ::std::os::raw::c_int,
10134}
10135#[test]
10136fn bindgen_test_layout_XColormapEvent() {
10137    assert_eq!(
10138        ::std::mem::size_of::<XColormapEvent>(),
10139        56usize,
10140        concat!("Size of: ", stringify!(XColormapEvent))
10141    );
10142    assert_eq!(
10143        ::std::mem::align_of::<XColormapEvent>(),
10144        8usize,
10145        concat!("Alignment of ", stringify!(XColormapEvent))
10146    );
10147    assert_eq!(
10148        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).type_ as *const _ as usize },
10149        0usize,
10150        concat!(
10151            "Offset of field: ",
10152            stringify!(XColormapEvent),
10153            "::",
10154            stringify!(type_)
10155        )
10156    );
10157    assert_eq!(
10158        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).serial as *const _ as usize },
10159        8usize,
10160        concat!(
10161            "Offset of field: ",
10162            stringify!(XColormapEvent),
10163            "::",
10164            stringify!(serial)
10165        )
10166    );
10167    assert_eq!(
10168        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).send_event as *const _ as usize },
10169        16usize,
10170        concat!(
10171            "Offset of field: ",
10172            stringify!(XColormapEvent),
10173            "::",
10174            stringify!(send_event)
10175        )
10176    );
10177    assert_eq!(
10178        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).display as *const _ as usize },
10179        24usize,
10180        concat!(
10181            "Offset of field: ",
10182            stringify!(XColormapEvent),
10183            "::",
10184            stringify!(display)
10185        )
10186    );
10187    assert_eq!(
10188        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).window as *const _ as usize },
10189        32usize,
10190        concat!(
10191            "Offset of field: ",
10192            stringify!(XColormapEvent),
10193            "::",
10194            stringify!(window)
10195        )
10196    );
10197    assert_eq!(
10198        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).colormap as *const _ as usize },
10199        40usize,
10200        concat!(
10201            "Offset of field: ",
10202            stringify!(XColormapEvent),
10203            "::",
10204            stringify!(colormap)
10205        )
10206    );
10207    assert_eq!(
10208        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).new as *const _ as usize },
10209        48usize,
10210        concat!(
10211            "Offset of field: ",
10212            stringify!(XColormapEvent),
10213            "::",
10214            stringify!(new)
10215        )
10216    );
10217    assert_eq!(
10218        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).state as *const _ as usize },
10219        52usize,
10220        concat!(
10221            "Offset of field: ",
10222            stringify!(XColormapEvent),
10223            "::",
10224            stringify!(state)
10225        )
10226    );
10227}
10228#[repr(C)]
10229#[derive(Copy, Clone)]
10230pub struct XClientMessageEvent {
10231    pub type_: ::std::os::raw::c_int,
10232    pub serial: ::std::os::raw::c_ulong,
10233    pub send_event: ::std::os::raw::c_int,
10234    pub display: *mut Display,
10235    pub window: Window,
10236    pub message_type: Atom,
10237    pub format: ::std::os::raw::c_int,
10238    pub data: XClientMessageEvent__bindgen_ty_1,
10239}
10240#[repr(C)]
10241#[derive(Copy, Clone)]
10242pub union XClientMessageEvent__bindgen_ty_1 {
10243    pub b: [::std::os::raw::c_char; 20usize],
10244    pub s: [::std::os::raw::c_short; 10usize],
10245    pub l: [::std::os::raw::c_long; 5usize],
10246    _bindgen_union_align: [u64; 5usize],
10247}
10248#[test]
10249fn bindgen_test_layout_XClientMessageEvent__bindgen_ty_1() {
10250    assert_eq!(
10251        ::std::mem::size_of::<XClientMessageEvent__bindgen_ty_1>(),
10252        40usize,
10253        concat!("Size of: ", stringify!(XClientMessageEvent__bindgen_ty_1))
10254    );
10255    assert_eq!(
10256        ::std::mem::align_of::<XClientMessageEvent__bindgen_ty_1>(),
10257        8usize,
10258        concat!(
10259            "Alignment of ",
10260            stringify!(XClientMessageEvent__bindgen_ty_1)
10261        )
10262    );
10263    assert_eq!(
10264        unsafe {
10265            &(*(::std::ptr::null::<XClientMessageEvent__bindgen_ty_1>())).b as *const _ as usize
10266        },
10267        0usize,
10268        concat!(
10269            "Offset of field: ",
10270            stringify!(XClientMessageEvent__bindgen_ty_1),
10271            "::",
10272            stringify!(b)
10273        )
10274    );
10275    assert_eq!(
10276        unsafe {
10277            &(*(::std::ptr::null::<XClientMessageEvent__bindgen_ty_1>())).s as *const _ as usize
10278        },
10279        0usize,
10280        concat!(
10281            "Offset of field: ",
10282            stringify!(XClientMessageEvent__bindgen_ty_1),
10283            "::",
10284            stringify!(s)
10285        )
10286    );
10287    assert_eq!(
10288        unsafe {
10289            &(*(::std::ptr::null::<XClientMessageEvent__bindgen_ty_1>())).l as *const _ as usize
10290        },
10291        0usize,
10292        concat!(
10293            "Offset of field: ",
10294            stringify!(XClientMessageEvent__bindgen_ty_1),
10295            "::",
10296            stringify!(l)
10297        )
10298    );
10299}
10300#[test]
10301fn bindgen_test_layout_XClientMessageEvent() {
10302    assert_eq!(
10303        ::std::mem::size_of::<XClientMessageEvent>(),
10304        96usize,
10305        concat!("Size of: ", stringify!(XClientMessageEvent))
10306    );
10307    assert_eq!(
10308        ::std::mem::align_of::<XClientMessageEvent>(),
10309        8usize,
10310        concat!("Alignment of ", stringify!(XClientMessageEvent))
10311    );
10312    assert_eq!(
10313        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).type_ as *const _ as usize },
10314        0usize,
10315        concat!(
10316            "Offset of field: ",
10317            stringify!(XClientMessageEvent),
10318            "::",
10319            stringify!(type_)
10320        )
10321    );
10322    assert_eq!(
10323        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).serial as *const _ as usize },
10324        8usize,
10325        concat!(
10326            "Offset of field: ",
10327            stringify!(XClientMessageEvent),
10328            "::",
10329            stringify!(serial)
10330        )
10331    );
10332    assert_eq!(
10333        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).send_event as *const _ as usize },
10334        16usize,
10335        concat!(
10336            "Offset of field: ",
10337            stringify!(XClientMessageEvent),
10338            "::",
10339            stringify!(send_event)
10340        )
10341    );
10342    assert_eq!(
10343        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).display as *const _ as usize },
10344        24usize,
10345        concat!(
10346            "Offset of field: ",
10347            stringify!(XClientMessageEvent),
10348            "::",
10349            stringify!(display)
10350        )
10351    );
10352    assert_eq!(
10353        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).window as *const _ as usize },
10354        32usize,
10355        concat!(
10356            "Offset of field: ",
10357            stringify!(XClientMessageEvent),
10358            "::",
10359            stringify!(window)
10360        )
10361    );
10362    assert_eq!(
10363        unsafe {
10364            &(*(::std::ptr::null::<XClientMessageEvent>())).message_type as *const _ as usize
10365        },
10366        40usize,
10367        concat!(
10368            "Offset of field: ",
10369            stringify!(XClientMessageEvent),
10370            "::",
10371            stringify!(message_type)
10372        )
10373    );
10374    assert_eq!(
10375        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).format as *const _ as usize },
10376        48usize,
10377        concat!(
10378            "Offset of field: ",
10379            stringify!(XClientMessageEvent),
10380            "::",
10381            stringify!(format)
10382        )
10383    );
10384    assert_eq!(
10385        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).data as *const _ as usize },
10386        56usize,
10387        concat!(
10388            "Offset of field: ",
10389            stringify!(XClientMessageEvent),
10390            "::",
10391            stringify!(data)
10392        )
10393    );
10394}
10395#[repr(C)]
10396#[derive(Debug, Copy, Clone)]
10397pub struct XMappingEvent {
10398    pub type_: ::std::os::raw::c_int,
10399    pub serial: ::std::os::raw::c_ulong,
10400    pub send_event: ::std::os::raw::c_int,
10401    pub display: *mut Display,
10402    pub window: Window,
10403    pub request: ::std::os::raw::c_int,
10404    pub first_keycode: ::std::os::raw::c_int,
10405    pub count: ::std::os::raw::c_int,
10406}
10407#[test]
10408fn bindgen_test_layout_XMappingEvent() {
10409    assert_eq!(
10410        ::std::mem::size_of::<XMappingEvent>(),
10411        56usize,
10412        concat!("Size of: ", stringify!(XMappingEvent))
10413    );
10414    assert_eq!(
10415        ::std::mem::align_of::<XMappingEvent>(),
10416        8usize,
10417        concat!("Alignment of ", stringify!(XMappingEvent))
10418    );
10419    assert_eq!(
10420        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).type_ as *const _ as usize },
10421        0usize,
10422        concat!(
10423            "Offset of field: ",
10424            stringify!(XMappingEvent),
10425            "::",
10426            stringify!(type_)
10427        )
10428    );
10429    assert_eq!(
10430        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).serial as *const _ as usize },
10431        8usize,
10432        concat!(
10433            "Offset of field: ",
10434            stringify!(XMappingEvent),
10435            "::",
10436            stringify!(serial)
10437        )
10438    );
10439    assert_eq!(
10440        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).send_event as *const _ as usize },
10441        16usize,
10442        concat!(
10443            "Offset of field: ",
10444            stringify!(XMappingEvent),
10445            "::",
10446            stringify!(send_event)
10447        )
10448    );
10449    assert_eq!(
10450        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).display as *const _ as usize },
10451        24usize,
10452        concat!(
10453            "Offset of field: ",
10454            stringify!(XMappingEvent),
10455            "::",
10456            stringify!(display)
10457        )
10458    );
10459    assert_eq!(
10460        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).window as *const _ as usize },
10461        32usize,
10462        concat!(
10463            "Offset of field: ",
10464            stringify!(XMappingEvent),
10465            "::",
10466            stringify!(window)
10467        )
10468    );
10469    assert_eq!(
10470        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).request as *const _ as usize },
10471        40usize,
10472        concat!(
10473            "Offset of field: ",
10474            stringify!(XMappingEvent),
10475            "::",
10476            stringify!(request)
10477        )
10478    );
10479    assert_eq!(
10480        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).first_keycode as *const _ as usize },
10481        44usize,
10482        concat!(
10483            "Offset of field: ",
10484            stringify!(XMappingEvent),
10485            "::",
10486            stringify!(first_keycode)
10487        )
10488    );
10489    assert_eq!(
10490        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).count as *const _ as usize },
10491        48usize,
10492        concat!(
10493            "Offset of field: ",
10494            stringify!(XMappingEvent),
10495            "::",
10496            stringify!(count)
10497        )
10498    );
10499}
10500#[repr(C)]
10501#[derive(Debug, Copy, Clone)]
10502pub struct XErrorEvent {
10503    pub type_: ::std::os::raw::c_int,
10504    pub display: *mut Display,
10505    pub resourceid: XID,
10506    pub serial: ::std::os::raw::c_ulong,
10507    pub error_code: ::std::os::raw::c_uchar,
10508    pub request_code: ::std::os::raw::c_uchar,
10509    pub minor_code: ::std::os::raw::c_uchar,
10510}
10511#[test]
10512fn bindgen_test_layout_XErrorEvent() {
10513    assert_eq!(
10514        ::std::mem::size_of::<XErrorEvent>(),
10515        40usize,
10516        concat!("Size of: ", stringify!(XErrorEvent))
10517    );
10518    assert_eq!(
10519        ::std::mem::align_of::<XErrorEvent>(),
10520        8usize,
10521        concat!("Alignment of ", stringify!(XErrorEvent))
10522    );
10523    assert_eq!(
10524        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).type_ as *const _ as usize },
10525        0usize,
10526        concat!(
10527            "Offset of field: ",
10528            stringify!(XErrorEvent),
10529            "::",
10530            stringify!(type_)
10531        )
10532    );
10533    assert_eq!(
10534        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).display as *const _ as usize },
10535        8usize,
10536        concat!(
10537            "Offset of field: ",
10538            stringify!(XErrorEvent),
10539            "::",
10540            stringify!(display)
10541        )
10542    );
10543    assert_eq!(
10544        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).resourceid as *const _ as usize },
10545        16usize,
10546        concat!(
10547            "Offset of field: ",
10548            stringify!(XErrorEvent),
10549            "::",
10550            stringify!(resourceid)
10551        )
10552    );
10553    assert_eq!(
10554        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).serial as *const _ as usize },
10555        24usize,
10556        concat!(
10557            "Offset of field: ",
10558            stringify!(XErrorEvent),
10559            "::",
10560            stringify!(serial)
10561        )
10562    );
10563    assert_eq!(
10564        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).error_code as *const _ as usize },
10565        32usize,
10566        concat!(
10567            "Offset of field: ",
10568            stringify!(XErrorEvent),
10569            "::",
10570            stringify!(error_code)
10571        )
10572    );
10573    assert_eq!(
10574        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).request_code as *const _ as usize },
10575        33usize,
10576        concat!(
10577            "Offset of field: ",
10578            stringify!(XErrorEvent),
10579            "::",
10580            stringify!(request_code)
10581        )
10582    );
10583    assert_eq!(
10584        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).minor_code as *const _ as usize },
10585        34usize,
10586        concat!(
10587            "Offset of field: ",
10588            stringify!(XErrorEvent),
10589            "::",
10590            stringify!(minor_code)
10591        )
10592    );
10593}
10594#[repr(C)]
10595#[derive(Debug, Copy, Clone)]
10596pub struct XAnyEvent {
10597    pub type_: ::std::os::raw::c_int,
10598    pub serial: ::std::os::raw::c_ulong,
10599    pub send_event: ::std::os::raw::c_int,
10600    pub display: *mut Display,
10601    pub window: Window,
10602}
10603#[test]
10604fn bindgen_test_layout_XAnyEvent() {
10605    assert_eq!(
10606        ::std::mem::size_of::<XAnyEvent>(),
10607        40usize,
10608        concat!("Size of: ", stringify!(XAnyEvent))
10609    );
10610    assert_eq!(
10611        ::std::mem::align_of::<XAnyEvent>(),
10612        8usize,
10613        concat!("Alignment of ", stringify!(XAnyEvent))
10614    );
10615    assert_eq!(
10616        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).type_ as *const _ as usize },
10617        0usize,
10618        concat!(
10619            "Offset of field: ",
10620            stringify!(XAnyEvent),
10621            "::",
10622            stringify!(type_)
10623        )
10624    );
10625    assert_eq!(
10626        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).serial as *const _ as usize },
10627        8usize,
10628        concat!(
10629            "Offset of field: ",
10630            stringify!(XAnyEvent),
10631            "::",
10632            stringify!(serial)
10633        )
10634    );
10635    assert_eq!(
10636        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).send_event as *const _ as usize },
10637        16usize,
10638        concat!(
10639            "Offset of field: ",
10640            stringify!(XAnyEvent),
10641            "::",
10642            stringify!(send_event)
10643        )
10644    );
10645    assert_eq!(
10646        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).display as *const _ as usize },
10647        24usize,
10648        concat!(
10649            "Offset of field: ",
10650            stringify!(XAnyEvent),
10651            "::",
10652            stringify!(display)
10653        )
10654    );
10655    assert_eq!(
10656        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).window as *const _ as usize },
10657        32usize,
10658        concat!(
10659            "Offset of field: ",
10660            stringify!(XAnyEvent),
10661            "::",
10662            stringify!(window)
10663        )
10664    );
10665}
10666#[repr(C)]
10667#[derive(Debug, Copy, Clone)]
10668pub struct XGenericEvent {
10669    pub type_: ::std::os::raw::c_int,
10670    pub serial: ::std::os::raw::c_ulong,
10671    pub send_event: ::std::os::raw::c_int,
10672    pub display: *mut Display,
10673    pub extension: ::std::os::raw::c_int,
10674    pub evtype: ::std::os::raw::c_int,
10675}
10676#[test]
10677fn bindgen_test_layout_XGenericEvent() {
10678    assert_eq!(
10679        ::std::mem::size_of::<XGenericEvent>(),
10680        40usize,
10681        concat!("Size of: ", stringify!(XGenericEvent))
10682    );
10683    assert_eq!(
10684        ::std::mem::align_of::<XGenericEvent>(),
10685        8usize,
10686        concat!("Alignment of ", stringify!(XGenericEvent))
10687    );
10688    assert_eq!(
10689        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).type_ as *const _ as usize },
10690        0usize,
10691        concat!(
10692            "Offset of field: ",
10693            stringify!(XGenericEvent),
10694            "::",
10695            stringify!(type_)
10696        )
10697    );
10698    assert_eq!(
10699        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).serial as *const _ as usize },
10700        8usize,
10701        concat!(
10702            "Offset of field: ",
10703            stringify!(XGenericEvent),
10704            "::",
10705            stringify!(serial)
10706        )
10707    );
10708    assert_eq!(
10709        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).send_event as *const _ as usize },
10710        16usize,
10711        concat!(
10712            "Offset of field: ",
10713            stringify!(XGenericEvent),
10714            "::",
10715            stringify!(send_event)
10716        )
10717    );
10718    assert_eq!(
10719        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).display as *const _ as usize },
10720        24usize,
10721        concat!(
10722            "Offset of field: ",
10723            stringify!(XGenericEvent),
10724            "::",
10725            stringify!(display)
10726        )
10727    );
10728    assert_eq!(
10729        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).extension as *const _ as usize },
10730        32usize,
10731        concat!(
10732            "Offset of field: ",
10733            stringify!(XGenericEvent),
10734            "::",
10735            stringify!(extension)
10736        )
10737    );
10738    assert_eq!(
10739        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).evtype as *const _ as usize },
10740        36usize,
10741        concat!(
10742            "Offset of field: ",
10743            stringify!(XGenericEvent),
10744            "::",
10745            stringify!(evtype)
10746        )
10747    );
10748}
10749#[repr(C)]
10750#[derive(Debug, Copy, Clone)]
10751pub struct XGenericEventCookie {
10752    pub type_: ::std::os::raw::c_int,
10753    pub serial: ::std::os::raw::c_ulong,
10754    pub send_event: ::std::os::raw::c_int,
10755    pub display: *mut Display,
10756    pub extension: ::std::os::raw::c_int,
10757    pub evtype: ::std::os::raw::c_int,
10758    pub cookie: ::std::os::raw::c_uint,
10759    pub data: *mut ::std::os::raw::c_void,
10760}
10761#[test]
10762fn bindgen_test_layout_XGenericEventCookie() {
10763    assert_eq!(
10764        ::std::mem::size_of::<XGenericEventCookie>(),
10765        56usize,
10766        concat!("Size of: ", stringify!(XGenericEventCookie))
10767    );
10768    assert_eq!(
10769        ::std::mem::align_of::<XGenericEventCookie>(),
10770        8usize,
10771        concat!("Alignment of ", stringify!(XGenericEventCookie))
10772    );
10773    assert_eq!(
10774        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).type_ as *const _ as usize },
10775        0usize,
10776        concat!(
10777            "Offset of field: ",
10778            stringify!(XGenericEventCookie),
10779            "::",
10780            stringify!(type_)
10781        )
10782    );
10783    assert_eq!(
10784        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).serial as *const _ as usize },
10785        8usize,
10786        concat!(
10787            "Offset of field: ",
10788            stringify!(XGenericEventCookie),
10789            "::",
10790            stringify!(serial)
10791        )
10792    );
10793    assert_eq!(
10794        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).send_event as *const _ as usize },
10795        16usize,
10796        concat!(
10797            "Offset of field: ",
10798            stringify!(XGenericEventCookie),
10799            "::",
10800            stringify!(send_event)
10801        )
10802    );
10803    assert_eq!(
10804        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).display as *const _ as usize },
10805        24usize,
10806        concat!(
10807            "Offset of field: ",
10808            stringify!(XGenericEventCookie),
10809            "::",
10810            stringify!(display)
10811        )
10812    );
10813    assert_eq!(
10814        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).extension as *const _ as usize },
10815        32usize,
10816        concat!(
10817            "Offset of field: ",
10818            stringify!(XGenericEventCookie),
10819            "::",
10820            stringify!(extension)
10821        )
10822    );
10823    assert_eq!(
10824        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).evtype as *const _ as usize },
10825        36usize,
10826        concat!(
10827            "Offset of field: ",
10828            stringify!(XGenericEventCookie),
10829            "::",
10830            stringify!(evtype)
10831        )
10832    );
10833    assert_eq!(
10834        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).cookie as *const _ as usize },
10835        40usize,
10836        concat!(
10837            "Offset of field: ",
10838            stringify!(XGenericEventCookie),
10839            "::",
10840            stringify!(cookie)
10841        )
10842    );
10843    assert_eq!(
10844        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).data as *const _ as usize },
10845        48usize,
10846        concat!(
10847            "Offset of field: ",
10848            stringify!(XGenericEventCookie),
10849            "::",
10850            stringify!(data)
10851        )
10852    );
10853}
10854#[repr(C)]
10855#[derive(Copy, Clone)]
10856pub union _XEvent {
10857    pub type_: ::std::os::raw::c_int,
10858    pub xany: XAnyEvent,
10859    pub xkey: XKeyEvent,
10860    pub xbutton: XButtonEvent,
10861    pub xmotion: XMotionEvent,
10862    pub xcrossing: XCrossingEvent,
10863    pub xfocus: XFocusChangeEvent,
10864    pub xexpose: XExposeEvent,
10865    pub xgraphicsexpose: XGraphicsExposeEvent,
10866    pub xnoexpose: XNoExposeEvent,
10867    pub xvisibility: XVisibilityEvent,
10868    pub xcreatewindow: XCreateWindowEvent,
10869    pub xdestroywindow: XDestroyWindowEvent,
10870    pub xunmap: XUnmapEvent,
10871    pub xmap: XMapEvent,
10872    pub xmaprequest: XMapRequestEvent,
10873    pub xreparent: XReparentEvent,
10874    pub xconfigure: XConfigureEvent,
10875    pub xgravity: XGravityEvent,
10876    pub xresizerequest: XResizeRequestEvent,
10877    pub xconfigurerequest: XConfigureRequestEvent,
10878    pub xcirculate: XCirculateEvent,
10879    pub xcirculaterequest: XCirculateRequestEvent,
10880    pub xproperty: XPropertyEvent,
10881    pub xselectionclear: XSelectionClearEvent,
10882    pub xselectionrequest: XSelectionRequestEvent,
10883    pub xselection: XSelectionEvent,
10884    pub xcolormap: XColormapEvent,
10885    pub xclient: XClientMessageEvent,
10886    pub xmapping: XMappingEvent,
10887    pub xerror: XErrorEvent,
10888    pub xkeymap: XKeymapEvent,
10889    pub xgeneric: XGenericEvent,
10890    pub xcookie: XGenericEventCookie,
10891    pub pad: [::std::os::raw::c_long; 24usize],
10892    _bindgen_union_align: [u64; 24usize],
10893}
10894#[test]
10895fn bindgen_test_layout__XEvent() {
10896    assert_eq!(
10897        ::std::mem::size_of::<_XEvent>(),
10898        192usize,
10899        concat!("Size of: ", stringify!(_XEvent))
10900    );
10901    assert_eq!(
10902        ::std::mem::align_of::<_XEvent>(),
10903        8usize,
10904        concat!("Alignment of ", stringify!(_XEvent))
10905    );
10906    assert_eq!(
10907        unsafe { &(*(::std::ptr::null::<_XEvent>())).type_ as *const _ as usize },
10908        0usize,
10909        concat!(
10910            "Offset of field: ",
10911            stringify!(_XEvent),
10912            "::",
10913            stringify!(type_)
10914        )
10915    );
10916    assert_eq!(
10917        unsafe { &(*(::std::ptr::null::<_XEvent>())).xany as *const _ as usize },
10918        0usize,
10919        concat!(
10920            "Offset of field: ",
10921            stringify!(_XEvent),
10922            "::",
10923            stringify!(xany)
10924        )
10925    );
10926    assert_eq!(
10927        unsafe { &(*(::std::ptr::null::<_XEvent>())).xkey as *const _ as usize },
10928        0usize,
10929        concat!(
10930            "Offset of field: ",
10931            stringify!(_XEvent),
10932            "::",
10933            stringify!(xkey)
10934        )
10935    );
10936    assert_eq!(
10937        unsafe { &(*(::std::ptr::null::<_XEvent>())).xbutton as *const _ as usize },
10938        0usize,
10939        concat!(
10940            "Offset of field: ",
10941            stringify!(_XEvent),
10942            "::",
10943            stringify!(xbutton)
10944        )
10945    );
10946    assert_eq!(
10947        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmotion as *const _ as usize },
10948        0usize,
10949        concat!(
10950            "Offset of field: ",
10951            stringify!(_XEvent),
10952            "::",
10953            stringify!(xmotion)
10954        )
10955    );
10956    assert_eq!(
10957        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcrossing as *const _ as usize },
10958        0usize,
10959        concat!(
10960            "Offset of field: ",
10961            stringify!(_XEvent),
10962            "::",
10963            stringify!(xcrossing)
10964        )
10965    );
10966    assert_eq!(
10967        unsafe { &(*(::std::ptr::null::<_XEvent>())).xfocus as *const _ as usize },
10968        0usize,
10969        concat!(
10970            "Offset of field: ",
10971            stringify!(_XEvent),
10972            "::",
10973            stringify!(xfocus)
10974        )
10975    );
10976    assert_eq!(
10977        unsafe { &(*(::std::ptr::null::<_XEvent>())).xexpose as *const _ as usize },
10978        0usize,
10979        concat!(
10980            "Offset of field: ",
10981            stringify!(_XEvent),
10982            "::",
10983            stringify!(xexpose)
10984        )
10985    );
10986    assert_eq!(
10987        unsafe { &(*(::std::ptr::null::<_XEvent>())).xgraphicsexpose as *const _ as usize },
10988        0usize,
10989        concat!(
10990            "Offset of field: ",
10991            stringify!(_XEvent),
10992            "::",
10993            stringify!(xgraphicsexpose)
10994        )
10995    );
10996    assert_eq!(
10997        unsafe { &(*(::std::ptr::null::<_XEvent>())).xnoexpose as *const _ as usize },
10998        0usize,
10999        concat!(
11000            "Offset of field: ",
11001            stringify!(_XEvent),
11002            "::",
11003            stringify!(xnoexpose)
11004        )
11005    );
11006    assert_eq!(
11007        unsafe { &(*(::std::ptr::null::<_XEvent>())).xvisibility as *const _ as usize },
11008        0usize,
11009        concat!(
11010            "Offset of field: ",
11011            stringify!(_XEvent),
11012            "::",
11013            stringify!(xvisibility)
11014        )
11015    );
11016    assert_eq!(
11017        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcreatewindow as *const _ as usize },
11018        0usize,
11019        concat!(
11020            "Offset of field: ",
11021            stringify!(_XEvent),
11022            "::",
11023            stringify!(xcreatewindow)
11024        )
11025    );
11026    assert_eq!(
11027        unsafe { &(*(::std::ptr::null::<_XEvent>())).xdestroywindow as *const _ as usize },
11028        0usize,
11029        concat!(
11030            "Offset of field: ",
11031            stringify!(_XEvent),
11032            "::",
11033            stringify!(xdestroywindow)
11034        )
11035    );
11036    assert_eq!(
11037        unsafe { &(*(::std::ptr::null::<_XEvent>())).xunmap as *const _ as usize },
11038        0usize,
11039        concat!(
11040            "Offset of field: ",
11041            stringify!(_XEvent),
11042            "::",
11043            stringify!(xunmap)
11044        )
11045    );
11046    assert_eq!(
11047        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmap as *const _ as usize },
11048        0usize,
11049        concat!(
11050            "Offset of field: ",
11051            stringify!(_XEvent),
11052            "::",
11053            stringify!(xmap)
11054        )
11055    );
11056    assert_eq!(
11057        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmaprequest as *const _ as usize },
11058        0usize,
11059        concat!(
11060            "Offset of field: ",
11061            stringify!(_XEvent),
11062            "::",
11063            stringify!(xmaprequest)
11064        )
11065    );
11066    assert_eq!(
11067        unsafe { &(*(::std::ptr::null::<_XEvent>())).xreparent as *const _ as usize },
11068        0usize,
11069        concat!(
11070            "Offset of field: ",
11071            stringify!(_XEvent),
11072            "::",
11073            stringify!(xreparent)
11074        )
11075    );
11076    assert_eq!(
11077        unsafe { &(*(::std::ptr::null::<_XEvent>())).xconfigure as *const _ as usize },
11078        0usize,
11079        concat!(
11080            "Offset of field: ",
11081            stringify!(_XEvent),
11082            "::",
11083            stringify!(xconfigure)
11084        )
11085    );
11086    assert_eq!(
11087        unsafe { &(*(::std::ptr::null::<_XEvent>())).xgravity as *const _ as usize },
11088        0usize,
11089        concat!(
11090            "Offset of field: ",
11091            stringify!(_XEvent),
11092            "::",
11093            stringify!(xgravity)
11094        )
11095    );
11096    assert_eq!(
11097        unsafe { &(*(::std::ptr::null::<_XEvent>())).xresizerequest as *const _ as usize },
11098        0usize,
11099        concat!(
11100            "Offset of field: ",
11101            stringify!(_XEvent),
11102            "::",
11103            stringify!(xresizerequest)
11104        )
11105    );
11106    assert_eq!(
11107        unsafe { &(*(::std::ptr::null::<_XEvent>())).xconfigurerequest as *const _ as usize },
11108        0usize,
11109        concat!(
11110            "Offset of field: ",
11111            stringify!(_XEvent),
11112            "::",
11113            stringify!(xconfigurerequest)
11114        )
11115    );
11116    assert_eq!(
11117        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcirculate as *const _ as usize },
11118        0usize,
11119        concat!(
11120            "Offset of field: ",
11121            stringify!(_XEvent),
11122            "::",
11123            stringify!(xcirculate)
11124        )
11125    );
11126    assert_eq!(
11127        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcirculaterequest as *const _ as usize },
11128        0usize,
11129        concat!(
11130            "Offset of field: ",
11131            stringify!(_XEvent),
11132            "::",
11133            stringify!(xcirculaterequest)
11134        )
11135    );
11136    assert_eq!(
11137        unsafe { &(*(::std::ptr::null::<_XEvent>())).xproperty as *const _ as usize },
11138        0usize,
11139        concat!(
11140            "Offset of field: ",
11141            stringify!(_XEvent),
11142            "::",
11143            stringify!(xproperty)
11144        )
11145    );
11146    assert_eq!(
11147        unsafe { &(*(::std::ptr::null::<_XEvent>())).xselectionclear as *const _ as usize },
11148        0usize,
11149        concat!(
11150            "Offset of field: ",
11151            stringify!(_XEvent),
11152            "::",
11153            stringify!(xselectionclear)
11154        )
11155    );
11156    assert_eq!(
11157        unsafe { &(*(::std::ptr::null::<_XEvent>())).xselectionrequest as *const _ as usize },
11158        0usize,
11159        concat!(
11160            "Offset of field: ",
11161            stringify!(_XEvent),
11162            "::",
11163            stringify!(xselectionrequest)
11164        )
11165    );
11166    assert_eq!(
11167        unsafe { &(*(::std::ptr::null::<_XEvent>())).xselection as *const _ as usize },
11168        0usize,
11169        concat!(
11170            "Offset of field: ",
11171            stringify!(_XEvent),
11172            "::",
11173            stringify!(xselection)
11174        )
11175    );
11176    assert_eq!(
11177        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcolormap as *const _ as usize },
11178        0usize,
11179        concat!(
11180            "Offset of field: ",
11181            stringify!(_XEvent),
11182            "::",
11183            stringify!(xcolormap)
11184        )
11185    );
11186    assert_eq!(
11187        unsafe { &(*(::std::ptr::null::<_XEvent>())).xclient as *const _ as usize },
11188        0usize,
11189        concat!(
11190            "Offset of field: ",
11191            stringify!(_XEvent),
11192            "::",
11193            stringify!(xclient)
11194        )
11195    );
11196    assert_eq!(
11197        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmapping as *const _ as usize },
11198        0usize,
11199        concat!(
11200            "Offset of field: ",
11201            stringify!(_XEvent),
11202            "::",
11203            stringify!(xmapping)
11204        )
11205    );
11206    assert_eq!(
11207        unsafe { &(*(::std::ptr::null::<_XEvent>())).xerror as *const _ as usize },
11208        0usize,
11209        concat!(
11210            "Offset of field: ",
11211            stringify!(_XEvent),
11212            "::",
11213            stringify!(xerror)
11214        )
11215    );
11216    assert_eq!(
11217        unsafe { &(*(::std::ptr::null::<_XEvent>())).xkeymap as *const _ as usize },
11218        0usize,
11219        concat!(
11220            "Offset of field: ",
11221            stringify!(_XEvent),
11222            "::",
11223            stringify!(xkeymap)
11224        )
11225    );
11226    assert_eq!(
11227        unsafe { &(*(::std::ptr::null::<_XEvent>())).xgeneric as *const _ as usize },
11228        0usize,
11229        concat!(
11230            "Offset of field: ",
11231            stringify!(_XEvent),
11232            "::",
11233            stringify!(xgeneric)
11234        )
11235    );
11236    assert_eq!(
11237        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcookie as *const _ as usize },
11238        0usize,
11239        concat!(
11240            "Offset of field: ",
11241            stringify!(_XEvent),
11242            "::",
11243            stringify!(xcookie)
11244        )
11245    );
11246    assert_eq!(
11247        unsafe { &(*(::std::ptr::null::<_XEvent>())).pad as *const _ as usize },
11248        0usize,
11249        concat!(
11250            "Offset of field: ",
11251            stringify!(_XEvent),
11252            "::",
11253            stringify!(pad)
11254        )
11255    );
11256}
11257pub type XEvent = _XEvent;
11258#[repr(C)]
11259#[derive(Debug, Copy, Clone)]
11260pub struct XCharStruct {
11261    pub lbearing: ::std::os::raw::c_short,
11262    pub rbearing: ::std::os::raw::c_short,
11263    pub width: ::std::os::raw::c_short,
11264    pub ascent: ::std::os::raw::c_short,
11265    pub descent: ::std::os::raw::c_short,
11266    pub attributes: ::std::os::raw::c_ushort,
11267}
11268#[test]
11269fn bindgen_test_layout_XCharStruct() {
11270    assert_eq!(
11271        ::std::mem::size_of::<XCharStruct>(),
11272        12usize,
11273        concat!("Size of: ", stringify!(XCharStruct))
11274    );
11275    assert_eq!(
11276        ::std::mem::align_of::<XCharStruct>(),
11277        2usize,
11278        concat!("Alignment of ", stringify!(XCharStruct))
11279    );
11280    assert_eq!(
11281        unsafe { &(*(::std::ptr::null::<XCharStruct>())).lbearing as *const _ as usize },
11282        0usize,
11283        concat!(
11284            "Offset of field: ",
11285            stringify!(XCharStruct),
11286            "::",
11287            stringify!(lbearing)
11288        )
11289    );
11290    assert_eq!(
11291        unsafe { &(*(::std::ptr::null::<XCharStruct>())).rbearing as *const _ as usize },
11292        2usize,
11293        concat!(
11294            "Offset of field: ",
11295            stringify!(XCharStruct),
11296            "::",
11297            stringify!(rbearing)
11298        )
11299    );
11300    assert_eq!(
11301        unsafe { &(*(::std::ptr::null::<XCharStruct>())).width as *const _ as usize },
11302        4usize,
11303        concat!(
11304            "Offset of field: ",
11305            stringify!(XCharStruct),
11306            "::",
11307            stringify!(width)
11308        )
11309    );
11310    assert_eq!(
11311        unsafe { &(*(::std::ptr::null::<XCharStruct>())).ascent as *const _ as usize },
11312        6usize,
11313        concat!(
11314            "Offset of field: ",
11315            stringify!(XCharStruct),
11316            "::",
11317            stringify!(ascent)
11318        )
11319    );
11320    assert_eq!(
11321        unsafe { &(*(::std::ptr::null::<XCharStruct>())).descent as *const _ as usize },
11322        8usize,
11323        concat!(
11324            "Offset of field: ",
11325            stringify!(XCharStruct),
11326            "::",
11327            stringify!(descent)
11328        )
11329    );
11330    assert_eq!(
11331        unsafe { &(*(::std::ptr::null::<XCharStruct>())).attributes as *const _ as usize },
11332        10usize,
11333        concat!(
11334            "Offset of field: ",
11335            stringify!(XCharStruct),
11336            "::",
11337            stringify!(attributes)
11338        )
11339    );
11340}
11341#[repr(C)]
11342#[derive(Debug, Copy, Clone)]
11343pub struct XFontProp {
11344    pub name: Atom,
11345    pub card32: ::std::os::raw::c_ulong,
11346}
11347#[test]
11348fn bindgen_test_layout_XFontProp() {
11349    assert_eq!(
11350        ::std::mem::size_of::<XFontProp>(),
11351        16usize,
11352        concat!("Size of: ", stringify!(XFontProp))
11353    );
11354    assert_eq!(
11355        ::std::mem::align_of::<XFontProp>(),
11356        8usize,
11357        concat!("Alignment of ", stringify!(XFontProp))
11358    );
11359    assert_eq!(
11360        unsafe { &(*(::std::ptr::null::<XFontProp>())).name as *const _ as usize },
11361        0usize,
11362        concat!(
11363            "Offset of field: ",
11364            stringify!(XFontProp),
11365            "::",
11366            stringify!(name)
11367        )
11368    );
11369    assert_eq!(
11370        unsafe { &(*(::std::ptr::null::<XFontProp>())).card32 as *const _ as usize },
11371        8usize,
11372        concat!(
11373            "Offset of field: ",
11374            stringify!(XFontProp),
11375            "::",
11376            stringify!(card32)
11377        )
11378    );
11379}
11380#[repr(C)]
11381#[derive(Debug, Copy, Clone)]
11382pub struct XFontStruct {
11383    pub ext_data: *mut XExtData,
11384    pub fid: Font,
11385    pub direction: ::std::os::raw::c_uint,
11386    pub min_char_or_byte2: ::std::os::raw::c_uint,
11387    pub max_char_or_byte2: ::std::os::raw::c_uint,
11388    pub min_byte1: ::std::os::raw::c_uint,
11389    pub max_byte1: ::std::os::raw::c_uint,
11390    pub all_chars_exist: ::std::os::raw::c_int,
11391    pub default_char: ::std::os::raw::c_uint,
11392    pub n_properties: ::std::os::raw::c_int,
11393    pub properties: *mut XFontProp,
11394    pub min_bounds: XCharStruct,
11395    pub max_bounds: XCharStruct,
11396    pub per_char: *mut XCharStruct,
11397    pub ascent: ::std::os::raw::c_int,
11398    pub descent: ::std::os::raw::c_int,
11399}
11400#[test]
11401fn bindgen_test_layout_XFontStruct() {
11402    assert_eq!(
11403        ::std::mem::size_of::<XFontStruct>(),
11404        96usize,
11405        concat!("Size of: ", stringify!(XFontStruct))
11406    );
11407    assert_eq!(
11408        ::std::mem::align_of::<XFontStruct>(),
11409        8usize,
11410        concat!("Alignment of ", stringify!(XFontStruct))
11411    );
11412    assert_eq!(
11413        unsafe { &(*(::std::ptr::null::<XFontStruct>())).ext_data as *const _ as usize },
11414        0usize,
11415        concat!(
11416            "Offset of field: ",
11417            stringify!(XFontStruct),
11418            "::",
11419            stringify!(ext_data)
11420        )
11421    );
11422    assert_eq!(
11423        unsafe { &(*(::std::ptr::null::<XFontStruct>())).fid as *const _ as usize },
11424        8usize,
11425        concat!(
11426            "Offset of field: ",
11427            stringify!(XFontStruct),
11428            "::",
11429            stringify!(fid)
11430        )
11431    );
11432    assert_eq!(
11433        unsafe { &(*(::std::ptr::null::<XFontStruct>())).direction as *const _ as usize },
11434        16usize,
11435        concat!(
11436            "Offset of field: ",
11437            stringify!(XFontStruct),
11438            "::",
11439            stringify!(direction)
11440        )
11441    );
11442    assert_eq!(
11443        unsafe { &(*(::std::ptr::null::<XFontStruct>())).min_char_or_byte2 as *const _ as usize },
11444        20usize,
11445        concat!(
11446            "Offset of field: ",
11447            stringify!(XFontStruct),
11448            "::",
11449            stringify!(min_char_or_byte2)
11450        )
11451    );
11452    assert_eq!(
11453        unsafe { &(*(::std::ptr::null::<XFontStruct>())).max_char_or_byte2 as *const _ as usize },
11454        24usize,
11455        concat!(
11456            "Offset of field: ",
11457            stringify!(XFontStruct),
11458            "::",
11459            stringify!(max_char_or_byte2)
11460        )
11461    );
11462    assert_eq!(
11463        unsafe { &(*(::std::ptr::null::<XFontStruct>())).min_byte1 as *const _ as usize },
11464        28usize,
11465        concat!(
11466            "Offset of field: ",
11467            stringify!(XFontStruct),
11468            "::",
11469            stringify!(min_byte1)
11470        )
11471    );
11472    assert_eq!(
11473        unsafe { &(*(::std::ptr::null::<XFontStruct>())).max_byte1 as *const _ as usize },
11474        32usize,
11475        concat!(
11476            "Offset of field: ",
11477            stringify!(XFontStruct),
11478            "::",
11479            stringify!(max_byte1)
11480        )
11481    );
11482    assert_eq!(
11483        unsafe { &(*(::std::ptr::null::<XFontStruct>())).all_chars_exist as *const _ as usize },
11484        36usize,
11485        concat!(
11486            "Offset of field: ",
11487            stringify!(XFontStruct),
11488            "::",
11489            stringify!(all_chars_exist)
11490        )
11491    );
11492    assert_eq!(
11493        unsafe { &(*(::std::ptr::null::<XFontStruct>())).default_char as *const _ as usize },
11494        40usize,
11495        concat!(
11496            "Offset of field: ",
11497            stringify!(XFontStruct),
11498            "::",
11499            stringify!(default_char)
11500        )
11501    );
11502    assert_eq!(
11503        unsafe { &(*(::std::ptr::null::<XFontStruct>())).n_properties as *const _ as usize },
11504        44usize,
11505        concat!(
11506            "Offset of field: ",
11507            stringify!(XFontStruct),
11508            "::",
11509            stringify!(n_properties)
11510        )
11511    );
11512    assert_eq!(
11513        unsafe { &(*(::std::ptr::null::<XFontStruct>())).properties as *const _ as usize },
11514        48usize,
11515        concat!(
11516            "Offset of field: ",
11517            stringify!(XFontStruct),
11518            "::",
11519            stringify!(properties)
11520        )
11521    );
11522    assert_eq!(
11523        unsafe { &(*(::std::ptr::null::<XFontStruct>())).min_bounds as *const _ as usize },
11524        56usize,
11525        concat!(
11526            "Offset of field: ",
11527            stringify!(XFontStruct),
11528            "::",
11529            stringify!(min_bounds)
11530        )
11531    );
11532    assert_eq!(
11533        unsafe { &(*(::std::ptr::null::<XFontStruct>())).max_bounds as *const _ as usize },
11534        68usize,
11535        concat!(
11536            "Offset of field: ",
11537            stringify!(XFontStruct),
11538            "::",
11539            stringify!(max_bounds)
11540        )
11541    );
11542    assert_eq!(
11543        unsafe { &(*(::std::ptr::null::<XFontStruct>())).per_char as *const _ as usize },
11544        80usize,
11545        concat!(
11546            "Offset of field: ",
11547            stringify!(XFontStruct),
11548            "::",
11549            stringify!(per_char)
11550        )
11551    );
11552    assert_eq!(
11553        unsafe { &(*(::std::ptr::null::<XFontStruct>())).ascent as *const _ as usize },
11554        88usize,
11555        concat!(
11556            "Offset of field: ",
11557            stringify!(XFontStruct),
11558            "::",
11559            stringify!(ascent)
11560        )
11561    );
11562    assert_eq!(
11563        unsafe { &(*(::std::ptr::null::<XFontStruct>())).descent as *const _ as usize },
11564        92usize,
11565        concat!(
11566            "Offset of field: ",
11567            stringify!(XFontStruct),
11568            "::",
11569            stringify!(descent)
11570        )
11571    );
11572}
11573#[repr(C)]
11574#[derive(Debug, Copy, Clone)]
11575pub struct XTextItem {
11576    pub chars: *mut ::std::os::raw::c_char,
11577    pub nchars: ::std::os::raw::c_int,
11578    pub delta: ::std::os::raw::c_int,
11579    pub font: Font,
11580}
11581#[test]
11582fn bindgen_test_layout_XTextItem() {
11583    assert_eq!(
11584        ::std::mem::size_of::<XTextItem>(),
11585        24usize,
11586        concat!("Size of: ", stringify!(XTextItem))
11587    );
11588    assert_eq!(
11589        ::std::mem::align_of::<XTextItem>(),
11590        8usize,
11591        concat!("Alignment of ", stringify!(XTextItem))
11592    );
11593    assert_eq!(
11594        unsafe { &(*(::std::ptr::null::<XTextItem>())).chars as *const _ as usize },
11595        0usize,
11596        concat!(
11597            "Offset of field: ",
11598            stringify!(XTextItem),
11599            "::",
11600            stringify!(chars)
11601        )
11602    );
11603    assert_eq!(
11604        unsafe { &(*(::std::ptr::null::<XTextItem>())).nchars as *const _ as usize },
11605        8usize,
11606        concat!(
11607            "Offset of field: ",
11608            stringify!(XTextItem),
11609            "::",
11610            stringify!(nchars)
11611        )
11612    );
11613    assert_eq!(
11614        unsafe { &(*(::std::ptr::null::<XTextItem>())).delta as *const _ as usize },
11615        12usize,
11616        concat!(
11617            "Offset of field: ",
11618            stringify!(XTextItem),
11619            "::",
11620            stringify!(delta)
11621        )
11622    );
11623    assert_eq!(
11624        unsafe { &(*(::std::ptr::null::<XTextItem>())).font as *const _ as usize },
11625        16usize,
11626        concat!(
11627            "Offset of field: ",
11628            stringify!(XTextItem),
11629            "::",
11630            stringify!(font)
11631        )
11632    );
11633}
11634#[repr(C)]
11635#[derive(Debug, Copy, Clone)]
11636pub struct XChar2b {
11637    pub byte1: ::std::os::raw::c_uchar,
11638    pub byte2: ::std::os::raw::c_uchar,
11639}
11640#[test]
11641fn bindgen_test_layout_XChar2b() {
11642    assert_eq!(
11643        ::std::mem::size_of::<XChar2b>(),
11644        2usize,
11645        concat!("Size of: ", stringify!(XChar2b))
11646    );
11647    assert_eq!(
11648        ::std::mem::align_of::<XChar2b>(),
11649        1usize,
11650        concat!("Alignment of ", stringify!(XChar2b))
11651    );
11652    assert_eq!(
11653        unsafe { &(*(::std::ptr::null::<XChar2b>())).byte1 as *const _ as usize },
11654        0usize,
11655        concat!(
11656            "Offset of field: ",
11657            stringify!(XChar2b),
11658            "::",
11659            stringify!(byte1)
11660        )
11661    );
11662    assert_eq!(
11663        unsafe { &(*(::std::ptr::null::<XChar2b>())).byte2 as *const _ as usize },
11664        1usize,
11665        concat!(
11666            "Offset of field: ",
11667            stringify!(XChar2b),
11668            "::",
11669            stringify!(byte2)
11670        )
11671    );
11672}
11673#[repr(C)]
11674#[derive(Debug, Copy, Clone)]
11675pub struct XTextItem16 {
11676    pub chars: *mut XChar2b,
11677    pub nchars: ::std::os::raw::c_int,
11678    pub delta: ::std::os::raw::c_int,
11679    pub font: Font,
11680}
11681#[test]
11682fn bindgen_test_layout_XTextItem16() {
11683    assert_eq!(
11684        ::std::mem::size_of::<XTextItem16>(),
11685        24usize,
11686        concat!("Size of: ", stringify!(XTextItem16))
11687    );
11688    assert_eq!(
11689        ::std::mem::align_of::<XTextItem16>(),
11690        8usize,
11691        concat!("Alignment of ", stringify!(XTextItem16))
11692    );
11693    assert_eq!(
11694        unsafe { &(*(::std::ptr::null::<XTextItem16>())).chars as *const _ as usize },
11695        0usize,
11696        concat!(
11697            "Offset of field: ",
11698            stringify!(XTextItem16),
11699            "::",
11700            stringify!(chars)
11701        )
11702    );
11703    assert_eq!(
11704        unsafe { &(*(::std::ptr::null::<XTextItem16>())).nchars as *const _ as usize },
11705        8usize,
11706        concat!(
11707            "Offset of field: ",
11708            stringify!(XTextItem16),
11709            "::",
11710            stringify!(nchars)
11711        )
11712    );
11713    assert_eq!(
11714        unsafe { &(*(::std::ptr::null::<XTextItem16>())).delta as *const _ as usize },
11715        12usize,
11716        concat!(
11717            "Offset of field: ",
11718            stringify!(XTextItem16),
11719            "::",
11720            stringify!(delta)
11721        )
11722    );
11723    assert_eq!(
11724        unsafe { &(*(::std::ptr::null::<XTextItem16>())).font as *const _ as usize },
11725        16usize,
11726        concat!(
11727            "Offset of field: ",
11728            stringify!(XTextItem16),
11729            "::",
11730            stringify!(font)
11731        )
11732    );
11733}
11734#[repr(C)]
11735#[derive(Copy, Clone)]
11736pub union XEDataObject {
11737    pub display: *mut Display,
11738    pub gc: GC,
11739    pub visual: *mut Visual,
11740    pub screen: *mut Screen,
11741    pub pixmap_format: *mut ScreenFormat,
11742    pub font: *mut XFontStruct,
11743    _bindgen_union_align: u64,
11744}
11745#[test]
11746fn bindgen_test_layout_XEDataObject() {
11747    assert_eq!(
11748        ::std::mem::size_of::<XEDataObject>(),
11749        8usize,
11750        concat!("Size of: ", stringify!(XEDataObject))
11751    );
11752    assert_eq!(
11753        ::std::mem::align_of::<XEDataObject>(),
11754        8usize,
11755        concat!("Alignment of ", stringify!(XEDataObject))
11756    );
11757    assert_eq!(
11758        unsafe { &(*(::std::ptr::null::<XEDataObject>())).display as *const _ as usize },
11759        0usize,
11760        concat!(
11761            "Offset of field: ",
11762            stringify!(XEDataObject),
11763            "::",
11764            stringify!(display)
11765        )
11766    );
11767    assert_eq!(
11768        unsafe { &(*(::std::ptr::null::<XEDataObject>())).gc as *const _ as usize },
11769        0usize,
11770        concat!(
11771            "Offset of field: ",
11772            stringify!(XEDataObject),
11773            "::",
11774            stringify!(gc)
11775        )
11776    );
11777    assert_eq!(
11778        unsafe { &(*(::std::ptr::null::<XEDataObject>())).visual as *const _ as usize },
11779        0usize,
11780        concat!(
11781            "Offset of field: ",
11782            stringify!(XEDataObject),
11783            "::",
11784            stringify!(visual)
11785        )
11786    );
11787    assert_eq!(
11788        unsafe { &(*(::std::ptr::null::<XEDataObject>())).screen as *const _ as usize },
11789        0usize,
11790        concat!(
11791            "Offset of field: ",
11792            stringify!(XEDataObject),
11793            "::",
11794            stringify!(screen)
11795        )
11796    );
11797    assert_eq!(
11798        unsafe { &(*(::std::ptr::null::<XEDataObject>())).pixmap_format as *const _ as usize },
11799        0usize,
11800        concat!(
11801            "Offset of field: ",
11802            stringify!(XEDataObject),
11803            "::",
11804            stringify!(pixmap_format)
11805        )
11806    );
11807    assert_eq!(
11808        unsafe { &(*(::std::ptr::null::<XEDataObject>())).font as *const _ as usize },
11809        0usize,
11810        concat!(
11811            "Offset of field: ",
11812            stringify!(XEDataObject),
11813            "::",
11814            stringify!(font)
11815        )
11816    );
11817}
11818#[repr(C)]
11819#[derive(Debug, Copy, Clone)]
11820pub struct XFontSetExtents {
11821    pub max_ink_extent: XRectangle,
11822    pub max_logical_extent: XRectangle,
11823}
11824#[test]
11825fn bindgen_test_layout_XFontSetExtents() {
11826    assert_eq!(
11827        ::std::mem::size_of::<XFontSetExtents>(),
11828        16usize,
11829        concat!("Size of: ", stringify!(XFontSetExtents))
11830    );
11831    assert_eq!(
11832        ::std::mem::align_of::<XFontSetExtents>(),
11833        2usize,
11834        concat!("Alignment of ", stringify!(XFontSetExtents))
11835    );
11836    assert_eq!(
11837        unsafe { &(*(::std::ptr::null::<XFontSetExtents>())).max_ink_extent as *const _ as usize },
11838        0usize,
11839        concat!(
11840            "Offset of field: ",
11841            stringify!(XFontSetExtents),
11842            "::",
11843            stringify!(max_ink_extent)
11844        )
11845    );
11846    assert_eq!(
11847        unsafe {
11848            &(*(::std::ptr::null::<XFontSetExtents>())).max_logical_extent as *const _ as usize
11849        },
11850        8usize,
11851        concat!(
11852            "Offset of field: ",
11853            stringify!(XFontSetExtents),
11854            "::",
11855            stringify!(max_logical_extent)
11856        )
11857    );
11858}
11859#[repr(C)]
11860#[derive(Debug, Copy, Clone)]
11861pub struct _XOM {
11862    _unused: [u8; 0],
11863}
11864pub type XOM = *mut _XOM;
11865#[repr(C)]
11866#[derive(Debug, Copy, Clone)]
11867pub struct _XOC {
11868    _unused: [u8; 0],
11869}
11870pub type XOC = *mut _XOC;
11871pub type XFontSet = *mut _XOC;
11872#[repr(C)]
11873#[derive(Debug, Copy, Clone)]
11874pub struct XmbTextItem {
11875    pub chars: *mut ::std::os::raw::c_char,
11876    pub nchars: ::std::os::raw::c_int,
11877    pub delta: ::std::os::raw::c_int,
11878    pub font_set: XFontSet,
11879}
11880#[test]
11881fn bindgen_test_layout_XmbTextItem() {
11882    assert_eq!(
11883        ::std::mem::size_of::<XmbTextItem>(),
11884        24usize,
11885        concat!("Size of: ", stringify!(XmbTextItem))
11886    );
11887    assert_eq!(
11888        ::std::mem::align_of::<XmbTextItem>(),
11889        8usize,
11890        concat!("Alignment of ", stringify!(XmbTextItem))
11891    );
11892    assert_eq!(
11893        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).chars as *const _ as usize },
11894        0usize,
11895        concat!(
11896            "Offset of field: ",
11897            stringify!(XmbTextItem),
11898            "::",
11899            stringify!(chars)
11900        )
11901    );
11902    assert_eq!(
11903        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).nchars as *const _ as usize },
11904        8usize,
11905        concat!(
11906            "Offset of field: ",
11907            stringify!(XmbTextItem),
11908            "::",
11909            stringify!(nchars)
11910        )
11911    );
11912    assert_eq!(
11913        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).delta as *const _ as usize },
11914        12usize,
11915        concat!(
11916            "Offset of field: ",
11917            stringify!(XmbTextItem),
11918            "::",
11919            stringify!(delta)
11920        )
11921    );
11922    assert_eq!(
11923        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).font_set as *const _ as usize },
11924        16usize,
11925        concat!(
11926            "Offset of field: ",
11927            stringify!(XmbTextItem),
11928            "::",
11929            stringify!(font_set)
11930        )
11931    );
11932}
11933#[repr(C)]
11934#[derive(Debug, Copy, Clone)]
11935pub struct XwcTextItem {
11936    pub chars: *mut wchar_t,
11937    pub nchars: ::std::os::raw::c_int,
11938    pub delta: ::std::os::raw::c_int,
11939    pub font_set: XFontSet,
11940}
11941#[test]
11942fn bindgen_test_layout_XwcTextItem() {
11943    assert_eq!(
11944        ::std::mem::size_of::<XwcTextItem>(),
11945        24usize,
11946        concat!("Size of: ", stringify!(XwcTextItem))
11947    );
11948    assert_eq!(
11949        ::std::mem::align_of::<XwcTextItem>(),
11950        8usize,
11951        concat!("Alignment of ", stringify!(XwcTextItem))
11952    );
11953    assert_eq!(
11954        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).chars as *const _ as usize },
11955        0usize,
11956        concat!(
11957            "Offset of field: ",
11958            stringify!(XwcTextItem),
11959            "::",
11960            stringify!(chars)
11961        )
11962    );
11963    assert_eq!(
11964        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).nchars as *const _ as usize },
11965        8usize,
11966        concat!(
11967            "Offset of field: ",
11968            stringify!(XwcTextItem),
11969            "::",
11970            stringify!(nchars)
11971        )
11972    );
11973    assert_eq!(
11974        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).delta as *const _ as usize },
11975        12usize,
11976        concat!(
11977            "Offset of field: ",
11978            stringify!(XwcTextItem),
11979            "::",
11980            stringify!(delta)
11981        )
11982    );
11983    assert_eq!(
11984        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).font_set as *const _ as usize },
11985        16usize,
11986        concat!(
11987            "Offset of field: ",
11988            stringify!(XwcTextItem),
11989            "::",
11990            stringify!(font_set)
11991        )
11992    );
11993}
11994#[repr(C)]
11995#[derive(Debug, Copy, Clone)]
11996pub struct XOMCharSetList {
11997    pub charset_count: ::std::os::raw::c_int,
11998    pub charset_list: *mut *mut ::std::os::raw::c_char,
11999}
12000#[test]
12001fn bindgen_test_layout_XOMCharSetList() {
12002    assert_eq!(
12003        ::std::mem::size_of::<XOMCharSetList>(),
12004        16usize,
12005        concat!("Size of: ", stringify!(XOMCharSetList))
12006    );
12007    assert_eq!(
12008        ::std::mem::align_of::<XOMCharSetList>(),
12009        8usize,
12010        concat!("Alignment of ", stringify!(XOMCharSetList))
12011    );
12012    assert_eq!(
12013        unsafe { &(*(::std::ptr::null::<XOMCharSetList>())).charset_count as *const _ as usize },
12014        0usize,
12015        concat!(
12016            "Offset of field: ",
12017            stringify!(XOMCharSetList),
12018            "::",
12019            stringify!(charset_count)
12020        )
12021    );
12022    assert_eq!(
12023        unsafe { &(*(::std::ptr::null::<XOMCharSetList>())).charset_list as *const _ as usize },
12024        8usize,
12025        concat!(
12026            "Offset of field: ",
12027            stringify!(XOMCharSetList),
12028            "::",
12029            stringify!(charset_list)
12030        )
12031    );
12032}
12033pub const XOrientation_XOMOrientation_LTR_TTB: XOrientation = 0;
12034pub const XOrientation_XOMOrientation_RTL_TTB: XOrientation = 1;
12035pub const XOrientation_XOMOrientation_TTB_LTR: XOrientation = 2;
12036pub const XOrientation_XOMOrientation_TTB_RTL: XOrientation = 3;
12037pub const XOrientation_XOMOrientation_Context: XOrientation = 4;
12038pub type XOrientation = u32;
12039#[repr(C)]
12040#[derive(Debug, Copy, Clone)]
12041pub struct XOMOrientation {
12042    pub num_orientation: ::std::os::raw::c_int,
12043    pub orientation: *mut XOrientation,
12044}
12045#[test]
12046fn bindgen_test_layout_XOMOrientation() {
12047    assert_eq!(
12048        ::std::mem::size_of::<XOMOrientation>(),
12049        16usize,
12050        concat!("Size of: ", stringify!(XOMOrientation))
12051    );
12052    assert_eq!(
12053        ::std::mem::align_of::<XOMOrientation>(),
12054        8usize,
12055        concat!("Alignment of ", stringify!(XOMOrientation))
12056    );
12057    assert_eq!(
12058        unsafe { &(*(::std::ptr::null::<XOMOrientation>())).num_orientation as *const _ as usize },
12059        0usize,
12060        concat!(
12061            "Offset of field: ",
12062            stringify!(XOMOrientation),
12063            "::",
12064            stringify!(num_orientation)
12065        )
12066    );
12067    assert_eq!(
12068        unsafe { &(*(::std::ptr::null::<XOMOrientation>())).orientation as *const _ as usize },
12069        8usize,
12070        concat!(
12071            "Offset of field: ",
12072            stringify!(XOMOrientation),
12073            "::",
12074            stringify!(orientation)
12075        )
12076    );
12077}
12078#[repr(C)]
12079#[derive(Debug, Copy, Clone)]
12080pub struct XOMFontInfo {
12081    pub num_font: ::std::os::raw::c_int,
12082    pub font_struct_list: *mut *mut XFontStruct,
12083    pub font_name_list: *mut *mut ::std::os::raw::c_char,
12084}
12085#[test]
12086fn bindgen_test_layout_XOMFontInfo() {
12087    assert_eq!(
12088        ::std::mem::size_of::<XOMFontInfo>(),
12089        24usize,
12090        concat!("Size of: ", stringify!(XOMFontInfo))
12091    );
12092    assert_eq!(
12093        ::std::mem::align_of::<XOMFontInfo>(),
12094        8usize,
12095        concat!("Alignment of ", stringify!(XOMFontInfo))
12096    );
12097    assert_eq!(
12098        unsafe { &(*(::std::ptr::null::<XOMFontInfo>())).num_font as *const _ as usize },
12099        0usize,
12100        concat!(
12101            "Offset of field: ",
12102            stringify!(XOMFontInfo),
12103            "::",
12104            stringify!(num_font)
12105        )
12106    );
12107    assert_eq!(
12108        unsafe { &(*(::std::ptr::null::<XOMFontInfo>())).font_struct_list as *const _ as usize },
12109        8usize,
12110        concat!(
12111            "Offset of field: ",
12112            stringify!(XOMFontInfo),
12113            "::",
12114            stringify!(font_struct_list)
12115        )
12116    );
12117    assert_eq!(
12118        unsafe { &(*(::std::ptr::null::<XOMFontInfo>())).font_name_list as *const _ as usize },
12119        16usize,
12120        concat!(
12121            "Offset of field: ",
12122            stringify!(XOMFontInfo),
12123            "::",
12124            stringify!(font_name_list)
12125        )
12126    );
12127}
12128#[repr(C)]
12129#[derive(Debug, Copy, Clone)]
12130pub struct _XIM {
12131    _unused: [u8; 0],
12132}
12133pub type XIM = *mut _XIM;
12134#[repr(C)]
12135#[derive(Debug, Copy, Clone)]
12136pub struct _XIC {
12137    _unused: [u8; 0],
12138}
12139pub type XIC = *mut _XIC;
12140pub type XIMProc =
12141    ::std::option::Option<unsafe extern "C" fn(arg1: XIM, arg2: XPointer, arg3: XPointer)>;
12142pub type XICProc = ::std::option::Option<
12143    unsafe extern "C" fn(arg1: XIC, arg2: XPointer, arg3: XPointer) -> ::std::os::raw::c_int,
12144>;
12145pub type XIDProc =
12146    ::std::option::Option<unsafe extern "C" fn(arg1: *mut Display, arg2: XPointer, arg3: XPointer)>;
12147pub type XIMStyle = ::std::os::raw::c_ulong;
12148#[repr(C)]
12149#[derive(Debug, Copy, Clone)]
12150pub struct XIMStyles {
12151    pub count_styles: ::std::os::raw::c_ushort,
12152    pub supported_styles: *mut XIMStyle,
12153}
12154#[test]
12155fn bindgen_test_layout_XIMStyles() {
12156    assert_eq!(
12157        ::std::mem::size_of::<XIMStyles>(),
12158        16usize,
12159        concat!("Size of: ", stringify!(XIMStyles))
12160    );
12161    assert_eq!(
12162        ::std::mem::align_of::<XIMStyles>(),
12163        8usize,
12164        concat!("Alignment of ", stringify!(XIMStyles))
12165    );
12166    assert_eq!(
12167        unsafe { &(*(::std::ptr::null::<XIMStyles>())).count_styles as *const _ as usize },
12168        0usize,
12169        concat!(
12170            "Offset of field: ",
12171            stringify!(XIMStyles),
12172            "::",
12173            stringify!(count_styles)
12174        )
12175    );
12176    assert_eq!(
12177        unsafe { &(*(::std::ptr::null::<XIMStyles>())).supported_styles as *const _ as usize },
12178        8usize,
12179        concat!(
12180            "Offset of field: ",
12181            stringify!(XIMStyles),
12182            "::",
12183            stringify!(supported_styles)
12184        )
12185    );
12186}
12187pub type XVaNestedList = *mut ::std::os::raw::c_void;
12188#[repr(C)]
12189#[derive(Debug, Copy, Clone)]
12190pub struct XIMCallback {
12191    pub client_data: XPointer,
12192    pub callback: XIMProc,
12193}
12194#[test]
12195fn bindgen_test_layout_XIMCallback() {
12196    assert_eq!(
12197        ::std::mem::size_of::<XIMCallback>(),
12198        16usize,
12199        concat!("Size of: ", stringify!(XIMCallback))
12200    );
12201    assert_eq!(
12202        ::std::mem::align_of::<XIMCallback>(),
12203        8usize,
12204        concat!("Alignment of ", stringify!(XIMCallback))
12205    );
12206    assert_eq!(
12207        unsafe { &(*(::std::ptr::null::<XIMCallback>())).client_data as *const _ as usize },
12208        0usize,
12209        concat!(
12210            "Offset of field: ",
12211            stringify!(XIMCallback),
12212            "::",
12213            stringify!(client_data)
12214        )
12215    );
12216    assert_eq!(
12217        unsafe { &(*(::std::ptr::null::<XIMCallback>())).callback as *const _ as usize },
12218        8usize,
12219        concat!(
12220            "Offset of field: ",
12221            stringify!(XIMCallback),
12222            "::",
12223            stringify!(callback)
12224        )
12225    );
12226}
12227#[repr(C)]
12228#[derive(Debug, Copy, Clone)]
12229pub struct XICCallback {
12230    pub client_data: XPointer,
12231    pub callback: XICProc,
12232}
12233#[test]
12234fn bindgen_test_layout_XICCallback() {
12235    assert_eq!(
12236        ::std::mem::size_of::<XICCallback>(),
12237        16usize,
12238        concat!("Size of: ", stringify!(XICCallback))
12239    );
12240    assert_eq!(
12241        ::std::mem::align_of::<XICCallback>(),
12242        8usize,
12243        concat!("Alignment of ", stringify!(XICCallback))
12244    );
12245    assert_eq!(
12246        unsafe { &(*(::std::ptr::null::<XICCallback>())).client_data as *const _ as usize },
12247        0usize,
12248        concat!(
12249            "Offset of field: ",
12250            stringify!(XICCallback),
12251            "::",
12252            stringify!(client_data)
12253        )
12254    );
12255    assert_eq!(
12256        unsafe { &(*(::std::ptr::null::<XICCallback>())).callback as *const _ as usize },
12257        8usize,
12258        concat!(
12259            "Offset of field: ",
12260            stringify!(XICCallback),
12261            "::",
12262            stringify!(callback)
12263        )
12264    );
12265}
12266pub type XIMFeedback = ::std::os::raw::c_ulong;
12267#[repr(C)]
12268#[derive(Copy, Clone)]
12269pub struct _XIMText {
12270    pub length: ::std::os::raw::c_ushort,
12271    pub feedback: *mut XIMFeedback,
12272    pub encoding_is_wchar: ::std::os::raw::c_int,
12273    pub string: _XIMText__bindgen_ty_1,
12274}
12275#[repr(C)]
12276#[derive(Copy, Clone)]
12277pub union _XIMText__bindgen_ty_1 {
12278    pub multi_byte: *mut ::std::os::raw::c_char,
12279    pub wide_char: *mut wchar_t,
12280    _bindgen_union_align: u64,
12281}
12282#[test]
12283fn bindgen_test_layout__XIMText__bindgen_ty_1() {
12284    assert_eq!(
12285        ::std::mem::size_of::<_XIMText__bindgen_ty_1>(),
12286        8usize,
12287        concat!("Size of: ", stringify!(_XIMText__bindgen_ty_1))
12288    );
12289    assert_eq!(
12290        ::std::mem::align_of::<_XIMText__bindgen_ty_1>(),
12291        8usize,
12292        concat!("Alignment of ", stringify!(_XIMText__bindgen_ty_1))
12293    );
12294    assert_eq!(
12295        unsafe {
12296            &(*(::std::ptr::null::<_XIMText__bindgen_ty_1>())).multi_byte as *const _ as usize
12297        },
12298        0usize,
12299        concat!(
12300            "Offset of field: ",
12301            stringify!(_XIMText__bindgen_ty_1),
12302            "::",
12303            stringify!(multi_byte)
12304        )
12305    );
12306    assert_eq!(
12307        unsafe {
12308            &(*(::std::ptr::null::<_XIMText__bindgen_ty_1>())).wide_char as *const _ as usize
12309        },
12310        0usize,
12311        concat!(
12312            "Offset of field: ",
12313            stringify!(_XIMText__bindgen_ty_1),
12314            "::",
12315            stringify!(wide_char)
12316        )
12317    );
12318}
12319#[test]
12320fn bindgen_test_layout__XIMText() {
12321    assert_eq!(
12322        ::std::mem::size_of::<_XIMText>(),
12323        32usize,
12324        concat!("Size of: ", stringify!(_XIMText))
12325    );
12326    assert_eq!(
12327        ::std::mem::align_of::<_XIMText>(),
12328        8usize,
12329        concat!("Alignment of ", stringify!(_XIMText))
12330    );
12331    assert_eq!(
12332        unsafe { &(*(::std::ptr::null::<_XIMText>())).length as *const _ as usize },
12333        0usize,
12334        concat!(
12335            "Offset of field: ",
12336            stringify!(_XIMText),
12337            "::",
12338            stringify!(length)
12339        )
12340    );
12341    assert_eq!(
12342        unsafe { &(*(::std::ptr::null::<_XIMText>())).feedback as *const _ as usize },
12343        8usize,
12344        concat!(
12345            "Offset of field: ",
12346            stringify!(_XIMText),
12347            "::",
12348            stringify!(feedback)
12349        )
12350    );
12351    assert_eq!(
12352        unsafe { &(*(::std::ptr::null::<_XIMText>())).encoding_is_wchar as *const _ as usize },
12353        16usize,
12354        concat!(
12355            "Offset of field: ",
12356            stringify!(_XIMText),
12357            "::",
12358            stringify!(encoding_is_wchar)
12359        )
12360    );
12361    assert_eq!(
12362        unsafe { &(*(::std::ptr::null::<_XIMText>())).string as *const _ as usize },
12363        24usize,
12364        concat!(
12365            "Offset of field: ",
12366            stringify!(_XIMText),
12367            "::",
12368            stringify!(string)
12369        )
12370    );
12371}
12372pub type XIMText = _XIMText;
12373pub type XIMPreeditState = ::std::os::raw::c_ulong;
12374#[repr(C)]
12375#[derive(Debug, Copy, Clone)]
12376pub struct _XIMPreeditStateNotifyCallbackStruct {
12377    pub state: XIMPreeditState,
12378}
12379#[test]
12380fn bindgen_test_layout__XIMPreeditStateNotifyCallbackStruct() {
12381    assert_eq!(
12382        ::std::mem::size_of::<_XIMPreeditStateNotifyCallbackStruct>(),
12383        8usize,
12384        concat!(
12385            "Size of: ",
12386            stringify!(_XIMPreeditStateNotifyCallbackStruct)
12387        )
12388    );
12389    assert_eq!(
12390        ::std::mem::align_of::<_XIMPreeditStateNotifyCallbackStruct>(),
12391        8usize,
12392        concat!(
12393            "Alignment of ",
12394            stringify!(_XIMPreeditStateNotifyCallbackStruct)
12395        )
12396    );
12397    assert_eq!(
12398        unsafe {
12399            &(*(::std::ptr::null::<_XIMPreeditStateNotifyCallbackStruct>())).state as *const _
12400                as usize
12401        },
12402        0usize,
12403        concat!(
12404            "Offset of field: ",
12405            stringify!(_XIMPreeditStateNotifyCallbackStruct),
12406            "::",
12407            stringify!(state)
12408        )
12409    );
12410}
12411pub type XIMPreeditStateNotifyCallbackStruct = _XIMPreeditStateNotifyCallbackStruct;
12412pub type XIMResetState = ::std::os::raw::c_ulong;
12413pub type XIMStringConversionFeedback = ::std::os::raw::c_ulong;
12414#[repr(C)]
12415#[derive(Copy, Clone)]
12416pub struct _XIMStringConversionText {
12417    pub length: ::std::os::raw::c_ushort,
12418    pub feedback: *mut XIMStringConversionFeedback,
12419    pub encoding_is_wchar: ::std::os::raw::c_int,
12420    pub string: _XIMStringConversionText__bindgen_ty_1,
12421}
12422#[repr(C)]
12423#[derive(Copy, Clone)]
12424pub union _XIMStringConversionText__bindgen_ty_1 {
12425    pub mbs: *mut ::std::os::raw::c_char,
12426    pub wcs: *mut wchar_t,
12427    _bindgen_union_align: u64,
12428}
12429#[test]
12430fn bindgen_test_layout__XIMStringConversionText__bindgen_ty_1() {
12431    assert_eq!(
12432        ::std::mem::size_of::<_XIMStringConversionText__bindgen_ty_1>(),
12433        8usize,
12434        concat!(
12435            "Size of: ",
12436            stringify!(_XIMStringConversionText__bindgen_ty_1)
12437        )
12438    );
12439    assert_eq!(
12440        ::std::mem::align_of::<_XIMStringConversionText__bindgen_ty_1>(),
12441        8usize,
12442        concat!(
12443            "Alignment of ",
12444            stringify!(_XIMStringConversionText__bindgen_ty_1)
12445        )
12446    );
12447    assert_eq!(
12448        unsafe {
12449            &(*(::std::ptr::null::<_XIMStringConversionText__bindgen_ty_1>())).mbs as *const _
12450                as usize
12451        },
12452        0usize,
12453        concat!(
12454            "Offset of field: ",
12455            stringify!(_XIMStringConversionText__bindgen_ty_1),
12456            "::",
12457            stringify!(mbs)
12458        )
12459    );
12460    assert_eq!(
12461        unsafe {
12462            &(*(::std::ptr::null::<_XIMStringConversionText__bindgen_ty_1>())).wcs as *const _
12463                as usize
12464        },
12465        0usize,
12466        concat!(
12467            "Offset of field: ",
12468            stringify!(_XIMStringConversionText__bindgen_ty_1),
12469            "::",
12470            stringify!(wcs)
12471        )
12472    );
12473}
12474#[test]
12475fn bindgen_test_layout__XIMStringConversionText() {
12476    assert_eq!(
12477        ::std::mem::size_of::<_XIMStringConversionText>(),
12478        32usize,
12479        concat!("Size of: ", stringify!(_XIMStringConversionText))
12480    );
12481    assert_eq!(
12482        ::std::mem::align_of::<_XIMStringConversionText>(),
12483        8usize,
12484        concat!("Alignment of ", stringify!(_XIMStringConversionText))
12485    );
12486    assert_eq!(
12487        unsafe { &(*(::std::ptr::null::<_XIMStringConversionText>())).length as *const _ as usize },
12488        0usize,
12489        concat!(
12490            "Offset of field: ",
12491            stringify!(_XIMStringConversionText),
12492            "::",
12493            stringify!(length)
12494        )
12495    );
12496    assert_eq!(
12497        unsafe {
12498            &(*(::std::ptr::null::<_XIMStringConversionText>())).feedback as *const _ as usize
12499        },
12500        8usize,
12501        concat!(
12502            "Offset of field: ",
12503            stringify!(_XIMStringConversionText),
12504            "::",
12505            stringify!(feedback)
12506        )
12507    );
12508    assert_eq!(
12509        unsafe {
12510            &(*(::std::ptr::null::<_XIMStringConversionText>())).encoding_is_wchar as *const _
12511                as usize
12512        },
12513        16usize,
12514        concat!(
12515            "Offset of field: ",
12516            stringify!(_XIMStringConversionText),
12517            "::",
12518            stringify!(encoding_is_wchar)
12519        )
12520    );
12521    assert_eq!(
12522        unsafe { &(*(::std::ptr::null::<_XIMStringConversionText>())).string as *const _ as usize },
12523        24usize,
12524        concat!(
12525            "Offset of field: ",
12526            stringify!(_XIMStringConversionText),
12527            "::",
12528            stringify!(string)
12529        )
12530    );
12531}
12532pub type XIMStringConversionText = _XIMStringConversionText;
12533pub type XIMStringConversionPosition = ::std::os::raw::c_ushort;
12534pub type XIMStringConversionType = ::std::os::raw::c_ushort;
12535pub type XIMStringConversionOperation = ::std::os::raw::c_ushort;
12536pub const XIMCaretDirection_XIMForwardChar: XIMCaretDirection = 0;
12537pub const XIMCaretDirection_XIMBackwardChar: XIMCaretDirection = 1;
12538pub const XIMCaretDirection_XIMForwardWord: XIMCaretDirection = 2;
12539pub const XIMCaretDirection_XIMBackwardWord: XIMCaretDirection = 3;
12540pub const XIMCaretDirection_XIMCaretUp: XIMCaretDirection = 4;
12541pub const XIMCaretDirection_XIMCaretDown: XIMCaretDirection = 5;
12542pub const XIMCaretDirection_XIMNextLine: XIMCaretDirection = 6;
12543pub const XIMCaretDirection_XIMPreviousLine: XIMCaretDirection = 7;
12544pub const XIMCaretDirection_XIMLineStart: XIMCaretDirection = 8;
12545pub const XIMCaretDirection_XIMLineEnd: XIMCaretDirection = 9;
12546pub const XIMCaretDirection_XIMAbsolutePosition: XIMCaretDirection = 10;
12547pub const XIMCaretDirection_XIMDontChange: XIMCaretDirection = 11;
12548pub type XIMCaretDirection = u32;
12549#[repr(C)]
12550#[derive(Debug, Copy, Clone)]
12551pub struct _XIMStringConversionCallbackStruct {
12552    pub position: XIMStringConversionPosition,
12553    pub direction: XIMCaretDirection,
12554    pub operation: XIMStringConversionOperation,
12555    pub factor: ::std::os::raw::c_ushort,
12556    pub text: *mut XIMStringConversionText,
12557}
12558#[test]
12559fn bindgen_test_layout__XIMStringConversionCallbackStruct() {
12560    assert_eq!(
12561        ::std::mem::size_of::<_XIMStringConversionCallbackStruct>(),
12562        24usize,
12563        concat!("Size of: ", stringify!(_XIMStringConversionCallbackStruct))
12564    );
12565    assert_eq!(
12566        ::std::mem::align_of::<_XIMStringConversionCallbackStruct>(),
12567        8usize,
12568        concat!(
12569            "Alignment of ",
12570            stringify!(_XIMStringConversionCallbackStruct)
12571        )
12572    );
12573    assert_eq!(
12574        unsafe {
12575            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).position as *const _
12576                as usize
12577        },
12578        0usize,
12579        concat!(
12580            "Offset of field: ",
12581            stringify!(_XIMStringConversionCallbackStruct),
12582            "::",
12583            stringify!(position)
12584        )
12585    );
12586    assert_eq!(
12587        unsafe {
12588            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).direction as *const _
12589                as usize
12590        },
12591        4usize,
12592        concat!(
12593            "Offset of field: ",
12594            stringify!(_XIMStringConversionCallbackStruct),
12595            "::",
12596            stringify!(direction)
12597        )
12598    );
12599    assert_eq!(
12600        unsafe {
12601            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).operation as *const _
12602                as usize
12603        },
12604        8usize,
12605        concat!(
12606            "Offset of field: ",
12607            stringify!(_XIMStringConversionCallbackStruct),
12608            "::",
12609            stringify!(operation)
12610        )
12611    );
12612    assert_eq!(
12613        unsafe {
12614            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).factor as *const _
12615                as usize
12616        },
12617        10usize,
12618        concat!(
12619            "Offset of field: ",
12620            stringify!(_XIMStringConversionCallbackStruct),
12621            "::",
12622            stringify!(factor)
12623        )
12624    );
12625    assert_eq!(
12626        unsafe {
12627            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).text as *const _ as usize
12628        },
12629        16usize,
12630        concat!(
12631            "Offset of field: ",
12632            stringify!(_XIMStringConversionCallbackStruct),
12633            "::",
12634            stringify!(text)
12635        )
12636    );
12637}
12638pub type XIMStringConversionCallbackStruct = _XIMStringConversionCallbackStruct;
12639#[repr(C)]
12640#[derive(Debug, Copy, Clone)]
12641pub struct _XIMPreeditDrawCallbackStruct {
12642    pub caret: ::std::os::raw::c_int,
12643    pub chg_first: ::std::os::raw::c_int,
12644    pub chg_length: ::std::os::raw::c_int,
12645    pub text: *mut XIMText,
12646}
12647#[test]
12648fn bindgen_test_layout__XIMPreeditDrawCallbackStruct() {
12649    assert_eq!(
12650        ::std::mem::size_of::<_XIMPreeditDrawCallbackStruct>(),
12651        24usize,
12652        concat!("Size of: ", stringify!(_XIMPreeditDrawCallbackStruct))
12653    );
12654    assert_eq!(
12655        ::std::mem::align_of::<_XIMPreeditDrawCallbackStruct>(),
12656        8usize,
12657        concat!("Alignment of ", stringify!(_XIMPreeditDrawCallbackStruct))
12658    );
12659    assert_eq!(
12660        unsafe {
12661            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).caret as *const _ as usize
12662        },
12663        0usize,
12664        concat!(
12665            "Offset of field: ",
12666            stringify!(_XIMPreeditDrawCallbackStruct),
12667            "::",
12668            stringify!(caret)
12669        )
12670    );
12671    assert_eq!(
12672        unsafe {
12673            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).chg_first as *const _ as usize
12674        },
12675        4usize,
12676        concat!(
12677            "Offset of field: ",
12678            stringify!(_XIMPreeditDrawCallbackStruct),
12679            "::",
12680            stringify!(chg_first)
12681        )
12682    );
12683    assert_eq!(
12684        unsafe {
12685            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).chg_length as *const _
12686                as usize
12687        },
12688        8usize,
12689        concat!(
12690            "Offset of field: ",
12691            stringify!(_XIMPreeditDrawCallbackStruct),
12692            "::",
12693            stringify!(chg_length)
12694        )
12695    );
12696    assert_eq!(
12697        unsafe {
12698            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).text as *const _ as usize
12699        },
12700        16usize,
12701        concat!(
12702            "Offset of field: ",
12703            stringify!(_XIMPreeditDrawCallbackStruct),
12704            "::",
12705            stringify!(text)
12706        )
12707    );
12708}
12709pub type XIMPreeditDrawCallbackStruct = _XIMPreeditDrawCallbackStruct;
12710pub const XIMCaretStyle_XIMIsInvisible: XIMCaretStyle = 0;
12711pub const XIMCaretStyle_XIMIsPrimary: XIMCaretStyle = 1;
12712pub const XIMCaretStyle_XIMIsSecondary: XIMCaretStyle = 2;
12713pub type XIMCaretStyle = u32;
12714#[repr(C)]
12715#[derive(Debug, Copy, Clone)]
12716pub struct _XIMPreeditCaretCallbackStruct {
12717    pub position: ::std::os::raw::c_int,
12718    pub direction: XIMCaretDirection,
12719    pub style: XIMCaretStyle,
12720}
12721#[test]
12722fn bindgen_test_layout__XIMPreeditCaretCallbackStruct() {
12723    assert_eq!(
12724        ::std::mem::size_of::<_XIMPreeditCaretCallbackStruct>(),
12725        12usize,
12726        concat!("Size of: ", stringify!(_XIMPreeditCaretCallbackStruct))
12727    );
12728    assert_eq!(
12729        ::std::mem::align_of::<_XIMPreeditCaretCallbackStruct>(),
12730        4usize,
12731        concat!("Alignment of ", stringify!(_XIMPreeditCaretCallbackStruct))
12732    );
12733    assert_eq!(
12734        unsafe {
12735            &(*(::std::ptr::null::<_XIMPreeditCaretCallbackStruct>())).position as *const _ as usize
12736        },
12737        0usize,
12738        concat!(
12739            "Offset of field: ",
12740            stringify!(_XIMPreeditCaretCallbackStruct),
12741            "::",
12742            stringify!(position)
12743        )
12744    );
12745    assert_eq!(
12746        unsafe {
12747            &(*(::std::ptr::null::<_XIMPreeditCaretCallbackStruct>())).direction as *const _
12748                as usize
12749        },
12750        4usize,
12751        concat!(
12752            "Offset of field: ",
12753            stringify!(_XIMPreeditCaretCallbackStruct),
12754            "::",
12755            stringify!(direction)
12756        )
12757    );
12758    assert_eq!(
12759        unsafe {
12760            &(*(::std::ptr::null::<_XIMPreeditCaretCallbackStruct>())).style as *const _ as usize
12761        },
12762        8usize,
12763        concat!(
12764            "Offset of field: ",
12765            stringify!(_XIMPreeditCaretCallbackStruct),
12766            "::",
12767            stringify!(style)
12768        )
12769    );
12770}
12771pub type XIMPreeditCaretCallbackStruct = _XIMPreeditCaretCallbackStruct;
12772pub const XIMStatusDataType_XIMTextType: XIMStatusDataType = 0;
12773pub const XIMStatusDataType_XIMBitmapType: XIMStatusDataType = 1;
12774pub type XIMStatusDataType = u32;
12775#[repr(C)]
12776#[derive(Copy, Clone)]
12777pub struct _XIMStatusDrawCallbackStruct {
12778    pub type_: XIMStatusDataType,
12779    pub data: _XIMStatusDrawCallbackStruct__bindgen_ty_1,
12780}
12781#[repr(C)]
12782#[derive(Copy, Clone)]
12783pub union _XIMStatusDrawCallbackStruct__bindgen_ty_1 {
12784    pub text: *mut XIMText,
12785    pub bitmap: Pixmap,
12786    _bindgen_union_align: u64,
12787}
12788#[test]
12789fn bindgen_test_layout__XIMStatusDrawCallbackStruct__bindgen_ty_1() {
12790    assert_eq!(
12791        ::std::mem::size_of::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>(),
12792        8usize,
12793        concat!(
12794            "Size of: ",
12795            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1)
12796        )
12797    );
12798    assert_eq!(
12799        ::std::mem::align_of::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>(),
12800        8usize,
12801        concat!(
12802            "Alignment of ",
12803            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1)
12804        )
12805    );
12806    assert_eq!(
12807        unsafe {
12808            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>())).text as *const _
12809                as usize
12810        },
12811        0usize,
12812        concat!(
12813            "Offset of field: ",
12814            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1),
12815            "::",
12816            stringify!(text)
12817        )
12818    );
12819    assert_eq!(
12820        unsafe {
12821            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>())).bitmap
12822                as *const _ as usize
12823        },
12824        0usize,
12825        concat!(
12826            "Offset of field: ",
12827            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1),
12828            "::",
12829            stringify!(bitmap)
12830        )
12831    );
12832}
12833#[test]
12834fn bindgen_test_layout__XIMStatusDrawCallbackStruct() {
12835    assert_eq!(
12836        ::std::mem::size_of::<_XIMStatusDrawCallbackStruct>(),
12837        16usize,
12838        concat!("Size of: ", stringify!(_XIMStatusDrawCallbackStruct))
12839    );
12840    assert_eq!(
12841        ::std::mem::align_of::<_XIMStatusDrawCallbackStruct>(),
12842        8usize,
12843        concat!("Alignment of ", stringify!(_XIMStatusDrawCallbackStruct))
12844    );
12845    assert_eq!(
12846        unsafe {
12847            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct>())).type_ as *const _ as usize
12848        },
12849        0usize,
12850        concat!(
12851            "Offset of field: ",
12852            stringify!(_XIMStatusDrawCallbackStruct),
12853            "::",
12854            stringify!(type_)
12855        )
12856    );
12857    assert_eq!(
12858        unsafe {
12859            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct>())).data as *const _ as usize
12860        },
12861        8usize,
12862        concat!(
12863            "Offset of field: ",
12864            stringify!(_XIMStatusDrawCallbackStruct),
12865            "::",
12866            stringify!(data)
12867        )
12868    );
12869}
12870pub type XIMStatusDrawCallbackStruct = _XIMStatusDrawCallbackStruct;
12871#[repr(C)]
12872#[derive(Debug, Copy, Clone)]
12873pub struct _XIMHotKeyTrigger {
12874    pub keysym: KeySym,
12875    pub modifier: ::std::os::raw::c_int,
12876    pub modifier_mask: ::std::os::raw::c_int,
12877}
12878#[test]
12879fn bindgen_test_layout__XIMHotKeyTrigger() {
12880    assert_eq!(
12881        ::std::mem::size_of::<_XIMHotKeyTrigger>(),
12882        16usize,
12883        concat!("Size of: ", stringify!(_XIMHotKeyTrigger))
12884    );
12885    assert_eq!(
12886        ::std::mem::align_of::<_XIMHotKeyTrigger>(),
12887        8usize,
12888        concat!("Alignment of ", stringify!(_XIMHotKeyTrigger))
12889    );
12890    assert_eq!(
12891        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTrigger>())).keysym as *const _ as usize },
12892        0usize,
12893        concat!(
12894            "Offset of field: ",
12895            stringify!(_XIMHotKeyTrigger),
12896            "::",
12897            stringify!(keysym)
12898        )
12899    );
12900    assert_eq!(
12901        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTrigger>())).modifier as *const _ as usize },
12902        8usize,
12903        concat!(
12904            "Offset of field: ",
12905            stringify!(_XIMHotKeyTrigger),
12906            "::",
12907            stringify!(modifier)
12908        )
12909    );
12910    assert_eq!(
12911        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTrigger>())).modifier_mask as *const _ as usize },
12912        12usize,
12913        concat!(
12914            "Offset of field: ",
12915            stringify!(_XIMHotKeyTrigger),
12916            "::",
12917            stringify!(modifier_mask)
12918        )
12919    );
12920}
12921pub type XIMHotKeyTrigger = _XIMHotKeyTrigger;
12922#[repr(C)]
12923#[derive(Debug, Copy, Clone)]
12924pub struct _XIMHotKeyTriggers {
12925    pub num_hot_key: ::std::os::raw::c_int,
12926    pub key: *mut XIMHotKeyTrigger,
12927}
12928#[test]
12929fn bindgen_test_layout__XIMHotKeyTriggers() {
12930    assert_eq!(
12931        ::std::mem::size_of::<_XIMHotKeyTriggers>(),
12932        16usize,
12933        concat!("Size of: ", stringify!(_XIMHotKeyTriggers))
12934    );
12935    assert_eq!(
12936        ::std::mem::align_of::<_XIMHotKeyTriggers>(),
12937        8usize,
12938        concat!("Alignment of ", stringify!(_XIMHotKeyTriggers))
12939    );
12940    assert_eq!(
12941        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTriggers>())).num_hot_key as *const _ as usize },
12942        0usize,
12943        concat!(
12944            "Offset of field: ",
12945            stringify!(_XIMHotKeyTriggers),
12946            "::",
12947            stringify!(num_hot_key)
12948        )
12949    );
12950    assert_eq!(
12951        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTriggers>())).key as *const _ as usize },
12952        8usize,
12953        concat!(
12954            "Offset of field: ",
12955            stringify!(_XIMHotKeyTriggers),
12956            "::",
12957            stringify!(key)
12958        )
12959    );
12960}
12961pub type XIMHotKeyTriggers = _XIMHotKeyTriggers;
12962pub type XIMHotKeyState = ::std::os::raw::c_ulong;
12963#[repr(C)]
12964#[derive(Debug, Copy, Clone)]
12965pub struct XIMValuesList {
12966    pub count_values: ::std::os::raw::c_ushort,
12967    pub supported_values: *mut *mut ::std::os::raw::c_char,
12968}
12969#[test]
12970fn bindgen_test_layout_XIMValuesList() {
12971    assert_eq!(
12972        ::std::mem::size_of::<XIMValuesList>(),
12973        16usize,
12974        concat!("Size of: ", stringify!(XIMValuesList))
12975    );
12976    assert_eq!(
12977        ::std::mem::align_of::<XIMValuesList>(),
12978        8usize,
12979        concat!("Alignment of ", stringify!(XIMValuesList))
12980    );
12981    assert_eq!(
12982        unsafe { &(*(::std::ptr::null::<XIMValuesList>())).count_values as *const _ as usize },
12983        0usize,
12984        concat!(
12985            "Offset of field: ",
12986            stringify!(XIMValuesList),
12987            "::",
12988            stringify!(count_values)
12989        )
12990    );
12991    assert_eq!(
12992        unsafe { &(*(::std::ptr::null::<XIMValuesList>())).supported_values as *const _ as usize },
12993        8usize,
12994        concat!(
12995            "Offset of field: ",
12996            stringify!(XIMValuesList),
12997            "::",
12998            stringify!(supported_values)
12999        )
13000    );
13001}
13002extern "C" {
13003    pub static mut _Xdebug: ::std::os::raw::c_int;
13004}
13005extern "C" {
13006    pub fn XLoadQueryFont(
13007        arg1: *mut Display,
13008        arg2: *const ::std::os::raw::c_char,
13009    ) -> *mut XFontStruct;
13010}
13011extern "C" {
13012    pub fn XQueryFont(arg1: *mut Display, arg2: XID) -> *mut XFontStruct;
13013}
13014extern "C" {
13015    pub fn XGetMotionEvents(
13016        arg1: *mut Display,
13017        arg2: Window,
13018        arg3: Time,
13019        arg4: Time,
13020        arg5: *mut ::std::os::raw::c_int,
13021    ) -> *mut XTimeCoord;
13022}
13023extern "C" {
13024    pub fn XDeleteModifiermapEntry(
13025        arg1: *mut XModifierKeymap,
13026        arg2: KeyCode,
13027        arg3: ::std::os::raw::c_int,
13028    ) -> *mut XModifierKeymap;
13029}
13030extern "C" {
13031    pub fn XGetModifierMapping(arg1: *mut Display) -> *mut XModifierKeymap;
13032}
13033extern "C" {
13034    pub fn XInsertModifiermapEntry(
13035        arg1: *mut XModifierKeymap,
13036        arg2: KeyCode,
13037        arg3: ::std::os::raw::c_int,
13038    ) -> *mut XModifierKeymap;
13039}
13040extern "C" {
13041    pub fn XNewModifiermap(arg1: ::std::os::raw::c_int) -> *mut XModifierKeymap;
13042}
13043extern "C" {
13044    pub fn XCreateImage(
13045        arg1: *mut Display,
13046        arg2: *mut Visual,
13047        arg3: ::std::os::raw::c_uint,
13048        arg4: ::std::os::raw::c_int,
13049        arg5: ::std::os::raw::c_int,
13050        arg6: *mut ::std::os::raw::c_char,
13051        arg7: ::std::os::raw::c_uint,
13052        arg8: ::std::os::raw::c_uint,
13053        arg9: ::std::os::raw::c_int,
13054        arg10: ::std::os::raw::c_int,
13055    ) -> *mut XImage;
13056}
13057extern "C" {
13058    pub fn XInitImage(arg1: *mut XImage) -> ::std::os::raw::c_int;
13059}
13060extern "C" {
13061    pub fn XGetImage(
13062        arg1: *mut Display,
13063        arg2: Drawable,
13064        arg3: ::std::os::raw::c_int,
13065        arg4: ::std::os::raw::c_int,
13066        arg5: ::std::os::raw::c_uint,
13067        arg6: ::std::os::raw::c_uint,
13068        arg7: ::std::os::raw::c_ulong,
13069        arg8: ::std::os::raw::c_int,
13070    ) -> *mut XImage;
13071}
13072extern "C" {
13073    pub fn XGetSubImage(
13074        arg1: *mut Display,
13075        arg2: Drawable,
13076        arg3: ::std::os::raw::c_int,
13077        arg4: ::std::os::raw::c_int,
13078        arg5: ::std::os::raw::c_uint,
13079        arg6: ::std::os::raw::c_uint,
13080        arg7: ::std::os::raw::c_ulong,
13081        arg8: ::std::os::raw::c_int,
13082        arg9: *mut XImage,
13083        arg10: ::std::os::raw::c_int,
13084        arg11: ::std::os::raw::c_int,
13085    ) -> *mut XImage;
13086}
13087extern "C" {
13088    pub fn XOpenDisplay(arg1: *const ::std::os::raw::c_char) -> *mut Display;
13089}
13090extern "C" {
13091    pub fn XrmInitialize();
13092}
13093extern "C" {
13094    pub fn XFetchBytes(
13095        arg1: *mut Display,
13096        arg2: *mut ::std::os::raw::c_int,
13097    ) -> *mut ::std::os::raw::c_char;
13098}
13099extern "C" {
13100    pub fn XFetchBuffer(
13101        arg1: *mut Display,
13102        arg2: *mut ::std::os::raw::c_int,
13103        arg3: ::std::os::raw::c_int,
13104    ) -> *mut ::std::os::raw::c_char;
13105}
13106extern "C" {
13107    pub fn XGetAtomName(arg1: *mut Display, arg2: Atom) -> *mut ::std::os::raw::c_char;
13108}
13109extern "C" {
13110    pub fn XGetAtomNames(
13111        arg1: *mut Display,
13112        arg2: *mut Atom,
13113        arg3: ::std::os::raw::c_int,
13114        arg4: *mut *mut ::std::os::raw::c_char,
13115    ) -> ::std::os::raw::c_int;
13116}
13117extern "C" {
13118    pub fn XGetDefault(
13119        arg1: *mut Display,
13120        arg2: *const ::std::os::raw::c_char,
13121        arg3: *const ::std::os::raw::c_char,
13122    ) -> *mut ::std::os::raw::c_char;
13123}
13124extern "C" {
13125    pub fn XDisplayName(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
13126}
13127extern "C" {
13128    pub fn XKeysymToString(arg1: KeySym) -> *mut ::std::os::raw::c_char;
13129}
13130extern "C" {
13131    pub fn XSynchronize(
13132        arg1: *mut Display,
13133        arg2: ::std::os::raw::c_int,
13134    ) -> ::std::option::Option<
13135        unsafe extern "C" fn(
13136            arg1: *mut Display,
13137            arg2: ::std::os::raw::c_int,
13138        ) -> ::std::os::raw::c_int,
13139    >;
13140}
13141extern "C" {
13142    pub fn XSetAfterFunction(
13143        arg1: *mut Display,
13144        arg2: ::std::option::Option<
13145            unsafe extern "C" fn(arg1: *mut Display) -> ::std::os::raw::c_int,
13146        >,
13147    ) -> ::std::option::Option<
13148        unsafe extern "C" fn(
13149            arg1: *mut Display,
13150            arg2: ::std::option::Option<
13151                unsafe extern "C" fn(arg1: *mut Display) -> ::std::os::raw::c_int,
13152            >,
13153        ) -> ::std::os::raw::c_int,
13154    >;
13155}
13156extern "C" {
13157    pub fn XInternAtom(
13158        arg1: *mut Display,
13159        arg2: *const ::std::os::raw::c_char,
13160        arg3: ::std::os::raw::c_int,
13161    ) -> Atom;
13162}
13163extern "C" {
13164    pub fn XInternAtoms(
13165        arg1: *mut Display,
13166        arg2: *mut *mut ::std::os::raw::c_char,
13167        arg3: ::std::os::raw::c_int,
13168        arg4: ::std::os::raw::c_int,
13169        arg5: *mut Atom,
13170    ) -> ::std::os::raw::c_int;
13171}
13172extern "C" {
13173    pub fn XCopyColormapAndFree(arg1: *mut Display, arg2: Colormap) -> Colormap;
13174}
13175extern "C" {
13176    pub fn XCreateColormap(
13177        arg1: *mut Display,
13178        arg2: Window,
13179        arg3: *mut Visual,
13180        arg4: ::std::os::raw::c_int,
13181    ) -> Colormap;
13182}
13183extern "C" {
13184    pub fn XCreatePixmapCursor(
13185        arg1: *mut Display,
13186        arg2: Pixmap,
13187        arg3: Pixmap,
13188        arg4: *mut XColor,
13189        arg5: *mut XColor,
13190        arg6: ::std::os::raw::c_uint,
13191        arg7: ::std::os::raw::c_uint,
13192    ) -> Cursor;
13193}
13194extern "C" {
13195    pub fn XCreateGlyphCursor(
13196        arg1: *mut Display,
13197        arg2: Font,
13198        arg3: Font,
13199        arg4: ::std::os::raw::c_uint,
13200        arg5: ::std::os::raw::c_uint,
13201        arg6: *const XColor,
13202        arg7: *const XColor,
13203    ) -> Cursor;
13204}
13205extern "C" {
13206    pub fn XCreateFontCursor(arg1: *mut Display, arg2: ::std::os::raw::c_uint) -> Cursor;
13207}
13208extern "C" {
13209    pub fn XLoadFont(arg1: *mut Display, arg2: *const ::std::os::raw::c_char) -> Font;
13210}
13211extern "C" {
13212    pub fn XCreateGC(
13213        arg1: *mut Display,
13214        arg2: Drawable,
13215        arg3: ::std::os::raw::c_ulong,
13216        arg4: *mut XGCValues,
13217    ) -> GC;
13218}
13219extern "C" {
13220    pub fn XGContextFromGC(arg1: GC) -> GContext;
13221}
13222extern "C" {
13223    pub fn XFlushGC(arg1: *mut Display, arg2: GC);
13224}
13225extern "C" {
13226    pub fn XCreatePixmap(
13227        arg1: *mut Display,
13228        arg2: Drawable,
13229        arg3: ::std::os::raw::c_uint,
13230        arg4: ::std::os::raw::c_uint,
13231        arg5: ::std::os::raw::c_uint,
13232    ) -> Pixmap;
13233}
13234extern "C" {
13235    pub fn XCreateBitmapFromData(
13236        arg1: *mut Display,
13237        arg2: Drawable,
13238        arg3: *const ::std::os::raw::c_char,
13239        arg4: ::std::os::raw::c_uint,
13240        arg5: ::std::os::raw::c_uint,
13241    ) -> Pixmap;
13242}
13243extern "C" {
13244    pub fn XCreatePixmapFromBitmapData(
13245        arg1: *mut Display,
13246        arg2: Drawable,
13247        arg3: *mut ::std::os::raw::c_char,
13248        arg4: ::std::os::raw::c_uint,
13249        arg5: ::std::os::raw::c_uint,
13250        arg6: ::std::os::raw::c_ulong,
13251        arg7: ::std::os::raw::c_ulong,
13252        arg8: ::std::os::raw::c_uint,
13253    ) -> Pixmap;
13254}
13255extern "C" {
13256    pub fn XCreateSimpleWindow(
13257        arg1: *mut Display,
13258        arg2: Window,
13259        arg3: ::std::os::raw::c_int,
13260        arg4: ::std::os::raw::c_int,
13261        arg5: ::std::os::raw::c_uint,
13262        arg6: ::std::os::raw::c_uint,
13263        arg7: ::std::os::raw::c_uint,
13264        arg8: ::std::os::raw::c_ulong,
13265        arg9: ::std::os::raw::c_ulong,
13266    ) -> Window;
13267}
13268extern "C" {
13269    pub fn XGetSelectionOwner(arg1: *mut Display, arg2: Atom) -> Window;
13270}
13271extern "C" {
13272    pub fn XCreateWindow(
13273        arg1: *mut Display,
13274        arg2: Window,
13275        arg3: ::std::os::raw::c_int,
13276        arg4: ::std::os::raw::c_int,
13277        arg5: ::std::os::raw::c_uint,
13278        arg6: ::std::os::raw::c_uint,
13279        arg7: ::std::os::raw::c_uint,
13280        arg8: ::std::os::raw::c_int,
13281        arg9: ::std::os::raw::c_uint,
13282        arg10: *mut Visual,
13283        arg11: ::std::os::raw::c_ulong,
13284        arg12: *mut XSetWindowAttributes,
13285    ) -> Window;
13286}
13287extern "C" {
13288    pub fn XListInstalledColormaps(
13289        arg1: *mut Display,
13290        arg2: Window,
13291        arg3: *mut ::std::os::raw::c_int,
13292    ) -> *mut Colormap;
13293}
13294extern "C" {
13295    pub fn XListFonts(
13296        arg1: *mut Display,
13297        arg2: *const ::std::os::raw::c_char,
13298        arg3: ::std::os::raw::c_int,
13299        arg4: *mut ::std::os::raw::c_int,
13300    ) -> *mut *mut ::std::os::raw::c_char;
13301}
13302extern "C" {
13303    pub fn XListFontsWithInfo(
13304        arg1: *mut Display,
13305        arg2: *const ::std::os::raw::c_char,
13306        arg3: ::std::os::raw::c_int,
13307        arg4: *mut ::std::os::raw::c_int,
13308        arg5: *mut *mut XFontStruct,
13309    ) -> *mut *mut ::std::os::raw::c_char;
13310}
13311extern "C" {
13312    pub fn XGetFontPath(
13313        arg1: *mut Display,
13314        arg2: *mut ::std::os::raw::c_int,
13315    ) -> *mut *mut ::std::os::raw::c_char;
13316}
13317extern "C" {
13318    pub fn XListExtensions(
13319        arg1: *mut Display,
13320        arg2: *mut ::std::os::raw::c_int,
13321    ) -> *mut *mut ::std::os::raw::c_char;
13322}
13323extern "C" {
13324    pub fn XListProperties(
13325        arg1: *mut Display,
13326        arg2: Window,
13327        arg3: *mut ::std::os::raw::c_int,
13328    ) -> *mut Atom;
13329}
13330extern "C" {
13331    pub fn XListHosts(
13332        arg1: *mut Display,
13333        arg2: *mut ::std::os::raw::c_int,
13334        arg3: *mut ::std::os::raw::c_int,
13335    ) -> *mut XHostAddress;
13336}
13337extern "C" {
13338    pub fn XKeycodeToKeysym(
13339        arg1: *mut Display,
13340        arg2: KeyCode,
13341        arg3: ::std::os::raw::c_int,
13342    ) -> KeySym;
13343}
13344extern "C" {
13345    pub fn XLookupKeysym(arg1: *mut XKeyEvent, arg2: ::std::os::raw::c_int) -> KeySym;
13346}
13347extern "C" {
13348    pub fn XGetKeyboardMapping(
13349        arg1: *mut Display,
13350        arg2: KeyCode,
13351        arg3: ::std::os::raw::c_int,
13352        arg4: *mut ::std::os::raw::c_int,
13353    ) -> *mut KeySym;
13354}
13355extern "C" {
13356    pub fn XStringToKeysym(arg1: *const ::std::os::raw::c_char) -> KeySym;
13357}
13358extern "C" {
13359    pub fn XMaxRequestSize(arg1: *mut Display) -> ::std::os::raw::c_long;
13360}
13361extern "C" {
13362    pub fn XExtendedMaxRequestSize(arg1: *mut Display) -> ::std::os::raw::c_long;
13363}
13364extern "C" {
13365    pub fn XResourceManagerString(arg1: *mut Display) -> *mut ::std::os::raw::c_char;
13366}
13367extern "C" {
13368    pub fn XScreenResourceString(arg1: *mut Screen) -> *mut ::std::os::raw::c_char;
13369}
13370extern "C" {
13371    pub fn XDisplayMotionBufferSize(arg1: *mut Display) -> ::std::os::raw::c_ulong;
13372}
13373extern "C" {
13374    pub fn XVisualIDFromVisual(arg1: *mut Visual) -> VisualID;
13375}
13376extern "C" {
13377    pub fn XInitThreads() -> ::std::os::raw::c_int;
13378}
13379extern "C" {
13380    pub fn XLockDisplay(arg1: *mut Display);
13381}
13382extern "C" {
13383    pub fn XUnlockDisplay(arg1: *mut Display);
13384}
13385extern "C" {
13386    pub fn XInitExtension(
13387        arg1: *mut Display,
13388        arg2: *const ::std::os::raw::c_char,
13389    ) -> *mut XExtCodes;
13390}
13391extern "C" {
13392    pub fn XAddExtension(arg1: *mut Display) -> *mut XExtCodes;
13393}
13394extern "C" {
13395    pub fn XFindOnExtensionList(
13396        arg1: *mut *mut XExtData,
13397        arg2: ::std::os::raw::c_int,
13398    ) -> *mut XExtData;
13399}
13400extern "C" {
13401    pub fn XEHeadOfExtensionList(arg1: XEDataObject) -> *mut *mut XExtData;
13402}
13403extern "C" {
13404    pub fn XRootWindow(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> Window;
13405}
13406extern "C" {
13407    pub fn XDefaultRootWindow(arg1: *mut Display) -> Window;
13408}
13409extern "C" {
13410    pub fn XRootWindowOfScreen(arg1: *mut Screen) -> Window;
13411}
13412extern "C" {
13413    pub fn XDefaultVisual(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> *mut Visual;
13414}
13415extern "C" {
13416    pub fn XDefaultVisualOfScreen(arg1: *mut Screen) -> *mut Visual;
13417}
13418extern "C" {
13419    pub fn XDefaultGC(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> GC;
13420}
13421extern "C" {
13422    pub fn XDefaultGCOfScreen(arg1: *mut Screen) -> GC;
13423}
13424extern "C" {
13425    pub fn XBlackPixel(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
13426}
13427extern "C" {
13428    pub fn XWhitePixel(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
13429}
13430extern "C" {
13431    pub fn XAllPlanes() -> ::std::os::raw::c_ulong;
13432}
13433extern "C" {
13434    pub fn XBlackPixelOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_ulong;
13435}
13436extern "C" {
13437    pub fn XWhitePixelOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_ulong;
13438}
13439extern "C" {
13440    pub fn XNextRequest(arg1: *mut Display) -> ::std::os::raw::c_ulong;
13441}
13442extern "C" {
13443    pub fn XLastKnownRequestProcessed(arg1: *mut Display) -> ::std::os::raw::c_ulong;
13444}
13445extern "C" {
13446    pub fn XServerVendor(arg1: *mut Display) -> *mut ::std::os::raw::c_char;
13447}
13448extern "C" {
13449    pub fn XDisplayString(arg1: *mut Display) -> *mut ::std::os::raw::c_char;
13450}
13451extern "C" {
13452    pub fn XDefaultColormap(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> Colormap;
13453}
13454extern "C" {
13455    pub fn XDefaultColormapOfScreen(arg1: *mut Screen) -> Colormap;
13456}
13457extern "C" {
13458    pub fn XDisplayOfScreen(arg1: *mut Screen) -> *mut Display;
13459}
13460extern "C" {
13461    pub fn XScreenOfDisplay(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> *mut Screen;
13462}
13463extern "C" {
13464    pub fn XDefaultScreenOfDisplay(arg1: *mut Display) -> *mut Screen;
13465}
13466extern "C" {
13467    pub fn XEventMaskOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_long;
13468}
13469extern "C" {
13470    pub fn XScreenNumberOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
13471}
13472pub type XErrorHandler = ::std::option::Option<
13473    unsafe extern "C" fn(arg1: *mut Display, arg2: *mut XErrorEvent) -> ::std::os::raw::c_int,
13474>;
13475extern "C" {
13476    pub fn XSetErrorHandler(arg1: XErrorHandler) -> XErrorHandler;
13477}
13478pub type XIOErrorHandler =
13479    ::std::option::Option<unsafe extern "C" fn(arg1: *mut Display) -> ::std::os::raw::c_int>;
13480extern "C" {
13481    pub fn XSetIOErrorHandler(arg1: XIOErrorHandler) -> XIOErrorHandler;
13482}
13483extern "C" {
13484    pub fn XListPixmapFormats(
13485        arg1: *mut Display,
13486        arg2: *mut ::std::os::raw::c_int,
13487    ) -> *mut XPixmapFormatValues;
13488}
13489extern "C" {
13490    pub fn XListDepths(
13491        arg1: *mut Display,
13492        arg2: ::std::os::raw::c_int,
13493        arg3: *mut ::std::os::raw::c_int,
13494    ) -> *mut ::std::os::raw::c_int;
13495}
13496extern "C" {
13497    pub fn XReconfigureWMWindow(
13498        arg1: *mut Display,
13499        arg2: Window,
13500        arg3: ::std::os::raw::c_int,
13501        arg4: ::std::os::raw::c_uint,
13502        arg5: *mut XWindowChanges,
13503    ) -> ::std::os::raw::c_int;
13504}
13505extern "C" {
13506    pub fn XGetWMProtocols(
13507        arg1: *mut Display,
13508        arg2: Window,
13509        arg3: *mut *mut Atom,
13510        arg4: *mut ::std::os::raw::c_int,
13511    ) -> ::std::os::raw::c_int;
13512}
13513extern "C" {
13514    pub fn XSetWMProtocols(
13515        arg1: *mut Display,
13516        arg2: Window,
13517        arg3: *mut Atom,
13518        arg4: ::std::os::raw::c_int,
13519    ) -> ::std::os::raw::c_int;
13520}
13521extern "C" {
13522    pub fn XIconifyWindow(
13523        arg1: *mut Display,
13524        arg2: Window,
13525        arg3: ::std::os::raw::c_int,
13526    ) -> ::std::os::raw::c_int;
13527}
13528extern "C" {
13529    pub fn XWithdrawWindow(
13530        arg1: *mut Display,
13531        arg2: Window,
13532        arg3: ::std::os::raw::c_int,
13533    ) -> ::std::os::raw::c_int;
13534}
13535extern "C" {
13536    pub fn XGetCommand(
13537        arg1: *mut Display,
13538        arg2: Window,
13539        arg3: *mut *mut *mut ::std::os::raw::c_char,
13540        arg4: *mut ::std::os::raw::c_int,
13541    ) -> ::std::os::raw::c_int;
13542}
13543extern "C" {
13544    pub fn XGetWMColormapWindows(
13545        arg1: *mut Display,
13546        arg2: Window,
13547        arg3: *mut *mut Window,
13548        arg4: *mut ::std::os::raw::c_int,
13549    ) -> ::std::os::raw::c_int;
13550}
13551extern "C" {
13552    pub fn XSetWMColormapWindows(
13553        arg1: *mut Display,
13554        arg2: Window,
13555        arg3: *mut Window,
13556        arg4: ::std::os::raw::c_int,
13557    ) -> ::std::os::raw::c_int;
13558}
13559extern "C" {
13560    pub fn XFreeStringList(arg1: *mut *mut ::std::os::raw::c_char);
13561}
13562extern "C" {
13563    pub fn XSetTransientForHint(
13564        arg1: *mut Display,
13565        arg2: Window,
13566        arg3: Window,
13567    ) -> ::std::os::raw::c_int;
13568}
13569extern "C" {
13570    pub fn XActivateScreenSaver(arg1: *mut Display) -> ::std::os::raw::c_int;
13571}
13572extern "C" {
13573    pub fn XAddHost(arg1: *mut Display, arg2: *mut XHostAddress) -> ::std::os::raw::c_int;
13574}
13575extern "C" {
13576    pub fn XAddHosts(
13577        arg1: *mut Display,
13578        arg2: *mut XHostAddress,
13579        arg3: ::std::os::raw::c_int,
13580    ) -> ::std::os::raw::c_int;
13581}
13582extern "C" {
13583    pub fn XAddToExtensionList(
13584        arg1: *mut *mut _XExtData,
13585        arg2: *mut XExtData,
13586    ) -> ::std::os::raw::c_int;
13587}
13588extern "C" {
13589    pub fn XAddToSaveSet(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13590}
13591extern "C" {
13592    pub fn XAllocColor(
13593        arg1: *mut Display,
13594        arg2: Colormap,
13595        arg3: *mut XColor,
13596    ) -> ::std::os::raw::c_int;
13597}
13598extern "C" {
13599    pub fn XAllocColorCells(
13600        arg1: *mut Display,
13601        arg2: Colormap,
13602        arg3: ::std::os::raw::c_int,
13603        arg4: *mut ::std::os::raw::c_ulong,
13604        arg5: ::std::os::raw::c_uint,
13605        arg6: *mut ::std::os::raw::c_ulong,
13606        arg7: ::std::os::raw::c_uint,
13607    ) -> ::std::os::raw::c_int;
13608}
13609extern "C" {
13610    pub fn XAllocColorPlanes(
13611        arg1: *mut Display,
13612        arg2: Colormap,
13613        arg3: ::std::os::raw::c_int,
13614        arg4: *mut ::std::os::raw::c_ulong,
13615        arg5: ::std::os::raw::c_int,
13616        arg6: ::std::os::raw::c_int,
13617        arg7: ::std::os::raw::c_int,
13618        arg8: ::std::os::raw::c_int,
13619        arg9: *mut ::std::os::raw::c_ulong,
13620        arg10: *mut ::std::os::raw::c_ulong,
13621        arg11: *mut ::std::os::raw::c_ulong,
13622    ) -> ::std::os::raw::c_int;
13623}
13624extern "C" {
13625    pub fn XAllocNamedColor(
13626        arg1: *mut Display,
13627        arg2: Colormap,
13628        arg3: *const ::std::os::raw::c_char,
13629        arg4: *mut XColor,
13630        arg5: *mut XColor,
13631    ) -> ::std::os::raw::c_int;
13632}
13633extern "C" {
13634    pub fn XAllowEvents(
13635        arg1: *mut Display,
13636        arg2: ::std::os::raw::c_int,
13637        arg3: Time,
13638    ) -> ::std::os::raw::c_int;
13639}
13640extern "C" {
13641    pub fn XAutoRepeatOff(arg1: *mut Display) -> ::std::os::raw::c_int;
13642}
13643extern "C" {
13644    pub fn XAutoRepeatOn(arg1: *mut Display) -> ::std::os::raw::c_int;
13645}
13646extern "C" {
13647    pub fn XBell(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
13648}
13649extern "C" {
13650    pub fn XBitmapBitOrder(arg1: *mut Display) -> ::std::os::raw::c_int;
13651}
13652extern "C" {
13653    pub fn XBitmapPad(arg1: *mut Display) -> ::std::os::raw::c_int;
13654}
13655extern "C" {
13656    pub fn XBitmapUnit(arg1: *mut Display) -> ::std::os::raw::c_int;
13657}
13658extern "C" {
13659    pub fn XCellsOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
13660}
13661extern "C" {
13662    pub fn XChangeActivePointerGrab(
13663        arg1: *mut Display,
13664        arg2: ::std::os::raw::c_uint,
13665        arg3: Cursor,
13666        arg4: Time,
13667    ) -> ::std::os::raw::c_int;
13668}
13669extern "C" {
13670    pub fn XChangeGC(
13671        arg1: *mut Display,
13672        arg2: GC,
13673        arg3: ::std::os::raw::c_ulong,
13674        arg4: *mut XGCValues,
13675    ) -> ::std::os::raw::c_int;
13676}
13677extern "C" {
13678    pub fn XChangeKeyboardControl(
13679        arg1: *mut Display,
13680        arg2: ::std::os::raw::c_ulong,
13681        arg3: *mut XKeyboardControl,
13682    ) -> ::std::os::raw::c_int;
13683}
13684extern "C" {
13685    pub fn XChangeKeyboardMapping(
13686        arg1: *mut Display,
13687        arg2: ::std::os::raw::c_int,
13688        arg3: ::std::os::raw::c_int,
13689        arg4: *mut KeySym,
13690        arg5: ::std::os::raw::c_int,
13691    ) -> ::std::os::raw::c_int;
13692}
13693extern "C" {
13694    pub fn XChangePointerControl(
13695        arg1: *mut Display,
13696        arg2: ::std::os::raw::c_int,
13697        arg3: ::std::os::raw::c_int,
13698        arg4: ::std::os::raw::c_int,
13699        arg5: ::std::os::raw::c_int,
13700        arg6: ::std::os::raw::c_int,
13701    ) -> ::std::os::raw::c_int;
13702}
13703extern "C" {
13704    pub fn XChangeProperty(
13705        arg1: *mut Display,
13706        arg2: Window,
13707        arg3: Atom,
13708        arg4: Atom,
13709        arg5: ::std::os::raw::c_int,
13710        arg6: ::std::os::raw::c_int,
13711        arg7: *const ::std::os::raw::c_uchar,
13712        arg8: ::std::os::raw::c_int,
13713    ) -> ::std::os::raw::c_int;
13714}
13715extern "C" {
13716    pub fn XChangeSaveSet(
13717        arg1: *mut Display,
13718        arg2: Window,
13719        arg3: ::std::os::raw::c_int,
13720    ) -> ::std::os::raw::c_int;
13721}
13722extern "C" {
13723    pub fn XChangeWindowAttributes(
13724        arg1: *mut Display,
13725        arg2: Window,
13726        arg3: ::std::os::raw::c_ulong,
13727        arg4: *mut XSetWindowAttributes,
13728    ) -> ::std::os::raw::c_int;
13729}
13730extern "C" {
13731    pub fn XCheckIfEvent(
13732        arg1: *mut Display,
13733        arg2: *mut XEvent,
13734        arg3: ::std::option::Option<
13735            unsafe extern "C" fn(
13736                arg1: *mut Display,
13737                arg2: *mut XEvent,
13738                arg3: XPointer,
13739            ) -> ::std::os::raw::c_int,
13740        >,
13741        arg4: XPointer,
13742    ) -> ::std::os::raw::c_int;
13743}
13744extern "C" {
13745    pub fn XCheckMaskEvent(
13746        arg1: *mut Display,
13747        arg2: ::std::os::raw::c_long,
13748        arg3: *mut XEvent,
13749    ) -> ::std::os::raw::c_int;
13750}
13751extern "C" {
13752    pub fn XCheckTypedEvent(
13753        arg1: *mut Display,
13754        arg2: ::std::os::raw::c_int,
13755        arg3: *mut XEvent,
13756    ) -> ::std::os::raw::c_int;
13757}
13758extern "C" {
13759    pub fn XCheckTypedWindowEvent(
13760        arg1: *mut Display,
13761        arg2: Window,
13762        arg3: ::std::os::raw::c_int,
13763        arg4: *mut XEvent,
13764    ) -> ::std::os::raw::c_int;
13765}
13766extern "C" {
13767    pub fn XCheckWindowEvent(
13768        arg1: *mut Display,
13769        arg2: Window,
13770        arg3: ::std::os::raw::c_long,
13771        arg4: *mut XEvent,
13772    ) -> ::std::os::raw::c_int;
13773}
13774extern "C" {
13775    pub fn XCirculateSubwindows(
13776        arg1: *mut Display,
13777        arg2: Window,
13778        arg3: ::std::os::raw::c_int,
13779    ) -> ::std::os::raw::c_int;
13780}
13781extern "C" {
13782    pub fn XCirculateSubwindowsDown(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13783}
13784extern "C" {
13785    pub fn XCirculateSubwindowsUp(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13786}
13787extern "C" {
13788    pub fn XClearArea(
13789        arg1: *mut Display,
13790        arg2: Window,
13791        arg3: ::std::os::raw::c_int,
13792        arg4: ::std::os::raw::c_int,
13793        arg5: ::std::os::raw::c_uint,
13794        arg6: ::std::os::raw::c_uint,
13795        arg7: ::std::os::raw::c_int,
13796    ) -> ::std::os::raw::c_int;
13797}
13798extern "C" {
13799    pub fn XClearWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13800}
13801extern "C" {
13802    pub fn XCloseDisplay(arg1: *mut Display) -> ::std::os::raw::c_int;
13803}
13804extern "C" {
13805    pub fn XConfigureWindow(
13806        arg1: *mut Display,
13807        arg2: Window,
13808        arg3: ::std::os::raw::c_uint,
13809        arg4: *mut XWindowChanges,
13810    ) -> ::std::os::raw::c_int;
13811}
13812extern "C" {
13813    pub fn XConnectionNumber(arg1: *mut Display) -> ::std::os::raw::c_int;
13814}
13815extern "C" {
13816    pub fn XConvertSelection(
13817        arg1: *mut Display,
13818        arg2: Atom,
13819        arg3: Atom,
13820        arg4: Atom,
13821        arg5: Window,
13822        arg6: Time,
13823    ) -> ::std::os::raw::c_int;
13824}
13825extern "C" {
13826    pub fn XCopyArea(
13827        arg1: *mut Display,
13828        arg2: Drawable,
13829        arg3: Drawable,
13830        arg4: GC,
13831        arg5: ::std::os::raw::c_int,
13832        arg6: ::std::os::raw::c_int,
13833        arg7: ::std::os::raw::c_uint,
13834        arg8: ::std::os::raw::c_uint,
13835        arg9: ::std::os::raw::c_int,
13836        arg10: ::std::os::raw::c_int,
13837    ) -> ::std::os::raw::c_int;
13838}
13839extern "C" {
13840    pub fn XCopyGC(
13841        arg1: *mut Display,
13842        arg2: GC,
13843        arg3: ::std::os::raw::c_ulong,
13844        arg4: GC,
13845    ) -> ::std::os::raw::c_int;
13846}
13847extern "C" {
13848    pub fn XCopyPlane(
13849        arg1: *mut Display,
13850        arg2: Drawable,
13851        arg3: Drawable,
13852        arg4: GC,
13853        arg5: ::std::os::raw::c_int,
13854        arg6: ::std::os::raw::c_int,
13855        arg7: ::std::os::raw::c_uint,
13856        arg8: ::std::os::raw::c_uint,
13857        arg9: ::std::os::raw::c_int,
13858        arg10: ::std::os::raw::c_int,
13859        arg11: ::std::os::raw::c_ulong,
13860    ) -> ::std::os::raw::c_int;
13861}
13862extern "C" {
13863    pub fn XDefaultDepth(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
13864}
13865extern "C" {
13866    pub fn XDefaultDepthOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
13867}
13868extern "C" {
13869    pub fn XDefaultScreen(arg1: *mut Display) -> ::std::os::raw::c_int;
13870}
13871extern "C" {
13872    pub fn XDefineCursor(arg1: *mut Display, arg2: Window, arg3: Cursor) -> ::std::os::raw::c_int;
13873}
13874extern "C" {
13875    pub fn XDeleteProperty(arg1: *mut Display, arg2: Window, arg3: Atom) -> ::std::os::raw::c_int;
13876}
13877extern "C" {
13878    pub fn XDestroyWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13879}
13880extern "C" {
13881    pub fn XDestroySubwindows(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13882}
13883extern "C" {
13884    pub fn XDoesBackingStore(arg1: *mut Screen) -> ::std::os::raw::c_int;
13885}
13886extern "C" {
13887    pub fn XDoesSaveUnders(arg1: *mut Screen) -> ::std::os::raw::c_int;
13888}
13889extern "C" {
13890    pub fn XDisableAccessControl(arg1: *mut Display) -> ::std::os::raw::c_int;
13891}
13892extern "C" {
13893    pub fn XDisplayCells(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
13894}
13895extern "C" {
13896    pub fn XDisplayHeight(arg1: *mut Display, arg2: ::std::os::raw::c_int)
13897        -> ::std::os::raw::c_int;
13898}
13899extern "C" {
13900    pub fn XDisplayHeightMM(
13901        arg1: *mut Display,
13902        arg2: ::std::os::raw::c_int,
13903    ) -> ::std::os::raw::c_int;
13904}
13905extern "C" {
13906    pub fn XDisplayKeycodes(
13907        arg1: *mut Display,
13908        arg2: *mut ::std::os::raw::c_int,
13909        arg3: *mut ::std::os::raw::c_int,
13910    ) -> ::std::os::raw::c_int;
13911}
13912extern "C" {
13913    pub fn XDisplayPlanes(arg1: *mut Display, arg2: ::std::os::raw::c_int)
13914        -> ::std::os::raw::c_int;
13915}
13916extern "C" {
13917    pub fn XDisplayWidth(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
13918}
13919extern "C" {
13920    pub fn XDisplayWidthMM(
13921        arg1: *mut Display,
13922        arg2: ::std::os::raw::c_int,
13923    ) -> ::std::os::raw::c_int;
13924}
13925extern "C" {
13926    pub fn XDrawArc(
13927        arg1: *mut Display,
13928        arg2: Drawable,
13929        arg3: GC,
13930        arg4: ::std::os::raw::c_int,
13931        arg5: ::std::os::raw::c_int,
13932        arg6: ::std::os::raw::c_uint,
13933        arg7: ::std::os::raw::c_uint,
13934        arg8: ::std::os::raw::c_int,
13935        arg9: ::std::os::raw::c_int,
13936    ) -> ::std::os::raw::c_int;
13937}
13938extern "C" {
13939    pub fn XDrawArcs(
13940        arg1: *mut Display,
13941        arg2: Drawable,
13942        arg3: GC,
13943        arg4: *mut XArc,
13944        arg5: ::std::os::raw::c_int,
13945    ) -> ::std::os::raw::c_int;
13946}
13947extern "C" {
13948    pub fn XDrawImageString(
13949        arg1: *mut Display,
13950        arg2: Drawable,
13951        arg3: GC,
13952        arg4: ::std::os::raw::c_int,
13953        arg5: ::std::os::raw::c_int,
13954        arg6: *const ::std::os::raw::c_char,
13955        arg7: ::std::os::raw::c_int,
13956    ) -> ::std::os::raw::c_int;
13957}
13958extern "C" {
13959    pub fn XDrawImageString16(
13960        arg1: *mut Display,
13961        arg2: Drawable,
13962        arg3: GC,
13963        arg4: ::std::os::raw::c_int,
13964        arg5: ::std::os::raw::c_int,
13965        arg6: *const XChar2b,
13966        arg7: ::std::os::raw::c_int,
13967    ) -> ::std::os::raw::c_int;
13968}
13969extern "C" {
13970    pub fn XDrawLine(
13971        arg1: *mut Display,
13972        arg2: Drawable,
13973        arg3: GC,
13974        arg4: ::std::os::raw::c_int,
13975        arg5: ::std::os::raw::c_int,
13976        arg6: ::std::os::raw::c_int,
13977        arg7: ::std::os::raw::c_int,
13978    ) -> ::std::os::raw::c_int;
13979}
13980extern "C" {
13981    pub fn XDrawLines(
13982        arg1: *mut Display,
13983        arg2: Drawable,
13984        arg3: GC,
13985        arg4: *mut XPoint,
13986        arg5: ::std::os::raw::c_int,
13987        arg6: ::std::os::raw::c_int,
13988    ) -> ::std::os::raw::c_int;
13989}
13990extern "C" {
13991    pub fn XDrawPoint(
13992        arg1: *mut Display,
13993        arg2: Drawable,
13994        arg3: GC,
13995        arg4: ::std::os::raw::c_int,
13996        arg5: ::std::os::raw::c_int,
13997    ) -> ::std::os::raw::c_int;
13998}
13999extern "C" {
14000    pub fn XDrawPoints(
14001        arg1: *mut Display,
14002        arg2: Drawable,
14003        arg3: GC,
14004        arg4: *mut XPoint,
14005        arg5: ::std::os::raw::c_int,
14006        arg6: ::std::os::raw::c_int,
14007    ) -> ::std::os::raw::c_int;
14008}
14009extern "C" {
14010    pub fn XDrawRectangle(
14011        arg1: *mut Display,
14012        arg2: Drawable,
14013        arg3: GC,
14014        arg4: ::std::os::raw::c_int,
14015        arg5: ::std::os::raw::c_int,
14016        arg6: ::std::os::raw::c_uint,
14017        arg7: ::std::os::raw::c_uint,
14018    ) -> ::std::os::raw::c_int;
14019}
14020extern "C" {
14021    pub fn XDrawRectangles(
14022        arg1: *mut Display,
14023        arg2: Drawable,
14024        arg3: GC,
14025        arg4: *mut XRectangle,
14026        arg5: ::std::os::raw::c_int,
14027    ) -> ::std::os::raw::c_int;
14028}
14029extern "C" {
14030    pub fn XDrawSegments(
14031        arg1: *mut Display,
14032        arg2: Drawable,
14033        arg3: GC,
14034        arg4: *mut XSegment,
14035        arg5: ::std::os::raw::c_int,
14036    ) -> ::std::os::raw::c_int;
14037}
14038extern "C" {
14039    pub fn XDrawString(
14040        arg1: *mut Display,
14041        arg2: Drawable,
14042        arg3: GC,
14043        arg4: ::std::os::raw::c_int,
14044        arg5: ::std::os::raw::c_int,
14045        arg6: *const ::std::os::raw::c_char,
14046        arg7: ::std::os::raw::c_int,
14047    ) -> ::std::os::raw::c_int;
14048}
14049extern "C" {
14050    pub fn XDrawString16(
14051        arg1: *mut Display,
14052        arg2: Drawable,
14053        arg3: GC,
14054        arg4: ::std::os::raw::c_int,
14055        arg5: ::std::os::raw::c_int,
14056        arg6: *const XChar2b,
14057        arg7: ::std::os::raw::c_int,
14058    ) -> ::std::os::raw::c_int;
14059}
14060extern "C" {
14061    pub fn XDrawText(
14062        arg1: *mut Display,
14063        arg2: Drawable,
14064        arg3: GC,
14065        arg4: ::std::os::raw::c_int,
14066        arg5: ::std::os::raw::c_int,
14067        arg6: *mut XTextItem,
14068        arg7: ::std::os::raw::c_int,
14069    ) -> ::std::os::raw::c_int;
14070}
14071extern "C" {
14072    pub fn XDrawText16(
14073        arg1: *mut Display,
14074        arg2: Drawable,
14075        arg3: GC,
14076        arg4: ::std::os::raw::c_int,
14077        arg5: ::std::os::raw::c_int,
14078        arg6: *mut XTextItem16,
14079        arg7: ::std::os::raw::c_int,
14080    ) -> ::std::os::raw::c_int;
14081}
14082extern "C" {
14083    pub fn XEnableAccessControl(arg1: *mut Display) -> ::std::os::raw::c_int;
14084}
14085extern "C" {
14086    pub fn XEventsQueued(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
14087}
14088extern "C" {
14089    pub fn XFetchName(
14090        arg1: *mut Display,
14091        arg2: Window,
14092        arg3: *mut *mut ::std::os::raw::c_char,
14093    ) -> ::std::os::raw::c_int;
14094}
14095extern "C" {
14096    pub fn XFillArc(
14097        arg1: *mut Display,
14098        arg2: Drawable,
14099        arg3: GC,
14100        arg4: ::std::os::raw::c_int,
14101        arg5: ::std::os::raw::c_int,
14102        arg6: ::std::os::raw::c_uint,
14103        arg7: ::std::os::raw::c_uint,
14104        arg8: ::std::os::raw::c_int,
14105        arg9: ::std::os::raw::c_int,
14106    ) -> ::std::os::raw::c_int;
14107}
14108extern "C" {
14109    pub fn XFillArcs(
14110        arg1: *mut Display,
14111        arg2: Drawable,
14112        arg3: GC,
14113        arg4: *mut XArc,
14114        arg5: ::std::os::raw::c_int,
14115    ) -> ::std::os::raw::c_int;
14116}
14117extern "C" {
14118    pub fn XFillPolygon(
14119        arg1: *mut Display,
14120        arg2: Drawable,
14121        arg3: GC,
14122        arg4: *mut XPoint,
14123        arg5: ::std::os::raw::c_int,
14124        arg6: ::std::os::raw::c_int,
14125        arg7: ::std::os::raw::c_int,
14126    ) -> ::std::os::raw::c_int;
14127}
14128extern "C" {
14129    pub fn XFillRectangle(
14130        arg1: *mut Display,
14131        arg2: Drawable,
14132        arg3: GC,
14133        arg4: ::std::os::raw::c_int,
14134        arg5: ::std::os::raw::c_int,
14135        arg6: ::std::os::raw::c_uint,
14136        arg7: ::std::os::raw::c_uint,
14137    ) -> ::std::os::raw::c_int;
14138}
14139extern "C" {
14140    pub fn XFillRectangles(
14141        arg1: *mut Display,
14142        arg2: Drawable,
14143        arg3: GC,
14144        arg4: *mut XRectangle,
14145        arg5: ::std::os::raw::c_int,
14146    ) -> ::std::os::raw::c_int;
14147}
14148extern "C" {
14149    pub fn XFlush(arg1: *mut Display) -> ::std::os::raw::c_int;
14150}
14151extern "C" {
14152    pub fn XForceScreenSaver(
14153        arg1: *mut Display,
14154        arg2: ::std::os::raw::c_int,
14155    ) -> ::std::os::raw::c_int;
14156}
14157extern "C" {
14158    pub fn XFree(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
14159}
14160extern "C" {
14161    pub fn XFreeColormap(arg1: *mut Display, arg2: Colormap) -> ::std::os::raw::c_int;
14162}
14163extern "C" {
14164    pub fn XFreeColors(
14165        arg1: *mut Display,
14166        arg2: Colormap,
14167        arg3: *mut ::std::os::raw::c_ulong,
14168        arg4: ::std::os::raw::c_int,
14169        arg5: ::std::os::raw::c_ulong,
14170    ) -> ::std::os::raw::c_int;
14171}
14172extern "C" {
14173    pub fn XFreeCursor(arg1: *mut Display, arg2: Cursor) -> ::std::os::raw::c_int;
14174}
14175extern "C" {
14176    pub fn XFreeExtensionList(arg1: *mut *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
14177}
14178extern "C" {
14179    pub fn XFreeFont(arg1: *mut Display, arg2: *mut XFontStruct) -> ::std::os::raw::c_int;
14180}
14181extern "C" {
14182    pub fn XFreeFontInfo(
14183        arg1: *mut *mut ::std::os::raw::c_char,
14184        arg2: *mut XFontStruct,
14185        arg3: ::std::os::raw::c_int,
14186    ) -> ::std::os::raw::c_int;
14187}
14188extern "C" {
14189    pub fn XFreeFontNames(arg1: *mut *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
14190}
14191extern "C" {
14192    pub fn XFreeFontPath(arg1: *mut *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
14193}
14194extern "C" {
14195    pub fn XFreeGC(arg1: *mut Display, arg2: GC) -> ::std::os::raw::c_int;
14196}
14197extern "C" {
14198    pub fn XFreeModifiermap(arg1: *mut XModifierKeymap) -> ::std::os::raw::c_int;
14199}
14200extern "C" {
14201    pub fn XFreePixmap(arg1: *mut Display, arg2: Pixmap) -> ::std::os::raw::c_int;
14202}
14203extern "C" {
14204    pub fn XGeometry(
14205        arg1: *mut Display,
14206        arg2: ::std::os::raw::c_int,
14207        arg3: *const ::std::os::raw::c_char,
14208        arg4: *const ::std::os::raw::c_char,
14209        arg5: ::std::os::raw::c_uint,
14210        arg6: ::std::os::raw::c_uint,
14211        arg7: ::std::os::raw::c_uint,
14212        arg8: ::std::os::raw::c_int,
14213        arg9: ::std::os::raw::c_int,
14214        arg10: *mut ::std::os::raw::c_int,
14215        arg11: *mut ::std::os::raw::c_int,
14216        arg12: *mut ::std::os::raw::c_int,
14217        arg13: *mut ::std::os::raw::c_int,
14218    ) -> ::std::os::raw::c_int;
14219}
14220extern "C" {
14221    pub fn XGetErrorDatabaseText(
14222        arg1: *mut Display,
14223        arg2: *const ::std::os::raw::c_char,
14224        arg3: *const ::std::os::raw::c_char,
14225        arg4: *const ::std::os::raw::c_char,
14226        arg5: *mut ::std::os::raw::c_char,
14227        arg6: ::std::os::raw::c_int,
14228    ) -> ::std::os::raw::c_int;
14229}
14230extern "C" {
14231    pub fn XGetErrorText(
14232        arg1: *mut Display,
14233        arg2: ::std::os::raw::c_int,
14234        arg3: *mut ::std::os::raw::c_char,
14235        arg4: ::std::os::raw::c_int,
14236    ) -> ::std::os::raw::c_int;
14237}
14238extern "C" {
14239    pub fn XGetFontProperty(
14240        arg1: *mut XFontStruct,
14241        arg2: Atom,
14242        arg3: *mut ::std::os::raw::c_ulong,
14243    ) -> ::std::os::raw::c_int;
14244}
14245extern "C" {
14246    pub fn XGetGCValues(
14247        arg1: *mut Display,
14248        arg2: GC,
14249        arg3: ::std::os::raw::c_ulong,
14250        arg4: *mut XGCValues,
14251    ) -> ::std::os::raw::c_int;
14252}
14253extern "C" {
14254    pub fn XGetGeometry(
14255        arg1: *mut Display,
14256        arg2: Drawable,
14257        arg3: *mut Window,
14258        arg4: *mut ::std::os::raw::c_int,
14259        arg5: *mut ::std::os::raw::c_int,
14260        arg6: *mut ::std::os::raw::c_uint,
14261        arg7: *mut ::std::os::raw::c_uint,
14262        arg8: *mut ::std::os::raw::c_uint,
14263        arg9: *mut ::std::os::raw::c_uint,
14264    ) -> ::std::os::raw::c_int;
14265}
14266extern "C" {
14267    pub fn XGetIconName(
14268        arg1: *mut Display,
14269        arg2: Window,
14270        arg3: *mut *mut ::std::os::raw::c_char,
14271    ) -> ::std::os::raw::c_int;
14272}
14273extern "C" {
14274    pub fn XGetInputFocus(
14275        arg1: *mut Display,
14276        arg2: *mut Window,
14277        arg3: *mut ::std::os::raw::c_int,
14278    ) -> ::std::os::raw::c_int;
14279}
14280extern "C" {
14281    pub fn XGetKeyboardControl(
14282        arg1: *mut Display,
14283        arg2: *mut XKeyboardState,
14284    ) -> ::std::os::raw::c_int;
14285}
14286extern "C" {
14287    pub fn XGetPointerControl(
14288        arg1: *mut Display,
14289        arg2: *mut ::std::os::raw::c_int,
14290        arg3: *mut ::std::os::raw::c_int,
14291        arg4: *mut ::std::os::raw::c_int,
14292    ) -> ::std::os::raw::c_int;
14293}
14294extern "C" {
14295    pub fn XGetPointerMapping(
14296        arg1: *mut Display,
14297        arg2: *mut ::std::os::raw::c_uchar,
14298        arg3: ::std::os::raw::c_int,
14299    ) -> ::std::os::raw::c_int;
14300}
14301extern "C" {
14302    pub fn XGetScreenSaver(
14303        arg1: *mut Display,
14304        arg2: *mut ::std::os::raw::c_int,
14305        arg3: *mut ::std::os::raw::c_int,
14306        arg4: *mut ::std::os::raw::c_int,
14307        arg5: *mut ::std::os::raw::c_int,
14308    ) -> ::std::os::raw::c_int;
14309}
14310extern "C" {
14311    pub fn XGetTransientForHint(
14312        arg1: *mut Display,
14313        arg2: Window,
14314        arg3: *mut Window,
14315    ) -> ::std::os::raw::c_int;
14316}
14317extern "C" {
14318    pub fn XGetWindowProperty(
14319        arg1: *mut Display,
14320        arg2: Window,
14321        arg3: Atom,
14322        arg4: ::std::os::raw::c_long,
14323        arg5: ::std::os::raw::c_long,
14324        arg6: ::std::os::raw::c_int,
14325        arg7: Atom,
14326        arg8: *mut Atom,
14327        arg9: *mut ::std::os::raw::c_int,
14328        arg10: *mut ::std::os::raw::c_ulong,
14329        arg11: *mut ::std::os::raw::c_ulong,
14330        arg12: *mut *mut ::std::os::raw::c_uchar,
14331    ) -> ::std::os::raw::c_int;
14332}
14333extern "C" {
14334    pub fn XGetWindowAttributes(
14335        arg1: *mut Display,
14336        arg2: Window,
14337        arg3: *mut XWindowAttributes,
14338    ) -> ::std::os::raw::c_int;
14339}
14340extern "C" {
14341    pub fn XGrabButton(
14342        arg1: *mut Display,
14343        arg2: ::std::os::raw::c_uint,
14344        arg3: ::std::os::raw::c_uint,
14345        arg4: Window,
14346        arg5: ::std::os::raw::c_int,
14347        arg6: ::std::os::raw::c_uint,
14348        arg7: ::std::os::raw::c_int,
14349        arg8: ::std::os::raw::c_int,
14350        arg9: Window,
14351        arg10: Cursor,
14352    ) -> ::std::os::raw::c_int;
14353}
14354extern "C" {
14355    pub fn XGrabKey(
14356        arg1: *mut Display,
14357        arg2: ::std::os::raw::c_int,
14358        arg3: ::std::os::raw::c_uint,
14359        arg4: Window,
14360        arg5: ::std::os::raw::c_int,
14361        arg6: ::std::os::raw::c_int,
14362        arg7: ::std::os::raw::c_int,
14363    ) -> ::std::os::raw::c_int;
14364}
14365extern "C" {
14366    pub fn XGrabKeyboard(
14367        arg1: *mut Display,
14368        arg2: Window,
14369        arg3: ::std::os::raw::c_int,
14370        arg4: ::std::os::raw::c_int,
14371        arg5: ::std::os::raw::c_int,
14372        arg6: Time,
14373    ) -> ::std::os::raw::c_int;
14374}
14375extern "C" {
14376    pub fn XGrabPointer(
14377        arg1: *mut Display,
14378        arg2: Window,
14379        arg3: ::std::os::raw::c_int,
14380        arg4: ::std::os::raw::c_uint,
14381        arg5: ::std::os::raw::c_int,
14382        arg6: ::std::os::raw::c_int,
14383        arg7: Window,
14384        arg8: Cursor,
14385        arg9: Time,
14386    ) -> ::std::os::raw::c_int;
14387}
14388extern "C" {
14389    pub fn XGrabServer(arg1: *mut Display) -> ::std::os::raw::c_int;
14390}
14391extern "C" {
14392    pub fn XHeightMMOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14393}
14394extern "C" {
14395    pub fn XHeightOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14396}
14397extern "C" {
14398    pub fn XIfEvent(
14399        arg1: *mut Display,
14400        arg2: *mut XEvent,
14401        arg3: ::std::option::Option<
14402            unsafe extern "C" fn(
14403                arg1: *mut Display,
14404                arg2: *mut XEvent,
14405                arg3: XPointer,
14406            ) -> ::std::os::raw::c_int,
14407        >,
14408        arg4: XPointer,
14409    ) -> ::std::os::raw::c_int;
14410}
14411extern "C" {
14412    pub fn XImageByteOrder(arg1: *mut Display) -> ::std::os::raw::c_int;
14413}
14414extern "C" {
14415    pub fn XInstallColormap(arg1: *mut Display, arg2: Colormap) -> ::std::os::raw::c_int;
14416}
14417extern "C" {
14418    pub fn XKeysymToKeycode(arg1: *mut Display, arg2: KeySym) -> KeyCode;
14419}
14420extern "C" {
14421    pub fn XKillClient(arg1: *mut Display, arg2: XID) -> ::std::os::raw::c_int;
14422}
14423extern "C" {
14424    pub fn XLookupColor(
14425        arg1: *mut Display,
14426        arg2: Colormap,
14427        arg3: *const ::std::os::raw::c_char,
14428        arg4: *mut XColor,
14429        arg5: *mut XColor,
14430    ) -> ::std::os::raw::c_int;
14431}
14432extern "C" {
14433    pub fn XLowerWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14434}
14435extern "C" {
14436    pub fn XMapRaised(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14437}
14438extern "C" {
14439    pub fn XMapSubwindows(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14440}
14441extern "C" {
14442    pub fn XMapWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14443}
14444extern "C" {
14445    pub fn XMaskEvent(
14446        arg1: *mut Display,
14447        arg2: ::std::os::raw::c_long,
14448        arg3: *mut XEvent,
14449    ) -> ::std::os::raw::c_int;
14450}
14451extern "C" {
14452    pub fn XMaxCmapsOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14453}
14454extern "C" {
14455    pub fn XMinCmapsOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14456}
14457extern "C" {
14458    pub fn XMoveResizeWindow(
14459        arg1: *mut Display,
14460        arg2: Window,
14461        arg3: ::std::os::raw::c_int,
14462        arg4: ::std::os::raw::c_int,
14463        arg5: ::std::os::raw::c_uint,
14464        arg6: ::std::os::raw::c_uint,
14465    ) -> ::std::os::raw::c_int;
14466}
14467extern "C" {
14468    pub fn XMoveWindow(
14469        arg1: *mut Display,
14470        arg2: Window,
14471        arg3: ::std::os::raw::c_int,
14472        arg4: ::std::os::raw::c_int,
14473    ) -> ::std::os::raw::c_int;
14474}
14475extern "C" {
14476    pub fn XNextEvent(arg1: *mut Display, arg2: *mut XEvent) -> ::std::os::raw::c_int;
14477}
14478extern "C" {
14479    pub fn XNoOp(arg1: *mut Display) -> ::std::os::raw::c_int;
14480}
14481extern "C" {
14482    pub fn XParseColor(
14483        arg1: *mut Display,
14484        arg2: Colormap,
14485        arg3: *const ::std::os::raw::c_char,
14486        arg4: *mut XColor,
14487    ) -> ::std::os::raw::c_int;
14488}
14489extern "C" {
14490    pub fn XParseGeometry(
14491        arg1: *const ::std::os::raw::c_char,
14492        arg2: *mut ::std::os::raw::c_int,
14493        arg3: *mut ::std::os::raw::c_int,
14494        arg4: *mut ::std::os::raw::c_uint,
14495        arg5: *mut ::std::os::raw::c_uint,
14496    ) -> ::std::os::raw::c_int;
14497}
14498extern "C" {
14499    pub fn XPeekEvent(arg1: *mut Display, arg2: *mut XEvent) -> ::std::os::raw::c_int;
14500}
14501extern "C" {
14502    pub fn XPeekIfEvent(
14503        arg1: *mut Display,
14504        arg2: *mut XEvent,
14505        arg3: ::std::option::Option<
14506            unsafe extern "C" fn(
14507                arg1: *mut Display,
14508                arg2: *mut XEvent,
14509                arg3: XPointer,
14510            ) -> ::std::os::raw::c_int,
14511        >,
14512        arg4: XPointer,
14513    ) -> ::std::os::raw::c_int;
14514}
14515extern "C" {
14516    pub fn XPending(arg1: *mut Display) -> ::std::os::raw::c_int;
14517}
14518extern "C" {
14519    pub fn XPlanesOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14520}
14521extern "C" {
14522    pub fn XProtocolRevision(arg1: *mut Display) -> ::std::os::raw::c_int;
14523}
14524extern "C" {
14525    pub fn XProtocolVersion(arg1: *mut Display) -> ::std::os::raw::c_int;
14526}
14527extern "C" {
14528    pub fn XPutBackEvent(arg1: *mut Display, arg2: *mut XEvent) -> ::std::os::raw::c_int;
14529}
14530extern "C" {
14531    pub fn XPutImage(
14532        arg1: *mut Display,
14533        arg2: Drawable,
14534        arg3: GC,
14535        arg4: *mut XImage,
14536        arg5: ::std::os::raw::c_int,
14537        arg6: ::std::os::raw::c_int,
14538        arg7: ::std::os::raw::c_int,
14539        arg8: ::std::os::raw::c_int,
14540        arg9: ::std::os::raw::c_uint,
14541        arg10: ::std::os::raw::c_uint,
14542    ) -> ::std::os::raw::c_int;
14543}
14544extern "C" {
14545    pub fn XQLength(arg1: *mut Display) -> ::std::os::raw::c_int;
14546}
14547extern "C" {
14548    pub fn XQueryBestCursor(
14549        arg1: *mut Display,
14550        arg2: Drawable,
14551        arg3: ::std::os::raw::c_uint,
14552        arg4: ::std::os::raw::c_uint,
14553        arg5: *mut ::std::os::raw::c_uint,
14554        arg6: *mut ::std::os::raw::c_uint,
14555    ) -> ::std::os::raw::c_int;
14556}
14557extern "C" {
14558    pub fn XQueryBestSize(
14559        arg1: *mut Display,
14560        arg2: ::std::os::raw::c_int,
14561        arg3: Drawable,
14562        arg4: ::std::os::raw::c_uint,
14563        arg5: ::std::os::raw::c_uint,
14564        arg6: *mut ::std::os::raw::c_uint,
14565        arg7: *mut ::std::os::raw::c_uint,
14566    ) -> ::std::os::raw::c_int;
14567}
14568extern "C" {
14569    pub fn XQueryBestStipple(
14570        arg1: *mut Display,
14571        arg2: Drawable,
14572        arg3: ::std::os::raw::c_uint,
14573        arg4: ::std::os::raw::c_uint,
14574        arg5: *mut ::std::os::raw::c_uint,
14575        arg6: *mut ::std::os::raw::c_uint,
14576    ) -> ::std::os::raw::c_int;
14577}
14578extern "C" {
14579    pub fn XQueryBestTile(
14580        arg1: *mut Display,
14581        arg2: Drawable,
14582        arg3: ::std::os::raw::c_uint,
14583        arg4: ::std::os::raw::c_uint,
14584        arg5: *mut ::std::os::raw::c_uint,
14585        arg6: *mut ::std::os::raw::c_uint,
14586    ) -> ::std::os::raw::c_int;
14587}
14588extern "C" {
14589    pub fn XQueryColor(
14590        arg1: *mut Display,
14591        arg2: Colormap,
14592        arg3: *mut XColor,
14593    ) -> ::std::os::raw::c_int;
14594}
14595extern "C" {
14596    pub fn XQueryColors(
14597        arg1: *mut Display,
14598        arg2: Colormap,
14599        arg3: *mut XColor,
14600        arg4: ::std::os::raw::c_int,
14601    ) -> ::std::os::raw::c_int;
14602}
14603extern "C" {
14604    pub fn XQueryExtension(
14605        arg1: *mut Display,
14606        arg2: *const ::std::os::raw::c_char,
14607        arg3: *mut ::std::os::raw::c_int,
14608        arg4: *mut ::std::os::raw::c_int,
14609        arg5: *mut ::std::os::raw::c_int,
14610    ) -> ::std::os::raw::c_int;
14611}
14612extern "C" {
14613    pub fn XQueryKeymap(
14614        arg1: *mut Display,
14615        arg2: *mut ::std::os::raw::c_char,
14616    ) -> ::std::os::raw::c_int;
14617}
14618extern "C" {
14619    pub fn XQueryPointer(
14620        arg1: *mut Display,
14621        arg2: Window,
14622        arg3: *mut Window,
14623        arg4: *mut Window,
14624        arg5: *mut ::std::os::raw::c_int,
14625        arg6: *mut ::std::os::raw::c_int,
14626        arg7: *mut ::std::os::raw::c_int,
14627        arg8: *mut ::std::os::raw::c_int,
14628        arg9: *mut ::std::os::raw::c_uint,
14629    ) -> ::std::os::raw::c_int;
14630}
14631extern "C" {
14632    pub fn XQueryTextExtents(
14633        arg1: *mut Display,
14634        arg2: XID,
14635        arg3: *const ::std::os::raw::c_char,
14636        arg4: ::std::os::raw::c_int,
14637        arg5: *mut ::std::os::raw::c_int,
14638        arg6: *mut ::std::os::raw::c_int,
14639        arg7: *mut ::std::os::raw::c_int,
14640        arg8: *mut XCharStruct,
14641    ) -> ::std::os::raw::c_int;
14642}
14643extern "C" {
14644    pub fn XQueryTextExtents16(
14645        arg1: *mut Display,
14646        arg2: XID,
14647        arg3: *const XChar2b,
14648        arg4: ::std::os::raw::c_int,
14649        arg5: *mut ::std::os::raw::c_int,
14650        arg6: *mut ::std::os::raw::c_int,
14651        arg7: *mut ::std::os::raw::c_int,
14652        arg8: *mut XCharStruct,
14653    ) -> ::std::os::raw::c_int;
14654}
14655extern "C" {
14656    pub fn XQueryTree(
14657        arg1: *mut Display,
14658        arg2: Window,
14659        arg3: *mut Window,
14660        arg4: *mut Window,
14661        arg5: *mut *mut Window,
14662        arg6: *mut ::std::os::raw::c_uint,
14663    ) -> ::std::os::raw::c_int;
14664}
14665extern "C" {
14666    pub fn XRaiseWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14667}
14668extern "C" {
14669    pub fn XReadBitmapFile(
14670        arg1: *mut Display,
14671        arg2: Drawable,
14672        arg3: *const ::std::os::raw::c_char,
14673        arg4: *mut ::std::os::raw::c_uint,
14674        arg5: *mut ::std::os::raw::c_uint,
14675        arg6: *mut Pixmap,
14676        arg7: *mut ::std::os::raw::c_int,
14677        arg8: *mut ::std::os::raw::c_int,
14678    ) -> ::std::os::raw::c_int;
14679}
14680extern "C" {
14681    pub fn XReadBitmapFileData(
14682        arg1: *const ::std::os::raw::c_char,
14683        arg2: *mut ::std::os::raw::c_uint,
14684        arg3: *mut ::std::os::raw::c_uint,
14685        arg4: *mut *mut ::std::os::raw::c_uchar,
14686        arg5: *mut ::std::os::raw::c_int,
14687        arg6: *mut ::std::os::raw::c_int,
14688    ) -> ::std::os::raw::c_int;
14689}
14690extern "C" {
14691    pub fn XRebindKeysym(
14692        arg1: *mut Display,
14693        arg2: KeySym,
14694        arg3: *mut KeySym,
14695        arg4: ::std::os::raw::c_int,
14696        arg5: *const ::std::os::raw::c_uchar,
14697        arg6: ::std::os::raw::c_int,
14698    ) -> ::std::os::raw::c_int;
14699}
14700extern "C" {
14701    pub fn XRecolorCursor(
14702        arg1: *mut Display,
14703        arg2: Cursor,
14704        arg3: *mut XColor,
14705        arg4: *mut XColor,
14706    ) -> ::std::os::raw::c_int;
14707}
14708extern "C" {
14709    pub fn XRefreshKeyboardMapping(arg1: *mut XMappingEvent) -> ::std::os::raw::c_int;
14710}
14711extern "C" {
14712    pub fn XRemoveFromSaveSet(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14713}
14714extern "C" {
14715    pub fn XRemoveHost(arg1: *mut Display, arg2: *mut XHostAddress) -> ::std::os::raw::c_int;
14716}
14717extern "C" {
14718    pub fn XRemoveHosts(
14719        arg1: *mut Display,
14720        arg2: *mut XHostAddress,
14721        arg3: ::std::os::raw::c_int,
14722    ) -> ::std::os::raw::c_int;
14723}
14724extern "C" {
14725    pub fn XReparentWindow(
14726        arg1: *mut Display,
14727        arg2: Window,
14728        arg3: Window,
14729        arg4: ::std::os::raw::c_int,
14730        arg5: ::std::os::raw::c_int,
14731    ) -> ::std::os::raw::c_int;
14732}
14733extern "C" {
14734    pub fn XResetScreenSaver(arg1: *mut Display) -> ::std::os::raw::c_int;
14735}
14736extern "C" {
14737    pub fn XResizeWindow(
14738        arg1: *mut Display,
14739        arg2: Window,
14740        arg3: ::std::os::raw::c_uint,
14741        arg4: ::std::os::raw::c_uint,
14742    ) -> ::std::os::raw::c_int;
14743}
14744extern "C" {
14745    pub fn XRestackWindows(
14746        arg1: *mut Display,
14747        arg2: *mut Window,
14748        arg3: ::std::os::raw::c_int,
14749    ) -> ::std::os::raw::c_int;
14750}
14751extern "C" {
14752    pub fn XRotateBuffers(arg1: *mut Display, arg2: ::std::os::raw::c_int)
14753        -> ::std::os::raw::c_int;
14754}
14755extern "C" {
14756    pub fn XRotateWindowProperties(
14757        arg1: *mut Display,
14758        arg2: Window,
14759        arg3: *mut Atom,
14760        arg4: ::std::os::raw::c_int,
14761        arg5: ::std::os::raw::c_int,
14762    ) -> ::std::os::raw::c_int;
14763}
14764extern "C" {
14765    pub fn XScreenCount(arg1: *mut Display) -> ::std::os::raw::c_int;
14766}
14767extern "C" {
14768    pub fn XSelectInput(
14769        arg1: *mut Display,
14770        arg2: Window,
14771        arg3: ::std::os::raw::c_long,
14772    ) -> ::std::os::raw::c_int;
14773}
14774extern "C" {
14775    pub fn XSendEvent(
14776        arg1: *mut Display,
14777        arg2: Window,
14778        arg3: ::std::os::raw::c_int,
14779        arg4: ::std::os::raw::c_long,
14780        arg5: *mut XEvent,
14781    ) -> ::std::os::raw::c_int;
14782}
14783extern "C" {
14784    pub fn XSetAccessControl(
14785        arg1: *mut Display,
14786        arg2: ::std::os::raw::c_int,
14787    ) -> ::std::os::raw::c_int;
14788}
14789extern "C" {
14790    pub fn XSetArcMode(
14791        arg1: *mut Display,
14792        arg2: GC,
14793        arg3: ::std::os::raw::c_int,
14794    ) -> ::std::os::raw::c_int;
14795}
14796extern "C" {
14797    pub fn XSetBackground(
14798        arg1: *mut Display,
14799        arg2: GC,
14800        arg3: ::std::os::raw::c_ulong,
14801    ) -> ::std::os::raw::c_int;
14802}
14803extern "C" {
14804    pub fn XSetClipMask(arg1: *mut Display, arg2: GC, arg3: Pixmap) -> ::std::os::raw::c_int;
14805}
14806extern "C" {
14807    pub fn XSetClipOrigin(
14808        arg1: *mut Display,
14809        arg2: GC,
14810        arg3: ::std::os::raw::c_int,
14811        arg4: ::std::os::raw::c_int,
14812    ) -> ::std::os::raw::c_int;
14813}
14814extern "C" {
14815    pub fn XSetClipRectangles(
14816        arg1: *mut Display,
14817        arg2: GC,
14818        arg3: ::std::os::raw::c_int,
14819        arg4: ::std::os::raw::c_int,
14820        arg5: *mut XRectangle,
14821        arg6: ::std::os::raw::c_int,
14822        arg7: ::std::os::raw::c_int,
14823    ) -> ::std::os::raw::c_int;
14824}
14825extern "C" {
14826    pub fn XSetCloseDownMode(
14827        arg1: *mut Display,
14828        arg2: ::std::os::raw::c_int,
14829    ) -> ::std::os::raw::c_int;
14830}
14831extern "C" {
14832    pub fn XSetCommand(
14833        arg1: *mut Display,
14834        arg2: Window,
14835        arg3: *mut *mut ::std::os::raw::c_char,
14836        arg4: ::std::os::raw::c_int,
14837    ) -> ::std::os::raw::c_int;
14838}
14839extern "C" {
14840    pub fn XSetDashes(
14841        arg1: *mut Display,
14842        arg2: GC,
14843        arg3: ::std::os::raw::c_int,
14844        arg4: *const ::std::os::raw::c_char,
14845        arg5: ::std::os::raw::c_int,
14846    ) -> ::std::os::raw::c_int;
14847}
14848extern "C" {
14849    pub fn XSetFillRule(
14850        arg1: *mut Display,
14851        arg2: GC,
14852        arg3: ::std::os::raw::c_int,
14853    ) -> ::std::os::raw::c_int;
14854}
14855extern "C" {
14856    pub fn XSetFillStyle(
14857        arg1: *mut Display,
14858        arg2: GC,
14859        arg3: ::std::os::raw::c_int,
14860    ) -> ::std::os::raw::c_int;
14861}
14862extern "C" {
14863    pub fn XSetFont(arg1: *mut Display, arg2: GC, arg3: Font) -> ::std::os::raw::c_int;
14864}
14865extern "C" {
14866    pub fn XSetFontPath(
14867        arg1: *mut Display,
14868        arg2: *mut *mut ::std::os::raw::c_char,
14869        arg3: ::std::os::raw::c_int,
14870    ) -> ::std::os::raw::c_int;
14871}
14872extern "C" {
14873    pub fn XSetForeground(
14874        arg1: *mut Display,
14875        arg2: GC,
14876        arg3: ::std::os::raw::c_ulong,
14877    ) -> ::std::os::raw::c_int;
14878}
14879extern "C" {
14880    pub fn XSetFunction(
14881        arg1: *mut Display,
14882        arg2: GC,
14883        arg3: ::std::os::raw::c_int,
14884    ) -> ::std::os::raw::c_int;
14885}
14886extern "C" {
14887    pub fn XSetGraphicsExposures(
14888        arg1: *mut Display,
14889        arg2: GC,
14890        arg3: ::std::os::raw::c_int,
14891    ) -> ::std::os::raw::c_int;
14892}
14893extern "C" {
14894    pub fn XSetIconName(
14895        arg1: *mut Display,
14896        arg2: Window,
14897        arg3: *const ::std::os::raw::c_char,
14898    ) -> ::std::os::raw::c_int;
14899}
14900extern "C" {
14901    pub fn XSetInputFocus(
14902        arg1: *mut Display,
14903        arg2: Window,
14904        arg3: ::std::os::raw::c_int,
14905        arg4: Time,
14906    ) -> ::std::os::raw::c_int;
14907}
14908extern "C" {
14909    pub fn XSetLineAttributes(
14910        arg1: *mut Display,
14911        arg2: GC,
14912        arg3: ::std::os::raw::c_uint,
14913        arg4: ::std::os::raw::c_int,
14914        arg5: ::std::os::raw::c_int,
14915        arg6: ::std::os::raw::c_int,
14916    ) -> ::std::os::raw::c_int;
14917}
14918extern "C" {
14919    pub fn XSetModifierMapping(
14920        arg1: *mut Display,
14921        arg2: *mut XModifierKeymap,
14922    ) -> ::std::os::raw::c_int;
14923}
14924extern "C" {
14925    pub fn XSetPlaneMask(
14926        arg1: *mut Display,
14927        arg2: GC,
14928        arg3: ::std::os::raw::c_ulong,
14929    ) -> ::std::os::raw::c_int;
14930}
14931extern "C" {
14932    pub fn XSetPointerMapping(
14933        arg1: *mut Display,
14934        arg2: *const ::std::os::raw::c_uchar,
14935        arg3: ::std::os::raw::c_int,
14936    ) -> ::std::os::raw::c_int;
14937}
14938extern "C" {
14939    pub fn XSetScreenSaver(
14940        arg1: *mut Display,
14941        arg2: ::std::os::raw::c_int,
14942        arg3: ::std::os::raw::c_int,
14943        arg4: ::std::os::raw::c_int,
14944        arg5: ::std::os::raw::c_int,
14945    ) -> ::std::os::raw::c_int;
14946}
14947extern "C" {
14948    pub fn XSetSelectionOwner(
14949        arg1: *mut Display,
14950        arg2: Atom,
14951        arg3: Window,
14952        arg4: Time,
14953    ) -> ::std::os::raw::c_int;
14954}
14955extern "C" {
14956    pub fn XSetState(
14957        arg1: *mut Display,
14958        arg2: GC,
14959        arg3: ::std::os::raw::c_ulong,
14960        arg4: ::std::os::raw::c_ulong,
14961        arg5: ::std::os::raw::c_int,
14962        arg6: ::std::os::raw::c_ulong,
14963    ) -> ::std::os::raw::c_int;
14964}
14965extern "C" {
14966    pub fn XSetStipple(arg1: *mut Display, arg2: GC, arg3: Pixmap) -> ::std::os::raw::c_int;
14967}
14968extern "C" {
14969    pub fn XSetSubwindowMode(
14970        arg1: *mut Display,
14971        arg2: GC,
14972        arg3: ::std::os::raw::c_int,
14973    ) -> ::std::os::raw::c_int;
14974}
14975extern "C" {
14976    pub fn XSetTSOrigin(
14977        arg1: *mut Display,
14978        arg2: GC,
14979        arg3: ::std::os::raw::c_int,
14980        arg4: ::std::os::raw::c_int,
14981    ) -> ::std::os::raw::c_int;
14982}
14983extern "C" {
14984    pub fn XSetTile(arg1: *mut Display, arg2: GC, arg3: Pixmap) -> ::std::os::raw::c_int;
14985}
14986extern "C" {
14987    pub fn XSetWindowBackground(
14988        arg1: *mut Display,
14989        arg2: Window,
14990        arg3: ::std::os::raw::c_ulong,
14991    ) -> ::std::os::raw::c_int;
14992}
14993extern "C" {
14994    pub fn XSetWindowBackgroundPixmap(
14995        arg1: *mut Display,
14996        arg2: Window,
14997        arg3: Pixmap,
14998    ) -> ::std::os::raw::c_int;
14999}
15000extern "C" {
15001    pub fn XSetWindowBorder(
15002        arg1: *mut Display,
15003        arg2: Window,
15004        arg3: ::std::os::raw::c_ulong,
15005    ) -> ::std::os::raw::c_int;
15006}
15007extern "C" {
15008    pub fn XSetWindowBorderPixmap(
15009        arg1: *mut Display,
15010        arg2: Window,
15011        arg3: Pixmap,
15012    ) -> ::std::os::raw::c_int;
15013}
15014extern "C" {
15015    pub fn XSetWindowBorderWidth(
15016        arg1: *mut Display,
15017        arg2: Window,
15018        arg3: ::std::os::raw::c_uint,
15019    ) -> ::std::os::raw::c_int;
15020}
15021extern "C" {
15022    pub fn XSetWindowColormap(
15023        arg1: *mut Display,
15024        arg2: Window,
15025        arg3: Colormap,
15026    ) -> ::std::os::raw::c_int;
15027}
15028extern "C" {
15029    pub fn XStoreBuffer(
15030        arg1: *mut Display,
15031        arg2: *const ::std::os::raw::c_char,
15032        arg3: ::std::os::raw::c_int,
15033        arg4: ::std::os::raw::c_int,
15034    ) -> ::std::os::raw::c_int;
15035}
15036extern "C" {
15037    pub fn XStoreBytes(
15038        arg1: *mut Display,
15039        arg2: *const ::std::os::raw::c_char,
15040        arg3: ::std::os::raw::c_int,
15041    ) -> ::std::os::raw::c_int;
15042}
15043extern "C" {
15044    pub fn XStoreColor(
15045        arg1: *mut Display,
15046        arg2: Colormap,
15047        arg3: *mut XColor,
15048    ) -> ::std::os::raw::c_int;
15049}
15050extern "C" {
15051    pub fn XStoreColors(
15052        arg1: *mut Display,
15053        arg2: Colormap,
15054        arg3: *mut XColor,
15055        arg4: ::std::os::raw::c_int,
15056    ) -> ::std::os::raw::c_int;
15057}
15058extern "C" {
15059    pub fn XStoreName(
15060        arg1: *mut Display,
15061        arg2: Window,
15062        arg3: *const ::std::os::raw::c_char,
15063    ) -> ::std::os::raw::c_int;
15064}
15065extern "C" {
15066    pub fn XStoreNamedColor(
15067        arg1: *mut Display,
15068        arg2: Colormap,
15069        arg3: *const ::std::os::raw::c_char,
15070        arg4: ::std::os::raw::c_ulong,
15071        arg5: ::std::os::raw::c_int,
15072    ) -> ::std::os::raw::c_int;
15073}
15074extern "C" {
15075    pub fn XSync(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
15076}
15077extern "C" {
15078    pub fn XTextExtents(
15079        arg1: *mut XFontStruct,
15080        arg2: *const ::std::os::raw::c_char,
15081        arg3: ::std::os::raw::c_int,
15082        arg4: *mut ::std::os::raw::c_int,
15083        arg5: *mut ::std::os::raw::c_int,
15084        arg6: *mut ::std::os::raw::c_int,
15085        arg7: *mut XCharStruct,
15086    ) -> ::std::os::raw::c_int;
15087}
15088extern "C" {
15089    pub fn XTextExtents16(
15090        arg1: *mut XFontStruct,
15091        arg2: *const XChar2b,
15092        arg3: ::std::os::raw::c_int,
15093        arg4: *mut ::std::os::raw::c_int,
15094        arg5: *mut ::std::os::raw::c_int,
15095        arg6: *mut ::std::os::raw::c_int,
15096        arg7: *mut XCharStruct,
15097    ) -> ::std::os::raw::c_int;
15098}
15099extern "C" {
15100    pub fn XTextWidth(
15101        arg1: *mut XFontStruct,
15102        arg2: *const ::std::os::raw::c_char,
15103        arg3: ::std::os::raw::c_int,
15104    ) -> ::std::os::raw::c_int;
15105}
15106extern "C" {
15107    pub fn XTextWidth16(
15108        arg1: *mut XFontStruct,
15109        arg2: *const XChar2b,
15110        arg3: ::std::os::raw::c_int,
15111    ) -> ::std::os::raw::c_int;
15112}
15113extern "C" {
15114    pub fn XTranslateCoordinates(
15115        arg1: *mut Display,
15116        arg2: Window,
15117        arg3: Window,
15118        arg4: ::std::os::raw::c_int,
15119        arg5: ::std::os::raw::c_int,
15120        arg6: *mut ::std::os::raw::c_int,
15121        arg7: *mut ::std::os::raw::c_int,
15122        arg8: *mut Window,
15123    ) -> ::std::os::raw::c_int;
15124}
15125extern "C" {
15126    pub fn XUndefineCursor(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
15127}
15128extern "C" {
15129    pub fn XUngrabButton(
15130        arg1: *mut Display,
15131        arg2: ::std::os::raw::c_uint,
15132        arg3: ::std::os::raw::c_uint,
15133        arg4: Window,
15134    ) -> ::std::os::raw::c_int;
15135}
15136extern "C" {
15137    pub fn XUngrabKey(
15138        arg1: *mut Display,
15139        arg2: ::std::os::raw::c_int,
15140        arg3: ::std::os::raw::c_uint,
15141        arg4: Window,
15142    ) -> ::std::os::raw::c_int;
15143}
15144extern "C" {
15145    pub fn XUngrabKeyboard(arg1: *mut Display, arg2: Time) -> ::std::os::raw::c_int;
15146}
15147extern "C" {
15148    pub fn XUngrabPointer(arg1: *mut Display, arg2: Time) -> ::std::os::raw::c_int;
15149}
15150extern "C" {
15151    pub fn XUngrabServer(arg1: *mut Display) -> ::std::os::raw::c_int;
15152}
15153extern "C" {
15154    pub fn XUninstallColormap(arg1: *mut Display, arg2: Colormap) -> ::std::os::raw::c_int;
15155}
15156extern "C" {
15157    pub fn XUnloadFont(arg1: *mut Display, arg2: Font) -> ::std::os::raw::c_int;
15158}
15159extern "C" {
15160    pub fn XUnmapSubwindows(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
15161}
15162extern "C" {
15163    pub fn XUnmapWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
15164}
15165extern "C" {
15166    pub fn XVendorRelease(arg1: *mut Display) -> ::std::os::raw::c_int;
15167}
15168extern "C" {
15169    pub fn XWarpPointer(
15170        arg1: *mut Display,
15171        arg2: Window,
15172        arg3: Window,
15173        arg4: ::std::os::raw::c_int,
15174        arg5: ::std::os::raw::c_int,
15175        arg6: ::std::os::raw::c_uint,
15176        arg7: ::std::os::raw::c_uint,
15177        arg8: ::std::os::raw::c_int,
15178        arg9: ::std::os::raw::c_int,
15179    ) -> ::std::os::raw::c_int;
15180}
15181extern "C" {
15182    pub fn XWidthMMOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
15183}
15184extern "C" {
15185    pub fn XWidthOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
15186}
15187extern "C" {
15188    pub fn XWindowEvent(
15189        arg1: *mut Display,
15190        arg2: Window,
15191        arg3: ::std::os::raw::c_long,
15192        arg4: *mut XEvent,
15193    ) -> ::std::os::raw::c_int;
15194}
15195extern "C" {
15196    pub fn XWriteBitmapFile(
15197        arg1: *mut Display,
15198        arg2: *const ::std::os::raw::c_char,
15199        arg3: Pixmap,
15200        arg4: ::std::os::raw::c_uint,
15201        arg5: ::std::os::raw::c_uint,
15202        arg6: ::std::os::raw::c_int,
15203        arg7: ::std::os::raw::c_int,
15204    ) -> ::std::os::raw::c_int;
15205}
15206extern "C" {
15207    pub fn XSupportsLocale() -> ::std::os::raw::c_int;
15208}
15209extern "C" {
15210    pub fn XSetLocaleModifiers(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
15211}
15212extern "C" {
15213    pub fn XOpenOM(
15214        arg1: *mut Display,
15215        arg2: *mut _XrmHashBucketRec,
15216        arg3: *const ::std::os::raw::c_char,
15217        arg4: *const ::std::os::raw::c_char,
15218    ) -> XOM;
15219}
15220extern "C" {
15221    pub fn XCloseOM(arg1: XOM) -> ::std::os::raw::c_int;
15222}
15223extern "C" {
15224    pub fn XSetOMValues(arg1: XOM, ...) -> *mut ::std::os::raw::c_char;
15225}
15226extern "C" {
15227    pub fn XGetOMValues(arg1: XOM, ...) -> *mut ::std::os::raw::c_char;
15228}
15229extern "C" {
15230    pub fn XDisplayOfOM(arg1: XOM) -> *mut Display;
15231}
15232extern "C" {
15233    pub fn XLocaleOfOM(arg1: XOM) -> *mut ::std::os::raw::c_char;
15234}
15235extern "C" {
15236    pub fn XCreateOC(arg1: XOM, ...) -> XOC;
15237}
15238extern "C" {
15239    pub fn XDestroyOC(arg1: XOC);
15240}
15241extern "C" {
15242    pub fn XOMOfOC(arg1: XOC) -> XOM;
15243}
15244extern "C" {
15245    pub fn XSetOCValues(arg1: XOC, ...) -> *mut ::std::os::raw::c_char;
15246}
15247extern "C" {
15248    pub fn XGetOCValues(arg1: XOC, ...) -> *mut ::std::os::raw::c_char;
15249}
15250extern "C" {
15251    pub fn XCreateFontSet(
15252        arg1: *mut Display,
15253        arg2: *const ::std::os::raw::c_char,
15254        arg3: *mut *mut *mut ::std::os::raw::c_char,
15255        arg4: *mut ::std::os::raw::c_int,
15256        arg5: *mut *mut ::std::os::raw::c_char,
15257    ) -> XFontSet;
15258}
15259extern "C" {
15260    pub fn XFreeFontSet(arg1: *mut Display, arg2: XFontSet);
15261}
15262extern "C" {
15263    pub fn XFontsOfFontSet(
15264        arg1: XFontSet,
15265        arg2: *mut *mut *mut XFontStruct,
15266        arg3: *mut *mut *mut ::std::os::raw::c_char,
15267    ) -> ::std::os::raw::c_int;
15268}
15269extern "C" {
15270    pub fn XBaseFontNameListOfFontSet(arg1: XFontSet) -> *mut ::std::os::raw::c_char;
15271}
15272extern "C" {
15273    pub fn XLocaleOfFontSet(arg1: XFontSet) -> *mut ::std::os::raw::c_char;
15274}
15275extern "C" {
15276    pub fn XContextDependentDrawing(arg1: XFontSet) -> ::std::os::raw::c_int;
15277}
15278extern "C" {
15279    pub fn XDirectionalDependentDrawing(arg1: XFontSet) -> ::std::os::raw::c_int;
15280}
15281extern "C" {
15282    pub fn XContextualDrawing(arg1: XFontSet) -> ::std::os::raw::c_int;
15283}
15284extern "C" {
15285    pub fn XExtentsOfFontSet(arg1: XFontSet) -> *mut XFontSetExtents;
15286}
15287extern "C" {
15288    pub fn XmbTextEscapement(
15289        arg1: XFontSet,
15290        arg2: *const ::std::os::raw::c_char,
15291        arg3: ::std::os::raw::c_int,
15292    ) -> ::std::os::raw::c_int;
15293}
15294extern "C" {
15295    pub fn XwcTextEscapement(
15296        arg1: XFontSet,
15297        arg2: *const wchar_t,
15298        arg3: ::std::os::raw::c_int,
15299    ) -> ::std::os::raw::c_int;
15300}
15301extern "C" {
15302    pub fn Xutf8TextEscapement(
15303        arg1: XFontSet,
15304        arg2: *const ::std::os::raw::c_char,
15305        arg3: ::std::os::raw::c_int,
15306    ) -> ::std::os::raw::c_int;
15307}
15308extern "C" {
15309    pub fn XmbTextExtents(
15310        arg1: XFontSet,
15311        arg2: *const ::std::os::raw::c_char,
15312        arg3: ::std::os::raw::c_int,
15313        arg4: *mut XRectangle,
15314        arg5: *mut XRectangle,
15315    ) -> ::std::os::raw::c_int;
15316}
15317extern "C" {
15318    pub fn XwcTextExtents(
15319        arg1: XFontSet,
15320        arg2: *const wchar_t,
15321        arg3: ::std::os::raw::c_int,
15322        arg4: *mut XRectangle,
15323        arg5: *mut XRectangle,
15324    ) -> ::std::os::raw::c_int;
15325}
15326extern "C" {
15327    pub fn Xutf8TextExtents(
15328        arg1: XFontSet,
15329        arg2: *const ::std::os::raw::c_char,
15330        arg3: ::std::os::raw::c_int,
15331        arg4: *mut XRectangle,
15332        arg5: *mut XRectangle,
15333    ) -> ::std::os::raw::c_int;
15334}
15335extern "C" {
15336    pub fn XmbTextPerCharExtents(
15337        arg1: XFontSet,
15338        arg2: *const ::std::os::raw::c_char,
15339        arg3: ::std::os::raw::c_int,
15340        arg4: *mut XRectangle,
15341        arg5: *mut XRectangle,
15342        arg6: ::std::os::raw::c_int,
15343        arg7: *mut ::std::os::raw::c_int,
15344        arg8: *mut XRectangle,
15345        arg9: *mut XRectangle,
15346    ) -> ::std::os::raw::c_int;
15347}
15348extern "C" {
15349    pub fn XwcTextPerCharExtents(
15350        arg1: XFontSet,
15351        arg2: *const wchar_t,
15352        arg3: ::std::os::raw::c_int,
15353        arg4: *mut XRectangle,
15354        arg5: *mut XRectangle,
15355        arg6: ::std::os::raw::c_int,
15356        arg7: *mut ::std::os::raw::c_int,
15357        arg8: *mut XRectangle,
15358        arg9: *mut XRectangle,
15359    ) -> ::std::os::raw::c_int;
15360}
15361extern "C" {
15362    pub fn Xutf8TextPerCharExtents(
15363        arg1: XFontSet,
15364        arg2: *const ::std::os::raw::c_char,
15365        arg3: ::std::os::raw::c_int,
15366        arg4: *mut XRectangle,
15367        arg5: *mut XRectangle,
15368        arg6: ::std::os::raw::c_int,
15369        arg7: *mut ::std::os::raw::c_int,
15370        arg8: *mut XRectangle,
15371        arg9: *mut XRectangle,
15372    ) -> ::std::os::raw::c_int;
15373}
15374extern "C" {
15375    pub fn XmbDrawText(
15376        arg1: *mut Display,
15377        arg2: Drawable,
15378        arg3: GC,
15379        arg4: ::std::os::raw::c_int,
15380        arg5: ::std::os::raw::c_int,
15381        arg6: *mut XmbTextItem,
15382        arg7: ::std::os::raw::c_int,
15383    );
15384}
15385extern "C" {
15386    pub fn XwcDrawText(
15387        arg1: *mut Display,
15388        arg2: Drawable,
15389        arg3: GC,
15390        arg4: ::std::os::raw::c_int,
15391        arg5: ::std::os::raw::c_int,
15392        arg6: *mut XwcTextItem,
15393        arg7: ::std::os::raw::c_int,
15394    );
15395}
15396extern "C" {
15397    pub fn Xutf8DrawText(
15398        arg1: *mut Display,
15399        arg2: Drawable,
15400        arg3: GC,
15401        arg4: ::std::os::raw::c_int,
15402        arg5: ::std::os::raw::c_int,
15403        arg6: *mut XmbTextItem,
15404        arg7: ::std::os::raw::c_int,
15405    );
15406}
15407extern "C" {
15408    pub fn XmbDrawString(
15409        arg1: *mut Display,
15410        arg2: Drawable,
15411        arg3: XFontSet,
15412        arg4: GC,
15413        arg5: ::std::os::raw::c_int,
15414        arg6: ::std::os::raw::c_int,
15415        arg7: *const ::std::os::raw::c_char,
15416        arg8: ::std::os::raw::c_int,
15417    );
15418}
15419extern "C" {
15420    pub fn XwcDrawString(
15421        arg1: *mut Display,
15422        arg2: Drawable,
15423        arg3: XFontSet,
15424        arg4: GC,
15425        arg5: ::std::os::raw::c_int,
15426        arg6: ::std::os::raw::c_int,
15427        arg7: *const wchar_t,
15428        arg8: ::std::os::raw::c_int,
15429    );
15430}
15431extern "C" {
15432    pub fn Xutf8DrawString(
15433        arg1: *mut Display,
15434        arg2: Drawable,
15435        arg3: XFontSet,
15436        arg4: GC,
15437        arg5: ::std::os::raw::c_int,
15438        arg6: ::std::os::raw::c_int,
15439        arg7: *const ::std::os::raw::c_char,
15440        arg8: ::std::os::raw::c_int,
15441    );
15442}
15443extern "C" {
15444    pub fn XmbDrawImageString(
15445        arg1: *mut Display,
15446        arg2: Drawable,
15447        arg3: XFontSet,
15448        arg4: GC,
15449        arg5: ::std::os::raw::c_int,
15450        arg6: ::std::os::raw::c_int,
15451        arg7: *const ::std::os::raw::c_char,
15452        arg8: ::std::os::raw::c_int,
15453    );
15454}
15455extern "C" {
15456    pub fn XwcDrawImageString(
15457        arg1: *mut Display,
15458        arg2: Drawable,
15459        arg3: XFontSet,
15460        arg4: GC,
15461        arg5: ::std::os::raw::c_int,
15462        arg6: ::std::os::raw::c_int,
15463        arg7: *const wchar_t,
15464        arg8: ::std::os::raw::c_int,
15465    );
15466}
15467extern "C" {
15468    pub fn Xutf8DrawImageString(
15469        arg1: *mut Display,
15470        arg2: Drawable,
15471        arg3: XFontSet,
15472        arg4: GC,
15473        arg5: ::std::os::raw::c_int,
15474        arg6: ::std::os::raw::c_int,
15475        arg7: *const ::std::os::raw::c_char,
15476        arg8: ::std::os::raw::c_int,
15477    );
15478}
15479extern "C" {
15480    pub fn XOpenIM(
15481        arg1: *mut Display,
15482        arg2: *mut _XrmHashBucketRec,
15483        arg3: *mut ::std::os::raw::c_char,
15484        arg4: *mut ::std::os::raw::c_char,
15485    ) -> XIM;
15486}
15487extern "C" {
15488    pub fn XCloseIM(arg1: XIM) -> ::std::os::raw::c_int;
15489}
15490extern "C" {
15491    pub fn XGetIMValues(arg1: XIM, ...) -> *mut ::std::os::raw::c_char;
15492}
15493extern "C" {
15494    pub fn XSetIMValues(arg1: XIM, ...) -> *mut ::std::os::raw::c_char;
15495}
15496extern "C" {
15497    pub fn XDisplayOfIM(arg1: XIM) -> *mut Display;
15498}
15499extern "C" {
15500    pub fn XLocaleOfIM(arg1: XIM) -> *mut ::std::os::raw::c_char;
15501}
15502extern "C" {
15503    pub fn XCreateIC(arg1: XIM, ...) -> XIC;
15504}
15505extern "C" {
15506    pub fn XDestroyIC(arg1: XIC);
15507}
15508extern "C" {
15509    pub fn XSetICFocus(arg1: XIC);
15510}
15511extern "C" {
15512    pub fn XUnsetICFocus(arg1: XIC);
15513}
15514extern "C" {
15515    pub fn XwcResetIC(arg1: XIC) -> *mut wchar_t;
15516}
15517extern "C" {
15518    pub fn XmbResetIC(arg1: XIC) -> *mut ::std::os::raw::c_char;
15519}
15520extern "C" {
15521    pub fn Xutf8ResetIC(arg1: XIC) -> *mut ::std::os::raw::c_char;
15522}
15523extern "C" {
15524    pub fn XSetICValues(arg1: XIC, ...) -> *mut ::std::os::raw::c_char;
15525}
15526extern "C" {
15527    pub fn XGetICValues(arg1: XIC, ...) -> *mut ::std::os::raw::c_char;
15528}
15529extern "C" {
15530    pub fn XIMOfIC(arg1: XIC) -> XIM;
15531}
15532extern "C" {
15533    pub fn XFilterEvent(arg1: *mut XEvent, arg2: Window) -> ::std::os::raw::c_int;
15534}
15535extern "C" {
15536    pub fn XmbLookupString(
15537        arg1: XIC,
15538        arg2: *mut XKeyPressedEvent,
15539        arg3: *mut ::std::os::raw::c_char,
15540        arg4: ::std::os::raw::c_int,
15541        arg5: *mut KeySym,
15542        arg6: *mut ::std::os::raw::c_int,
15543    ) -> ::std::os::raw::c_int;
15544}
15545extern "C" {
15546    pub fn XwcLookupString(
15547        arg1: XIC,
15548        arg2: *mut XKeyPressedEvent,
15549        arg3: *mut wchar_t,
15550        arg4: ::std::os::raw::c_int,
15551        arg5: *mut KeySym,
15552        arg6: *mut ::std::os::raw::c_int,
15553    ) -> ::std::os::raw::c_int;
15554}
15555extern "C" {
15556    pub fn Xutf8LookupString(
15557        arg1: XIC,
15558        arg2: *mut XKeyPressedEvent,
15559        arg3: *mut ::std::os::raw::c_char,
15560        arg4: ::std::os::raw::c_int,
15561        arg5: *mut KeySym,
15562        arg6: *mut ::std::os::raw::c_int,
15563    ) -> ::std::os::raw::c_int;
15564}
15565extern "C" {
15566    pub fn XVaCreateNestedList(arg1: ::std::os::raw::c_int, ...) -> XVaNestedList;
15567}
15568extern "C" {
15569    pub fn XRegisterIMInstantiateCallback(
15570        arg1: *mut Display,
15571        arg2: *mut _XrmHashBucketRec,
15572        arg3: *mut ::std::os::raw::c_char,
15573        arg4: *mut ::std::os::raw::c_char,
15574        arg5: XIDProc,
15575        arg6: XPointer,
15576    ) -> ::std::os::raw::c_int;
15577}
15578extern "C" {
15579    pub fn XUnregisterIMInstantiateCallback(
15580        arg1: *mut Display,
15581        arg2: *mut _XrmHashBucketRec,
15582        arg3: *mut ::std::os::raw::c_char,
15583        arg4: *mut ::std::os::raw::c_char,
15584        arg5: XIDProc,
15585        arg6: XPointer,
15586    ) -> ::std::os::raw::c_int;
15587}
15588pub type XConnectionWatchProc = ::std::option::Option<
15589    unsafe extern "C" fn(
15590        arg1: *mut Display,
15591        arg2: XPointer,
15592        arg3: ::std::os::raw::c_int,
15593        arg4: ::std::os::raw::c_int,
15594        arg5: *mut XPointer,
15595    ),
15596>;
15597extern "C" {
15598    pub fn XInternalConnectionNumbers(
15599        arg1: *mut Display,
15600        arg2: *mut *mut ::std::os::raw::c_int,
15601        arg3: *mut ::std::os::raw::c_int,
15602    ) -> ::std::os::raw::c_int;
15603}
15604extern "C" {
15605    pub fn XProcessInternalConnection(arg1: *mut Display, arg2: ::std::os::raw::c_int);
15606}
15607extern "C" {
15608    pub fn XAddConnectionWatch(
15609        arg1: *mut Display,
15610        arg2: XConnectionWatchProc,
15611        arg3: XPointer,
15612    ) -> ::std::os::raw::c_int;
15613}
15614extern "C" {
15615    pub fn XRemoveConnectionWatch(arg1: *mut Display, arg2: XConnectionWatchProc, arg3: XPointer);
15616}
15617extern "C" {
15618    pub fn XSetAuthorization(
15619        arg1: *mut ::std::os::raw::c_char,
15620        arg2: ::std::os::raw::c_int,
15621        arg3: *mut ::std::os::raw::c_char,
15622        arg4: ::std::os::raw::c_int,
15623    );
15624}
15625extern "C" {
15626    pub fn _Xmbtowc(
15627        arg1: *mut wchar_t,
15628        arg2: *mut ::std::os::raw::c_char,
15629        arg3: ::std::os::raw::c_int,
15630    ) -> ::std::os::raw::c_int;
15631}
15632extern "C" {
15633    pub fn _Xwctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int;
15634}
15635extern "C" {
15636    pub fn XGetEventData(
15637        arg1: *mut Display,
15638        arg2: *mut XGenericEventCookie,
15639    ) -> ::std::os::raw::c_int;
15640}
15641extern "C" {
15642    pub fn XFreeEventData(arg1: *mut Display, arg2: *mut XGenericEventCookie);
15643}
15644pub type va_list = __builtin_va_list;
15645pub type __gnuc_va_list = __builtin_va_list;
15646#[repr(C)]
15647#[derive(Copy, Clone)]
15648pub struct __mbstate_t {
15649    pub __count: ::std::os::raw::c_int,
15650    pub __value: __mbstate_t__bindgen_ty_1,
15651}
15652#[repr(C)]
15653#[derive(Copy, Clone)]
15654pub union __mbstate_t__bindgen_ty_1 {
15655    pub __wch: ::std::os::raw::c_uint,
15656    pub __wchb: [::std::os::raw::c_char; 4usize],
15657    _bindgen_union_align: u32,
15658}
15659#[test]
15660fn bindgen_test_layout___mbstate_t__bindgen_ty_1() {
15661    assert_eq!(
15662        ::std::mem::size_of::<__mbstate_t__bindgen_ty_1>(),
15663        4usize,
15664        concat!("Size of: ", stringify!(__mbstate_t__bindgen_ty_1))
15665    );
15666    assert_eq!(
15667        ::std::mem::align_of::<__mbstate_t__bindgen_ty_1>(),
15668        4usize,
15669        concat!("Alignment of ", stringify!(__mbstate_t__bindgen_ty_1))
15670    );
15671    assert_eq!(
15672        unsafe { &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wch as *const _ as usize },
15673        0usize,
15674        concat!(
15675            "Offset of field: ",
15676            stringify!(__mbstate_t__bindgen_ty_1),
15677            "::",
15678            stringify!(__wch)
15679        )
15680    );
15681    assert_eq!(
15682        unsafe {
15683            &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wchb as *const _ as usize
15684        },
15685        0usize,
15686        concat!(
15687            "Offset of field: ",
15688            stringify!(__mbstate_t__bindgen_ty_1),
15689            "::",
15690            stringify!(__wchb)
15691        )
15692    );
15693}
15694#[test]
15695fn bindgen_test_layout___mbstate_t() {
15696    assert_eq!(
15697        ::std::mem::size_of::<__mbstate_t>(),
15698        8usize,
15699        concat!("Size of: ", stringify!(__mbstate_t))
15700    );
15701    assert_eq!(
15702        ::std::mem::align_of::<__mbstate_t>(),
15703        4usize,
15704        concat!("Alignment of ", stringify!(__mbstate_t))
15705    );
15706    assert_eq!(
15707        unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__count as *const _ as usize },
15708        0usize,
15709        concat!(
15710            "Offset of field: ",
15711            stringify!(__mbstate_t),
15712            "::",
15713            stringify!(__count)
15714        )
15715    );
15716    assert_eq!(
15717        unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__value as *const _ as usize },
15718        4usize,
15719        concat!(
15720            "Offset of field: ",
15721            stringify!(__mbstate_t),
15722            "::",
15723            stringify!(__value)
15724        )
15725    );
15726}
15727#[repr(C)]
15728#[derive(Copy, Clone)]
15729pub struct _G_fpos_t {
15730    pub __pos: __off_t,
15731    pub __state: __mbstate_t,
15732}
15733#[test]
15734fn bindgen_test_layout__G_fpos_t() {
15735    assert_eq!(
15736        ::std::mem::size_of::<_G_fpos_t>(),
15737        16usize,
15738        concat!("Size of: ", stringify!(_G_fpos_t))
15739    );
15740    assert_eq!(
15741        ::std::mem::align_of::<_G_fpos_t>(),
15742        8usize,
15743        concat!("Alignment of ", stringify!(_G_fpos_t))
15744    );
15745    assert_eq!(
15746        unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__pos as *const _ as usize },
15747        0usize,
15748        concat!(
15749            "Offset of field: ",
15750            stringify!(_G_fpos_t),
15751            "::",
15752            stringify!(__pos)
15753        )
15754    );
15755    assert_eq!(
15756        unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__state as *const _ as usize },
15757        8usize,
15758        concat!(
15759            "Offset of field: ",
15760            stringify!(_G_fpos_t),
15761            "::",
15762            stringify!(__state)
15763        )
15764    );
15765}
15766pub type __fpos_t = _G_fpos_t;
15767#[repr(C)]
15768#[derive(Copy, Clone)]
15769pub struct _G_fpos64_t {
15770    pub __pos: __off64_t,
15771    pub __state: __mbstate_t,
15772}
15773#[test]
15774fn bindgen_test_layout__G_fpos64_t() {
15775    assert_eq!(
15776        ::std::mem::size_of::<_G_fpos64_t>(),
15777        16usize,
15778        concat!("Size of: ", stringify!(_G_fpos64_t))
15779    );
15780    assert_eq!(
15781        ::std::mem::align_of::<_G_fpos64_t>(),
15782        8usize,
15783        concat!("Alignment of ", stringify!(_G_fpos64_t))
15784    );
15785    assert_eq!(
15786        unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__pos as *const _ as usize },
15787        0usize,
15788        concat!(
15789            "Offset of field: ",
15790            stringify!(_G_fpos64_t),
15791            "::",
15792            stringify!(__pos)
15793        )
15794    );
15795    assert_eq!(
15796        unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__state as *const _ as usize },
15797        8usize,
15798        concat!(
15799            "Offset of field: ",
15800            stringify!(_G_fpos64_t),
15801            "::",
15802            stringify!(__state)
15803        )
15804    );
15805}
15806pub type __fpos64_t = _G_fpos64_t;
15807pub type __FILE = _IO_FILE;
15808pub type FILE = _IO_FILE;
15809#[repr(C)]
15810#[derive(Debug, Copy, Clone)]
15811pub struct _IO_marker {
15812    _unused: [u8; 0],
15813}
15814#[repr(C)]
15815#[derive(Debug, Copy, Clone)]
15816pub struct _IO_codecvt {
15817    _unused: [u8; 0],
15818}
15819#[repr(C)]
15820#[derive(Debug, Copy, Clone)]
15821pub struct _IO_wide_data {
15822    _unused: [u8; 0],
15823}
15824pub type _IO_lock_t = ::std::os::raw::c_void;
15825#[repr(C)]
15826#[derive(Debug, Copy, Clone)]
15827pub struct _IO_FILE {
15828    pub _flags: ::std::os::raw::c_int,
15829    pub _IO_read_ptr: *mut ::std::os::raw::c_char,
15830    pub _IO_read_end: *mut ::std::os::raw::c_char,
15831    pub _IO_read_base: *mut ::std::os::raw::c_char,
15832    pub _IO_write_base: *mut ::std::os::raw::c_char,
15833    pub _IO_write_ptr: *mut ::std::os::raw::c_char,
15834    pub _IO_write_end: *mut ::std::os::raw::c_char,
15835    pub _IO_buf_base: *mut ::std::os::raw::c_char,
15836    pub _IO_buf_end: *mut ::std::os::raw::c_char,
15837    pub _IO_save_base: *mut ::std::os::raw::c_char,
15838    pub _IO_backup_base: *mut ::std::os::raw::c_char,
15839    pub _IO_save_end: *mut ::std::os::raw::c_char,
15840    pub _markers: *mut _IO_marker,
15841    pub _chain: *mut _IO_FILE,
15842    pub _fileno: ::std::os::raw::c_int,
15843    pub _flags2: ::std::os::raw::c_int,
15844    pub _old_offset: __off_t,
15845    pub _cur_column: ::std::os::raw::c_ushort,
15846    pub _vtable_offset: ::std::os::raw::c_schar,
15847    pub _shortbuf: [::std::os::raw::c_char; 1usize],
15848    pub _lock: *mut _IO_lock_t,
15849    pub _offset: __off64_t,
15850    pub _codecvt: *mut _IO_codecvt,
15851    pub _wide_data: *mut _IO_wide_data,
15852    pub _freeres_list: *mut _IO_FILE,
15853    pub _freeres_buf: *mut ::std::os::raw::c_void,
15854    pub __pad5: usize,
15855    pub _mode: ::std::os::raw::c_int,
15856    pub _unused2: [::std::os::raw::c_char; 20usize],
15857}
15858#[test]
15859fn bindgen_test_layout__IO_FILE() {
15860    assert_eq!(
15861        ::std::mem::size_of::<_IO_FILE>(),
15862        216usize,
15863        concat!("Size of: ", stringify!(_IO_FILE))
15864    );
15865    assert_eq!(
15866        ::std::mem::align_of::<_IO_FILE>(),
15867        8usize,
15868        concat!("Alignment of ", stringify!(_IO_FILE))
15869    );
15870    assert_eq!(
15871        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
15872        0usize,
15873        concat!(
15874            "Offset of field: ",
15875            stringify!(_IO_FILE),
15876            "::",
15877            stringify!(_flags)
15878        )
15879    );
15880    assert_eq!(
15881        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
15882        8usize,
15883        concat!(
15884            "Offset of field: ",
15885            stringify!(_IO_FILE),
15886            "::",
15887            stringify!(_IO_read_ptr)
15888        )
15889    );
15890    assert_eq!(
15891        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
15892        16usize,
15893        concat!(
15894            "Offset of field: ",
15895            stringify!(_IO_FILE),
15896            "::",
15897            stringify!(_IO_read_end)
15898        )
15899    );
15900    assert_eq!(
15901        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
15902        24usize,
15903        concat!(
15904            "Offset of field: ",
15905            stringify!(_IO_FILE),
15906            "::",
15907            stringify!(_IO_read_base)
15908        )
15909    );
15910    assert_eq!(
15911        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
15912        32usize,
15913        concat!(
15914            "Offset of field: ",
15915            stringify!(_IO_FILE),
15916            "::",
15917            stringify!(_IO_write_base)
15918        )
15919    );
15920    assert_eq!(
15921        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
15922        40usize,
15923        concat!(
15924            "Offset of field: ",
15925            stringify!(_IO_FILE),
15926            "::",
15927            stringify!(_IO_write_ptr)
15928        )
15929    );
15930    assert_eq!(
15931        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
15932        48usize,
15933        concat!(
15934            "Offset of field: ",
15935            stringify!(_IO_FILE),
15936            "::",
15937            stringify!(_IO_write_end)
15938        )
15939    );
15940    assert_eq!(
15941        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
15942        56usize,
15943        concat!(
15944            "Offset of field: ",
15945            stringify!(_IO_FILE),
15946            "::",
15947            stringify!(_IO_buf_base)
15948        )
15949    );
15950    assert_eq!(
15951        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
15952        64usize,
15953        concat!(
15954            "Offset of field: ",
15955            stringify!(_IO_FILE),
15956            "::",
15957            stringify!(_IO_buf_end)
15958        )
15959    );
15960    assert_eq!(
15961        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
15962        72usize,
15963        concat!(
15964            "Offset of field: ",
15965            stringify!(_IO_FILE),
15966            "::",
15967            stringify!(_IO_save_base)
15968        )
15969    );
15970    assert_eq!(
15971        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
15972        80usize,
15973        concat!(
15974            "Offset of field: ",
15975            stringify!(_IO_FILE),
15976            "::",
15977            stringify!(_IO_backup_base)
15978        )
15979    );
15980    assert_eq!(
15981        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
15982        88usize,
15983        concat!(
15984            "Offset of field: ",
15985            stringify!(_IO_FILE),
15986            "::",
15987            stringify!(_IO_save_end)
15988        )
15989    );
15990    assert_eq!(
15991        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
15992        96usize,
15993        concat!(
15994            "Offset of field: ",
15995            stringify!(_IO_FILE),
15996            "::",
15997            stringify!(_markers)
15998        )
15999    );
16000    assert_eq!(
16001        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
16002        104usize,
16003        concat!(
16004            "Offset of field: ",
16005            stringify!(_IO_FILE),
16006            "::",
16007            stringify!(_chain)
16008        )
16009    );
16010    assert_eq!(
16011        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
16012        112usize,
16013        concat!(
16014            "Offset of field: ",
16015            stringify!(_IO_FILE),
16016            "::",
16017            stringify!(_fileno)
16018        )
16019    );
16020    assert_eq!(
16021        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
16022        116usize,
16023        concat!(
16024            "Offset of field: ",
16025            stringify!(_IO_FILE),
16026            "::",
16027            stringify!(_flags2)
16028        )
16029    );
16030    assert_eq!(
16031        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
16032        120usize,
16033        concat!(
16034            "Offset of field: ",
16035            stringify!(_IO_FILE),
16036            "::",
16037            stringify!(_old_offset)
16038        )
16039    );
16040    assert_eq!(
16041        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
16042        128usize,
16043        concat!(
16044            "Offset of field: ",
16045            stringify!(_IO_FILE),
16046            "::",
16047            stringify!(_cur_column)
16048        )
16049    );
16050    assert_eq!(
16051        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
16052        130usize,
16053        concat!(
16054            "Offset of field: ",
16055            stringify!(_IO_FILE),
16056            "::",
16057            stringify!(_vtable_offset)
16058        )
16059    );
16060    assert_eq!(
16061        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
16062        131usize,
16063        concat!(
16064            "Offset of field: ",
16065            stringify!(_IO_FILE),
16066            "::",
16067            stringify!(_shortbuf)
16068        )
16069    );
16070    assert_eq!(
16071        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
16072        136usize,
16073        concat!(
16074            "Offset of field: ",
16075            stringify!(_IO_FILE),
16076            "::",
16077            stringify!(_lock)
16078        )
16079    );
16080    assert_eq!(
16081        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
16082        144usize,
16083        concat!(
16084            "Offset of field: ",
16085            stringify!(_IO_FILE),
16086            "::",
16087            stringify!(_offset)
16088        )
16089    );
16090    assert_eq!(
16091        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
16092        152usize,
16093        concat!(
16094            "Offset of field: ",
16095            stringify!(_IO_FILE),
16096            "::",
16097            stringify!(_codecvt)
16098        )
16099    );
16100    assert_eq!(
16101        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
16102        160usize,
16103        concat!(
16104            "Offset of field: ",
16105            stringify!(_IO_FILE),
16106            "::",
16107            stringify!(_wide_data)
16108        )
16109    );
16110    assert_eq!(
16111        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
16112        168usize,
16113        concat!(
16114            "Offset of field: ",
16115            stringify!(_IO_FILE),
16116            "::",
16117            stringify!(_freeres_list)
16118        )
16119    );
16120    assert_eq!(
16121        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
16122        176usize,
16123        concat!(
16124            "Offset of field: ",
16125            stringify!(_IO_FILE),
16126            "::",
16127            stringify!(_freeres_buf)
16128        )
16129    );
16130    assert_eq!(
16131        unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
16132        184usize,
16133        concat!(
16134            "Offset of field: ",
16135            stringify!(_IO_FILE),
16136            "::",
16137            stringify!(__pad5)
16138        )
16139    );
16140    assert_eq!(
16141        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
16142        192usize,
16143        concat!(
16144            "Offset of field: ",
16145            stringify!(_IO_FILE),
16146            "::",
16147            stringify!(_mode)
16148        )
16149    );
16150    assert_eq!(
16151        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
16152        196usize,
16153        concat!(
16154            "Offset of field: ",
16155            stringify!(_IO_FILE),
16156            "::",
16157            stringify!(_unused2)
16158        )
16159    );
16160}
16161pub type fpos_t = __fpos_t;
16162extern "C" {
16163    pub static mut stdin: *mut FILE;
16164}
16165extern "C" {
16166    pub static mut stdout: *mut FILE;
16167}
16168extern "C" {
16169    pub static mut stderr: *mut FILE;
16170}
16171extern "C" {
16172    pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
16173}
16174extern "C" {
16175    pub fn rename(
16176        __old: *const ::std::os::raw::c_char,
16177        __new: *const ::std::os::raw::c_char,
16178    ) -> ::std::os::raw::c_int;
16179}
16180extern "C" {
16181    pub fn renameat(
16182        __oldfd: ::std::os::raw::c_int,
16183        __old: *const ::std::os::raw::c_char,
16184        __newfd: ::std::os::raw::c_int,
16185        __new: *const ::std::os::raw::c_char,
16186    ) -> ::std::os::raw::c_int;
16187}
16188extern "C" {
16189    pub fn tmpfile() -> *mut FILE;
16190}
16191extern "C" {
16192    pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
16193}
16194extern "C" {
16195    pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
16196}
16197extern "C" {
16198    pub fn tempnam(
16199        __dir: *const ::std::os::raw::c_char,
16200        __pfx: *const ::std::os::raw::c_char,
16201    ) -> *mut ::std::os::raw::c_char;
16202}
16203extern "C" {
16204    pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
16205}
16206extern "C" {
16207    pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int;
16208}
16209extern "C" {
16210    pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
16211}
16212extern "C" {
16213    pub fn fopen(
16214        __filename: *const ::std::os::raw::c_char,
16215        __modes: *const ::std::os::raw::c_char,
16216    ) -> *mut FILE;
16217}
16218extern "C" {
16219    pub fn freopen(
16220        __filename: *const ::std::os::raw::c_char,
16221        __modes: *const ::std::os::raw::c_char,
16222        __stream: *mut FILE,
16223    ) -> *mut FILE;
16224}
16225extern "C" {
16226    pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char)
16227        -> *mut FILE;
16228}
16229extern "C" {
16230    pub fn fmemopen(
16231        __s: *mut ::std::os::raw::c_void,
16232        __len: usize,
16233        __modes: *const ::std::os::raw::c_char,
16234    ) -> *mut FILE;
16235}
16236extern "C" {
16237    pub fn open_memstream(
16238        __bufloc: *mut *mut ::std::os::raw::c_char,
16239        __sizeloc: *mut usize,
16240    ) -> *mut FILE;
16241}
16242extern "C" {
16243    pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char);
16244}
16245extern "C" {
16246    pub fn setvbuf(
16247        __stream: *mut FILE,
16248        __buf: *mut ::std::os::raw::c_char,
16249        __modes: ::std::os::raw::c_int,
16250        __n: usize,
16251    ) -> ::std::os::raw::c_int;
16252}
16253extern "C" {
16254    pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize);
16255}
16256extern "C" {
16257    pub fn setlinebuf(__stream: *mut FILE);
16258}
16259extern "C" {
16260    pub fn fprintf(
16261        __stream: *mut FILE,
16262        __format: *const ::std::os::raw::c_char,
16263        ...
16264    ) -> ::std::os::raw::c_int;
16265}
16266extern "C" {
16267    pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
16268}
16269extern "C" {
16270    pub fn sprintf(
16271        __s: *mut ::std::os::raw::c_char,
16272        __format: *const ::std::os::raw::c_char,
16273        ...
16274    ) -> ::std::os::raw::c_int;
16275}
16276extern "C" {
16277    pub fn vfprintf(
16278        __s: *mut FILE,
16279        __format: *const ::std::os::raw::c_char,
16280        __arg: *mut __va_list_tag,
16281    ) -> ::std::os::raw::c_int;
16282}
16283extern "C" {
16284    pub fn vprintf(
16285        __format: *const ::std::os::raw::c_char,
16286        __arg: *mut __va_list_tag,
16287    ) -> ::std::os::raw::c_int;
16288}
16289extern "C" {
16290    pub fn vsprintf(
16291        __s: *mut ::std::os::raw::c_char,
16292        __format: *const ::std::os::raw::c_char,
16293        __arg: *mut __va_list_tag,
16294    ) -> ::std::os::raw::c_int;
16295}
16296extern "C" {
16297    pub fn snprintf(
16298        __s: *mut ::std::os::raw::c_char,
16299        __maxlen: ::std::os::raw::c_ulong,
16300        __format: *const ::std::os::raw::c_char,
16301        ...
16302    ) -> ::std::os::raw::c_int;
16303}
16304extern "C" {
16305    pub fn vsnprintf(
16306        __s: *mut ::std::os::raw::c_char,
16307        __maxlen: ::std::os::raw::c_ulong,
16308        __format: *const ::std::os::raw::c_char,
16309        __arg: *mut __va_list_tag,
16310    ) -> ::std::os::raw::c_int;
16311}
16312extern "C" {
16313    pub fn vdprintf(
16314        __fd: ::std::os::raw::c_int,
16315        __fmt: *const ::std::os::raw::c_char,
16316        __arg: *mut __va_list_tag,
16317    ) -> ::std::os::raw::c_int;
16318}
16319extern "C" {
16320    pub fn dprintf(
16321        __fd: ::std::os::raw::c_int,
16322        __fmt: *const ::std::os::raw::c_char,
16323        ...
16324    ) -> ::std::os::raw::c_int;
16325}
16326extern "C" {
16327    pub fn fscanf(
16328        __stream: *mut FILE,
16329        __format: *const ::std::os::raw::c_char,
16330        ...
16331    ) -> ::std::os::raw::c_int;
16332}
16333extern "C" {
16334    pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
16335}
16336extern "C" {
16337    pub fn sscanf(
16338        __s: *const ::std::os::raw::c_char,
16339        __format: *const ::std::os::raw::c_char,
16340        ...
16341    ) -> ::std::os::raw::c_int;
16342}
16343extern "C" {
16344    #[link_name = "\u{1}__isoc99_fscanf"]
16345    pub fn fscanf1(
16346        __stream: *mut FILE,
16347        __format: *const ::std::os::raw::c_char,
16348        ...
16349    ) -> ::std::os::raw::c_int;
16350}
16351extern "C" {
16352    #[link_name = "\u{1}__isoc99_scanf"]
16353    pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
16354}
16355extern "C" {
16356    #[link_name = "\u{1}__isoc99_sscanf"]
16357    pub fn sscanf1(
16358        __s: *const ::std::os::raw::c_char,
16359        __format: *const ::std::os::raw::c_char,
16360        ...
16361    ) -> ::std::os::raw::c_int;
16362}
16363extern "C" {
16364    pub fn vfscanf(
16365        __s: *mut FILE,
16366        __format: *const ::std::os::raw::c_char,
16367        __arg: *mut __va_list_tag,
16368    ) -> ::std::os::raw::c_int;
16369}
16370extern "C" {
16371    pub fn vscanf(
16372        __format: *const ::std::os::raw::c_char,
16373        __arg: *mut __va_list_tag,
16374    ) -> ::std::os::raw::c_int;
16375}
16376extern "C" {
16377    pub fn vsscanf(
16378        __s: *const ::std::os::raw::c_char,
16379        __format: *const ::std::os::raw::c_char,
16380        __arg: *mut __va_list_tag,
16381    ) -> ::std::os::raw::c_int;
16382}
16383extern "C" {
16384    #[link_name = "\u{1}__isoc99_vfscanf"]
16385    pub fn vfscanf1(
16386        __s: *mut FILE,
16387        __format: *const ::std::os::raw::c_char,
16388        __arg: *mut __va_list_tag,
16389    ) -> ::std::os::raw::c_int;
16390}
16391extern "C" {
16392    #[link_name = "\u{1}__isoc99_vscanf"]
16393    pub fn vscanf1(
16394        __format: *const ::std::os::raw::c_char,
16395        __arg: *mut __va_list_tag,
16396    ) -> ::std::os::raw::c_int;
16397}
16398extern "C" {
16399    #[link_name = "\u{1}__isoc99_vsscanf"]
16400    pub fn vsscanf1(
16401        __s: *const ::std::os::raw::c_char,
16402        __format: *const ::std::os::raw::c_char,
16403        __arg: *mut __va_list_tag,
16404    ) -> ::std::os::raw::c_int;
16405}
16406extern "C" {
16407    pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int;
16408}
16409extern "C" {
16410    pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int;
16411}
16412extern "C" {
16413    pub fn getchar() -> ::std::os::raw::c_int;
16414}
16415extern "C" {
16416    pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
16417}
16418extern "C" {
16419    pub fn getchar_unlocked() -> ::std::os::raw::c_int;
16420}
16421extern "C" {
16422    pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
16423}
16424extern "C" {
16425    pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
16426}
16427extern "C" {
16428    pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
16429}
16430extern "C" {
16431    pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
16432}
16433extern "C" {
16434    pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE)
16435        -> ::std::os::raw::c_int;
16436}
16437extern "C" {
16438    pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
16439}
16440extern "C" {
16441    pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
16442}
16443extern "C" {
16444    pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int;
16445}
16446extern "C" {
16447    pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
16448}
16449extern "C" {
16450    pub fn fgets(
16451        __s: *mut ::std::os::raw::c_char,
16452        __n: ::std::os::raw::c_int,
16453        __stream: *mut FILE,
16454    ) -> *mut ::std::os::raw::c_char;
16455}
16456extern "C" {
16457    pub fn __getdelim(
16458        __lineptr: *mut *mut ::std::os::raw::c_char,
16459        __n: *mut usize,
16460        __delimiter: ::std::os::raw::c_int,
16461        __stream: *mut FILE,
16462    ) -> __ssize_t;
16463}
16464extern "C" {
16465    pub fn getdelim(
16466        __lineptr: *mut *mut ::std::os::raw::c_char,
16467        __n: *mut usize,
16468        __delimiter: ::std::os::raw::c_int,
16469        __stream: *mut FILE,
16470    ) -> __ssize_t;
16471}
16472extern "C" {
16473    pub fn getline(
16474        __lineptr: *mut *mut ::std::os::raw::c_char,
16475        __n: *mut usize,
16476        __stream: *mut FILE,
16477    ) -> __ssize_t;
16478}
16479extern "C" {
16480    pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int;
16481}
16482extern "C" {
16483    pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
16484}
16485extern "C" {
16486    pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
16487}
16488extern "C" {
16489    pub fn fread(
16490        __ptr: *mut ::std::os::raw::c_void,
16491        __size: ::std::os::raw::c_ulong,
16492        __n: ::std::os::raw::c_ulong,
16493        __stream: *mut FILE,
16494    ) -> ::std::os::raw::c_ulong;
16495}
16496extern "C" {
16497    pub fn fwrite(
16498        __ptr: *const ::std::os::raw::c_void,
16499        __size: ::std::os::raw::c_ulong,
16500        __n: ::std::os::raw::c_ulong,
16501        __s: *mut FILE,
16502    ) -> ::std::os::raw::c_ulong;
16503}
16504extern "C" {
16505    pub fn fread_unlocked(
16506        __ptr: *mut ::std::os::raw::c_void,
16507        __size: usize,
16508        __n: usize,
16509        __stream: *mut FILE,
16510    ) -> usize;
16511}
16512extern "C" {
16513    pub fn fwrite_unlocked(
16514        __ptr: *const ::std::os::raw::c_void,
16515        __size: usize,
16516        __n: usize,
16517        __stream: *mut FILE,
16518    ) -> usize;
16519}
16520extern "C" {
16521    pub fn fseek(
16522        __stream: *mut FILE,
16523        __off: ::std::os::raw::c_long,
16524        __whence: ::std::os::raw::c_int,
16525    ) -> ::std::os::raw::c_int;
16526}
16527extern "C" {
16528    pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long;
16529}
16530extern "C" {
16531    pub fn rewind(__stream: *mut FILE);
16532}
16533extern "C" {
16534    pub fn fseeko(
16535        __stream: *mut FILE,
16536        __off: __off_t,
16537        __whence: ::std::os::raw::c_int,
16538    ) -> ::std::os::raw::c_int;
16539}
16540extern "C" {
16541    pub fn ftello(__stream: *mut FILE) -> __off_t;
16542}
16543extern "C" {
16544    pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int;
16545}
16546extern "C" {
16547    pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int;
16548}
16549extern "C" {
16550    pub fn clearerr(__stream: *mut FILE);
16551}
16552extern "C" {
16553    pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int;
16554}
16555extern "C" {
16556    pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int;
16557}
16558extern "C" {
16559    pub fn clearerr_unlocked(__stream: *mut FILE);
16560}
16561extern "C" {
16562    pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
16563}
16564extern "C" {
16565    pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
16566}
16567extern "C" {
16568    pub fn perror(__s: *const ::std::os::raw::c_char);
16569}
16570extern "C" {
16571    pub static mut sys_nerr: ::std::os::raw::c_int;
16572}
16573extern "C" {
16574    pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize];
16575}
16576extern "C" {
16577    pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int;
16578}
16579extern "C" {
16580    pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
16581}
16582extern "C" {
16583    pub fn popen(
16584        __command: *const ::std::os::raw::c_char,
16585        __modes: *const ::std::os::raw::c_char,
16586    ) -> *mut FILE;
16587}
16588extern "C" {
16589    pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
16590}
16591extern "C" {
16592    pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
16593}
16594extern "C" {
16595    pub fn flockfile(__stream: *mut FILE);
16596}
16597extern "C" {
16598    pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int;
16599}
16600extern "C" {
16601    pub fn funlockfile(__stream: *mut FILE);
16602}
16603extern "C" {
16604    pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int;
16605}
16606extern "C" {
16607    pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
16608}
16609pub type XcursorBool = ::std::os::raw::c_int;
16610pub type XcursorUInt = ::std::os::raw::c_uint;
16611pub type XcursorDim = XcursorUInt;
16612pub type XcursorPixel = XcursorUInt;
16613#[repr(C)]
16614#[derive(Debug, Copy, Clone)]
16615pub struct _XcursorFileToc {
16616    pub type_: XcursorUInt,
16617    pub subtype: XcursorUInt,
16618    pub position: XcursorUInt,
16619}
16620#[test]
16621fn bindgen_test_layout__XcursorFileToc() {
16622    assert_eq!(
16623        ::std::mem::size_of::<_XcursorFileToc>(),
16624        12usize,
16625        concat!("Size of: ", stringify!(_XcursorFileToc))
16626    );
16627    assert_eq!(
16628        ::std::mem::align_of::<_XcursorFileToc>(),
16629        4usize,
16630        concat!("Alignment of ", stringify!(_XcursorFileToc))
16631    );
16632    assert_eq!(
16633        unsafe { &(*(::std::ptr::null::<_XcursorFileToc>())).type_ as *const _ as usize },
16634        0usize,
16635        concat!(
16636            "Offset of field: ",
16637            stringify!(_XcursorFileToc),
16638            "::",
16639            stringify!(type_)
16640        )
16641    );
16642    assert_eq!(
16643        unsafe { &(*(::std::ptr::null::<_XcursorFileToc>())).subtype as *const _ as usize },
16644        4usize,
16645        concat!(
16646            "Offset of field: ",
16647            stringify!(_XcursorFileToc),
16648            "::",
16649            stringify!(subtype)
16650        )
16651    );
16652    assert_eq!(
16653        unsafe { &(*(::std::ptr::null::<_XcursorFileToc>())).position as *const _ as usize },
16654        8usize,
16655        concat!(
16656            "Offset of field: ",
16657            stringify!(_XcursorFileToc),
16658            "::",
16659            stringify!(position)
16660        )
16661    );
16662}
16663pub type XcursorFileToc = _XcursorFileToc;
16664#[repr(C)]
16665#[derive(Debug, Copy, Clone)]
16666pub struct _XcursorFileHeader {
16667    pub magic: XcursorUInt,
16668    pub header: XcursorUInt,
16669    pub version: XcursorUInt,
16670    pub ntoc: XcursorUInt,
16671    pub tocs: *mut XcursorFileToc,
16672}
16673#[test]
16674fn bindgen_test_layout__XcursorFileHeader() {
16675    assert_eq!(
16676        ::std::mem::size_of::<_XcursorFileHeader>(),
16677        24usize,
16678        concat!("Size of: ", stringify!(_XcursorFileHeader))
16679    );
16680    assert_eq!(
16681        ::std::mem::align_of::<_XcursorFileHeader>(),
16682        8usize,
16683        concat!("Alignment of ", stringify!(_XcursorFileHeader))
16684    );
16685    assert_eq!(
16686        unsafe { &(*(::std::ptr::null::<_XcursorFileHeader>())).magic as *const _ as usize },
16687        0usize,
16688        concat!(
16689            "Offset of field: ",
16690            stringify!(_XcursorFileHeader),
16691            "::",
16692            stringify!(magic)
16693        )
16694    );
16695    assert_eq!(
16696        unsafe { &(*(::std::ptr::null::<_XcursorFileHeader>())).header as *const _ as usize },
16697        4usize,
16698        concat!(
16699            "Offset of field: ",
16700            stringify!(_XcursorFileHeader),
16701            "::",
16702            stringify!(header)
16703        )
16704    );
16705    assert_eq!(
16706        unsafe { &(*(::std::ptr::null::<_XcursorFileHeader>())).version as *const _ as usize },
16707        8usize,
16708        concat!(
16709            "Offset of field: ",
16710            stringify!(_XcursorFileHeader),
16711            "::",
16712            stringify!(version)
16713        )
16714    );
16715    assert_eq!(
16716        unsafe { &(*(::std::ptr::null::<_XcursorFileHeader>())).ntoc as *const _ as usize },
16717        12usize,
16718        concat!(
16719            "Offset of field: ",
16720            stringify!(_XcursorFileHeader),
16721            "::",
16722            stringify!(ntoc)
16723        )
16724    );
16725    assert_eq!(
16726        unsafe { &(*(::std::ptr::null::<_XcursorFileHeader>())).tocs as *const _ as usize },
16727        16usize,
16728        concat!(
16729            "Offset of field: ",
16730            stringify!(_XcursorFileHeader),
16731            "::",
16732            stringify!(tocs)
16733        )
16734    );
16735}
16736pub type XcursorFileHeader = _XcursorFileHeader;
16737#[repr(C)]
16738#[derive(Debug, Copy, Clone)]
16739pub struct _XcursorChunkHeader {
16740    pub header: XcursorUInt,
16741    pub type_: XcursorUInt,
16742    pub subtype: XcursorUInt,
16743    pub version: XcursorUInt,
16744}
16745#[test]
16746fn bindgen_test_layout__XcursorChunkHeader() {
16747    assert_eq!(
16748        ::std::mem::size_of::<_XcursorChunkHeader>(),
16749        16usize,
16750        concat!("Size of: ", stringify!(_XcursorChunkHeader))
16751    );
16752    assert_eq!(
16753        ::std::mem::align_of::<_XcursorChunkHeader>(),
16754        4usize,
16755        concat!("Alignment of ", stringify!(_XcursorChunkHeader))
16756    );
16757    assert_eq!(
16758        unsafe { &(*(::std::ptr::null::<_XcursorChunkHeader>())).header as *const _ as usize },
16759        0usize,
16760        concat!(
16761            "Offset of field: ",
16762            stringify!(_XcursorChunkHeader),
16763            "::",
16764            stringify!(header)
16765        )
16766    );
16767    assert_eq!(
16768        unsafe { &(*(::std::ptr::null::<_XcursorChunkHeader>())).type_ as *const _ as usize },
16769        4usize,
16770        concat!(
16771            "Offset of field: ",
16772            stringify!(_XcursorChunkHeader),
16773            "::",
16774            stringify!(type_)
16775        )
16776    );
16777    assert_eq!(
16778        unsafe { &(*(::std::ptr::null::<_XcursorChunkHeader>())).subtype as *const _ as usize },
16779        8usize,
16780        concat!(
16781            "Offset of field: ",
16782            stringify!(_XcursorChunkHeader),
16783            "::",
16784            stringify!(subtype)
16785        )
16786    );
16787    assert_eq!(
16788        unsafe { &(*(::std::ptr::null::<_XcursorChunkHeader>())).version as *const _ as usize },
16789        12usize,
16790        concat!(
16791            "Offset of field: ",
16792            stringify!(_XcursorChunkHeader),
16793            "::",
16794            stringify!(version)
16795        )
16796    );
16797}
16798pub type XcursorChunkHeader = _XcursorChunkHeader;
16799#[repr(C)]
16800#[derive(Debug, Copy, Clone)]
16801pub struct _XcursorComment {
16802    pub version: XcursorUInt,
16803    pub comment_type: XcursorUInt,
16804    pub comment: *mut ::std::os::raw::c_char,
16805}
16806#[test]
16807fn bindgen_test_layout__XcursorComment() {
16808    assert_eq!(
16809        ::std::mem::size_of::<_XcursorComment>(),
16810        16usize,
16811        concat!("Size of: ", stringify!(_XcursorComment))
16812    );
16813    assert_eq!(
16814        ::std::mem::align_of::<_XcursorComment>(),
16815        8usize,
16816        concat!("Alignment of ", stringify!(_XcursorComment))
16817    );
16818    assert_eq!(
16819        unsafe { &(*(::std::ptr::null::<_XcursorComment>())).version as *const _ as usize },
16820        0usize,
16821        concat!(
16822            "Offset of field: ",
16823            stringify!(_XcursorComment),
16824            "::",
16825            stringify!(version)
16826        )
16827    );
16828    assert_eq!(
16829        unsafe { &(*(::std::ptr::null::<_XcursorComment>())).comment_type as *const _ as usize },
16830        4usize,
16831        concat!(
16832            "Offset of field: ",
16833            stringify!(_XcursorComment),
16834            "::",
16835            stringify!(comment_type)
16836        )
16837    );
16838    assert_eq!(
16839        unsafe { &(*(::std::ptr::null::<_XcursorComment>())).comment as *const _ as usize },
16840        8usize,
16841        concat!(
16842            "Offset of field: ",
16843            stringify!(_XcursorComment),
16844            "::",
16845            stringify!(comment)
16846        )
16847    );
16848}
16849pub type XcursorComment = _XcursorComment;
16850#[repr(C)]
16851#[derive(Debug, Copy, Clone)]
16852pub struct _XcursorImage {
16853    pub version: XcursorUInt,
16854    pub size: XcursorDim,
16855    pub width: XcursorDim,
16856    pub height: XcursorDim,
16857    pub xhot: XcursorDim,
16858    pub yhot: XcursorDim,
16859    pub delay: XcursorUInt,
16860    pub pixels: *mut XcursorPixel,
16861}
16862#[test]
16863fn bindgen_test_layout__XcursorImage() {
16864    assert_eq!(
16865        ::std::mem::size_of::<_XcursorImage>(),
16866        40usize,
16867        concat!("Size of: ", stringify!(_XcursorImage))
16868    );
16869    assert_eq!(
16870        ::std::mem::align_of::<_XcursorImage>(),
16871        8usize,
16872        concat!("Alignment of ", stringify!(_XcursorImage))
16873    );
16874    assert_eq!(
16875        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).version as *const _ as usize },
16876        0usize,
16877        concat!(
16878            "Offset of field: ",
16879            stringify!(_XcursorImage),
16880            "::",
16881            stringify!(version)
16882        )
16883    );
16884    assert_eq!(
16885        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).size as *const _ as usize },
16886        4usize,
16887        concat!(
16888            "Offset of field: ",
16889            stringify!(_XcursorImage),
16890            "::",
16891            stringify!(size)
16892        )
16893    );
16894    assert_eq!(
16895        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).width as *const _ as usize },
16896        8usize,
16897        concat!(
16898            "Offset of field: ",
16899            stringify!(_XcursorImage),
16900            "::",
16901            stringify!(width)
16902        )
16903    );
16904    assert_eq!(
16905        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).height as *const _ as usize },
16906        12usize,
16907        concat!(
16908            "Offset of field: ",
16909            stringify!(_XcursorImage),
16910            "::",
16911            stringify!(height)
16912        )
16913    );
16914    assert_eq!(
16915        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).xhot as *const _ as usize },
16916        16usize,
16917        concat!(
16918            "Offset of field: ",
16919            stringify!(_XcursorImage),
16920            "::",
16921            stringify!(xhot)
16922        )
16923    );
16924    assert_eq!(
16925        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).yhot as *const _ as usize },
16926        20usize,
16927        concat!(
16928            "Offset of field: ",
16929            stringify!(_XcursorImage),
16930            "::",
16931            stringify!(yhot)
16932        )
16933    );
16934    assert_eq!(
16935        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).delay as *const _ as usize },
16936        24usize,
16937        concat!(
16938            "Offset of field: ",
16939            stringify!(_XcursorImage),
16940            "::",
16941            stringify!(delay)
16942        )
16943    );
16944    assert_eq!(
16945        unsafe { &(*(::std::ptr::null::<_XcursorImage>())).pixels as *const _ as usize },
16946        32usize,
16947        concat!(
16948            "Offset of field: ",
16949            stringify!(_XcursorImage),
16950            "::",
16951            stringify!(pixels)
16952        )
16953    );
16954}
16955pub type XcursorImage = _XcursorImage;
16956#[repr(C)]
16957#[derive(Debug, Copy, Clone)]
16958pub struct _XcursorImages {
16959    pub nimage: ::std::os::raw::c_int,
16960    pub images: *mut *mut XcursorImage,
16961    pub name: *mut ::std::os::raw::c_char,
16962}
16963#[test]
16964fn bindgen_test_layout__XcursorImages() {
16965    assert_eq!(
16966        ::std::mem::size_of::<_XcursorImages>(),
16967        24usize,
16968        concat!("Size of: ", stringify!(_XcursorImages))
16969    );
16970    assert_eq!(
16971        ::std::mem::align_of::<_XcursorImages>(),
16972        8usize,
16973        concat!("Alignment of ", stringify!(_XcursorImages))
16974    );
16975    assert_eq!(
16976        unsafe { &(*(::std::ptr::null::<_XcursorImages>())).nimage as *const _ as usize },
16977        0usize,
16978        concat!(
16979            "Offset of field: ",
16980            stringify!(_XcursorImages),
16981            "::",
16982            stringify!(nimage)
16983        )
16984    );
16985    assert_eq!(
16986        unsafe { &(*(::std::ptr::null::<_XcursorImages>())).images as *const _ as usize },
16987        8usize,
16988        concat!(
16989            "Offset of field: ",
16990            stringify!(_XcursorImages),
16991            "::",
16992            stringify!(images)
16993        )
16994    );
16995    assert_eq!(
16996        unsafe { &(*(::std::ptr::null::<_XcursorImages>())).name as *const _ as usize },
16997        16usize,
16998        concat!(
16999            "Offset of field: ",
17000            stringify!(_XcursorImages),
17001            "::",
17002            stringify!(name)
17003        )
17004    );
17005}
17006pub type XcursorImages = _XcursorImages;
17007#[repr(C)]
17008#[derive(Debug, Copy, Clone)]
17009pub struct _XcursorCursors {
17010    pub dpy: *mut Display,
17011    pub ref_: ::std::os::raw::c_int,
17012    pub ncursor: ::std::os::raw::c_int,
17013    pub cursors: *mut Cursor,
17014}
17015#[test]
17016fn bindgen_test_layout__XcursorCursors() {
17017    assert_eq!(
17018        ::std::mem::size_of::<_XcursorCursors>(),
17019        24usize,
17020        concat!("Size of: ", stringify!(_XcursorCursors))
17021    );
17022    assert_eq!(
17023        ::std::mem::align_of::<_XcursorCursors>(),
17024        8usize,
17025        concat!("Alignment of ", stringify!(_XcursorCursors))
17026    );
17027    assert_eq!(
17028        unsafe { &(*(::std::ptr::null::<_XcursorCursors>())).dpy as *const _ as usize },
17029        0usize,
17030        concat!(
17031            "Offset of field: ",
17032            stringify!(_XcursorCursors),
17033            "::",
17034            stringify!(dpy)
17035        )
17036    );
17037    assert_eq!(
17038        unsafe { &(*(::std::ptr::null::<_XcursorCursors>())).ref_ as *const _ as usize },
17039        8usize,
17040        concat!(
17041            "Offset of field: ",
17042            stringify!(_XcursorCursors),
17043            "::",
17044            stringify!(ref_)
17045        )
17046    );
17047    assert_eq!(
17048        unsafe { &(*(::std::ptr::null::<_XcursorCursors>())).ncursor as *const _ as usize },
17049        12usize,
17050        concat!(
17051            "Offset of field: ",
17052            stringify!(_XcursorCursors),
17053            "::",
17054            stringify!(ncursor)
17055        )
17056    );
17057    assert_eq!(
17058        unsafe { &(*(::std::ptr::null::<_XcursorCursors>())).cursors as *const _ as usize },
17059        16usize,
17060        concat!(
17061            "Offset of field: ",
17062            stringify!(_XcursorCursors),
17063            "::",
17064            stringify!(cursors)
17065        )
17066    );
17067}
17068pub type XcursorCursors = _XcursorCursors;
17069#[repr(C)]
17070#[derive(Debug, Copy, Clone)]
17071pub struct _XcursorAnimate {
17072    pub cursors: *mut XcursorCursors,
17073    pub sequence: ::std::os::raw::c_int,
17074}
17075#[test]
17076fn bindgen_test_layout__XcursorAnimate() {
17077    assert_eq!(
17078        ::std::mem::size_of::<_XcursorAnimate>(),
17079        16usize,
17080        concat!("Size of: ", stringify!(_XcursorAnimate))
17081    );
17082    assert_eq!(
17083        ::std::mem::align_of::<_XcursorAnimate>(),
17084        8usize,
17085        concat!("Alignment of ", stringify!(_XcursorAnimate))
17086    );
17087    assert_eq!(
17088        unsafe { &(*(::std::ptr::null::<_XcursorAnimate>())).cursors as *const _ as usize },
17089        0usize,
17090        concat!(
17091            "Offset of field: ",
17092            stringify!(_XcursorAnimate),
17093            "::",
17094            stringify!(cursors)
17095        )
17096    );
17097    assert_eq!(
17098        unsafe { &(*(::std::ptr::null::<_XcursorAnimate>())).sequence as *const _ as usize },
17099        8usize,
17100        concat!(
17101            "Offset of field: ",
17102            stringify!(_XcursorAnimate),
17103            "::",
17104            stringify!(sequence)
17105        )
17106    );
17107}
17108pub type XcursorAnimate = _XcursorAnimate;
17109pub type XcursorFile = _XcursorFile;
17110#[repr(C)]
17111#[derive(Debug, Copy, Clone)]
17112pub struct _XcursorFile {
17113    pub closure: *mut ::std::os::raw::c_void,
17114    pub read: ::std::option::Option<
17115        unsafe extern "C" fn(
17116            file: *mut XcursorFile,
17117            buf: *mut ::std::os::raw::c_uchar,
17118            len: ::std::os::raw::c_int,
17119        ) -> ::std::os::raw::c_int,
17120    >,
17121    pub write: ::std::option::Option<
17122        unsafe extern "C" fn(
17123            file: *mut XcursorFile,
17124            buf: *mut ::std::os::raw::c_uchar,
17125            len: ::std::os::raw::c_int,
17126        ) -> ::std::os::raw::c_int,
17127    >,
17128    pub seek: ::std::option::Option<
17129        unsafe extern "C" fn(
17130            file: *mut XcursorFile,
17131            offset: ::std::os::raw::c_long,
17132            whence: ::std::os::raw::c_int,
17133        ) -> ::std::os::raw::c_int,
17134    >,
17135}
17136#[test]
17137fn bindgen_test_layout__XcursorFile() {
17138    assert_eq!(
17139        ::std::mem::size_of::<_XcursorFile>(),
17140        32usize,
17141        concat!("Size of: ", stringify!(_XcursorFile))
17142    );
17143    assert_eq!(
17144        ::std::mem::align_of::<_XcursorFile>(),
17145        8usize,
17146        concat!("Alignment of ", stringify!(_XcursorFile))
17147    );
17148    assert_eq!(
17149        unsafe { &(*(::std::ptr::null::<_XcursorFile>())).closure as *const _ as usize },
17150        0usize,
17151        concat!(
17152            "Offset of field: ",
17153            stringify!(_XcursorFile),
17154            "::",
17155            stringify!(closure)
17156        )
17157    );
17158    assert_eq!(
17159        unsafe { &(*(::std::ptr::null::<_XcursorFile>())).read as *const _ as usize },
17160        8usize,
17161        concat!(
17162            "Offset of field: ",
17163            stringify!(_XcursorFile),
17164            "::",
17165            stringify!(read)
17166        )
17167    );
17168    assert_eq!(
17169        unsafe { &(*(::std::ptr::null::<_XcursorFile>())).write as *const _ as usize },
17170        16usize,
17171        concat!(
17172            "Offset of field: ",
17173            stringify!(_XcursorFile),
17174            "::",
17175            stringify!(write)
17176        )
17177    );
17178    assert_eq!(
17179        unsafe { &(*(::std::ptr::null::<_XcursorFile>())).seek as *const _ as usize },
17180        24usize,
17181        concat!(
17182            "Offset of field: ",
17183            stringify!(_XcursorFile),
17184            "::",
17185            stringify!(seek)
17186        )
17187    );
17188}
17189#[repr(C)]
17190#[derive(Debug, Copy, Clone)]
17191pub struct _XcursorComments {
17192    pub ncomment: ::std::os::raw::c_int,
17193    pub comments: *mut *mut XcursorComment,
17194}
17195#[test]
17196fn bindgen_test_layout__XcursorComments() {
17197    assert_eq!(
17198        ::std::mem::size_of::<_XcursorComments>(),
17199        16usize,
17200        concat!("Size of: ", stringify!(_XcursorComments))
17201    );
17202    assert_eq!(
17203        ::std::mem::align_of::<_XcursorComments>(),
17204        8usize,
17205        concat!("Alignment of ", stringify!(_XcursorComments))
17206    );
17207    assert_eq!(
17208        unsafe { &(*(::std::ptr::null::<_XcursorComments>())).ncomment as *const _ as usize },
17209        0usize,
17210        concat!(
17211            "Offset of field: ",
17212            stringify!(_XcursorComments),
17213            "::",
17214            stringify!(ncomment)
17215        )
17216    );
17217    assert_eq!(
17218        unsafe { &(*(::std::ptr::null::<_XcursorComments>())).comments as *const _ as usize },
17219        8usize,
17220        concat!(
17221            "Offset of field: ",
17222            stringify!(_XcursorComments),
17223            "::",
17224            stringify!(comments)
17225        )
17226    );
17227}
17228pub type XcursorComments = _XcursorComments;
17229extern "C" {
17230    pub fn XcursorImageCreate(
17231        width: ::std::os::raw::c_int,
17232        height: ::std::os::raw::c_int,
17233    ) -> *mut XcursorImage;
17234}
17235extern "C" {
17236    pub fn XcursorImageDestroy(image: *mut XcursorImage);
17237}
17238extern "C" {
17239    pub fn XcursorImagesCreate(size: ::std::os::raw::c_int) -> *mut XcursorImages;
17240}
17241extern "C" {
17242    pub fn XcursorImagesDestroy(images: *mut XcursorImages);
17243}
17244extern "C" {
17245    pub fn XcursorImagesSetName(images: *mut XcursorImages, name: *const ::std::os::raw::c_char);
17246}
17247extern "C" {
17248    pub fn XcursorCursorsCreate(
17249        dpy: *mut Display,
17250        size: ::std::os::raw::c_int,
17251    ) -> *mut XcursorCursors;
17252}
17253extern "C" {
17254    pub fn XcursorCursorsDestroy(cursors: *mut XcursorCursors);
17255}
17256extern "C" {
17257    pub fn XcursorAnimateCreate(cursors: *mut XcursorCursors) -> *mut XcursorAnimate;
17258}
17259extern "C" {
17260    pub fn XcursorAnimateDestroy(animate: *mut XcursorAnimate);
17261}
17262extern "C" {
17263    pub fn XcursorAnimateNext(animate: *mut XcursorAnimate) -> Cursor;
17264}
17265extern "C" {
17266    pub fn XcursorCommentCreate(
17267        comment_type: XcursorUInt,
17268        length: ::std::os::raw::c_int,
17269    ) -> *mut XcursorComment;
17270}
17271extern "C" {
17272    pub fn XcursorCommentDestroy(comment: *mut XcursorComment);
17273}
17274extern "C" {
17275    pub fn XcursorCommentsCreate(size: ::std::os::raw::c_int) -> *mut XcursorComments;
17276}
17277extern "C" {
17278    pub fn XcursorCommentsDestroy(comments: *mut XcursorComments);
17279}
17280extern "C" {
17281    pub fn XcursorXcFileLoadImage(
17282        file: *mut XcursorFile,
17283        size: ::std::os::raw::c_int,
17284    ) -> *mut XcursorImage;
17285}
17286extern "C" {
17287    pub fn XcursorXcFileLoadImages(
17288        file: *mut XcursorFile,
17289        size: ::std::os::raw::c_int,
17290    ) -> *mut XcursorImages;
17291}
17292extern "C" {
17293    pub fn XcursorXcFileLoadAllImages(file: *mut XcursorFile) -> *mut XcursorImages;
17294}
17295extern "C" {
17296    pub fn XcursorXcFileLoad(
17297        file: *mut XcursorFile,
17298        commentsp: *mut *mut XcursorComments,
17299        imagesp: *mut *mut XcursorImages,
17300    ) -> XcursorBool;
17301}
17302extern "C" {
17303    pub fn XcursorXcFileSave(
17304        file: *mut XcursorFile,
17305        comments: *const XcursorComments,
17306        images: *const XcursorImages,
17307    ) -> XcursorBool;
17308}
17309extern "C" {
17310    pub fn XcursorFileLoadImage(file: *mut FILE, size: ::std::os::raw::c_int) -> *mut XcursorImage;
17311}
17312extern "C" {
17313    pub fn XcursorFileLoadImages(
17314        file: *mut FILE,
17315        size: ::std::os::raw::c_int,
17316    ) -> *mut XcursorImages;
17317}
17318extern "C" {
17319    pub fn XcursorFileLoadAllImages(file: *mut FILE) -> *mut XcursorImages;
17320}
17321extern "C" {
17322    pub fn XcursorFileLoad(
17323        file: *mut FILE,
17324        commentsp: *mut *mut XcursorComments,
17325        imagesp: *mut *mut XcursorImages,
17326    ) -> XcursorBool;
17327}
17328extern "C" {
17329    pub fn XcursorFileSaveImages(file: *mut FILE, images: *const XcursorImages) -> XcursorBool;
17330}
17331extern "C" {
17332    pub fn XcursorFileSave(
17333        file: *mut FILE,
17334        comments: *const XcursorComments,
17335        images: *const XcursorImages,
17336    ) -> XcursorBool;
17337}
17338extern "C" {
17339    pub fn XcursorFilenameLoadImage(
17340        filename: *const ::std::os::raw::c_char,
17341        size: ::std::os::raw::c_int,
17342    ) -> *mut XcursorImage;
17343}
17344extern "C" {
17345    pub fn XcursorFilenameLoadImages(
17346        filename: *const ::std::os::raw::c_char,
17347        size: ::std::os::raw::c_int,
17348    ) -> *mut XcursorImages;
17349}
17350extern "C" {
17351    pub fn XcursorFilenameLoadAllImages(
17352        filename: *const ::std::os::raw::c_char,
17353    ) -> *mut XcursorImages;
17354}
17355extern "C" {
17356    pub fn XcursorFilenameLoad(
17357        file: *const ::std::os::raw::c_char,
17358        commentsp: *mut *mut XcursorComments,
17359        imagesp: *mut *mut XcursorImages,
17360    ) -> XcursorBool;
17361}
17362extern "C" {
17363    pub fn XcursorFilenameSaveImages(
17364        filename: *const ::std::os::raw::c_char,
17365        images: *const XcursorImages,
17366    ) -> XcursorBool;
17367}
17368extern "C" {
17369    pub fn XcursorFilenameSave(
17370        file: *const ::std::os::raw::c_char,
17371        comments: *const XcursorComments,
17372        images: *const XcursorImages,
17373    ) -> XcursorBool;
17374}
17375extern "C" {
17376    pub fn XcursorLibraryLoadImage(
17377        library: *const ::std::os::raw::c_char,
17378        theme: *const ::std::os::raw::c_char,
17379        size: ::std::os::raw::c_int,
17380    ) -> *mut XcursorImage;
17381}
17382extern "C" {
17383    pub fn XcursorLibraryLoadImages(
17384        library: *const ::std::os::raw::c_char,
17385        theme: *const ::std::os::raw::c_char,
17386        size: ::std::os::raw::c_int,
17387    ) -> *mut XcursorImages;
17388}
17389extern "C" {
17390    pub fn XcursorLibraryPath() -> *const ::std::os::raw::c_char;
17391}
17392extern "C" {
17393    pub fn XcursorLibraryShape(library: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
17394}
17395extern "C" {
17396    pub fn XcursorImageLoadCursor(dpy: *mut Display, image: *const XcursorImage) -> Cursor;
17397}
17398extern "C" {
17399    pub fn XcursorImagesLoadCursors(
17400        dpy: *mut Display,
17401        images: *const XcursorImages,
17402    ) -> *mut XcursorCursors;
17403}
17404extern "C" {
17405    pub fn XcursorImagesLoadCursor(dpy: *mut Display, images: *const XcursorImages) -> Cursor;
17406}
17407extern "C" {
17408    pub fn XcursorFilenameLoadCursor(
17409        dpy: *mut Display,
17410        file: *const ::std::os::raw::c_char,
17411    ) -> Cursor;
17412}
17413extern "C" {
17414    pub fn XcursorFilenameLoadCursors(
17415        dpy: *mut Display,
17416        file: *const ::std::os::raw::c_char,
17417    ) -> *mut XcursorCursors;
17418}
17419extern "C" {
17420    pub fn XcursorLibraryLoadCursor(
17421        dpy: *mut Display,
17422        file: *const ::std::os::raw::c_char,
17423    ) -> Cursor;
17424}
17425extern "C" {
17426    pub fn XcursorLibraryLoadCursors(
17427        dpy: *mut Display,
17428        file: *const ::std::os::raw::c_char,
17429    ) -> *mut XcursorCursors;
17430}
17431extern "C" {
17432    pub fn XcursorShapeLoadImage(
17433        shape: ::std::os::raw::c_uint,
17434        theme: *const ::std::os::raw::c_char,
17435        size: ::std::os::raw::c_int,
17436    ) -> *mut XcursorImage;
17437}
17438extern "C" {
17439    pub fn XcursorShapeLoadImages(
17440        shape: ::std::os::raw::c_uint,
17441        theme: *const ::std::os::raw::c_char,
17442        size: ::std::os::raw::c_int,
17443    ) -> *mut XcursorImages;
17444}
17445extern "C" {
17446    pub fn XcursorShapeLoadCursor(dpy: *mut Display, shape: ::std::os::raw::c_uint) -> Cursor;
17447}
17448extern "C" {
17449    pub fn XcursorShapeLoadCursors(
17450        dpy: *mut Display,
17451        shape: ::std::os::raw::c_uint,
17452    ) -> *mut XcursorCursors;
17453}
17454extern "C" {
17455    pub fn XcursorTryShapeCursor(
17456        dpy: *mut Display,
17457        source_font: Font,
17458        mask_font: Font,
17459        source_char: ::std::os::raw::c_uint,
17460        mask_char: ::std::os::raw::c_uint,
17461        foreground: *const XColor,
17462        background: *const XColor,
17463    ) -> Cursor;
17464}
17465extern "C" {
17466    pub fn XcursorNoticeCreateBitmap(
17467        dpy: *mut Display,
17468        pid: Pixmap,
17469        width: ::std::os::raw::c_uint,
17470        height: ::std::os::raw::c_uint,
17471    );
17472}
17473extern "C" {
17474    pub fn XcursorNoticePutBitmap(dpy: *mut Display, draw: Drawable, image: *mut XImage);
17475}
17476extern "C" {
17477    pub fn XcursorTryShapeBitmapCursor(
17478        dpy: *mut Display,
17479        source: Pixmap,
17480        mask: Pixmap,
17481        foreground: *mut XColor,
17482        background: *mut XColor,
17483        x: ::std::os::raw::c_uint,
17484        y: ::std::os::raw::c_uint,
17485    ) -> Cursor;
17486}
17487extern "C" {
17488    pub fn XcursorImageHash(image: *mut XImage, hash: *mut ::std::os::raw::c_uchar);
17489}
17490extern "C" {
17491    pub fn XcursorSupportsARGB(dpy: *mut Display) -> XcursorBool;
17492}
17493extern "C" {
17494    pub fn XcursorSupportsAnim(dpy: *mut Display) -> XcursorBool;
17495}
17496extern "C" {
17497    pub fn XcursorSetDefaultSize(dpy: *mut Display, size: ::std::os::raw::c_int) -> XcursorBool;
17498}
17499extern "C" {
17500    pub fn XcursorGetDefaultSize(dpy: *mut Display) -> ::std::os::raw::c_int;
17501}
17502extern "C" {
17503    pub fn XcursorSetTheme(dpy: *mut Display, theme: *const ::std::os::raw::c_char) -> XcursorBool;
17504}
17505extern "C" {
17506    pub fn XcursorGetTheme(dpy: *mut Display) -> *mut ::std::os::raw::c_char;
17507}
17508extern "C" {
17509    pub fn XcursorGetThemeCore(dpy: *mut Display) -> XcursorBool;
17510}
17511extern "C" {
17512    pub fn XcursorSetThemeCore(dpy: *mut Display, theme_core: XcursorBool) -> XcursorBool;
17513}
17514extern "C" {
17515    pub fn Xpermalloc(arg1: ::std::os::raw::c_uint) -> *mut ::std::os::raw::c_char;
17516}
17517pub type XrmQuark = ::std::os::raw::c_int;
17518pub type XrmQuarkList = *mut ::std::os::raw::c_int;
17519pub type XrmString = *mut ::std::os::raw::c_char;
17520extern "C" {
17521    pub fn XrmStringToQuark(arg1: *const ::std::os::raw::c_char) -> XrmQuark;
17522}
17523extern "C" {
17524    pub fn XrmPermStringToQuark(arg1: *const ::std::os::raw::c_char) -> XrmQuark;
17525}
17526extern "C" {
17527    pub fn XrmQuarkToString(arg1: XrmQuark) -> XrmString;
17528}
17529extern "C" {
17530    pub fn XrmUniqueQuark() -> XrmQuark;
17531}
17532pub const XrmBinding_XrmBindTightly: XrmBinding = 0;
17533pub const XrmBinding_XrmBindLoosely: XrmBinding = 1;
17534pub type XrmBinding = u32;
17535pub type XrmBindingList = *mut XrmBinding;
17536extern "C" {
17537    pub fn XrmStringToQuarkList(arg1: *const ::std::os::raw::c_char, arg2: XrmQuarkList);
17538}
17539extern "C" {
17540    pub fn XrmStringToBindingQuarkList(
17541        arg1: *const ::std::os::raw::c_char,
17542        arg2: XrmBindingList,
17543        arg3: XrmQuarkList,
17544    );
17545}
17546pub type XrmName = XrmQuark;
17547pub type XrmNameList = XrmQuarkList;
17548pub type XrmClass = XrmQuark;
17549pub type XrmClassList = XrmQuarkList;
17550pub type XrmRepresentation = XrmQuark;
17551#[repr(C)]
17552#[derive(Debug, Copy, Clone)]
17553pub struct XrmValue {
17554    pub size: ::std::os::raw::c_uint,
17555    pub addr: XPointer,
17556}
17557#[test]
17558fn bindgen_test_layout_XrmValue() {
17559    assert_eq!(
17560        ::std::mem::size_of::<XrmValue>(),
17561        16usize,
17562        concat!("Size of: ", stringify!(XrmValue))
17563    );
17564    assert_eq!(
17565        ::std::mem::align_of::<XrmValue>(),
17566        8usize,
17567        concat!("Alignment of ", stringify!(XrmValue))
17568    );
17569    assert_eq!(
17570        unsafe { &(*(::std::ptr::null::<XrmValue>())).size as *const _ as usize },
17571        0usize,
17572        concat!(
17573            "Offset of field: ",
17574            stringify!(XrmValue),
17575            "::",
17576            stringify!(size)
17577        )
17578    );
17579    assert_eq!(
17580        unsafe { &(*(::std::ptr::null::<XrmValue>())).addr as *const _ as usize },
17581        8usize,
17582        concat!(
17583            "Offset of field: ",
17584            stringify!(XrmValue),
17585            "::",
17586            stringify!(addr)
17587        )
17588    );
17589}
17590pub type XrmValuePtr = *mut XrmValue;
17591pub type XrmHashBucket = *mut _XrmHashBucketRec;
17592pub type XrmHashTable = *mut XrmHashBucket;
17593pub type XrmSearchList = [XrmHashTable; 0usize];
17594pub type XrmDatabase = *mut _XrmHashBucketRec;
17595extern "C" {
17596    pub fn XrmDestroyDatabase(arg1: XrmDatabase);
17597}
17598extern "C" {
17599    pub fn XrmQPutResource(
17600        arg1: *mut XrmDatabase,
17601        arg2: XrmBindingList,
17602        arg3: XrmQuarkList,
17603        arg4: XrmRepresentation,
17604        arg5: *mut XrmValue,
17605    );
17606}
17607extern "C" {
17608    pub fn XrmPutResource(
17609        arg1: *mut XrmDatabase,
17610        arg2: *const ::std::os::raw::c_char,
17611        arg3: *const ::std::os::raw::c_char,
17612        arg4: *mut XrmValue,
17613    );
17614}
17615extern "C" {
17616    pub fn XrmQPutStringResource(
17617        arg1: *mut XrmDatabase,
17618        arg2: XrmBindingList,
17619        arg3: XrmQuarkList,
17620        arg4: *const ::std::os::raw::c_char,
17621    );
17622}
17623extern "C" {
17624    pub fn XrmPutStringResource(
17625        arg1: *mut XrmDatabase,
17626        arg2: *const ::std::os::raw::c_char,
17627        arg3: *const ::std::os::raw::c_char,
17628    );
17629}
17630extern "C" {
17631    pub fn XrmPutLineResource(arg1: *mut XrmDatabase, arg2: *const ::std::os::raw::c_char);
17632}
17633extern "C" {
17634    pub fn XrmQGetResource(
17635        arg1: XrmDatabase,
17636        arg2: XrmNameList,
17637        arg3: XrmClassList,
17638        arg4: *mut XrmRepresentation,
17639        arg5: *mut XrmValue,
17640    ) -> ::std::os::raw::c_int;
17641}
17642extern "C" {
17643    pub fn XrmGetResource(
17644        arg1: XrmDatabase,
17645        arg2: *const ::std::os::raw::c_char,
17646        arg3: *const ::std::os::raw::c_char,
17647        arg4: *mut *mut ::std::os::raw::c_char,
17648        arg5: *mut XrmValue,
17649    ) -> ::std::os::raw::c_int;
17650}
17651extern "C" {
17652    pub fn XrmQGetSearchList(
17653        arg1: XrmDatabase,
17654        arg2: XrmNameList,
17655        arg3: XrmClassList,
17656        arg4: *mut XrmHashTable,
17657        arg5: ::std::os::raw::c_int,
17658    ) -> ::std::os::raw::c_int;
17659}
17660extern "C" {
17661    pub fn XrmQGetSearchResource(
17662        arg1: *mut XrmHashTable,
17663        arg2: XrmName,
17664        arg3: XrmClass,
17665        arg4: *mut XrmRepresentation,
17666        arg5: *mut XrmValue,
17667    ) -> ::std::os::raw::c_int;
17668}
17669extern "C" {
17670    pub fn XrmSetDatabase(arg1: *mut Display, arg2: XrmDatabase);
17671}
17672extern "C" {
17673    pub fn XrmGetDatabase(arg1: *mut Display) -> XrmDatabase;
17674}
17675extern "C" {
17676    pub fn XrmGetFileDatabase(arg1: *const ::std::os::raw::c_char) -> XrmDatabase;
17677}
17678extern "C" {
17679    pub fn XrmCombineFileDatabase(
17680        arg1: *const ::std::os::raw::c_char,
17681        arg2: *mut XrmDatabase,
17682        arg3: ::std::os::raw::c_int,
17683    ) -> ::std::os::raw::c_int;
17684}
17685extern "C" {
17686    pub fn XrmGetStringDatabase(arg1: *const ::std::os::raw::c_char) -> XrmDatabase;
17687}
17688extern "C" {
17689    pub fn XrmPutFileDatabase(arg1: XrmDatabase, arg2: *const ::std::os::raw::c_char);
17690}
17691extern "C" {
17692    pub fn XrmMergeDatabases(arg1: XrmDatabase, arg2: *mut XrmDatabase);
17693}
17694extern "C" {
17695    pub fn XrmCombineDatabase(
17696        arg1: XrmDatabase,
17697        arg2: *mut XrmDatabase,
17698        arg3: ::std::os::raw::c_int,
17699    );
17700}
17701extern "C" {
17702    pub fn XrmEnumerateDatabase(
17703        arg1: XrmDatabase,
17704        arg2: XrmNameList,
17705        arg3: XrmClassList,
17706        arg4: ::std::os::raw::c_int,
17707        arg5: ::std::option::Option<
17708            unsafe extern "C" fn(
17709                arg1: *mut XrmDatabase,
17710                arg2: XrmBindingList,
17711                arg3: XrmQuarkList,
17712                arg4: *mut XrmRepresentation,
17713                arg5: *mut XrmValue,
17714                arg6: XPointer,
17715            ) -> ::std::os::raw::c_int,
17716        >,
17717        arg6: XPointer,
17718    ) -> ::std::os::raw::c_int;
17719}
17720extern "C" {
17721    pub fn XrmLocaleOfDatabase(arg1: XrmDatabase) -> *const ::std::os::raw::c_char;
17722}
17723pub const XrmOptionKind_XrmoptionNoArg: XrmOptionKind = 0;
17724pub const XrmOptionKind_XrmoptionIsArg: XrmOptionKind = 1;
17725pub const XrmOptionKind_XrmoptionStickyArg: XrmOptionKind = 2;
17726pub const XrmOptionKind_XrmoptionSepArg: XrmOptionKind = 3;
17727pub const XrmOptionKind_XrmoptionResArg: XrmOptionKind = 4;
17728pub const XrmOptionKind_XrmoptionSkipArg: XrmOptionKind = 5;
17729pub const XrmOptionKind_XrmoptionSkipLine: XrmOptionKind = 6;
17730pub const XrmOptionKind_XrmoptionSkipNArgs: XrmOptionKind = 7;
17731pub type XrmOptionKind = u32;
17732#[repr(C)]
17733#[derive(Debug, Copy, Clone)]
17734pub struct XrmOptionDescRec {
17735    pub option: *mut ::std::os::raw::c_char,
17736    pub specifier: *mut ::std::os::raw::c_char,
17737    pub argKind: XrmOptionKind,
17738    pub value: XPointer,
17739}
17740#[test]
17741fn bindgen_test_layout_XrmOptionDescRec() {
17742    assert_eq!(
17743        ::std::mem::size_of::<XrmOptionDescRec>(),
17744        32usize,
17745        concat!("Size of: ", stringify!(XrmOptionDescRec))
17746    );
17747    assert_eq!(
17748        ::std::mem::align_of::<XrmOptionDescRec>(),
17749        8usize,
17750        concat!("Alignment of ", stringify!(XrmOptionDescRec))
17751    );
17752    assert_eq!(
17753        unsafe { &(*(::std::ptr::null::<XrmOptionDescRec>())).option as *const _ as usize },
17754        0usize,
17755        concat!(
17756            "Offset of field: ",
17757            stringify!(XrmOptionDescRec),
17758            "::",
17759            stringify!(option)
17760        )
17761    );
17762    assert_eq!(
17763        unsafe { &(*(::std::ptr::null::<XrmOptionDescRec>())).specifier as *const _ as usize },
17764        8usize,
17765        concat!(
17766            "Offset of field: ",
17767            stringify!(XrmOptionDescRec),
17768            "::",
17769            stringify!(specifier)
17770        )
17771    );
17772    assert_eq!(
17773        unsafe { &(*(::std::ptr::null::<XrmOptionDescRec>())).argKind as *const _ as usize },
17774        16usize,
17775        concat!(
17776            "Offset of field: ",
17777            stringify!(XrmOptionDescRec),
17778            "::",
17779            stringify!(argKind)
17780        )
17781    );
17782    assert_eq!(
17783        unsafe { &(*(::std::ptr::null::<XrmOptionDescRec>())).value as *const _ as usize },
17784        24usize,
17785        concat!(
17786            "Offset of field: ",
17787            stringify!(XrmOptionDescRec),
17788            "::",
17789            stringify!(value)
17790        )
17791    );
17792}
17793pub type XrmOptionDescList = *mut XrmOptionDescRec;
17794extern "C" {
17795    pub fn XrmParseCommand(
17796        arg1: *mut XrmDatabase,
17797        arg2: XrmOptionDescList,
17798        arg3: ::std::os::raw::c_int,
17799        arg4: *const ::std::os::raw::c_char,
17800        arg5: *mut ::std::os::raw::c_int,
17801        arg6: *mut *mut ::std::os::raw::c_char,
17802    );
17803}
17804#[repr(C)]
17805#[derive(Debug, Copy, Clone)]
17806pub struct XSizeHints {
17807    pub flags: ::std::os::raw::c_long,
17808    pub x: ::std::os::raw::c_int,
17809    pub y: ::std::os::raw::c_int,
17810    pub width: ::std::os::raw::c_int,
17811    pub height: ::std::os::raw::c_int,
17812    pub min_width: ::std::os::raw::c_int,
17813    pub min_height: ::std::os::raw::c_int,
17814    pub max_width: ::std::os::raw::c_int,
17815    pub max_height: ::std::os::raw::c_int,
17816    pub width_inc: ::std::os::raw::c_int,
17817    pub height_inc: ::std::os::raw::c_int,
17818    pub min_aspect: XSizeHints__bindgen_ty_1,
17819    pub max_aspect: XSizeHints__bindgen_ty_1,
17820    pub base_width: ::std::os::raw::c_int,
17821    pub base_height: ::std::os::raw::c_int,
17822    pub win_gravity: ::std::os::raw::c_int,
17823}
17824#[repr(C)]
17825#[derive(Debug, Copy, Clone)]
17826pub struct XSizeHints__bindgen_ty_1 {
17827    pub x: ::std::os::raw::c_int,
17828    pub y: ::std::os::raw::c_int,
17829}
17830#[test]
17831fn bindgen_test_layout_XSizeHints__bindgen_ty_1() {
17832    assert_eq!(
17833        ::std::mem::size_of::<XSizeHints__bindgen_ty_1>(),
17834        8usize,
17835        concat!("Size of: ", stringify!(XSizeHints__bindgen_ty_1))
17836    );
17837    assert_eq!(
17838        ::std::mem::align_of::<XSizeHints__bindgen_ty_1>(),
17839        4usize,
17840        concat!("Alignment of ", stringify!(XSizeHints__bindgen_ty_1))
17841    );
17842    assert_eq!(
17843        unsafe { &(*(::std::ptr::null::<XSizeHints__bindgen_ty_1>())).x as *const _ as usize },
17844        0usize,
17845        concat!(
17846            "Offset of field: ",
17847            stringify!(XSizeHints__bindgen_ty_1),
17848            "::",
17849            stringify!(x)
17850        )
17851    );
17852    assert_eq!(
17853        unsafe { &(*(::std::ptr::null::<XSizeHints__bindgen_ty_1>())).y as *const _ as usize },
17854        4usize,
17855        concat!(
17856            "Offset of field: ",
17857            stringify!(XSizeHints__bindgen_ty_1),
17858            "::",
17859            stringify!(y)
17860        )
17861    );
17862}
17863#[test]
17864fn bindgen_test_layout_XSizeHints() {
17865    assert_eq!(
17866        ::std::mem::size_of::<XSizeHints>(),
17867        80usize,
17868        concat!("Size of: ", stringify!(XSizeHints))
17869    );
17870    assert_eq!(
17871        ::std::mem::align_of::<XSizeHints>(),
17872        8usize,
17873        concat!("Alignment of ", stringify!(XSizeHints))
17874    );
17875    assert_eq!(
17876        unsafe { &(*(::std::ptr::null::<XSizeHints>())).flags as *const _ as usize },
17877        0usize,
17878        concat!(
17879            "Offset of field: ",
17880            stringify!(XSizeHints),
17881            "::",
17882            stringify!(flags)
17883        )
17884    );
17885    assert_eq!(
17886        unsafe { &(*(::std::ptr::null::<XSizeHints>())).x as *const _ as usize },
17887        8usize,
17888        concat!(
17889            "Offset of field: ",
17890            stringify!(XSizeHints),
17891            "::",
17892            stringify!(x)
17893        )
17894    );
17895    assert_eq!(
17896        unsafe { &(*(::std::ptr::null::<XSizeHints>())).y as *const _ as usize },
17897        12usize,
17898        concat!(
17899            "Offset of field: ",
17900            stringify!(XSizeHints),
17901            "::",
17902            stringify!(y)
17903        )
17904    );
17905    assert_eq!(
17906        unsafe { &(*(::std::ptr::null::<XSizeHints>())).width as *const _ as usize },
17907        16usize,
17908        concat!(
17909            "Offset of field: ",
17910            stringify!(XSizeHints),
17911            "::",
17912            stringify!(width)
17913        )
17914    );
17915    assert_eq!(
17916        unsafe { &(*(::std::ptr::null::<XSizeHints>())).height as *const _ as usize },
17917        20usize,
17918        concat!(
17919            "Offset of field: ",
17920            stringify!(XSizeHints),
17921            "::",
17922            stringify!(height)
17923        )
17924    );
17925    assert_eq!(
17926        unsafe { &(*(::std::ptr::null::<XSizeHints>())).min_width as *const _ as usize },
17927        24usize,
17928        concat!(
17929            "Offset of field: ",
17930            stringify!(XSizeHints),
17931            "::",
17932            stringify!(min_width)
17933        )
17934    );
17935    assert_eq!(
17936        unsafe { &(*(::std::ptr::null::<XSizeHints>())).min_height as *const _ as usize },
17937        28usize,
17938        concat!(
17939            "Offset of field: ",
17940            stringify!(XSizeHints),
17941            "::",
17942            stringify!(min_height)
17943        )
17944    );
17945    assert_eq!(
17946        unsafe { &(*(::std::ptr::null::<XSizeHints>())).max_width as *const _ as usize },
17947        32usize,
17948        concat!(
17949            "Offset of field: ",
17950            stringify!(XSizeHints),
17951            "::",
17952            stringify!(max_width)
17953        )
17954    );
17955    assert_eq!(
17956        unsafe { &(*(::std::ptr::null::<XSizeHints>())).max_height as *const _ as usize },
17957        36usize,
17958        concat!(
17959            "Offset of field: ",
17960            stringify!(XSizeHints),
17961            "::",
17962            stringify!(max_height)
17963        )
17964    );
17965    assert_eq!(
17966        unsafe { &(*(::std::ptr::null::<XSizeHints>())).width_inc as *const _ as usize },
17967        40usize,
17968        concat!(
17969            "Offset of field: ",
17970            stringify!(XSizeHints),
17971            "::",
17972            stringify!(width_inc)
17973        )
17974    );
17975    assert_eq!(
17976        unsafe { &(*(::std::ptr::null::<XSizeHints>())).height_inc as *const _ as usize },
17977        44usize,
17978        concat!(
17979            "Offset of field: ",
17980            stringify!(XSizeHints),
17981            "::",
17982            stringify!(height_inc)
17983        )
17984    );
17985    assert_eq!(
17986        unsafe { &(*(::std::ptr::null::<XSizeHints>())).min_aspect as *const _ as usize },
17987        48usize,
17988        concat!(
17989            "Offset of field: ",
17990            stringify!(XSizeHints),
17991            "::",
17992            stringify!(min_aspect)
17993        )
17994    );
17995    assert_eq!(
17996        unsafe { &(*(::std::ptr::null::<XSizeHints>())).max_aspect as *const _ as usize },
17997        56usize,
17998        concat!(
17999            "Offset of field: ",
18000            stringify!(XSizeHints),
18001            "::",
18002            stringify!(max_aspect)
18003        )
18004    );
18005    assert_eq!(
18006        unsafe { &(*(::std::ptr::null::<XSizeHints>())).base_width as *const _ as usize },
18007        64usize,
18008        concat!(
18009            "Offset of field: ",
18010            stringify!(XSizeHints),
18011            "::",
18012            stringify!(base_width)
18013        )
18014    );
18015    assert_eq!(
18016        unsafe { &(*(::std::ptr::null::<XSizeHints>())).base_height as *const _ as usize },
18017        68usize,
18018        concat!(
18019            "Offset of field: ",
18020            stringify!(XSizeHints),
18021            "::",
18022            stringify!(base_height)
18023        )
18024    );
18025    assert_eq!(
18026        unsafe { &(*(::std::ptr::null::<XSizeHints>())).win_gravity as *const _ as usize },
18027        72usize,
18028        concat!(
18029            "Offset of field: ",
18030            stringify!(XSizeHints),
18031            "::",
18032            stringify!(win_gravity)
18033        )
18034    );
18035}
18036#[repr(C)]
18037#[derive(Debug, Copy, Clone)]
18038pub struct XWMHints {
18039    pub flags: ::std::os::raw::c_long,
18040    pub input: ::std::os::raw::c_int,
18041    pub initial_state: ::std::os::raw::c_int,
18042    pub icon_pixmap: Pixmap,
18043    pub icon_window: Window,
18044    pub icon_x: ::std::os::raw::c_int,
18045    pub icon_y: ::std::os::raw::c_int,
18046    pub icon_mask: Pixmap,
18047    pub window_group: XID,
18048}
18049#[test]
18050fn bindgen_test_layout_XWMHints() {
18051    assert_eq!(
18052        ::std::mem::size_of::<XWMHints>(),
18053        56usize,
18054        concat!("Size of: ", stringify!(XWMHints))
18055    );
18056    assert_eq!(
18057        ::std::mem::align_of::<XWMHints>(),
18058        8usize,
18059        concat!("Alignment of ", stringify!(XWMHints))
18060    );
18061    assert_eq!(
18062        unsafe { &(*(::std::ptr::null::<XWMHints>())).flags as *const _ as usize },
18063        0usize,
18064        concat!(
18065            "Offset of field: ",
18066            stringify!(XWMHints),
18067            "::",
18068            stringify!(flags)
18069        )
18070    );
18071    assert_eq!(
18072        unsafe { &(*(::std::ptr::null::<XWMHints>())).input as *const _ as usize },
18073        8usize,
18074        concat!(
18075            "Offset of field: ",
18076            stringify!(XWMHints),
18077            "::",
18078            stringify!(input)
18079        )
18080    );
18081    assert_eq!(
18082        unsafe { &(*(::std::ptr::null::<XWMHints>())).initial_state as *const _ as usize },
18083        12usize,
18084        concat!(
18085            "Offset of field: ",
18086            stringify!(XWMHints),
18087            "::",
18088            stringify!(initial_state)
18089        )
18090    );
18091    assert_eq!(
18092        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_pixmap as *const _ as usize },
18093        16usize,
18094        concat!(
18095            "Offset of field: ",
18096            stringify!(XWMHints),
18097            "::",
18098            stringify!(icon_pixmap)
18099        )
18100    );
18101    assert_eq!(
18102        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_window as *const _ as usize },
18103        24usize,
18104        concat!(
18105            "Offset of field: ",
18106            stringify!(XWMHints),
18107            "::",
18108            stringify!(icon_window)
18109        )
18110    );
18111    assert_eq!(
18112        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_x as *const _ as usize },
18113        32usize,
18114        concat!(
18115            "Offset of field: ",
18116            stringify!(XWMHints),
18117            "::",
18118            stringify!(icon_x)
18119        )
18120    );
18121    assert_eq!(
18122        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_y as *const _ as usize },
18123        36usize,
18124        concat!(
18125            "Offset of field: ",
18126            stringify!(XWMHints),
18127            "::",
18128            stringify!(icon_y)
18129        )
18130    );
18131    assert_eq!(
18132        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_mask as *const _ as usize },
18133        40usize,
18134        concat!(
18135            "Offset of field: ",
18136            stringify!(XWMHints),
18137            "::",
18138            stringify!(icon_mask)
18139        )
18140    );
18141    assert_eq!(
18142        unsafe { &(*(::std::ptr::null::<XWMHints>())).window_group as *const _ as usize },
18143        48usize,
18144        concat!(
18145            "Offset of field: ",
18146            stringify!(XWMHints),
18147            "::",
18148            stringify!(window_group)
18149        )
18150    );
18151}
18152#[repr(C)]
18153#[derive(Debug, Copy, Clone)]
18154pub struct XTextProperty {
18155    pub value: *mut ::std::os::raw::c_uchar,
18156    pub encoding: Atom,
18157    pub format: ::std::os::raw::c_int,
18158    pub nitems: ::std::os::raw::c_ulong,
18159}
18160#[test]
18161fn bindgen_test_layout_XTextProperty() {
18162    assert_eq!(
18163        ::std::mem::size_of::<XTextProperty>(),
18164        32usize,
18165        concat!("Size of: ", stringify!(XTextProperty))
18166    );
18167    assert_eq!(
18168        ::std::mem::align_of::<XTextProperty>(),
18169        8usize,
18170        concat!("Alignment of ", stringify!(XTextProperty))
18171    );
18172    assert_eq!(
18173        unsafe { &(*(::std::ptr::null::<XTextProperty>())).value as *const _ as usize },
18174        0usize,
18175        concat!(
18176            "Offset of field: ",
18177            stringify!(XTextProperty),
18178            "::",
18179            stringify!(value)
18180        )
18181    );
18182    assert_eq!(
18183        unsafe { &(*(::std::ptr::null::<XTextProperty>())).encoding as *const _ as usize },
18184        8usize,
18185        concat!(
18186            "Offset of field: ",
18187            stringify!(XTextProperty),
18188            "::",
18189            stringify!(encoding)
18190        )
18191    );
18192    assert_eq!(
18193        unsafe { &(*(::std::ptr::null::<XTextProperty>())).format as *const _ as usize },
18194        16usize,
18195        concat!(
18196            "Offset of field: ",
18197            stringify!(XTextProperty),
18198            "::",
18199            stringify!(format)
18200        )
18201    );
18202    assert_eq!(
18203        unsafe { &(*(::std::ptr::null::<XTextProperty>())).nitems as *const _ as usize },
18204        24usize,
18205        concat!(
18206            "Offset of field: ",
18207            stringify!(XTextProperty),
18208            "::",
18209            stringify!(nitems)
18210        )
18211    );
18212}
18213pub const XICCEncodingStyle_XStringStyle: XICCEncodingStyle = 0;
18214pub const XICCEncodingStyle_XCompoundTextStyle: XICCEncodingStyle = 1;
18215pub const XICCEncodingStyle_XTextStyle: XICCEncodingStyle = 2;
18216pub const XICCEncodingStyle_XStdICCTextStyle: XICCEncodingStyle = 3;
18217pub const XICCEncodingStyle_XUTF8StringStyle: XICCEncodingStyle = 4;
18218pub type XICCEncodingStyle = u32;
18219#[repr(C)]
18220#[derive(Debug, Copy, Clone)]
18221pub struct XIconSize {
18222    pub min_width: ::std::os::raw::c_int,
18223    pub min_height: ::std::os::raw::c_int,
18224    pub max_width: ::std::os::raw::c_int,
18225    pub max_height: ::std::os::raw::c_int,
18226    pub width_inc: ::std::os::raw::c_int,
18227    pub height_inc: ::std::os::raw::c_int,
18228}
18229#[test]
18230fn bindgen_test_layout_XIconSize() {
18231    assert_eq!(
18232        ::std::mem::size_of::<XIconSize>(),
18233        24usize,
18234        concat!("Size of: ", stringify!(XIconSize))
18235    );
18236    assert_eq!(
18237        ::std::mem::align_of::<XIconSize>(),
18238        4usize,
18239        concat!("Alignment of ", stringify!(XIconSize))
18240    );
18241    assert_eq!(
18242        unsafe { &(*(::std::ptr::null::<XIconSize>())).min_width as *const _ as usize },
18243        0usize,
18244        concat!(
18245            "Offset of field: ",
18246            stringify!(XIconSize),
18247            "::",
18248            stringify!(min_width)
18249        )
18250    );
18251    assert_eq!(
18252        unsafe { &(*(::std::ptr::null::<XIconSize>())).min_height as *const _ as usize },
18253        4usize,
18254        concat!(
18255            "Offset of field: ",
18256            stringify!(XIconSize),
18257            "::",
18258            stringify!(min_height)
18259        )
18260    );
18261    assert_eq!(
18262        unsafe { &(*(::std::ptr::null::<XIconSize>())).max_width as *const _ as usize },
18263        8usize,
18264        concat!(
18265            "Offset of field: ",
18266            stringify!(XIconSize),
18267            "::",
18268            stringify!(max_width)
18269        )
18270    );
18271    assert_eq!(
18272        unsafe { &(*(::std::ptr::null::<XIconSize>())).max_height as *const _ as usize },
18273        12usize,
18274        concat!(
18275            "Offset of field: ",
18276            stringify!(XIconSize),
18277            "::",
18278            stringify!(max_height)
18279        )
18280    );
18281    assert_eq!(
18282        unsafe { &(*(::std::ptr::null::<XIconSize>())).width_inc as *const _ as usize },
18283        16usize,
18284        concat!(
18285            "Offset of field: ",
18286            stringify!(XIconSize),
18287            "::",
18288            stringify!(width_inc)
18289        )
18290    );
18291    assert_eq!(
18292        unsafe { &(*(::std::ptr::null::<XIconSize>())).height_inc as *const _ as usize },
18293        20usize,
18294        concat!(
18295            "Offset of field: ",
18296            stringify!(XIconSize),
18297            "::",
18298            stringify!(height_inc)
18299        )
18300    );
18301}
18302#[repr(C)]
18303#[derive(Debug, Copy, Clone)]
18304pub struct XClassHint {
18305    pub res_name: *mut ::std::os::raw::c_char,
18306    pub res_class: *mut ::std::os::raw::c_char,
18307}
18308#[test]
18309fn bindgen_test_layout_XClassHint() {
18310    assert_eq!(
18311        ::std::mem::size_of::<XClassHint>(),
18312        16usize,
18313        concat!("Size of: ", stringify!(XClassHint))
18314    );
18315    assert_eq!(
18316        ::std::mem::align_of::<XClassHint>(),
18317        8usize,
18318        concat!("Alignment of ", stringify!(XClassHint))
18319    );
18320    assert_eq!(
18321        unsafe { &(*(::std::ptr::null::<XClassHint>())).res_name as *const _ as usize },
18322        0usize,
18323        concat!(
18324            "Offset of field: ",
18325            stringify!(XClassHint),
18326            "::",
18327            stringify!(res_name)
18328        )
18329    );
18330    assert_eq!(
18331        unsafe { &(*(::std::ptr::null::<XClassHint>())).res_class as *const _ as usize },
18332        8usize,
18333        concat!(
18334            "Offset of field: ",
18335            stringify!(XClassHint),
18336            "::",
18337            stringify!(res_class)
18338        )
18339    );
18340}
18341#[repr(C)]
18342#[derive(Debug, Copy, Clone)]
18343pub struct _XComposeStatus {
18344    pub compose_ptr: XPointer,
18345    pub chars_matched: ::std::os::raw::c_int,
18346}
18347#[test]
18348fn bindgen_test_layout__XComposeStatus() {
18349    assert_eq!(
18350        ::std::mem::size_of::<_XComposeStatus>(),
18351        16usize,
18352        concat!("Size of: ", stringify!(_XComposeStatus))
18353    );
18354    assert_eq!(
18355        ::std::mem::align_of::<_XComposeStatus>(),
18356        8usize,
18357        concat!("Alignment of ", stringify!(_XComposeStatus))
18358    );
18359    assert_eq!(
18360        unsafe { &(*(::std::ptr::null::<_XComposeStatus>())).compose_ptr as *const _ as usize },
18361        0usize,
18362        concat!(
18363            "Offset of field: ",
18364            stringify!(_XComposeStatus),
18365            "::",
18366            stringify!(compose_ptr)
18367        )
18368    );
18369    assert_eq!(
18370        unsafe { &(*(::std::ptr::null::<_XComposeStatus>())).chars_matched as *const _ as usize },
18371        8usize,
18372        concat!(
18373            "Offset of field: ",
18374            stringify!(_XComposeStatus),
18375            "::",
18376            stringify!(chars_matched)
18377        )
18378    );
18379}
18380pub type XComposeStatus = _XComposeStatus;
18381#[repr(C)]
18382#[derive(Debug, Copy, Clone)]
18383pub struct _XRegion {
18384    _unused: [u8; 0],
18385}
18386pub type Region = *mut _XRegion;
18387#[repr(C)]
18388#[derive(Debug, Copy, Clone)]
18389pub struct XVisualInfo {
18390    pub visual: *mut Visual,
18391    pub visualid: VisualID,
18392    pub screen: ::std::os::raw::c_int,
18393    pub depth: ::std::os::raw::c_int,
18394    pub class: ::std::os::raw::c_int,
18395    pub red_mask: ::std::os::raw::c_ulong,
18396    pub green_mask: ::std::os::raw::c_ulong,
18397    pub blue_mask: ::std::os::raw::c_ulong,
18398    pub colormap_size: ::std::os::raw::c_int,
18399    pub bits_per_rgb: ::std::os::raw::c_int,
18400}
18401#[test]
18402fn bindgen_test_layout_XVisualInfo() {
18403    assert_eq!(
18404        ::std::mem::size_of::<XVisualInfo>(),
18405        64usize,
18406        concat!("Size of: ", stringify!(XVisualInfo))
18407    );
18408    assert_eq!(
18409        ::std::mem::align_of::<XVisualInfo>(),
18410        8usize,
18411        concat!("Alignment of ", stringify!(XVisualInfo))
18412    );
18413    assert_eq!(
18414        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).visual as *const _ as usize },
18415        0usize,
18416        concat!(
18417            "Offset of field: ",
18418            stringify!(XVisualInfo),
18419            "::",
18420            stringify!(visual)
18421        )
18422    );
18423    assert_eq!(
18424        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).visualid as *const _ as usize },
18425        8usize,
18426        concat!(
18427            "Offset of field: ",
18428            stringify!(XVisualInfo),
18429            "::",
18430            stringify!(visualid)
18431        )
18432    );
18433    assert_eq!(
18434        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).screen as *const _ as usize },
18435        16usize,
18436        concat!(
18437            "Offset of field: ",
18438            stringify!(XVisualInfo),
18439            "::",
18440            stringify!(screen)
18441        )
18442    );
18443    assert_eq!(
18444        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).depth as *const _ as usize },
18445        20usize,
18446        concat!(
18447            "Offset of field: ",
18448            stringify!(XVisualInfo),
18449            "::",
18450            stringify!(depth)
18451        )
18452    );
18453    assert_eq!(
18454        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).class as *const _ as usize },
18455        24usize,
18456        concat!(
18457            "Offset of field: ",
18458            stringify!(XVisualInfo),
18459            "::",
18460            stringify!(class)
18461        )
18462    );
18463    assert_eq!(
18464        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).red_mask as *const _ as usize },
18465        32usize,
18466        concat!(
18467            "Offset of field: ",
18468            stringify!(XVisualInfo),
18469            "::",
18470            stringify!(red_mask)
18471        )
18472    );
18473    assert_eq!(
18474        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).green_mask as *const _ as usize },
18475        40usize,
18476        concat!(
18477            "Offset of field: ",
18478            stringify!(XVisualInfo),
18479            "::",
18480            stringify!(green_mask)
18481        )
18482    );
18483    assert_eq!(
18484        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).blue_mask as *const _ as usize },
18485        48usize,
18486        concat!(
18487            "Offset of field: ",
18488            stringify!(XVisualInfo),
18489            "::",
18490            stringify!(blue_mask)
18491        )
18492    );
18493    assert_eq!(
18494        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).colormap_size as *const _ as usize },
18495        56usize,
18496        concat!(
18497            "Offset of field: ",
18498            stringify!(XVisualInfo),
18499            "::",
18500            stringify!(colormap_size)
18501        )
18502    );
18503    assert_eq!(
18504        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).bits_per_rgb as *const _ as usize },
18505        60usize,
18506        concat!(
18507            "Offset of field: ",
18508            stringify!(XVisualInfo),
18509            "::",
18510            stringify!(bits_per_rgb)
18511        )
18512    );
18513}
18514#[repr(C)]
18515#[derive(Debug, Copy, Clone)]
18516pub struct XStandardColormap {
18517    pub colormap: Colormap,
18518    pub red_max: ::std::os::raw::c_ulong,
18519    pub red_mult: ::std::os::raw::c_ulong,
18520    pub green_max: ::std::os::raw::c_ulong,
18521    pub green_mult: ::std::os::raw::c_ulong,
18522    pub blue_max: ::std::os::raw::c_ulong,
18523    pub blue_mult: ::std::os::raw::c_ulong,
18524    pub base_pixel: ::std::os::raw::c_ulong,
18525    pub visualid: VisualID,
18526    pub killid: XID,
18527}
18528#[test]
18529fn bindgen_test_layout_XStandardColormap() {
18530    assert_eq!(
18531        ::std::mem::size_of::<XStandardColormap>(),
18532        80usize,
18533        concat!("Size of: ", stringify!(XStandardColormap))
18534    );
18535    assert_eq!(
18536        ::std::mem::align_of::<XStandardColormap>(),
18537        8usize,
18538        concat!("Alignment of ", stringify!(XStandardColormap))
18539    );
18540    assert_eq!(
18541        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).colormap as *const _ as usize },
18542        0usize,
18543        concat!(
18544            "Offset of field: ",
18545            stringify!(XStandardColormap),
18546            "::",
18547            stringify!(colormap)
18548        )
18549    );
18550    assert_eq!(
18551        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).red_max as *const _ as usize },
18552        8usize,
18553        concat!(
18554            "Offset of field: ",
18555            stringify!(XStandardColormap),
18556            "::",
18557            stringify!(red_max)
18558        )
18559    );
18560    assert_eq!(
18561        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).red_mult as *const _ as usize },
18562        16usize,
18563        concat!(
18564            "Offset of field: ",
18565            stringify!(XStandardColormap),
18566            "::",
18567            stringify!(red_mult)
18568        )
18569    );
18570    assert_eq!(
18571        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).green_max as *const _ as usize },
18572        24usize,
18573        concat!(
18574            "Offset of field: ",
18575            stringify!(XStandardColormap),
18576            "::",
18577            stringify!(green_max)
18578        )
18579    );
18580    assert_eq!(
18581        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).green_mult as *const _ as usize },
18582        32usize,
18583        concat!(
18584            "Offset of field: ",
18585            stringify!(XStandardColormap),
18586            "::",
18587            stringify!(green_mult)
18588        )
18589    );
18590    assert_eq!(
18591        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).blue_max as *const _ as usize },
18592        40usize,
18593        concat!(
18594            "Offset of field: ",
18595            stringify!(XStandardColormap),
18596            "::",
18597            stringify!(blue_max)
18598        )
18599    );
18600    assert_eq!(
18601        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).blue_mult as *const _ as usize },
18602        48usize,
18603        concat!(
18604            "Offset of field: ",
18605            stringify!(XStandardColormap),
18606            "::",
18607            stringify!(blue_mult)
18608        )
18609    );
18610    assert_eq!(
18611        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).base_pixel as *const _ as usize },
18612        56usize,
18613        concat!(
18614            "Offset of field: ",
18615            stringify!(XStandardColormap),
18616            "::",
18617            stringify!(base_pixel)
18618        )
18619    );
18620    assert_eq!(
18621        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).visualid as *const _ as usize },
18622        64usize,
18623        concat!(
18624            "Offset of field: ",
18625            stringify!(XStandardColormap),
18626            "::",
18627            stringify!(visualid)
18628        )
18629    );
18630    assert_eq!(
18631        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).killid as *const _ as usize },
18632        72usize,
18633        concat!(
18634            "Offset of field: ",
18635            stringify!(XStandardColormap),
18636            "::",
18637            stringify!(killid)
18638        )
18639    );
18640}
18641pub type XContext = ::std::os::raw::c_int;
18642extern "C" {
18643    pub fn XAllocClassHint() -> *mut XClassHint;
18644}
18645extern "C" {
18646    pub fn XAllocIconSize() -> *mut XIconSize;
18647}
18648extern "C" {
18649    pub fn XAllocSizeHints() -> *mut XSizeHints;
18650}
18651extern "C" {
18652    pub fn XAllocStandardColormap() -> *mut XStandardColormap;
18653}
18654extern "C" {
18655    pub fn XAllocWMHints() -> *mut XWMHints;
18656}
18657extern "C" {
18658    pub fn XClipBox(arg1: Region, arg2: *mut XRectangle) -> ::std::os::raw::c_int;
18659}
18660extern "C" {
18661    pub fn XCreateRegion() -> Region;
18662}
18663extern "C" {
18664    pub fn XDefaultString() -> *const ::std::os::raw::c_char;
18665}
18666extern "C" {
18667    pub fn XDeleteContext(arg1: *mut Display, arg2: XID, arg3: XContext) -> ::std::os::raw::c_int;
18668}
18669extern "C" {
18670    pub fn XDestroyRegion(arg1: Region) -> ::std::os::raw::c_int;
18671}
18672extern "C" {
18673    pub fn XEmptyRegion(arg1: Region) -> ::std::os::raw::c_int;
18674}
18675extern "C" {
18676    pub fn XEqualRegion(arg1: Region, arg2: Region) -> ::std::os::raw::c_int;
18677}
18678extern "C" {
18679    pub fn XFindContext(
18680        arg1: *mut Display,
18681        arg2: XID,
18682        arg3: XContext,
18683        arg4: *mut XPointer,
18684    ) -> ::std::os::raw::c_int;
18685}
18686extern "C" {
18687    pub fn XGetClassHint(
18688        arg1: *mut Display,
18689        arg2: Window,
18690        arg3: *mut XClassHint,
18691    ) -> ::std::os::raw::c_int;
18692}
18693extern "C" {
18694    pub fn XGetIconSizes(
18695        arg1: *mut Display,
18696        arg2: Window,
18697        arg3: *mut *mut XIconSize,
18698        arg4: *mut ::std::os::raw::c_int,
18699    ) -> ::std::os::raw::c_int;
18700}
18701extern "C" {
18702    pub fn XGetNormalHints(
18703        arg1: *mut Display,
18704        arg2: Window,
18705        arg3: *mut XSizeHints,
18706    ) -> ::std::os::raw::c_int;
18707}
18708extern "C" {
18709    pub fn XGetRGBColormaps(
18710        arg1: *mut Display,
18711        arg2: Window,
18712        arg3: *mut *mut XStandardColormap,
18713        arg4: *mut ::std::os::raw::c_int,
18714        arg5: Atom,
18715    ) -> ::std::os::raw::c_int;
18716}
18717extern "C" {
18718    pub fn XGetSizeHints(
18719        arg1: *mut Display,
18720        arg2: Window,
18721        arg3: *mut XSizeHints,
18722        arg4: Atom,
18723    ) -> ::std::os::raw::c_int;
18724}
18725extern "C" {
18726    pub fn XGetStandardColormap(
18727        arg1: *mut Display,
18728        arg2: Window,
18729        arg3: *mut XStandardColormap,
18730        arg4: Atom,
18731    ) -> ::std::os::raw::c_int;
18732}
18733extern "C" {
18734    pub fn XGetTextProperty(
18735        arg1: *mut Display,
18736        arg2: Window,
18737        arg3: *mut XTextProperty,
18738        arg4: Atom,
18739    ) -> ::std::os::raw::c_int;
18740}
18741extern "C" {
18742    pub fn XGetVisualInfo(
18743        arg1: *mut Display,
18744        arg2: ::std::os::raw::c_long,
18745        arg3: *mut XVisualInfo,
18746        arg4: *mut ::std::os::raw::c_int,
18747    ) -> *mut XVisualInfo;
18748}
18749extern "C" {
18750    pub fn XGetWMClientMachine(
18751        arg1: *mut Display,
18752        arg2: Window,
18753        arg3: *mut XTextProperty,
18754    ) -> ::std::os::raw::c_int;
18755}
18756extern "C" {
18757    pub fn XGetWMHints(arg1: *mut Display, arg2: Window) -> *mut XWMHints;
18758}
18759extern "C" {
18760    pub fn XGetWMIconName(
18761        arg1: *mut Display,
18762        arg2: Window,
18763        arg3: *mut XTextProperty,
18764    ) -> ::std::os::raw::c_int;
18765}
18766extern "C" {
18767    pub fn XGetWMName(
18768        arg1: *mut Display,
18769        arg2: Window,
18770        arg3: *mut XTextProperty,
18771    ) -> ::std::os::raw::c_int;
18772}
18773extern "C" {
18774    pub fn XGetWMNormalHints(
18775        arg1: *mut Display,
18776        arg2: Window,
18777        arg3: *mut XSizeHints,
18778        arg4: *mut ::std::os::raw::c_long,
18779    ) -> ::std::os::raw::c_int;
18780}
18781extern "C" {
18782    pub fn XGetWMSizeHints(
18783        arg1: *mut Display,
18784        arg2: Window,
18785        arg3: *mut XSizeHints,
18786        arg4: *mut ::std::os::raw::c_long,
18787        arg5: Atom,
18788    ) -> ::std::os::raw::c_int;
18789}
18790extern "C" {
18791    pub fn XGetZoomHints(
18792        arg1: *mut Display,
18793        arg2: Window,
18794        arg3: *mut XSizeHints,
18795    ) -> ::std::os::raw::c_int;
18796}
18797extern "C" {
18798    pub fn XIntersectRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
18799}
18800extern "C" {
18801    pub fn XConvertCase(arg1: KeySym, arg2: *mut KeySym, arg3: *mut KeySym);
18802}
18803extern "C" {
18804    pub fn XLookupString(
18805        arg1: *mut XKeyEvent,
18806        arg2: *mut ::std::os::raw::c_char,
18807        arg3: ::std::os::raw::c_int,
18808        arg4: *mut KeySym,
18809        arg5: *mut XComposeStatus,
18810    ) -> ::std::os::raw::c_int;
18811}
18812extern "C" {
18813    pub fn XMatchVisualInfo(
18814        arg1: *mut Display,
18815        arg2: ::std::os::raw::c_int,
18816        arg3: ::std::os::raw::c_int,
18817        arg4: ::std::os::raw::c_int,
18818        arg5: *mut XVisualInfo,
18819    ) -> ::std::os::raw::c_int;
18820}
18821extern "C" {
18822    pub fn XOffsetRegion(
18823        arg1: Region,
18824        arg2: ::std::os::raw::c_int,
18825        arg3: ::std::os::raw::c_int,
18826    ) -> ::std::os::raw::c_int;
18827}
18828extern "C" {
18829    pub fn XPointInRegion(
18830        arg1: Region,
18831        arg2: ::std::os::raw::c_int,
18832        arg3: ::std::os::raw::c_int,
18833    ) -> ::std::os::raw::c_int;
18834}
18835extern "C" {
18836    pub fn XPolygonRegion(
18837        arg1: *mut XPoint,
18838        arg2: ::std::os::raw::c_int,
18839        arg3: ::std::os::raw::c_int,
18840    ) -> Region;
18841}
18842extern "C" {
18843    pub fn XRectInRegion(
18844        arg1: Region,
18845        arg2: ::std::os::raw::c_int,
18846        arg3: ::std::os::raw::c_int,
18847        arg4: ::std::os::raw::c_uint,
18848        arg5: ::std::os::raw::c_uint,
18849    ) -> ::std::os::raw::c_int;
18850}
18851extern "C" {
18852    pub fn XSaveContext(
18853        arg1: *mut Display,
18854        arg2: XID,
18855        arg3: XContext,
18856        arg4: *const ::std::os::raw::c_char,
18857    ) -> ::std::os::raw::c_int;
18858}
18859extern "C" {
18860    pub fn XSetClassHint(
18861        arg1: *mut Display,
18862        arg2: Window,
18863        arg3: *mut XClassHint,
18864    ) -> ::std::os::raw::c_int;
18865}
18866extern "C" {
18867    pub fn XSetIconSizes(
18868        arg1: *mut Display,
18869        arg2: Window,
18870        arg3: *mut XIconSize,
18871        arg4: ::std::os::raw::c_int,
18872    ) -> ::std::os::raw::c_int;
18873}
18874extern "C" {
18875    pub fn XSetNormalHints(
18876        arg1: *mut Display,
18877        arg2: Window,
18878        arg3: *mut XSizeHints,
18879    ) -> ::std::os::raw::c_int;
18880}
18881extern "C" {
18882    pub fn XSetRGBColormaps(
18883        arg1: *mut Display,
18884        arg2: Window,
18885        arg3: *mut XStandardColormap,
18886        arg4: ::std::os::raw::c_int,
18887        arg5: Atom,
18888    );
18889}
18890extern "C" {
18891    pub fn XSetSizeHints(
18892        arg1: *mut Display,
18893        arg2: Window,
18894        arg3: *mut XSizeHints,
18895        arg4: Atom,
18896    ) -> ::std::os::raw::c_int;
18897}
18898extern "C" {
18899    pub fn XSetStandardProperties(
18900        arg1: *mut Display,
18901        arg2: Window,
18902        arg3: *const ::std::os::raw::c_char,
18903        arg4: *const ::std::os::raw::c_char,
18904        arg5: Pixmap,
18905        arg6: *mut *mut ::std::os::raw::c_char,
18906        arg7: ::std::os::raw::c_int,
18907        arg8: *mut XSizeHints,
18908    ) -> ::std::os::raw::c_int;
18909}
18910extern "C" {
18911    pub fn XSetTextProperty(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty, arg4: Atom);
18912}
18913extern "C" {
18914    pub fn XSetWMClientMachine(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty);
18915}
18916extern "C" {
18917    pub fn XSetWMHints(
18918        arg1: *mut Display,
18919        arg2: Window,
18920        arg3: *mut XWMHints,
18921    ) -> ::std::os::raw::c_int;
18922}
18923extern "C" {
18924    pub fn XSetWMIconName(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty);
18925}
18926extern "C" {
18927    pub fn XSetWMName(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty);
18928}
18929extern "C" {
18930    pub fn XSetWMNormalHints(arg1: *mut Display, arg2: Window, arg3: *mut XSizeHints);
18931}
18932extern "C" {
18933    pub fn XSetWMProperties(
18934        arg1: *mut Display,
18935        arg2: Window,
18936        arg3: *mut XTextProperty,
18937        arg4: *mut XTextProperty,
18938        arg5: *mut *mut ::std::os::raw::c_char,
18939        arg6: ::std::os::raw::c_int,
18940        arg7: *mut XSizeHints,
18941        arg8: *mut XWMHints,
18942        arg9: *mut XClassHint,
18943    );
18944}
18945extern "C" {
18946    pub fn XmbSetWMProperties(
18947        arg1: *mut Display,
18948        arg2: Window,
18949        arg3: *const ::std::os::raw::c_char,
18950        arg4: *const ::std::os::raw::c_char,
18951        arg5: *mut *mut ::std::os::raw::c_char,
18952        arg6: ::std::os::raw::c_int,
18953        arg7: *mut XSizeHints,
18954        arg8: *mut XWMHints,
18955        arg9: *mut XClassHint,
18956    );
18957}
18958extern "C" {
18959    pub fn Xutf8SetWMProperties(
18960        arg1: *mut Display,
18961        arg2: Window,
18962        arg3: *const ::std::os::raw::c_char,
18963        arg4: *const ::std::os::raw::c_char,
18964        arg5: *mut *mut ::std::os::raw::c_char,
18965        arg6: ::std::os::raw::c_int,
18966        arg7: *mut XSizeHints,
18967        arg8: *mut XWMHints,
18968        arg9: *mut XClassHint,
18969    );
18970}
18971extern "C" {
18972    pub fn XSetWMSizeHints(arg1: *mut Display, arg2: Window, arg3: *mut XSizeHints, arg4: Atom);
18973}
18974extern "C" {
18975    pub fn XSetRegion(arg1: *mut Display, arg2: GC, arg3: Region) -> ::std::os::raw::c_int;
18976}
18977extern "C" {
18978    pub fn XSetStandardColormap(
18979        arg1: *mut Display,
18980        arg2: Window,
18981        arg3: *mut XStandardColormap,
18982        arg4: Atom,
18983    );
18984}
18985extern "C" {
18986    pub fn XSetZoomHints(
18987        arg1: *mut Display,
18988        arg2: Window,
18989        arg3: *mut XSizeHints,
18990    ) -> ::std::os::raw::c_int;
18991}
18992extern "C" {
18993    pub fn XShrinkRegion(
18994        arg1: Region,
18995        arg2: ::std::os::raw::c_int,
18996        arg3: ::std::os::raw::c_int,
18997    ) -> ::std::os::raw::c_int;
18998}
18999extern "C" {
19000    pub fn XStringListToTextProperty(
19001        arg1: *mut *mut ::std::os::raw::c_char,
19002        arg2: ::std::os::raw::c_int,
19003        arg3: *mut XTextProperty,
19004    ) -> ::std::os::raw::c_int;
19005}
19006extern "C" {
19007    pub fn XSubtractRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
19008}
19009extern "C" {
19010    pub fn XmbTextListToTextProperty(
19011        display: *mut Display,
19012        list: *mut *mut ::std::os::raw::c_char,
19013        count: ::std::os::raw::c_int,
19014        style: XICCEncodingStyle,
19015        text_prop_return: *mut XTextProperty,
19016    ) -> ::std::os::raw::c_int;
19017}
19018extern "C" {
19019    pub fn XwcTextListToTextProperty(
19020        display: *mut Display,
19021        list: *mut *mut wchar_t,
19022        count: ::std::os::raw::c_int,
19023        style: XICCEncodingStyle,
19024        text_prop_return: *mut XTextProperty,
19025    ) -> ::std::os::raw::c_int;
19026}
19027extern "C" {
19028    pub fn Xutf8TextListToTextProperty(
19029        display: *mut Display,
19030        list: *mut *mut ::std::os::raw::c_char,
19031        count: ::std::os::raw::c_int,
19032        style: XICCEncodingStyle,
19033        text_prop_return: *mut XTextProperty,
19034    ) -> ::std::os::raw::c_int;
19035}
19036extern "C" {
19037    pub fn XwcFreeStringList(list: *mut *mut wchar_t);
19038}
19039extern "C" {
19040    pub fn XTextPropertyToStringList(
19041        arg1: *mut XTextProperty,
19042        arg2: *mut *mut *mut ::std::os::raw::c_char,
19043        arg3: *mut ::std::os::raw::c_int,
19044    ) -> ::std::os::raw::c_int;
19045}
19046extern "C" {
19047    pub fn XmbTextPropertyToTextList(
19048        display: *mut Display,
19049        text_prop: *const XTextProperty,
19050        list_return: *mut *mut *mut ::std::os::raw::c_char,
19051        count_return: *mut ::std::os::raw::c_int,
19052    ) -> ::std::os::raw::c_int;
19053}
19054extern "C" {
19055    pub fn XwcTextPropertyToTextList(
19056        display: *mut Display,
19057        text_prop: *const XTextProperty,
19058        list_return: *mut *mut *mut wchar_t,
19059        count_return: *mut ::std::os::raw::c_int,
19060    ) -> ::std::os::raw::c_int;
19061}
19062extern "C" {
19063    pub fn Xutf8TextPropertyToTextList(
19064        display: *mut Display,
19065        text_prop: *const XTextProperty,
19066        list_return: *mut *mut *mut ::std::os::raw::c_char,
19067        count_return: *mut ::std::os::raw::c_int,
19068    ) -> ::std::os::raw::c_int;
19069}
19070extern "C" {
19071    pub fn XUnionRectWithRegion(
19072        arg1: *mut XRectangle,
19073        arg2: Region,
19074        arg3: Region,
19075    ) -> ::std::os::raw::c_int;
19076}
19077extern "C" {
19078    pub fn XUnionRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
19079}
19080extern "C" {
19081    pub fn XWMGeometry(
19082        arg1: *mut Display,
19083        arg2: ::std::os::raw::c_int,
19084        arg3: *const ::std::os::raw::c_char,
19085        arg4: *const ::std::os::raw::c_char,
19086        arg5: ::std::os::raw::c_uint,
19087        arg6: *mut XSizeHints,
19088        arg7: *mut ::std::os::raw::c_int,
19089        arg8: *mut ::std::os::raw::c_int,
19090        arg9: *mut ::std::os::raw::c_int,
19091        arg10: *mut ::std::os::raw::c_int,
19092        arg11: *mut ::std::os::raw::c_int,
19093    ) -> ::std::os::raw::c_int;
19094}
19095extern "C" {
19096    pub fn XXorRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
19097}
19098pub type __builtin_va_list = [__va_list_tag; 1usize];
19099#[repr(C)]
19100#[derive(Debug, Copy, Clone)]
19101pub struct __va_list_tag {
19102    pub gp_offset: ::std::os::raw::c_uint,
19103    pub fp_offset: ::std::os::raw::c_uint,
19104    pub overflow_arg_area: *mut ::std::os::raw::c_void,
19105    pub reg_save_area: *mut ::std::os::raw::c_void,
19106}
19107#[test]
19108fn bindgen_test_layout___va_list_tag() {
19109    assert_eq!(
19110        ::std::mem::size_of::<__va_list_tag>(),
19111        24usize,
19112        concat!("Size of: ", stringify!(__va_list_tag))
19113    );
19114    assert_eq!(
19115        ::std::mem::align_of::<__va_list_tag>(),
19116        8usize,
19117        concat!("Alignment of ", stringify!(__va_list_tag))
19118    );
19119    assert_eq!(
19120        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
19121        0usize,
19122        concat!(
19123            "Offset of field: ",
19124            stringify!(__va_list_tag),
19125            "::",
19126            stringify!(gp_offset)
19127        )
19128    );
19129    assert_eq!(
19130        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
19131        4usize,
19132        concat!(
19133            "Offset of field: ",
19134            stringify!(__va_list_tag),
19135            "::",
19136            stringify!(fp_offset)
19137        )
19138    );
19139    assert_eq!(
19140        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
19141        8usize,
19142        concat!(
19143            "Offset of field: ",
19144            stringify!(__va_list_tag),
19145            "::",
19146            stringify!(overflow_arg_area)
19147        )
19148    );
19149    assert_eq!(
19150        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
19151        16usize,
19152        concat!(
19153            "Offset of field: ",
19154            stringify!(__va_list_tag),
19155            "::",
19156            stringify!(reg_save_area)
19157        )
19158    );
19159}