sapp_kms/
egl.rs

1/* automatically generated by rust-bindgen */
2
3pub const __egl_h_: u32 = 1;
4pub const _STDINT_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 = 30;
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 __GLIBC_USE_LIB_EXT2: u32 = 0;
39pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
40pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
41pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
42pub const _BITS_TYPES_H: u32 = 1;
43pub const __TIMESIZE: u32 = 64;
44pub const _BITS_TYPESIZES_H: u32 = 1;
45pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
46pub const __INO_T_MATCHES_INO64_T: u32 = 1;
47pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
48pub const __FD_SETSIZE: u32 = 1024;
49pub const _BITS_TIME64_H: u32 = 1;
50pub const _BITS_WCHAR_H: u32 = 1;
51pub const _BITS_STDINT_INTN_H: u32 = 1;
52pub const _BITS_STDINT_UINTN_H: u32 = 1;
53pub const INT8_MIN: i32 = -128;
54pub const INT16_MIN: i32 = -32768;
55pub const INT32_MIN: i32 = -2147483648;
56pub const INT8_MAX: u32 = 127;
57pub const INT16_MAX: u32 = 32767;
58pub const INT32_MAX: u32 = 2147483647;
59pub const UINT8_MAX: u32 = 255;
60pub const UINT16_MAX: u32 = 65535;
61pub const UINT32_MAX: u32 = 4294967295;
62pub const INT_LEAST8_MIN: i32 = -128;
63pub const INT_LEAST16_MIN: i32 = -32768;
64pub const INT_LEAST32_MIN: i32 = -2147483648;
65pub const INT_LEAST8_MAX: u32 = 127;
66pub const INT_LEAST16_MAX: u32 = 32767;
67pub const INT_LEAST32_MAX: u32 = 2147483647;
68pub const UINT_LEAST8_MAX: u32 = 255;
69pub const UINT_LEAST16_MAX: u32 = 65535;
70pub const UINT_LEAST32_MAX: u32 = 4294967295;
71pub const INT_FAST8_MIN: i32 = -128;
72pub const INT_FAST16_MIN: i64 = -9223372036854775808;
73pub const INT_FAST32_MIN: i64 = -9223372036854775808;
74pub const INT_FAST8_MAX: u32 = 127;
75pub const INT_FAST16_MAX: u64 = 9223372036854775807;
76pub const INT_FAST32_MAX: u64 = 9223372036854775807;
77pub const UINT_FAST8_MAX: u32 = 255;
78pub const UINT_FAST16_MAX: i32 = -1;
79pub const UINT_FAST32_MAX: i32 = -1;
80pub const INTPTR_MIN: i64 = -9223372036854775808;
81pub const INTPTR_MAX: u64 = 9223372036854775807;
82pub const UINTPTR_MAX: i32 = -1;
83pub const PTRDIFF_MIN: i64 = -9223372036854775808;
84pub const PTRDIFF_MAX: u64 = 9223372036854775807;
85pub const SIG_ATOMIC_MIN: i32 = -2147483648;
86pub const SIG_ATOMIC_MAX: u32 = 2147483647;
87pub const SIZE_MAX: i32 = -1;
88pub const WINT_MIN: u32 = 0;
89pub const WINT_MAX: u32 = 4294967295;
90pub const KHRONOS_SUPPORT_INT64: u32 = 1;
91pub const KHRONOS_SUPPORT_FLOAT: u32 = 1;
92pub const KHRONOS_MAX_ENUM: u32 = 2147483647;
93pub const XlibSpecificationRelease: u32 = 6;
94pub const _SYS_TYPES_H: u32 = 1;
95pub const __clock_t_defined: u32 = 1;
96pub const __clockid_t_defined: u32 = 1;
97pub const __time_t_defined: u32 = 1;
98pub const __timer_t_defined: u32 = 1;
99pub const __BIT_TYPES_DEFINED__: u32 = 1;
100pub const _ENDIAN_H: u32 = 1;
101pub const __LITTLE_ENDIAN: u32 = 1234;
102pub const __BIG_ENDIAN: u32 = 4321;
103pub const __PDP_ENDIAN: u32 = 3412;
104pub const __BYTE_ORDER: u32 = 1234;
105pub const __FLOAT_WORD_ORDER: u32 = 1234;
106pub const LITTLE_ENDIAN: u32 = 1234;
107pub const BIG_ENDIAN: u32 = 4321;
108pub const PDP_ENDIAN: u32 = 3412;
109pub const BYTE_ORDER: u32 = 1234;
110pub const _BITS_BYTESWAP_H: u32 = 1;
111pub const _BITS_UINTN_IDENTITY_H: u32 = 1;
112pub const _SYS_SELECT_H: u32 = 1;
113pub const __FD_ZERO_STOS: &'static [u8; 6usize] = b"stosq\0";
114pub const __sigset_t_defined: u32 = 1;
115pub const __timeval_defined: u32 = 1;
116pub const _STRUCT_TIMESPEC: u32 = 1;
117pub const FD_SETSIZE: u32 = 1024;
118pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1;
119pub const _THREAD_SHARED_TYPES_H: u32 = 1;
120pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1;
121pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40;
122pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56;
123pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56;
124pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32;
125pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4;
126pub const __SIZEOF_PTHREAD_COND_T: u32 = 48;
127pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4;
128pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8;
129pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4;
130pub const __PTHREAD_MUTEX_LOCK_ELISION: u32 = 1;
131pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND: u32 = 0;
132pub const __PTHREAD_MUTEX_USE_UNION: u32 = 0;
133pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED: u32 = 1;
134pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1;
135pub const __have_pthread_attr_t: u32 = 1;
136pub const X_PROTOCOL: u32 = 11;
137pub const X_PROTOCOL_REVISION: u32 = 0;
138pub const None: u32 = 0;
139pub const ParentRelative: u32 = 1;
140pub const CopyFromParent: u32 = 0;
141pub const PointerWindow: u32 = 0;
142pub const InputFocus: u32 = 1;
143pub const PointerRoot: u32 = 1;
144pub const AnyPropertyType: u32 = 0;
145pub const AnyKey: u32 = 0;
146pub const AnyButton: u32 = 0;
147pub const AllTemporary: u32 = 0;
148pub const CurrentTime: u32 = 0;
149pub const NoSymbol: u32 = 0;
150pub const NoEventMask: u32 = 0;
151pub const KeyPressMask: u32 = 1;
152pub const KeyReleaseMask: u32 = 2;
153pub const ButtonPressMask: u32 = 4;
154pub const ButtonReleaseMask: u32 = 8;
155pub const EnterWindowMask: u32 = 16;
156pub const LeaveWindowMask: u32 = 32;
157pub const PointerMotionMask: u32 = 64;
158pub const PointerMotionHintMask: u32 = 128;
159pub const Button1MotionMask: u32 = 256;
160pub const Button2MotionMask: u32 = 512;
161pub const Button3MotionMask: u32 = 1024;
162pub const Button4MotionMask: u32 = 2048;
163pub const Button5MotionMask: u32 = 4096;
164pub const ButtonMotionMask: u32 = 8192;
165pub const KeymapStateMask: u32 = 16384;
166pub const ExposureMask: u32 = 32768;
167pub const VisibilityChangeMask: u32 = 65536;
168pub const StructureNotifyMask: u32 = 131072;
169pub const ResizeRedirectMask: u32 = 262144;
170pub const SubstructureNotifyMask: u32 = 524288;
171pub const SubstructureRedirectMask: u32 = 1048576;
172pub const FocusChangeMask: u32 = 2097152;
173pub const PropertyChangeMask: u32 = 4194304;
174pub const ColormapChangeMask: u32 = 8388608;
175pub const OwnerGrabButtonMask: u32 = 16777216;
176pub const KeyPress: u32 = 2;
177pub const KeyRelease: u32 = 3;
178pub const ButtonPress: u32 = 4;
179pub const ButtonRelease: u32 = 5;
180pub const MotionNotify: u32 = 6;
181pub const EnterNotify: u32 = 7;
182pub const LeaveNotify: u32 = 8;
183pub const FocusIn: u32 = 9;
184pub const FocusOut: u32 = 10;
185pub const KeymapNotify: u32 = 11;
186pub const Expose: u32 = 12;
187pub const GraphicsExpose: u32 = 13;
188pub const NoExpose: u32 = 14;
189pub const VisibilityNotify: u32 = 15;
190pub const CreateNotify: u32 = 16;
191pub const DestroyNotify: u32 = 17;
192pub const UnmapNotify: u32 = 18;
193pub const MapNotify: u32 = 19;
194pub const MapRequest: u32 = 20;
195pub const ReparentNotify: u32 = 21;
196pub const ConfigureNotify: u32 = 22;
197pub const ConfigureRequest: u32 = 23;
198pub const GravityNotify: u32 = 24;
199pub const ResizeRequest: u32 = 25;
200pub const CirculateNotify: u32 = 26;
201pub const CirculateRequest: u32 = 27;
202pub const PropertyNotify: u32 = 28;
203pub const SelectionClear: u32 = 29;
204pub const SelectionRequest: u32 = 30;
205pub const SelectionNotify: u32 = 31;
206pub const ColormapNotify: u32 = 32;
207pub const ClientMessage: u32 = 33;
208pub const MappingNotify: u32 = 34;
209pub const GenericEvent: u32 = 35;
210pub const LASTEvent: u32 = 36;
211pub const ShiftMask: u32 = 1;
212pub const LockMask: u32 = 2;
213pub const ControlMask: u32 = 4;
214pub const Mod1Mask: u32 = 8;
215pub const Mod2Mask: u32 = 16;
216pub const Mod3Mask: u32 = 32;
217pub const Mod4Mask: u32 = 64;
218pub const Mod5Mask: u32 = 128;
219pub const ShiftMapIndex: u32 = 0;
220pub const LockMapIndex: u32 = 1;
221pub const ControlMapIndex: u32 = 2;
222pub const Mod1MapIndex: u32 = 3;
223pub const Mod2MapIndex: u32 = 4;
224pub const Mod3MapIndex: u32 = 5;
225pub const Mod4MapIndex: u32 = 6;
226pub const Mod5MapIndex: u32 = 7;
227pub const Button1Mask: u32 = 256;
228pub const Button2Mask: u32 = 512;
229pub const Button3Mask: u32 = 1024;
230pub const Button4Mask: u32 = 2048;
231pub const Button5Mask: u32 = 4096;
232pub const AnyModifier: u32 = 32768;
233pub const Button1: u32 = 1;
234pub const Button2: u32 = 2;
235pub const Button3: u32 = 3;
236pub const Button4: u32 = 4;
237pub const Button5: u32 = 5;
238pub const NotifyNormal: u32 = 0;
239pub const NotifyGrab: u32 = 1;
240pub const NotifyUngrab: u32 = 2;
241pub const NotifyWhileGrabbed: u32 = 3;
242pub const NotifyHint: u32 = 1;
243pub const NotifyAncestor: u32 = 0;
244pub const NotifyVirtual: u32 = 1;
245pub const NotifyInferior: u32 = 2;
246pub const NotifyNonlinear: u32 = 3;
247pub const NotifyNonlinearVirtual: u32 = 4;
248pub const NotifyPointer: u32 = 5;
249pub const NotifyPointerRoot: u32 = 6;
250pub const NotifyDetailNone: u32 = 7;
251pub const VisibilityUnobscured: u32 = 0;
252pub const VisibilityPartiallyObscured: u32 = 1;
253pub const VisibilityFullyObscured: u32 = 2;
254pub const PlaceOnTop: u32 = 0;
255pub const PlaceOnBottom: u32 = 1;
256pub const FamilyInternet: u32 = 0;
257pub const FamilyDECnet: u32 = 1;
258pub const FamilyChaos: u32 = 2;
259pub const FamilyInternet6: u32 = 6;
260pub const FamilyServerInterpreted: u32 = 5;
261pub const PropertyNewValue: u32 = 0;
262pub const PropertyDelete: u32 = 1;
263pub const ColormapUninstalled: u32 = 0;
264pub const ColormapInstalled: u32 = 1;
265pub const GrabModeSync: u32 = 0;
266pub const GrabModeAsync: u32 = 1;
267pub const GrabSuccess: u32 = 0;
268pub const AlreadyGrabbed: u32 = 1;
269pub const GrabInvalidTime: u32 = 2;
270pub const GrabNotViewable: u32 = 3;
271pub const GrabFrozen: u32 = 4;
272pub const AsyncPointer: u32 = 0;
273pub const SyncPointer: u32 = 1;
274pub const ReplayPointer: u32 = 2;
275pub const AsyncKeyboard: u32 = 3;
276pub const SyncKeyboard: u32 = 4;
277pub const ReplayKeyboard: u32 = 5;
278pub const AsyncBoth: u32 = 6;
279pub const SyncBoth: u32 = 7;
280pub const RevertToParent: u32 = 2;
281pub const Success: u32 = 0;
282pub const BadRequest: u32 = 1;
283pub const BadValue: u32 = 2;
284pub const BadWindow: u32 = 3;
285pub const BadPixmap: u32 = 4;
286pub const BadAtom: u32 = 5;
287pub const BadCursor: u32 = 6;
288pub const BadFont: u32 = 7;
289pub const BadMatch: u32 = 8;
290pub const BadDrawable: u32 = 9;
291pub const BadAccess: u32 = 10;
292pub const BadAlloc: u32 = 11;
293pub const BadColor: u32 = 12;
294pub const BadGC: u32 = 13;
295pub const BadIDChoice: u32 = 14;
296pub const BadName: u32 = 15;
297pub const BadLength: u32 = 16;
298pub const BadImplementation: u32 = 17;
299pub const FirstExtensionError: u32 = 128;
300pub const LastExtensionError: u32 = 255;
301pub const InputOutput: u32 = 1;
302pub const InputOnly: u32 = 2;
303pub const CWBackPixmap: u32 = 1;
304pub const CWBackPixel: u32 = 2;
305pub const CWBorderPixmap: u32 = 4;
306pub const CWBorderPixel: u32 = 8;
307pub const CWBitGravity: u32 = 16;
308pub const CWWinGravity: u32 = 32;
309pub const CWBackingStore: u32 = 64;
310pub const CWBackingPlanes: u32 = 128;
311pub const CWBackingPixel: u32 = 256;
312pub const CWOverrideRedirect: u32 = 512;
313pub const CWSaveUnder: u32 = 1024;
314pub const CWEventMask: u32 = 2048;
315pub const CWDontPropagate: u32 = 4096;
316pub const CWColormap: u32 = 8192;
317pub const CWCursor: u32 = 16384;
318pub const CWX: u32 = 1;
319pub const CWY: u32 = 2;
320pub const CWWidth: u32 = 4;
321pub const CWHeight: u32 = 8;
322pub const CWBorderWidth: u32 = 16;
323pub const CWSibling: u32 = 32;
324pub const CWStackMode: u32 = 64;
325pub const ForgetGravity: u32 = 0;
326pub const NorthWestGravity: u32 = 1;
327pub const NorthGravity: u32 = 2;
328pub const NorthEastGravity: u32 = 3;
329pub const WestGravity: u32 = 4;
330pub const CenterGravity: u32 = 5;
331pub const EastGravity: u32 = 6;
332pub const SouthWestGravity: u32 = 7;
333pub const SouthGravity: u32 = 8;
334pub const SouthEastGravity: u32 = 9;
335pub const StaticGravity: u32 = 10;
336pub const UnmapGravity: u32 = 0;
337pub const NotUseful: u32 = 0;
338pub const WhenMapped: u32 = 1;
339pub const Always: u32 = 2;
340pub const IsUnmapped: u32 = 0;
341pub const IsUnviewable: u32 = 1;
342pub const IsViewable: u32 = 2;
343pub const SetModeInsert: u32 = 0;
344pub const SetModeDelete: u32 = 1;
345pub const DestroyAll: u32 = 0;
346pub const RetainPermanent: u32 = 1;
347pub const RetainTemporary: u32 = 2;
348pub const Above: u32 = 0;
349pub const Below: u32 = 1;
350pub const TopIf: u32 = 2;
351pub const BottomIf: u32 = 3;
352pub const Opposite: u32 = 4;
353pub const RaiseLowest: u32 = 0;
354pub const LowerHighest: u32 = 1;
355pub const PropModeReplace: u32 = 0;
356pub const PropModePrepend: u32 = 1;
357pub const PropModeAppend: u32 = 2;
358pub const GXclear: u32 = 0;
359pub const GXand: u32 = 1;
360pub const GXandReverse: u32 = 2;
361pub const GXcopy: u32 = 3;
362pub const GXandInverted: u32 = 4;
363pub const GXnoop: u32 = 5;
364pub const GXxor: u32 = 6;
365pub const GXor: u32 = 7;
366pub const GXnor: u32 = 8;
367pub const GXequiv: u32 = 9;
368pub const GXinvert: u32 = 10;
369pub const GXorReverse: u32 = 11;
370pub const GXcopyInverted: u32 = 12;
371pub const GXorInverted: u32 = 13;
372pub const GXnand: u32 = 14;
373pub const GXset: u32 = 15;
374pub const LineSolid: u32 = 0;
375pub const LineOnOffDash: u32 = 1;
376pub const LineDoubleDash: u32 = 2;
377pub const CapNotLast: u32 = 0;
378pub const CapButt: u32 = 1;
379pub const CapRound: u32 = 2;
380pub const CapProjecting: u32 = 3;
381pub const JoinMiter: u32 = 0;
382pub const JoinRound: u32 = 1;
383pub const JoinBevel: u32 = 2;
384pub const FillSolid: u32 = 0;
385pub const FillTiled: u32 = 1;
386pub const FillStippled: u32 = 2;
387pub const FillOpaqueStippled: u32 = 3;
388pub const EvenOddRule: u32 = 0;
389pub const WindingRule: u32 = 1;
390pub const ClipByChildren: u32 = 0;
391pub const IncludeInferiors: u32 = 1;
392pub const Unsorted: u32 = 0;
393pub const YSorted: u32 = 1;
394pub const YXSorted: u32 = 2;
395pub const YXBanded: u32 = 3;
396pub const CoordModeOrigin: u32 = 0;
397pub const CoordModePrevious: u32 = 1;
398pub const Complex: u32 = 0;
399pub const Nonconvex: u32 = 1;
400pub const Convex: u32 = 2;
401pub const ArcChord: u32 = 0;
402pub const ArcPieSlice: u32 = 1;
403pub const GCFunction: u32 = 1;
404pub const GCPlaneMask: u32 = 2;
405pub const GCForeground: u32 = 4;
406pub const GCBackground: u32 = 8;
407pub const GCLineWidth: u32 = 16;
408pub const GCLineStyle: u32 = 32;
409pub const GCCapStyle: u32 = 64;
410pub const GCJoinStyle: u32 = 128;
411pub const GCFillStyle: u32 = 256;
412pub const GCFillRule: u32 = 512;
413pub const GCTile: u32 = 1024;
414pub const GCStipple: u32 = 2048;
415pub const GCTileStipXOrigin: u32 = 4096;
416pub const GCTileStipYOrigin: u32 = 8192;
417pub const GCFont: u32 = 16384;
418pub const GCSubwindowMode: u32 = 32768;
419pub const GCGraphicsExposures: u32 = 65536;
420pub const GCClipXOrigin: u32 = 131072;
421pub const GCClipYOrigin: u32 = 262144;
422pub const GCClipMask: u32 = 524288;
423pub const GCDashOffset: u32 = 1048576;
424pub const GCDashList: u32 = 2097152;
425pub const GCArcMode: u32 = 4194304;
426pub const GCLastBit: u32 = 22;
427pub const FontLeftToRight: u32 = 0;
428pub const FontRightToLeft: u32 = 1;
429pub const FontChange: u32 = 255;
430pub const XYBitmap: u32 = 0;
431pub const XYPixmap: u32 = 1;
432pub const ZPixmap: u32 = 2;
433pub const AllocNone: u32 = 0;
434pub const AllocAll: u32 = 1;
435pub const DoRed: u32 = 1;
436pub const DoGreen: u32 = 2;
437pub const DoBlue: u32 = 4;
438pub const CursorShape: u32 = 0;
439pub const TileShape: u32 = 1;
440pub const StippleShape: u32 = 2;
441pub const AutoRepeatModeOff: u32 = 0;
442pub const AutoRepeatModeOn: u32 = 1;
443pub const AutoRepeatModeDefault: u32 = 2;
444pub const LedModeOff: u32 = 0;
445pub const LedModeOn: u32 = 1;
446pub const KBKeyClickPercent: u32 = 1;
447pub const KBBellPercent: u32 = 2;
448pub const KBBellPitch: u32 = 4;
449pub const KBBellDuration: u32 = 8;
450pub const KBLed: u32 = 16;
451pub const KBLedMode: u32 = 32;
452pub const KBKey: u32 = 64;
453pub const KBAutoRepeatMode: u32 = 128;
454pub const MappingSuccess: u32 = 0;
455pub const MappingBusy: u32 = 1;
456pub const MappingFailed: u32 = 2;
457pub const MappingModifier: u32 = 0;
458pub const MappingKeyboard: u32 = 1;
459pub const MappingPointer: u32 = 2;
460pub const DontPreferBlanking: u32 = 0;
461pub const PreferBlanking: u32 = 1;
462pub const DefaultBlanking: u32 = 2;
463pub const DisableScreenSaver: u32 = 0;
464pub const DisableScreenInterval: u32 = 0;
465pub const DontAllowExposures: u32 = 0;
466pub const AllowExposures: u32 = 1;
467pub const DefaultExposures: u32 = 2;
468pub const ScreenSaverReset: u32 = 0;
469pub const ScreenSaverActive: u32 = 1;
470pub const HostInsert: u32 = 0;
471pub const HostDelete: u32 = 1;
472pub const EnableAccess: u32 = 1;
473pub const DisableAccess: u32 = 0;
474pub const StaticGray: u32 = 0;
475pub const GrayScale: u32 = 1;
476pub const StaticColor: u32 = 2;
477pub const PseudoColor: u32 = 3;
478pub const TrueColor: u32 = 4;
479pub const DirectColor: u32 = 5;
480pub const LSBFirst: u32 = 0;
481pub const MSBFirst: u32 = 1;
482pub const NeedFunctionPrototypes: u32 = 1;
483pub const NeedVarargsPrototypes: u32 = 1;
484pub const NeedNestedPrototypes: u32 = 1;
485pub const FUNCPROTO: u32 = 15;
486pub const NeedWidePrototypes: u32 = 0;
487pub const X_HAVE_UTF8_STRING: u32 = 1;
488pub const True: u32 = 1;
489pub const False: u32 = 0;
490pub const QueuedAlready: u32 = 0;
491pub const QueuedAfterReading: u32 = 1;
492pub const QueuedAfterFlush: u32 = 2;
493pub const XNRequiredCharSet: &'static [u8; 16usize] = b"requiredCharSet\0";
494pub const XNQueryOrientation: &'static [u8; 17usize] = b"queryOrientation\0";
495pub const XNBaseFontName: &'static [u8; 13usize] = b"baseFontName\0";
496pub const XNOMAutomatic: &'static [u8; 12usize] = b"omAutomatic\0";
497pub const XNMissingCharSet: &'static [u8; 15usize] = b"missingCharSet\0";
498pub const XNDefaultString: &'static [u8; 14usize] = b"defaultString\0";
499pub const XNOrientation: &'static [u8; 12usize] = b"orientation\0";
500pub const XNDirectionalDependentDrawing: &'static [u8; 28usize] = b"directionalDependentDrawing\0";
501pub const XNContextualDrawing: &'static [u8; 18usize] = b"contextualDrawing\0";
502pub const XNFontInfo: &'static [u8; 9usize] = b"fontInfo\0";
503pub const XIMPreeditArea: u32 = 1;
504pub const XIMPreeditCallbacks: u32 = 2;
505pub const XIMPreeditPosition: u32 = 4;
506pub const XIMPreeditNothing: u32 = 8;
507pub const XIMPreeditNone: u32 = 16;
508pub const XIMStatusArea: u32 = 256;
509pub const XIMStatusCallbacks: u32 = 512;
510pub const XIMStatusNothing: u32 = 1024;
511pub const XIMStatusNone: u32 = 2048;
512pub const XNVaNestedList: &'static [u8; 15usize] = b"XNVaNestedList\0";
513pub const XNQueryInputStyle: &'static [u8; 16usize] = b"queryInputStyle\0";
514pub const XNClientWindow: &'static [u8; 13usize] = b"clientWindow\0";
515pub const XNInputStyle: &'static [u8; 11usize] = b"inputStyle\0";
516pub const XNFocusWindow: &'static [u8; 12usize] = b"focusWindow\0";
517pub const XNResourceName: &'static [u8; 13usize] = b"resourceName\0";
518pub const XNResourceClass: &'static [u8; 14usize] = b"resourceClass\0";
519pub const XNGeometryCallback: &'static [u8; 17usize] = b"geometryCallback\0";
520pub const XNDestroyCallback: &'static [u8; 16usize] = b"destroyCallback\0";
521pub const XNFilterEvents: &'static [u8; 13usize] = b"filterEvents\0";
522pub const XNPreeditStartCallback: &'static [u8; 21usize] = b"preeditStartCallback\0";
523pub const XNPreeditDoneCallback: &'static [u8; 20usize] = b"preeditDoneCallback\0";
524pub const XNPreeditDrawCallback: &'static [u8; 20usize] = b"preeditDrawCallback\0";
525pub const XNPreeditCaretCallback: &'static [u8; 21usize] = b"preeditCaretCallback\0";
526pub const XNPreeditStateNotifyCallback: &'static [u8; 27usize] = b"preeditStateNotifyCallback\0";
527pub const XNPreeditAttributes: &'static [u8; 18usize] = b"preeditAttributes\0";
528pub const XNStatusStartCallback: &'static [u8; 20usize] = b"statusStartCallback\0";
529pub const XNStatusDoneCallback: &'static [u8; 19usize] = b"statusDoneCallback\0";
530pub const XNStatusDrawCallback: &'static [u8; 19usize] = b"statusDrawCallback\0";
531pub const XNStatusAttributes: &'static [u8; 17usize] = b"statusAttributes\0";
532pub const XNArea: &'static [u8; 5usize] = b"area\0";
533pub const XNAreaNeeded: &'static [u8; 11usize] = b"areaNeeded\0";
534pub const XNSpotLocation: &'static [u8; 13usize] = b"spotLocation\0";
535pub const XNColormap: &'static [u8; 9usize] = b"colorMap\0";
536pub const XNStdColormap: &'static [u8; 12usize] = b"stdColorMap\0";
537pub const XNForeground: &'static [u8; 11usize] = b"foreground\0";
538pub const XNBackground: &'static [u8; 11usize] = b"background\0";
539pub const XNBackgroundPixmap: &'static [u8; 17usize] = b"backgroundPixmap\0";
540pub const XNFontSet: &'static [u8; 8usize] = b"fontSet\0";
541pub const XNLineSpace: &'static [u8; 10usize] = b"lineSpace\0";
542pub const XNCursor: &'static [u8; 7usize] = b"cursor\0";
543pub const XNQueryIMValuesList: &'static [u8; 18usize] = b"queryIMValuesList\0";
544pub const XNQueryICValuesList: &'static [u8; 18usize] = b"queryICValuesList\0";
545pub const XNVisiblePosition: &'static [u8; 16usize] = b"visiblePosition\0";
546pub const XNR6PreeditCallback: &'static [u8; 18usize] = b"r6PreeditCallback\0";
547pub const XNStringConversionCallback: &'static [u8; 25usize] = b"stringConversionCallback\0";
548pub const XNStringConversion: &'static [u8; 17usize] = b"stringConversion\0";
549pub const XNResetState: &'static [u8; 11usize] = b"resetState\0";
550pub const XNHotKey: &'static [u8; 7usize] = b"hotKey\0";
551pub const XNHotKeyState: &'static [u8; 12usize] = b"hotKeyState\0";
552pub const XNPreeditState: &'static [u8; 13usize] = b"preeditState\0";
553pub const XNSeparatorofNestedList: &'static [u8; 22usize] = b"separatorofNestedList\0";
554pub const XBufferOverflow: i32 = -1;
555pub const XLookupNone: u32 = 1;
556pub const XLookupChars: u32 = 2;
557pub const XLookupKeySym: u32 = 3;
558pub const XLookupBoth: u32 = 4;
559pub const XIMReverse: u32 = 1;
560pub const XIMUnderline: u32 = 2;
561pub const XIMHighlight: u32 = 4;
562pub const XIMPrimary: u32 = 32;
563pub const XIMSecondary: u32 = 64;
564pub const XIMTertiary: u32 = 128;
565pub const XIMVisibleToForward: u32 = 256;
566pub const XIMVisibleToBackword: u32 = 512;
567pub const XIMVisibleToCenter: u32 = 1024;
568pub const XIMPreeditUnKnown: u32 = 0;
569pub const XIMPreeditEnable: u32 = 1;
570pub const XIMPreeditDisable: u32 = 2;
571pub const XIMInitialState: u32 = 1;
572pub const XIMPreserveState: u32 = 2;
573pub const XIMStringConversionLeftEdge: u32 = 1;
574pub const XIMStringConversionRightEdge: u32 = 2;
575pub const XIMStringConversionTopEdge: u32 = 4;
576pub const XIMStringConversionBottomEdge: u32 = 8;
577pub const XIMStringConversionConcealed: u32 = 16;
578pub const XIMStringConversionWrapped: u32 = 32;
579pub const XIMStringConversionBuffer: u32 = 1;
580pub const XIMStringConversionLine: u32 = 2;
581pub const XIMStringConversionWord: u32 = 3;
582pub const XIMStringConversionChar: u32 = 4;
583pub const XIMStringConversionSubstitution: u32 = 1;
584pub const XIMStringConversionRetrieval: u32 = 2;
585pub const XIMHotKeyStateON: u32 = 1;
586pub const XIMHotKeyStateOFF: u32 = 2;
587pub const XK_VoidSymbol: u32 = 16777215;
588pub const XK_BackSpace: u32 = 65288;
589pub const XK_Tab: u32 = 65289;
590pub const XK_Linefeed: u32 = 65290;
591pub const XK_Clear: u32 = 65291;
592pub const XK_Return: u32 = 65293;
593pub const XK_Pause: u32 = 65299;
594pub const XK_Scroll_Lock: u32 = 65300;
595pub const XK_Sys_Req: u32 = 65301;
596pub const XK_Escape: u32 = 65307;
597pub const XK_Delete: u32 = 65535;
598pub const XK_Multi_key: u32 = 65312;
599pub const XK_Codeinput: u32 = 65335;
600pub const XK_SingleCandidate: u32 = 65340;
601pub const XK_MultipleCandidate: u32 = 65341;
602pub const XK_PreviousCandidate: u32 = 65342;
603pub const XK_Kanji: u32 = 65313;
604pub const XK_Muhenkan: u32 = 65314;
605pub const XK_Henkan_Mode: u32 = 65315;
606pub const XK_Henkan: u32 = 65315;
607pub const XK_Romaji: u32 = 65316;
608pub const XK_Hiragana: u32 = 65317;
609pub const XK_Katakana: u32 = 65318;
610pub const XK_Hiragana_Katakana: u32 = 65319;
611pub const XK_Zenkaku: u32 = 65320;
612pub const XK_Hankaku: u32 = 65321;
613pub const XK_Zenkaku_Hankaku: u32 = 65322;
614pub const XK_Touroku: u32 = 65323;
615pub const XK_Massyo: u32 = 65324;
616pub const XK_Kana_Lock: u32 = 65325;
617pub const XK_Kana_Shift: u32 = 65326;
618pub const XK_Eisu_Shift: u32 = 65327;
619pub const XK_Eisu_toggle: u32 = 65328;
620pub const XK_Kanji_Bangou: u32 = 65335;
621pub const XK_Zen_Koho: u32 = 65341;
622pub const XK_Mae_Koho: u32 = 65342;
623pub const XK_Home: u32 = 65360;
624pub const XK_Left: u32 = 65361;
625pub const XK_Up: u32 = 65362;
626pub const XK_Right: u32 = 65363;
627pub const XK_Down: u32 = 65364;
628pub const XK_Prior: u32 = 65365;
629pub const XK_Page_Up: u32 = 65365;
630pub const XK_Next: u32 = 65366;
631pub const XK_Page_Down: u32 = 65366;
632pub const XK_End: u32 = 65367;
633pub const XK_Begin: u32 = 65368;
634pub const XK_Select: u32 = 65376;
635pub const XK_Print: u32 = 65377;
636pub const XK_Execute: u32 = 65378;
637pub const XK_Insert: u32 = 65379;
638pub const XK_Undo: u32 = 65381;
639pub const XK_Redo: u32 = 65382;
640pub const XK_Menu: u32 = 65383;
641pub const XK_Find: u32 = 65384;
642pub const XK_Cancel: u32 = 65385;
643pub const XK_Help: u32 = 65386;
644pub const XK_Break: u32 = 65387;
645pub const XK_Mode_switch: u32 = 65406;
646pub const XK_script_switch: u32 = 65406;
647pub const XK_Num_Lock: u32 = 65407;
648pub const XK_KP_Space: u32 = 65408;
649pub const XK_KP_Tab: u32 = 65417;
650pub const XK_KP_Enter: u32 = 65421;
651pub const XK_KP_F1: u32 = 65425;
652pub const XK_KP_F2: u32 = 65426;
653pub const XK_KP_F3: u32 = 65427;
654pub const XK_KP_F4: u32 = 65428;
655pub const XK_KP_Home: u32 = 65429;
656pub const XK_KP_Left: u32 = 65430;
657pub const XK_KP_Up: u32 = 65431;
658pub const XK_KP_Right: u32 = 65432;
659pub const XK_KP_Down: u32 = 65433;
660pub const XK_KP_Prior: u32 = 65434;
661pub const XK_KP_Page_Up: u32 = 65434;
662pub const XK_KP_Next: u32 = 65435;
663pub const XK_KP_Page_Down: u32 = 65435;
664pub const XK_KP_End: u32 = 65436;
665pub const XK_KP_Begin: u32 = 65437;
666pub const XK_KP_Insert: u32 = 65438;
667pub const XK_KP_Delete: u32 = 65439;
668pub const XK_KP_Equal: u32 = 65469;
669pub const XK_KP_Multiply: u32 = 65450;
670pub const XK_KP_Add: u32 = 65451;
671pub const XK_KP_Separator: u32 = 65452;
672pub const XK_KP_Subtract: u32 = 65453;
673pub const XK_KP_Decimal: u32 = 65454;
674pub const XK_KP_Divide: u32 = 65455;
675pub const XK_KP_0: u32 = 65456;
676pub const XK_KP_1: u32 = 65457;
677pub const XK_KP_2: u32 = 65458;
678pub const XK_KP_3: u32 = 65459;
679pub const XK_KP_4: u32 = 65460;
680pub const XK_KP_5: u32 = 65461;
681pub const XK_KP_6: u32 = 65462;
682pub const XK_KP_7: u32 = 65463;
683pub const XK_KP_8: u32 = 65464;
684pub const XK_KP_9: u32 = 65465;
685pub const XK_F1: u32 = 65470;
686pub const XK_F2: u32 = 65471;
687pub const XK_F3: u32 = 65472;
688pub const XK_F4: u32 = 65473;
689pub const XK_F5: u32 = 65474;
690pub const XK_F6: u32 = 65475;
691pub const XK_F7: u32 = 65476;
692pub const XK_F8: u32 = 65477;
693pub const XK_F9: u32 = 65478;
694pub const XK_F10: u32 = 65479;
695pub const XK_F11: u32 = 65480;
696pub const XK_L1: u32 = 65480;
697pub const XK_F12: u32 = 65481;
698pub const XK_L2: u32 = 65481;
699pub const XK_F13: u32 = 65482;
700pub const XK_L3: u32 = 65482;
701pub const XK_F14: u32 = 65483;
702pub const XK_L4: u32 = 65483;
703pub const XK_F15: u32 = 65484;
704pub const XK_L5: u32 = 65484;
705pub const XK_F16: u32 = 65485;
706pub const XK_L6: u32 = 65485;
707pub const XK_F17: u32 = 65486;
708pub const XK_L7: u32 = 65486;
709pub const XK_F18: u32 = 65487;
710pub const XK_L8: u32 = 65487;
711pub const XK_F19: u32 = 65488;
712pub const XK_L9: u32 = 65488;
713pub const XK_F20: u32 = 65489;
714pub const XK_L10: u32 = 65489;
715pub const XK_F21: u32 = 65490;
716pub const XK_R1: u32 = 65490;
717pub const XK_F22: u32 = 65491;
718pub const XK_R2: u32 = 65491;
719pub const XK_F23: u32 = 65492;
720pub const XK_R3: u32 = 65492;
721pub const XK_F24: u32 = 65493;
722pub const XK_R4: u32 = 65493;
723pub const XK_F25: u32 = 65494;
724pub const XK_R5: u32 = 65494;
725pub const XK_F26: u32 = 65495;
726pub const XK_R6: u32 = 65495;
727pub const XK_F27: u32 = 65496;
728pub const XK_R7: u32 = 65496;
729pub const XK_F28: u32 = 65497;
730pub const XK_R8: u32 = 65497;
731pub const XK_F29: u32 = 65498;
732pub const XK_R9: u32 = 65498;
733pub const XK_F30: u32 = 65499;
734pub const XK_R10: u32 = 65499;
735pub const XK_F31: u32 = 65500;
736pub const XK_R11: u32 = 65500;
737pub const XK_F32: u32 = 65501;
738pub const XK_R12: u32 = 65501;
739pub const XK_F33: u32 = 65502;
740pub const XK_R13: u32 = 65502;
741pub const XK_F34: u32 = 65503;
742pub const XK_R14: u32 = 65503;
743pub const XK_F35: u32 = 65504;
744pub const XK_R15: u32 = 65504;
745pub const XK_Shift_L: u32 = 65505;
746pub const XK_Shift_R: u32 = 65506;
747pub const XK_Control_L: u32 = 65507;
748pub const XK_Control_R: u32 = 65508;
749pub const XK_Caps_Lock: u32 = 65509;
750pub const XK_Shift_Lock: u32 = 65510;
751pub const XK_Meta_L: u32 = 65511;
752pub const XK_Meta_R: u32 = 65512;
753pub const XK_Alt_L: u32 = 65513;
754pub const XK_Alt_R: u32 = 65514;
755pub const XK_Super_L: u32 = 65515;
756pub const XK_Super_R: u32 = 65516;
757pub const XK_Hyper_L: u32 = 65517;
758pub const XK_Hyper_R: u32 = 65518;
759pub const XK_ISO_Lock: u32 = 65025;
760pub const XK_ISO_Level2_Latch: u32 = 65026;
761pub const XK_ISO_Level3_Shift: u32 = 65027;
762pub const XK_ISO_Level3_Latch: u32 = 65028;
763pub const XK_ISO_Level3_Lock: u32 = 65029;
764pub const XK_ISO_Level5_Shift: u32 = 65041;
765pub const XK_ISO_Level5_Latch: u32 = 65042;
766pub const XK_ISO_Level5_Lock: u32 = 65043;
767pub const XK_ISO_Group_Shift: u32 = 65406;
768pub const XK_ISO_Group_Latch: u32 = 65030;
769pub const XK_ISO_Group_Lock: u32 = 65031;
770pub const XK_ISO_Next_Group: u32 = 65032;
771pub const XK_ISO_Next_Group_Lock: u32 = 65033;
772pub const XK_ISO_Prev_Group: u32 = 65034;
773pub const XK_ISO_Prev_Group_Lock: u32 = 65035;
774pub const XK_ISO_First_Group: u32 = 65036;
775pub const XK_ISO_First_Group_Lock: u32 = 65037;
776pub const XK_ISO_Last_Group: u32 = 65038;
777pub const XK_ISO_Last_Group_Lock: u32 = 65039;
778pub const XK_ISO_Left_Tab: u32 = 65056;
779pub const XK_ISO_Move_Line_Up: u32 = 65057;
780pub const XK_ISO_Move_Line_Down: u32 = 65058;
781pub const XK_ISO_Partial_Line_Up: u32 = 65059;
782pub const XK_ISO_Partial_Line_Down: u32 = 65060;
783pub const XK_ISO_Partial_Space_Left: u32 = 65061;
784pub const XK_ISO_Partial_Space_Right: u32 = 65062;
785pub const XK_ISO_Set_Margin_Left: u32 = 65063;
786pub const XK_ISO_Set_Margin_Right: u32 = 65064;
787pub const XK_ISO_Release_Margin_Left: u32 = 65065;
788pub const XK_ISO_Release_Margin_Right: u32 = 65066;
789pub const XK_ISO_Release_Both_Margins: u32 = 65067;
790pub const XK_ISO_Fast_Cursor_Left: u32 = 65068;
791pub const XK_ISO_Fast_Cursor_Right: u32 = 65069;
792pub const XK_ISO_Fast_Cursor_Up: u32 = 65070;
793pub const XK_ISO_Fast_Cursor_Down: u32 = 65071;
794pub const XK_ISO_Continuous_Underline: u32 = 65072;
795pub const XK_ISO_Discontinuous_Underline: u32 = 65073;
796pub const XK_ISO_Emphasize: u32 = 65074;
797pub const XK_ISO_Center_Object: u32 = 65075;
798pub const XK_ISO_Enter: u32 = 65076;
799pub const XK_dead_grave: u32 = 65104;
800pub const XK_dead_acute: u32 = 65105;
801pub const XK_dead_circumflex: u32 = 65106;
802pub const XK_dead_tilde: u32 = 65107;
803pub const XK_dead_perispomeni: u32 = 65107;
804pub const XK_dead_macron: u32 = 65108;
805pub const XK_dead_breve: u32 = 65109;
806pub const XK_dead_abovedot: u32 = 65110;
807pub const XK_dead_diaeresis: u32 = 65111;
808pub const XK_dead_abovering: u32 = 65112;
809pub const XK_dead_doubleacute: u32 = 65113;
810pub const XK_dead_caron: u32 = 65114;
811pub const XK_dead_cedilla: u32 = 65115;
812pub const XK_dead_ogonek: u32 = 65116;
813pub const XK_dead_iota: u32 = 65117;
814pub const XK_dead_voiced_sound: u32 = 65118;
815pub const XK_dead_semivoiced_sound: u32 = 65119;
816pub const XK_dead_belowdot: u32 = 65120;
817pub const XK_dead_hook: u32 = 65121;
818pub const XK_dead_horn: u32 = 65122;
819pub const XK_dead_stroke: u32 = 65123;
820pub const XK_dead_abovecomma: u32 = 65124;
821pub const XK_dead_psili: u32 = 65124;
822pub const XK_dead_abovereversedcomma: u32 = 65125;
823pub const XK_dead_dasia: u32 = 65125;
824pub const XK_dead_doublegrave: u32 = 65126;
825pub const XK_dead_belowring: u32 = 65127;
826pub const XK_dead_belowmacron: u32 = 65128;
827pub const XK_dead_belowcircumflex: u32 = 65129;
828pub const XK_dead_belowtilde: u32 = 65130;
829pub const XK_dead_belowbreve: u32 = 65131;
830pub const XK_dead_belowdiaeresis: u32 = 65132;
831pub const XK_dead_invertedbreve: u32 = 65133;
832pub const XK_dead_belowcomma: u32 = 65134;
833pub const XK_dead_currency: u32 = 65135;
834pub const XK_dead_lowline: u32 = 65168;
835pub const XK_dead_aboveverticalline: u32 = 65169;
836pub const XK_dead_belowverticalline: u32 = 65170;
837pub const XK_dead_longsolidusoverlay: u32 = 65171;
838pub const XK_dead_a: u32 = 65152;
839pub const XK_dead_A: u32 = 65153;
840pub const XK_dead_e: u32 = 65154;
841pub const XK_dead_E: u32 = 65155;
842pub const XK_dead_i: u32 = 65156;
843pub const XK_dead_I: u32 = 65157;
844pub const XK_dead_o: u32 = 65158;
845pub const XK_dead_O: u32 = 65159;
846pub const XK_dead_u: u32 = 65160;
847pub const XK_dead_U: u32 = 65161;
848pub const XK_dead_small_schwa: u32 = 65162;
849pub const XK_dead_capital_schwa: u32 = 65163;
850pub const XK_dead_greek: u32 = 65164;
851pub const XK_First_Virtual_Screen: u32 = 65232;
852pub const XK_Prev_Virtual_Screen: u32 = 65233;
853pub const XK_Next_Virtual_Screen: u32 = 65234;
854pub const XK_Last_Virtual_Screen: u32 = 65236;
855pub const XK_Terminate_Server: u32 = 65237;
856pub const XK_AccessX_Enable: u32 = 65136;
857pub const XK_AccessX_Feedback_Enable: u32 = 65137;
858pub const XK_RepeatKeys_Enable: u32 = 65138;
859pub const XK_SlowKeys_Enable: u32 = 65139;
860pub const XK_BounceKeys_Enable: u32 = 65140;
861pub const XK_StickyKeys_Enable: u32 = 65141;
862pub const XK_MouseKeys_Enable: u32 = 65142;
863pub const XK_MouseKeys_Accel_Enable: u32 = 65143;
864pub const XK_Overlay1_Enable: u32 = 65144;
865pub const XK_Overlay2_Enable: u32 = 65145;
866pub const XK_AudibleBell_Enable: u32 = 65146;
867pub const XK_Pointer_Left: u32 = 65248;
868pub const XK_Pointer_Right: u32 = 65249;
869pub const XK_Pointer_Up: u32 = 65250;
870pub const XK_Pointer_Down: u32 = 65251;
871pub const XK_Pointer_UpLeft: u32 = 65252;
872pub const XK_Pointer_UpRight: u32 = 65253;
873pub const XK_Pointer_DownLeft: u32 = 65254;
874pub const XK_Pointer_DownRight: u32 = 65255;
875pub const XK_Pointer_Button_Dflt: u32 = 65256;
876pub const XK_Pointer_Button1: u32 = 65257;
877pub const XK_Pointer_Button2: u32 = 65258;
878pub const XK_Pointer_Button3: u32 = 65259;
879pub const XK_Pointer_Button4: u32 = 65260;
880pub const XK_Pointer_Button5: u32 = 65261;
881pub const XK_Pointer_DblClick_Dflt: u32 = 65262;
882pub const XK_Pointer_DblClick1: u32 = 65263;
883pub const XK_Pointer_DblClick2: u32 = 65264;
884pub const XK_Pointer_DblClick3: u32 = 65265;
885pub const XK_Pointer_DblClick4: u32 = 65266;
886pub const XK_Pointer_DblClick5: u32 = 65267;
887pub const XK_Pointer_Drag_Dflt: u32 = 65268;
888pub const XK_Pointer_Drag1: u32 = 65269;
889pub const XK_Pointer_Drag2: u32 = 65270;
890pub const XK_Pointer_Drag3: u32 = 65271;
891pub const XK_Pointer_Drag4: u32 = 65272;
892pub const XK_Pointer_Drag5: u32 = 65277;
893pub const XK_Pointer_EnableKeys: u32 = 65273;
894pub const XK_Pointer_Accelerate: u32 = 65274;
895pub const XK_Pointer_DfltBtnNext: u32 = 65275;
896pub const XK_Pointer_DfltBtnPrev: u32 = 65276;
897pub const XK_ch: u32 = 65184;
898pub const XK_Ch: u32 = 65185;
899pub const XK_CH: u32 = 65186;
900pub const XK_c_h: u32 = 65187;
901pub const XK_C_h: u32 = 65188;
902pub const XK_C_H: u32 = 65189;
903pub const XK_space: u32 = 32;
904pub const XK_exclam: u32 = 33;
905pub const XK_quotedbl: u32 = 34;
906pub const XK_numbersign: u32 = 35;
907pub const XK_dollar: u32 = 36;
908pub const XK_percent: u32 = 37;
909pub const XK_ampersand: u32 = 38;
910pub const XK_apostrophe: u32 = 39;
911pub const XK_quoteright: u32 = 39;
912pub const XK_parenleft: u32 = 40;
913pub const XK_parenright: u32 = 41;
914pub const XK_asterisk: u32 = 42;
915pub const XK_plus: u32 = 43;
916pub const XK_comma: u32 = 44;
917pub const XK_minus: u32 = 45;
918pub const XK_period: u32 = 46;
919pub const XK_slash: u32 = 47;
920pub const XK_0: u32 = 48;
921pub const XK_1: u32 = 49;
922pub const XK_2: u32 = 50;
923pub const XK_3: u32 = 51;
924pub const XK_4: u32 = 52;
925pub const XK_5: u32 = 53;
926pub const XK_6: u32 = 54;
927pub const XK_7: u32 = 55;
928pub const XK_8: u32 = 56;
929pub const XK_9: u32 = 57;
930pub const XK_colon: u32 = 58;
931pub const XK_semicolon: u32 = 59;
932pub const XK_less: u32 = 60;
933pub const XK_equal: u32 = 61;
934pub const XK_greater: u32 = 62;
935pub const XK_question: u32 = 63;
936pub const XK_at: u32 = 64;
937pub const XK_A: u32 = 65;
938pub const XK_B: u32 = 66;
939pub const XK_C: u32 = 67;
940pub const XK_D: u32 = 68;
941pub const XK_E: u32 = 69;
942pub const XK_F: u32 = 70;
943pub const XK_G: u32 = 71;
944pub const XK_H: u32 = 72;
945pub const XK_I: u32 = 73;
946pub const XK_J: u32 = 74;
947pub const XK_K: u32 = 75;
948pub const XK_L: u32 = 76;
949pub const XK_M: u32 = 77;
950pub const XK_N: u32 = 78;
951pub const XK_O: u32 = 79;
952pub const XK_P: u32 = 80;
953pub const XK_Q: u32 = 81;
954pub const XK_R: u32 = 82;
955pub const XK_S: u32 = 83;
956pub const XK_T: u32 = 84;
957pub const XK_U: u32 = 85;
958pub const XK_V: u32 = 86;
959pub const XK_W: u32 = 87;
960pub const XK_X: u32 = 88;
961pub const XK_Y: u32 = 89;
962pub const XK_Z: u32 = 90;
963pub const XK_bracketleft: u32 = 91;
964pub const XK_backslash: u32 = 92;
965pub const XK_bracketright: u32 = 93;
966pub const XK_asciicircum: u32 = 94;
967pub const XK_underscore: u32 = 95;
968pub const XK_grave: u32 = 96;
969pub const XK_quoteleft: u32 = 96;
970pub const XK_a: u32 = 97;
971pub const XK_b: u32 = 98;
972pub const XK_c: u32 = 99;
973pub const XK_d: u32 = 100;
974pub const XK_e: u32 = 101;
975pub const XK_f: u32 = 102;
976pub const XK_g: u32 = 103;
977pub const XK_h: u32 = 104;
978pub const XK_i: u32 = 105;
979pub const XK_j: u32 = 106;
980pub const XK_k: u32 = 107;
981pub const XK_l: u32 = 108;
982pub const XK_m: u32 = 109;
983pub const XK_n: u32 = 110;
984pub const XK_o: u32 = 111;
985pub const XK_p: u32 = 112;
986pub const XK_q: u32 = 113;
987pub const XK_r: u32 = 114;
988pub const XK_s: u32 = 115;
989pub const XK_t: u32 = 116;
990pub const XK_u: u32 = 117;
991pub const XK_v: u32 = 118;
992pub const XK_w: u32 = 119;
993pub const XK_x: u32 = 120;
994pub const XK_y: u32 = 121;
995pub const XK_z: u32 = 122;
996pub const XK_braceleft: u32 = 123;
997pub const XK_bar: u32 = 124;
998pub const XK_braceright: u32 = 125;
999pub const XK_asciitilde: u32 = 126;
1000pub const XK_nobreakspace: u32 = 160;
1001pub const XK_exclamdown: u32 = 161;
1002pub const XK_cent: u32 = 162;
1003pub const XK_sterling: u32 = 163;
1004pub const XK_currency: u32 = 164;
1005pub const XK_yen: u32 = 165;
1006pub const XK_brokenbar: u32 = 166;
1007pub const XK_section: u32 = 167;
1008pub const XK_diaeresis: u32 = 168;
1009pub const XK_copyright: u32 = 169;
1010pub const XK_ordfeminine: u32 = 170;
1011pub const XK_guillemotleft: u32 = 171;
1012pub const XK_notsign: u32 = 172;
1013pub const XK_hyphen: u32 = 173;
1014pub const XK_registered: u32 = 174;
1015pub const XK_macron: u32 = 175;
1016pub const XK_degree: u32 = 176;
1017pub const XK_plusminus: u32 = 177;
1018pub const XK_twosuperior: u32 = 178;
1019pub const XK_threesuperior: u32 = 179;
1020pub const XK_acute: u32 = 180;
1021pub const XK_mu: u32 = 181;
1022pub const XK_paragraph: u32 = 182;
1023pub const XK_periodcentered: u32 = 183;
1024pub const XK_cedilla: u32 = 184;
1025pub const XK_onesuperior: u32 = 185;
1026pub const XK_masculine: u32 = 186;
1027pub const XK_guillemotright: u32 = 187;
1028pub const XK_onequarter: u32 = 188;
1029pub const XK_onehalf: u32 = 189;
1030pub const XK_threequarters: u32 = 190;
1031pub const XK_questiondown: u32 = 191;
1032pub const XK_Agrave: u32 = 192;
1033pub const XK_Aacute: u32 = 193;
1034pub const XK_Acircumflex: u32 = 194;
1035pub const XK_Atilde: u32 = 195;
1036pub const XK_Adiaeresis: u32 = 196;
1037pub const XK_Aring: u32 = 197;
1038pub const XK_AE: u32 = 198;
1039pub const XK_Ccedilla: u32 = 199;
1040pub const XK_Egrave: u32 = 200;
1041pub const XK_Eacute: u32 = 201;
1042pub const XK_Ecircumflex: u32 = 202;
1043pub const XK_Ediaeresis: u32 = 203;
1044pub const XK_Igrave: u32 = 204;
1045pub const XK_Iacute: u32 = 205;
1046pub const XK_Icircumflex: u32 = 206;
1047pub const XK_Idiaeresis: u32 = 207;
1048pub const XK_ETH: u32 = 208;
1049pub const XK_Eth: u32 = 208;
1050pub const XK_Ntilde: u32 = 209;
1051pub const XK_Ograve: u32 = 210;
1052pub const XK_Oacute: u32 = 211;
1053pub const XK_Ocircumflex: u32 = 212;
1054pub const XK_Otilde: u32 = 213;
1055pub const XK_Odiaeresis: u32 = 214;
1056pub const XK_multiply: u32 = 215;
1057pub const XK_Oslash: u32 = 216;
1058pub const XK_Ooblique: u32 = 216;
1059pub const XK_Ugrave: u32 = 217;
1060pub const XK_Uacute: u32 = 218;
1061pub const XK_Ucircumflex: u32 = 219;
1062pub const XK_Udiaeresis: u32 = 220;
1063pub const XK_Yacute: u32 = 221;
1064pub const XK_THORN: u32 = 222;
1065pub const XK_Thorn: u32 = 222;
1066pub const XK_ssharp: u32 = 223;
1067pub const XK_agrave: u32 = 224;
1068pub const XK_aacute: u32 = 225;
1069pub const XK_acircumflex: u32 = 226;
1070pub const XK_atilde: u32 = 227;
1071pub const XK_adiaeresis: u32 = 228;
1072pub const XK_aring: u32 = 229;
1073pub const XK_ae: u32 = 230;
1074pub const XK_ccedilla: u32 = 231;
1075pub const XK_egrave: u32 = 232;
1076pub const XK_eacute: u32 = 233;
1077pub const XK_ecircumflex: u32 = 234;
1078pub const XK_ediaeresis: u32 = 235;
1079pub const XK_igrave: u32 = 236;
1080pub const XK_iacute: u32 = 237;
1081pub const XK_icircumflex: u32 = 238;
1082pub const XK_idiaeresis: u32 = 239;
1083pub const XK_eth: u32 = 240;
1084pub const XK_ntilde: u32 = 241;
1085pub const XK_ograve: u32 = 242;
1086pub const XK_oacute: u32 = 243;
1087pub const XK_ocircumflex: u32 = 244;
1088pub const XK_otilde: u32 = 245;
1089pub const XK_odiaeresis: u32 = 246;
1090pub const XK_division: u32 = 247;
1091pub const XK_oslash: u32 = 248;
1092pub const XK_ooblique: u32 = 248;
1093pub const XK_ugrave: u32 = 249;
1094pub const XK_uacute: u32 = 250;
1095pub const XK_ucircumflex: u32 = 251;
1096pub const XK_udiaeresis: u32 = 252;
1097pub const XK_yacute: u32 = 253;
1098pub const XK_thorn: u32 = 254;
1099pub const XK_ydiaeresis: u32 = 255;
1100pub const XK_Aogonek: u32 = 417;
1101pub const XK_breve: u32 = 418;
1102pub const XK_Lstroke: u32 = 419;
1103pub const XK_Lcaron: u32 = 421;
1104pub const XK_Sacute: u32 = 422;
1105pub const XK_Scaron: u32 = 425;
1106pub const XK_Scedilla: u32 = 426;
1107pub const XK_Tcaron: u32 = 427;
1108pub const XK_Zacute: u32 = 428;
1109pub const XK_Zcaron: u32 = 430;
1110pub const XK_Zabovedot: u32 = 431;
1111pub const XK_aogonek: u32 = 433;
1112pub const XK_ogonek: u32 = 434;
1113pub const XK_lstroke: u32 = 435;
1114pub const XK_lcaron: u32 = 437;
1115pub const XK_sacute: u32 = 438;
1116pub const XK_caron: u32 = 439;
1117pub const XK_scaron: u32 = 441;
1118pub const XK_scedilla: u32 = 442;
1119pub const XK_tcaron: u32 = 443;
1120pub const XK_zacute: u32 = 444;
1121pub const XK_doubleacute: u32 = 445;
1122pub const XK_zcaron: u32 = 446;
1123pub const XK_zabovedot: u32 = 447;
1124pub const XK_Racute: u32 = 448;
1125pub const XK_Abreve: u32 = 451;
1126pub const XK_Lacute: u32 = 453;
1127pub const XK_Cacute: u32 = 454;
1128pub const XK_Ccaron: u32 = 456;
1129pub const XK_Eogonek: u32 = 458;
1130pub const XK_Ecaron: u32 = 460;
1131pub const XK_Dcaron: u32 = 463;
1132pub const XK_Dstroke: u32 = 464;
1133pub const XK_Nacute: u32 = 465;
1134pub const XK_Ncaron: u32 = 466;
1135pub const XK_Odoubleacute: u32 = 469;
1136pub const XK_Rcaron: u32 = 472;
1137pub const XK_Uring: u32 = 473;
1138pub const XK_Udoubleacute: u32 = 475;
1139pub const XK_Tcedilla: u32 = 478;
1140pub const XK_racute: u32 = 480;
1141pub const XK_abreve: u32 = 483;
1142pub const XK_lacute: u32 = 485;
1143pub const XK_cacute: u32 = 486;
1144pub const XK_ccaron: u32 = 488;
1145pub const XK_eogonek: u32 = 490;
1146pub const XK_ecaron: u32 = 492;
1147pub const XK_dcaron: u32 = 495;
1148pub const XK_dstroke: u32 = 496;
1149pub const XK_nacute: u32 = 497;
1150pub const XK_ncaron: u32 = 498;
1151pub const XK_odoubleacute: u32 = 501;
1152pub const XK_rcaron: u32 = 504;
1153pub const XK_uring: u32 = 505;
1154pub const XK_udoubleacute: u32 = 507;
1155pub const XK_tcedilla: u32 = 510;
1156pub const XK_abovedot: u32 = 511;
1157pub const XK_Hstroke: u32 = 673;
1158pub const XK_Hcircumflex: u32 = 678;
1159pub const XK_Iabovedot: u32 = 681;
1160pub const XK_Gbreve: u32 = 683;
1161pub const XK_Jcircumflex: u32 = 684;
1162pub const XK_hstroke: u32 = 689;
1163pub const XK_hcircumflex: u32 = 694;
1164pub const XK_idotless: u32 = 697;
1165pub const XK_gbreve: u32 = 699;
1166pub const XK_jcircumflex: u32 = 700;
1167pub const XK_Cabovedot: u32 = 709;
1168pub const XK_Ccircumflex: u32 = 710;
1169pub const XK_Gabovedot: u32 = 725;
1170pub const XK_Gcircumflex: u32 = 728;
1171pub const XK_Ubreve: u32 = 733;
1172pub const XK_Scircumflex: u32 = 734;
1173pub const XK_cabovedot: u32 = 741;
1174pub const XK_ccircumflex: u32 = 742;
1175pub const XK_gabovedot: u32 = 757;
1176pub const XK_gcircumflex: u32 = 760;
1177pub const XK_ubreve: u32 = 765;
1178pub const XK_scircumflex: u32 = 766;
1179pub const XK_kra: u32 = 930;
1180pub const XK_kappa: u32 = 930;
1181pub const XK_Rcedilla: u32 = 931;
1182pub const XK_Itilde: u32 = 933;
1183pub const XK_Lcedilla: u32 = 934;
1184pub const XK_Emacron: u32 = 938;
1185pub const XK_Gcedilla: u32 = 939;
1186pub const XK_Tslash: u32 = 940;
1187pub const XK_rcedilla: u32 = 947;
1188pub const XK_itilde: u32 = 949;
1189pub const XK_lcedilla: u32 = 950;
1190pub const XK_emacron: u32 = 954;
1191pub const XK_gcedilla: u32 = 955;
1192pub const XK_tslash: u32 = 956;
1193pub const XK_ENG: u32 = 957;
1194pub const XK_eng: u32 = 959;
1195pub const XK_Amacron: u32 = 960;
1196pub const XK_Iogonek: u32 = 967;
1197pub const XK_Eabovedot: u32 = 972;
1198pub const XK_Imacron: u32 = 975;
1199pub const XK_Ncedilla: u32 = 977;
1200pub const XK_Omacron: u32 = 978;
1201pub const XK_Kcedilla: u32 = 979;
1202pub const XK_Uogonek: u32 = 985;
1203pub const XK_Utilde: u32 = 989;
1204pub const XK_Umacron: u32 = 990;
1205pub const XK_amacron: u32 = 992;
1206pub const XK_iogonek: u32 = 999;
1207pub const XK_eabovedot: u32 = 1004;
1208pub const XK_imacron: u32 = 1007;
1209pub const XK_ncedilla: u32 = 1009;
1210pub const XK_omacron: u32 = 1010;
1211pub const XK_kcedilla: u32 = 1011;
1212pub const XK_uogonek: u32 = 1017;
1213pub const XK_utilde: u32 = 1021;
1214pub const XK_umacron: u32 = 1022;
1215pub const XK_Wcircumflex: u32 = 16777588;
1216pub const XK_wcircumflex: u32 = 16777589;
1217pub const XK_Ycircumflex: u32 = 16777590;
1218pub const XK_ycircumflex: u32 = 16777591;
1219pub const XK_Babovedot: u32 = 16784898;
1220pub const XK_babovedot: u32 = 16784899;
1221pub const XK_Dabovedot: u32 = 16784906;
1222pub const XK_dabovedot: u32 = 16784907;
1223pub const XK_Fabovedot: u32 = 16784926;
1224pub const XK_fabovedot: u32 = 16784927;
1225pub const XK_Mabovedot: u32 = 16784960;
1226pub const XK_mabovedot: u32 = 16784961;
1227pub const XK_Pabovedot: u32 = 16784982;
1228pub const XK_pabovedot: u32 = 16784983;
1229pub const XK_Sabovedot: u32 = 16784992;
1230pub const XK_sabovedot: u32 = 16784993;
1231pub const XK_Tabovedot: u32 = 16785002;
1232pub const XK_tabovedot: u32 = 16785003;
1233pub const XK_Wgrave: u32 = 16785024;
1234pub const XK_wgrave: u32 = 16785025;
1235pub const XK_Wacute: u32 = 16785026;
1236pub const XK_wacute: u32 = 16785027;
1237pub const XK_Wdiaeresis: u32 = 16785028;
1238pub const XK_wdiaeresis: u32 = 16785029;
1239pub const XK_Ygrave: u32 = 16785138;
1240pub const XK_ygrave: u32 = 16785139;
1241pub const XK_OE: u32 = 5052;
1242pub const XK_oe: u32 = 5053;
1243pub const XK_Ydiaeresis: u32 = 5054;
1244pub const XK_overline: u32 = 1150;
1245pub const XK_kana_fullstop: u32 = 1185;
1246pub const XK_kana_openingbracket: u32 = 1186;
1247pub const XK_kana_closingbracket: u32 = 1187;
1248pub const XK_kana_comma: u32 = 1188;
1249pub const XK_kana_conjunctive: u32 = 1189;
1250pub const XK_kana_middledot: u32 = 1189;
1251pub const XK_kana_WO: u32 = 1190;
1252pub const XK_kana_a: u32 = 1191;
1253pub const XK_kana_i: u32 = 1192;
1254pub const XK_kana_u: u32 = 1193;
1255pub const XK_kana_e: u32 = 1194;
1256pub const XK_kana_o: u32 = 1195;
1257pub const XK_kana_ya: u32 = 1196;
1258pub const XK_kana_yu: u32 = 1197;
1259pub const XK_kana_yo: u32 = 1198;
1260pub const XK_kana_tsu: u32 = 1199;
1261pub const XK_kana_tu: u32 = 1199;
1262pub const XK_prolongedsound: u32 = 1200;
1263pub const XK_kana_A: u32 = 1201;
1264pub const XK_kana_I: u32 = 1202;
1265pub const XK_kana_U: u32 = 1203;
1266pub const XK_kana_E: u32 = 1204;
1267pub const XK_kana_O: u32 = 1205;
1268pub const XK_kana_KA: u32 = 1206;
1269pub const XK_kana_KI: u32 = 1207;
1270pub const XK_kana_KU: u32 = 1208;
1271pub const XK_kana_KE: u32 = 1209;
1272pub const XK_kana_KO: u32 = 1210;
1273pub const XK_kana_SA: u32 = 1211;
1274pub const XK_kana_SHI: u32 = 1212;
1275pub const XK_kana_SU: u32 = 1213;
1276pub const XK_kana_SE: u32 = 1214;
1277pub const XK_kana_SO: u32 = 1215;
1278pub const XK_kana_TA: u32 = 1216;
1279pub const XK_kana_CHI: u32 = 1217;
1280pub const XK_kana_TI: u32 = 1217;
1281pub const XK_kana_TSU: u32 = 1218;
1282pub const XK_kana_TU: u32 = 1218;
1283pub const XK_kana_TE: u32 = 1219;
1284pub const XK_kana_TO: u32 = 1220;
1285pub const XK_kana_NA: u32 = 1221;
1286pub const XK_kana_NI: u32 = 1222;
1287pub const XK_kana_NU: u32 = 1223;
1288pub const XK_kana_NE: u32 = 1224;
1289pub const XK_kana_NO: u32 = 1225;
1290pub const XK_kana_HA: u32 = 1226;
1291pub const XK_kana_HI: u32 = 1227;
1292pub const XK_kana_FU: u32 = 1228;
1293pub const XK_kana_HU: u32 = 1228;
1294pub const XK_kana_HE: u32 = 1229;
1295pub const XK_kana_HO: u32 = 1230;
1296pub const XK_kana_MA: u32 = 1231;
1297pub const XK_kana_MI: u32 = 1232;
1298pub const XK_kana_MU: u32 = 1233;
1299pub const XK_kana_ME: u32 = 1234;
1300pub const XK_kana_MO: u32 = 1235;
1301pub const XK_kana_YA: u32 = 1236;
1302pub const XK_kana_YU: u32 = 1237;
1303pub const XK_kana_YO: u32 = 1238;
1304pub const XK_kana_RA: u32 = 1239;
1305pub const XK_kana_RI: u32 = 1240;
1306pub const XK_kana_RU: u32 = 1241;
1307pub const XK_kana_RE: u32 = 1242;
1308pub const XK_kana_RO: u32 = 1243;
1309pub const XK_kana_WA: u32 = 1244;
1310pub const XK_kana_N: u32 = 1245;
1311pub const XK_voicedsound: u32 = 1246;
1312pub const XK_semivoicedsound: u32 = 1247;
1313pub const XK_kana_switch: u32 = 65406;
1314pub const XK_Farsi_0: u32 = 16778992;
1315pub const XK_Farsi_1: u32 = 16778993;
1316pub const XK_Farsi_2: u32 = 16778994;
1317pub const XK_Farsi_3: u32 = 16778995;
1318pub const XK_Farsi_4: u32 = 16778996;
1319pub const XK_Farsi_5: u32 = 16778997;
1320pub const XK_Farsi_6: u32 = 16778998;
1321pub const XK_Farsi_7: u32 = 16778999;
1322pub const XK_Farsi_8: u32 = 16779000;
1323pub const XK_Farsi_9: u32 = 16779001;
1324pub const XK_Arabic_percent: u32 = 16778858;
1325pub const XK_Arabic_superscript_alef: u32 = 16778864;
1326pub const XK_Arabic_tteh: u32 = 16778873;
1327pub const XK_Arabic_peh: u32 = 16778878;
1328pub const XK_Arabic_tcheh: u32 = 16778886;
1329pub const XK_Arabic_ddal: u32 = 16778888;
1330pub const XK_Arabic_rreh: u32 = 16778897;
1331pub const XK_Arabic_comma: u32 = 1452;
1332pub const XK_Arabic_fullstop: u32 = 16778964;
1333pub const XK_Arabic_0: u32 = 16778848;
1334pub const XK_Arabic_1: u32 = 16778849;
1335pub const XK_Arabic_2: u32 = 16778850;
1336pub const XK_Arabic_3: u32 = 16778851;
1337pub const XK_Arabic_4: u32 = 16778852;
1338pub const XK_Arabic_5: u32 = 16778853;
1339pub const XK_Arabic_6: u32 = 16778854;
1340pub const XK_Arabic_7: u32 = 16778855;
1341pub const XK_Arabic_8: u32 = 16778856;
1342pub const XK_Arabic_9: u32 = 16778857;
1343pub const XK_Arabic_semicolon: u32 = 1467;
1344pub const XK_Arabic_question_mark: u32 = 1471;
1345pub const XK_Arabic_hamza: u32 = 1473;
1346pub const XK_Arabic_maddaonalef: u32 = 1474;
1347pub const XK_Arabic_hamzaonalef: u32 = 1475;
1348pub const XK_Arabic_hamzaonwaw: u32 = 1476;
1349pub const XK_Arabic_hamzaunderalef: u32 = 1477;
1350pub const XK_Arabic_hamzaonyeh: u32 = 1478;
1351pub const XK_Arabic_alef: u32 = 1479;
1352pub const XK_Arabic_beh: u32 = 1480;
1353pub const XK_Arabic_tehmarbuta: u32 = 1481;
1354pub const XK_Arabic_teh: u32 = 1482;
1355pub const XK_Arabic_theh: u32 = 1483;
1356pub const XK_Arabic_jeem: u32 = 1484;
1357pub const XK_Arabic_hah: u32 = 1485;
1358pub const XK_Arabic_khah: u32 = 1486;
1359pub const XK_Arabic_dal: u32 = 1487;
1360pub const XK_Arabic_thal: u32 = 1488;
1361pub const XK_Arabic_ra: u32 = 1489;
1362pub const XK_Arabic_zain: u32 = 1490;
1363pub const XK_Arabic_seen: u32 = 1491;
1364pub const XK_Arabic_sheen: u32 = 1492;
1365pub const XK_Arabic_sad: u32 = 1493;
1366pub const XK_Arabic_dad: u32 = 1494;
1367pub const XK_Arabic_tah: u32 = 1495;
1368pub const XK_Arabic_zah: u32 = 1496;
1369pub const XK_Arabic_ain: u32 = 1497;
1370pub const XK_Arabic_ghain: u32 = 1498;
1371pub const XK_Arabic_tatweel: u32 = 1504;
1372pub const XK_Arabic_feh: u32 = 1505;
1373pub const XK_Arabic_qaf: u32 = 1506;
1374pub const XK_Arabic_kaf: u32 = 1507;
1375pub const XK_Arabic_lam: u32 = 1508;
1376pub const XK_Arabic_meem: u32 = 1509;
1377pub const XK_Arabic_noon: u32 = 1510;
1378pub const XK_Arabic_ha: u32 = 1511;
1379pub const XK_Arabic_heh: u32 = 1511;
1380pub const XK_Arabic_waw: u32 = 1512;
1381pub const XK_Arabic_alefmaksura: u32 = 1513;
1382pub const XK_Arabic_yeh: u32 = 1514;
1383pub const XK_Arabic_fathatan: u32 = 1515;
1384pub const XK_Arabic_dammatan: u32 = 1516;
1385pub const XK_Arabic_kasratan: u32 = 1517;
1386pub const XK_Arabic_fatha: u32 = 1518;
1387pub const XK_Arabic_damma: u32 = 1519;
1388pub const XK_Arabic_kasra: u32 = 1520;
1389pub const XK_Arabic_shadda: u32 = 1521;
1390pub const XK_Arabic_sukun: u32 = 1522;
1391pub const XK_Arabic_madda_above: u32 = 16778835;
1392pub const XK_Arabic_hamza_above: u32 = 16778836;
1393pub const XK_Arabic_hamza_below: u32 = 16778837;
1394pub const XK_Arabic_jeh: u32 = 16778904;
1395pub const XK_Arabic_veh: u32 = 16778916;
1396pub const XK_Arabic_keheh: u32 = 16778921;
1397pub const XK_Arabic_gaf: u32 = 16778927;
1398pub const XK_Arabic_noon_ghunna: u32 = 16778938;
1399pub const XK_Arabic_heh_doachashmee: u32 = 16778942;
1400pub const XK_Farsi_yeh: u32 = 16778956;
1401pub const XK_Arabic_farsi_yeh: u32 = 16778956;
1402pub const XK_Arabic_yeh_baree: u32 = 16778962;
1403pub const XK_Arabic_heh_goal: u32 = 16778945;
1404pub const XK_Arabic_switch: u32 = 65406;
1405pub const XK_Cyrillic_GHE_bar: u32 = 16778386;
1406pub const XK_Cyrillic_ghe_bar: u32 = 16778387;
1407pub const XK_Cyrillic_ZHE_descender: u32 = 16778390;
1408pub const XK_Cyrillic_zhe_descender: u32 = 16778391;
1409pub const XK_Cyrillic_KA_descender: u32 = 16778394;
1410pub const XK_Cyrillic_ka_descender: u32 = 16778395;
1411pub const XK_Cyrillic_KA_vertstroke: u32 = 16778396;
1412pub const XK_Cyrillic_ka_vertstroke: u32 = 16778397;
1413pub const XK_Cyrillic_EN_descender: u32 = 16778402;
1414pub const XK_Cyrillic_en_descender: u32 = 16778403;
1415pub const XK_Cyrillic_U_straight: u32 = 16778414;
1416pub const XK_Cyrillic_u_straight: u32 = 16778415;
1417pub const XK_Cyrillic_U_straight_bar: u32 = 16778416;
1418pub const XK_Cyrillic_u_straight_bar: u32 = 16778417;
1419pub const XK_Cyrillic_HA_descender: u32 = 16778418;
1420pub const XK_Cyrillic_ha_descender: u32 = 16778419;
1421pub const XK_Cyrillic_CHE_descender: u32 = 16778422;
1422pub const XK_Cyrillic_che_descender: u32 = 16778423;
1423pub const XK_Cyrillic_CHE_vertstroke: u32 = 16778424;
1424pub const XK_Cyrillic_che_vertstroke: u32 = 16778425;
1425pub const XK_Cyrillic_SHHA: u32 = 16778426;
1426pub const XK_Cyrillic_shha: u32 = 16778427;
1427pub const XK_Cyrillic_SCHWA: u32 = 16778456;
1428pub const XK_Cyrillic_schwa: u32 = 16778457;
1429pub const XK_Cyrillic_I_macron: u32 = 16778466;
1430pub const XK_Cyrillic_i_macron: u32 = 16778467;
1431pub const XK_Cyrillic_O_bar: u32 = 16778472;
1432pub const XK_Cyrillic_o_bar: u32 = 16778473;
1433pub const XK_Cyrillic_U_macron: u32 = 16778478;
1434pub const XK_Cyrillic_u_macron: u32 = 16778479;
1435pub const XK_Serbian_dje: u32 = 1697;
1436pub const XK_Macedonia_gje: u32 = 1698;
1437pub const XK_Cyrillic_io: u32 = 1699;
1438pub const XK_Ukrainian_ie: u32 = 1700;
1439pub const XK_Ukranian_je: u32 = 1700;
1440pub const XK_Macedonia_dse: u32 = 1701;
1441pub const XK_Ukrainian_i: u32 = 1702;
1442pub const XK_Ukranian_i: u32 = 1702;
1443pub const XK_Ukrainian_yi: u32 = 1703;
1444pub const XK_Ukranian_yi: u32 = 1703;
1445pub const XK_Cyrillic_je: u32 = 1704;
1446pub const XK_Serbian_je: u32 = 1704;
1447pub const XK_Cyrillic_lje: u32 = 1705;
1448pub const XK_Serbian_lje: u32 = 1705;
1449pub const XK_Cyrillic_nje: u32 = 1706;
1450pub const XK_Serbian_nje: u32 = 1706;
1451pub const XK_Serbian_tshe: u32 = 1707;
1452pub const XK_Macedonia_kje: u32 = 1708;
1453pub const XK_Ukrainian_ghe_with_upturn: u32 = 1709;
1454pub const XK_Byelorussian_shortu: u32 = 1710;
1455pub const XK_Cyrillic_dzhe: u32 = 1711;
1456pub const XK_Serbian_dze: u32 = 1711;
1457pub const XK_numerosign: u32 = 1712;
1458pub const XK_Serbian_DJE: u32 = 1713;
1459pub const XK_Macedonia_GJE: u32 = 1714;
1460pub const XK_Cyrillic_IO: u32 = 1715;
1461pub const XK_Ukrainian_IE: u32 = 1716;
1462pub const XK_Ukranian_JE: u32 = 1716;
1463pub const XK_Macedonia_DSE: u32 = 1717;
1464pub const XK_Ukrainian_I: u32 = 1718;
1465pub const XK_Ukranian_I: u32 = 1718;
1466pub const XK_Ukrainian_YI: u32 = 1719;
1467pub const XK_Ukranian_YI: u32 = 1719;
1468pub const XK_Cyrillic_JE: u32 = 1720;
1469pub const XK_Serbian_JE: u32 = 1720;
1470pub const XK_Cyrillic_LJE: u32 = 1721;
1471pub const XK_Serbian_LJE: u32 = 1721;
1472pub const XK_Cyrillic_NJE: u32 = 1722;
1473pub const XK_Serbian_NJE: u32 = 1722;
1474pub const XK_Serbian_TSHE: u32 = 1723;
1475pub const XK_Macedonia_KJE: u32 = 1724;
1476pub const XK_Ukrainian_GHE_WITH_UPTURN: u32 = 1725;
1477pub const XK_Byelorussian_SHORTU: u32 = 1726;
1478pub const XK_Cyrillic_DZHE: u32 = 1727;
1479pub const XK_Serbian_DZE: u32 = 1727;
1480pub const XK_Cyrillic_yu: u32 = 1728;
1481pub const XK_Cyrillic_a: u32 = 1729;
1482pub const XK_Cyrillic_be: u32 = 1730;
1483pub const XK_Cyrillic_tse: u32 = 1731;
1484pub const XK_Cyrillic_de: u32 = 1732;
1485pub const XK_Cyrillic_ie: u32 = 1733;
1486pub const XK_Cyrillic_ef: u32 = 1734;
1487pub const XK_Cyrillic_ghe: u32 = 1735;
1488pub const XK_Cyrillic_ha: u32 = 1736;
1489pub const XK_Cyrillic_i: u32 = 1737;
1490pub const XK_Cyrillic_shorti: u32 = 1738;
1491pub const XK_Cyrillic_ka: u32 = 1739;
1492pub const XK_Cyrillic_el: u32 = 1740;
1493pub const XK_Cyrillic_em: u32 = 1741;
1494pub const XK_Cyrillic_en: u32 = 1742;
1495pub const XK_Cyrillic_o: u32 = 1743;
1496pub const XK_Cyrillic_pe: u32 = 1744;
1497pub const XK_Cyrillic_ya: u32 = 1745;
1498pub const XK_Cyrillic_er: u32 = 1746;
1499pub const XK_Cyrillic_es: u32 = 1747;
1500pub const XK_Cyrillic_te: u32 = 1748;
1501pub const XK_Cyrillic_u: u32 = 1749;
1502pub const XK_Cyrillic_zhe: u32 = 1750;
1503pub const XK_Cyrillic_ve: u32 = 1751;
1504pub const XK_Cyrillic_softsign: u32 = 1752;
1505pub const XK_Cyrillic_yeru: u32 = 1753;
1506pub const XK_Cyrillic_ze: u32 = 1754;
1507pub const XK_Cyrillic_sha: u32 = 1755;
1508pub const XK_Cyrillic_e: u32 = 1756;
1509pub const XK_Cyrillic_shcha: u32 = 1757;
1510pub const XK_Cyrillic_che: u32 = 1758;
1511pub const XK_Cyrillic_hardsign: u32 = 1759;
1512pub const XK_Cyrillic_YU: u32 = 1760;
1513pub const XK_Cyrillic_A: u32 = 1761;
1514pub const XK_Cyrillic_BE: u32 = 1762;
1515pub const XK_Cyrillic_TSE: u32 = 1763;
1516pub const XK_Cyrillic_DE: u32 = 1764;
1517pub const XK_Cyrillic_IE: u32 = 1765;
1518pub const XK_Cyrillic_EF: u32 = 1766;
1519pub const XK_Cyrillic_GHE: u32 = 1767;
1520pub const XK_Cyrillic_HA: u32 = 1768;
1521pub const XK_Cyrillic_I: u32 = 1769;
1522pub const XK_Cyrillic_SHORTI: u32 = 1770;
1523pub const XK_Cyrillic_KA: u32 = 1771;
1524pub const XK_Cyrillic_EL: u32 = 1772;
1525pub const XK_Cyrillic_EM: u32 = 1773;
1526pub const XK_Cyrillic_EN: u32 = 1774;
1527pub const XK_Cyrillic_O: u32 = 1775;
1528pub const XK_Cyrillic_PE: u32 = 1776;
1529pub const XK_Cyrillic_YA: u32 = 1777;
1530pub const XK_Cyrillic_ER: u32 = 1778;
1531pub const XK_Cyrillic_ES: u32 = 1779;
1532pub const XK_Cyrillic_TE: u32 = 1780;
1533pub const XK_Cyrillic_U: u32 = 1781;
1534pub const XK_Cyrillic_ZHE: u32 = 1782;
1535pub const XK_Cyrillic_VE: u32 = 1783;
1536pub const XK_Cyrillic_SOFTSIGN: u32 = 1784;
1537pub const XK_Cyrillic_YERU: u32 = 1785;
1538pub const XK_Cyrillic_ZE: u32 = 1786;
1539pub const XK_Cyrillic_SHA: u32 = 1787;
1540pub const XK_Cyrillic_E: u32 = 1788;
1541pub const XK_Cyrillic_SHCHA: u32 = 1789;
1542pub const XK_Cyrillic_CHE: u32 = 1790;
1543pub const XK_Cyrillic_HARDSIGN: u32 = 1791;
1544pub const XK_Greek_ALPHAaccent: u32 = 1953;
1545pub const XK_Greek_EPSILONaccent: u32 = 1954;
1546pub const XK_Greek_ETAaccent: u32 = 1955;
1547pub const XK_Greek_IOTAaccent: u32 = 1956;
1548pub const XK_Greek_IOTAdieresis: u32 = 1957;
1549pub const XK_Greek_IOTAdiaeresis: u32 = 1957;
1550pub const XK_Greek_OMICRONaccent: u32 = 1959;
1551pub const XK_Greek_UPSILONaccent: u32 = 1960;
1552pub const XK_Greek_UPSILONdieresis: u32 = 1961;
1553pub const XK_Greek_OMEGAaccent: u32 = 1963;
1554pub const XK_Greek_accentdieresis: u32 = 1966;
1555pub const XK_Greek_horizbar: u32 = 1967;
1556pub const XK_Greek_alphaaccent: u32 = 1969;
1557pub const XK_Greek_epsilonaccent: u32 = 1970;
1558pub const XK_Greek_etaaccent: u32 = 1971;
1559pub const XK_Greek_iotaaccent: u32 = 1972;
1560pub const XK_Greek_iotadieresis: u32 = 1973;
1561pub const XK_Greek_iotaaccentdieresis: u32 = 1974;
1562pub const XK_Greek_omicronaccent: u32 = 1975;
1563pub const XK_Greek_upsilonaccent: u32 = 1976;
1564pub const XK_Greek_upsilondieresis: u32 = 1977;
1565pub const XK_Greek_upsilonaccentdieresis: u32 = 1978;
1566pub const XK_Greek_omegaaccent: u32 = 1979;
1567pub const XK_Greek_ALPHA: u32 = 1985;
1568pub const XK_Greek_BETA: u32 = 1986;
1569pub const XK_Greek_GAMMA: u32 = 1987;
1570pub const XK_Greek_DELTA: u32 = 1988;
1571pub const XK_Greek_EPSILON: u32 = 1989;
1572pub const XK_Greek_ZETA: u32 = 1990;
1573pub const XK_Greek_ETA: u32 = 1991;
1574pub const XK_Greek_THETA: u32 = 1992;
1575pub const XK_Greek_IOTA: u32 = 1993;
1576pub const XK_Greek_KAPPA: u32 = 1994;
1577pub const XK_Greek_LAMDA: u32 = 1995;
1578pub const XK_Greek_LAMBDA: u32 = 1995;
1579pub const XK_Greek_MU: u32 = 1996;
1580pub const XK_Greek_NU: u32 = 1997;
1581pub const XK_Greek_XI: u32 = 1998;
1582pub const XK_Greek_OMICRON: u32 = 1999;
1583pub const XK_Greek_PI: u32 = 2000;
1584pub const XK_Greek_RHO: u32 = 2001;
1585pub const XK_Greek_SIGMA: u32 = 2002;
1586pub const XK_Greek_TAU: u32 = 2004;
1587pub const XK_Greek_UPSILON: u32 = 2005;
1588pub const XK_Greek_PHI: u32 = 2006;
1589pub const XK_Greek_CHI: u32 = 2007;
1590pub const XK_Greek_PSI: u32 = 2008;
1591pub const XK_Greek_OMEGA: u32 = 2009;
1592pub const XK_Greek_alpha: u32 = 2017;
1593pub const XK_Greek_beta: u32 = 2018;
1594pub const XK_Greek_gamma: u32 = 2019;
1595pub const XK_Greek_delta: u32 = 2020;
1596pub const XK_Greek_epsilon: u32 = 2021;
1597pub const XK_Greek_zeta: u32 = 2022;
1598pub const XK_Greek_eta: u32 = 2023;
1599pub const XK_Greek_theta: u32 = 2024;
1600pub const XK_Greek_iota: u32 = 2025;
1601pub const XK_Greek_kappa: u32 = 2026;
1602pub const XK_Greek_lamda: u32 = 2027;
1603pub const XK_Greek_lambda: u32 = 2027;
1604pub const XK_Greek_mu: u32 = 2028;
1605pub const XK_Greek_nu: u32 = 2029;
1606pub const XK_Greek_xi: u32 = 2030;
1607pub const XK_Greek_omicron: u32 = 2031;
1608pub const XK_Greek_pi: u32 = 2032;
1609pub const XK_Greek_rho: u32 = 2033;
1610pub const XK_Greek_sigma: u32 = 2034;
1611pub const XK_Greek_finalsmallsigma: u32 = 2035;
1612pub const XK_Greek_tau: u32 = 2036;
1613pub const XK_Greek_upsilon: u32 = 2037;
1614pub const XK_Greek_phi: u32 = 2038;
1615pub const XK_Greek_chi: u32 = 2039;
1616pub const XK_Greek_psi: u32 = 2040;
1617pub const XK_Greek_omega: u32 = 2041;
1618pub const XK_Greek_switch: u32 = 65406;
1619pub const XK_hebrew_doublelowline: u32 = 3295;
1620pub const XK_hebrew_aleph: u32 = 3296;
1621pub const XK_hebrew_bet: u32 = 3297;
1622pub const XK_hebrew_beth: u32 = 3297;
1623pub const XK_hebrew_gimel: u32 = 3298;
1624pub const XK_hebrew_gimmel: u32 = 3298;
1625pub const XK_hebrew_dalet: u32 = 3299;
1626pub const XK_hebrew_daleth: u32 = 3299;
1627pub const XK_hebrew_he: u32 = 3300;
1628pub const XK_hebrew_waw: u32 = 3301;
1629pub const XK_hebrew_zain: u32 = 3302;
1630pub const XK_hebrew_zayin: u32 = 3302;
1631pub const XK_hebrew_chet: u32 = 3303;
1632pub const XK_hebrew_het: u32 = 3303;
1633pub const XK_hebrew_tet: u32 = 3304;
1634pub const XK_hebrew_teth: u32 = 3304;
1635pub const XK_hebrew_yod: u32 = 3305;
1636pub const XK_hebrew_finalkaph: u32 = 3306;
1637pub const XK_hebrew_kaph: u32 = 3307;
1638pub const XK_hebrew_lamed: u32 = 3308;
1639pub const XK_hebrew_finalmem: u32 = 3309;
1640pub const XK_hebrew_mem: u32 = 3310;
1641pub const XK_hebrew_finalnun: u32 = 3311;
1642pub const XK_hebrew_nun: u32 = 3312;
1643pub const XK_hebrew_samech: u32 = 3313;
1644pub const XK_hebrew_samekh: u32 = 3313;
1645pub const XK_hebrew_ayin: u32 = 3314;
1646pub const XK_hebrew_finalpe: u32 = 3315;
1647pub const XK_hebrew_pe: u32 = 3316;
1648pub const XK_hebrew_finalzade: u32 = 3317;
1649pub const XK_hebrew_finalzadi: u32 = 3317;
1650pub const XK_hebrew_zade: u32 = 3318;
1651pub const XK_hebrew_zadi: u32 = 3318;
1652pub const XK_hebrew_qoph: u32 = 3319;
1653pub const XK_hebrew_kuf: u32 = 3319;
1654pub const XK_hebrew_resh: u32 = 3320;
1655pub const XK_hebrew_shin: u32 = 3321;
1656pub const XK_hebrew_taw: u32 = 3322;
1657pub const XK_hebrew_taf: u32 = 3322;
1658pub const XK_Hebrew_switch: u32 = 65406;
1659pub const XK_Thai_kokai: u32 = 3489;
1660pub const XK_Thai_khokhai: u32 = 3490;
1661pub const XK_Thai_khokhuat: u32 = 3491;
1662pub const XK_Thai_khokhwai: u32 = 3492;
1663pub const XK_Thai_khokhon: u32 = 3493;
1664pub const XK_Thai_khorakhang: u32 = 3494;
1665pub const XK_Thai_ngongu: u32 = 3495;
1666pub const XK_Thai_chochan: u32 = 3496;
1667pub const XK_Thai_choching: u32 = 3497;
1668pub const XK_Thai_chochang: u32 = 3498;
1669pub const XK_Thai_soso: u32 = 3499;
1670pub const XK_Thai_chochoe: u32 = 3500;
1671pub const XK_Thai_yoying: u32 = 3501;
1672pub const XK_Thai_dochada: u32 = 3502;
1673pub const XK_Thai_topatak: u32 = 3503;
1674pub const XK_Thai_thothan: u32 = 3504;
1675pub const XK_Thai_thonangmontho: u32 = 3505;
1676pub const XK_Thai_thophuthao: u32 = 3506;
1677pub const XK_Thai_nonen: u32 = 3507;
1678pub const XK_Thai_dodek: u32 = 3508;
1679pub const XK_Thai_totao: u32 = 3509;
1680pub const XK_Thai_thothung: u32 = 3510;
1681pub const XK_Thai_thothahan: u32 = 3511;
1682pub const XK_Thai_thothong: u32 = 3512;
1683pub const XK_Thai_nonu: u32 = 3513;
1684pub const XK_Thai_bobaimai: u32 = 3514;
1685pub const XK_Thai_popla: u32 = 3515;
1686pub const XK_Thai_phophung: u32 = 3516;
1687pub const XK_Thai_fofa: u32 = 3517;
1688pub const XK_Thai_phophan: u32 = 3518;
1689pub const XK_Thai_fofan: u32 = 3519;
1690pub const XK_Thai_phosamphao: u32 = 3520;
1691pub const XK_Thai_moma: u32 = 3521;
1692pub const XK_Thai_yoyak: u32 = 3522;
1693pub const XK_Thai_rorua: u32 = 3523;
1694pub const XK_Thai_ru: u32 = 3524;
1695pub const XK_Thai_loling: u32 = 3525;
1696pub const XK_Thai_lu: u32 = 3526;
1697pub const XK_Thai_wowaen: u32 = 3527;
1698pub const XK_Thai_sosala: u32 = 3528;
1699pub const XK_Thai_sorusi: u32 = 3529;
1700pub const XK_Thai_sosua: u32 = 3530;
1701pub const XK_Thai_hohip: u32 = 3531;
1702pub const XK_Thai_lochula: u32 = 3532;
1703pub const XK_Thai_oang: u32 = 3533;
1704pub const XK_Thai_honokhuk: u32 = 3534;
1705pub const XK_Thai_paiyannoi: u32 = 3535;
1706pub const XK_Thai_saraa: u32 = 3536;
1707pub const XK_Thai_maihanakat: u32 = 3537;
1708pub const XK_Thai_saraaa: u32 = 3538;
1709pub const XK_Thai_saraam: u32 = 3539;
1710pub const XK_Thai_sarai: u32 = 3540;
1711pub const XK_Thai_saraii: u32 = 3541;
1712pub const XK_Thai_saraue: u32 = 3542;
1713pub const XK_Thai_sarauee: u32 = 3543;
1714pub const XK_Thai_sarau: u32 = 3544;
1715pub const XK_Thai_sarauu: u32 = 3545;
1716pub const XK_Thai_phinthu: u32 = 3546;
1717pub const XK_Thai_maihanakat_maitho: u32 = 3550;
1718pub const XK_Thai_baht: u32 = 3551;
1719pub const XK_Thai_sarae: u32 = 3552;
1720pub const XK_Thai_saraae: u32 = 3553;
1721pub const XK_Thai_sarao: u32 = 3554;
1722pub const XK_Thai_saraaimaimuan: u32 = 3555;
1723pub const XK_Thai_saraaimaimalai: u32 = 3556;
1724pub const XK_Thai_lakkhangyao: u32 = 3557;
1725pub const XK_Thai_maiyamok: u32 = 3558;
1726pub const XK_Thai_maitaikhu: u32 = 3559;
1727pub const XK_Thai_maiek: u32 = 3560;
1728pub const XK_Thai_maitho: u32 = 3561;
1729pub const XK_Thai_maitri: u32 = 3562;
1730pub const XK_Thai_maichattawa: u32 = 3563;
1731pub const XK_Thai_thanthakhat: u32 = 3564;
1732pub const XK_Thai_nikhahit: u32 = 3565;
1733pub const XK_Thai_leksun: u32 = 3568;
1734pub const XK_Thai_leknung: u32 = 3569;
1735pub const XK_Thai_leksong: u32 = 3570;
1736pub const XK_Thai_leksam: u32 = 3571;
1737pub const XK_Thai_leksi: u32 = 3572;
1738pub const XK_Thai_lekha: u32 = 3573;
1739pub const XK_Thai_lekhok: u32 = 3574;
1740pub const XK_Thai_lekchet: u32 = 3575;
1741pub const XK_Thai_lekpaet: u32 = 3576;
1742pub const XK_Thai_lekkao: u32 = 3577;
1743pub const XK_Hangul: u32 = 65329;
1744pub const XK_Hangul_Start: u32 = 65330;
1745pub const XK_Hangul_End: u32 = 65331;
1746pub const XK_Hangul_Hanja: u32 = 65332;
1747pub const XK_Hangul_Jamo: u32 = 65333;
1748pub const XK_Hangul_Romaja: u32 = 65334;
1749pub const XK_Hangul_Codeinput: u32 = 65335;
1750pub const XK_Hangul_Jeonja: u32 = 65336;
1751pub const XK_Hangul_Banja: u32 = 65337;
1752pub const XK_Hangul_PreHanja: u32 = 65338;
1753pub const XK_Hangul_PostHanja: u32 = 65339;
1754pub const XK_Hangul_SingleCandidate: u32 = 65340;
1755pub const XK_Hangul_MultipleCandidate: u32 = 65341;
1756pub const XK_Hangul_PreviousCandidate: u32 = 65342;
1757pub const XK_Hangul_Special: u32 = 65343;
1758pub const XK_Hangul_switch: u32 = 65406;
1759pub const XK_Hangul_Kiyeog: u32 = 3745;
1760pub const XK_Hangul_SsangKiyeog: u32 = 3746;
1761pub const XK_Hangul_KiyeogSios: u32 = 3747;
1762pub const XK_Hangul_Nieun: u32 = 3748;
1763pub const XK_Hangul_NieunJieuj: u32 = 3749;
1764pub const XK_Hangul_NieunHieuh: u32 = 3750;
1765pub const XK_Hangul_Dikeud: u32 = 3751;
1766pub const XK_Hangul_SsangDikeud: u32 = 3752;
1767pub const XK_Hangul_Rieul: u32 = 3753;
1768pub const XK_Hangul_RieulKiyeog: u32 = 3754;
1769pub const XK_Hangul_RieulMieum: u32 = 3755;
1770pub const XK_Hangul_RieulPieub: u32 = 3756;
1771pub const XK_Hangul_RieulSios: u32 = 3757;
1772pub const XK_Hangul_RieulTieut: u32 = 3758;
1773pub const XK_Hangul_RieulPhieuf: u32 = 3759;
1774pub const XK_Hangul_RieulHieuh: u32 = 3760;
1775pub const XK_Hangul_Mieum: u32 = 3761;
1776pub const XK_Hangul_Pieub: u32 = 3762;
1777pub const XK_Hangul_SsangPieub: u32 = 3763;
1778pub const XK_Hangul_PieubSios: u32 = 3764;
1779pub const XK_Hangul_Sios: u32 = 3765;
1780pub const XK_Hangul_SsangSios: u32 = 3766;
1781pub const XK_Hangul_Ieung: u32 = 3767;
1782pub const XK_Hangul_Jieuj: u32 = 3768;
1783pub const XK_Hangul_SsangJieuj: u32 = 3769;
1784pub const XK_Hangul_Cieuc: u32 = 3770;
1785pub const XK_Hangul_Khieuq: u32 = 3771;
1786pub const XK_Hangul_Tieut: u32 = 3772;
1787pub const XK_Hangul_Phieuf: u32 = 3773;
1788pub const XK_Hangul_Hieuh: u32 = 3774;
1789pub const XK_Hangul_A: u32 = 3775;
1790pub const XK_Hangul_AE: u32 = 3776;
1791pub const XK_Hangul_YA: u32 = 3777;
1792pub const XK_Hangul_YAE: u32 = 3778;
1793pub const XK_Hangul_EO: u32 = 3779;
1794pub const XK_Hangul_E: u32 = 3780;
1795pub const XK_Hangul_YEO: u32 = 3781;
1796pub const XK_Hangul_YE: u32 = 3782;
1797pub const XK_Hangul_O: u32 = 3783;
1798pub const XK_Hangul_WA: u32 = 3784;
1799pub const XK_Hangul_WAE: u32 = 3785;
1800pub const XK_Hangul_OE: u32 = 3786;
1801pub const XK_Hangul_YO: u32 = 3787;
1802pub const XK_Hangul_U: u32 = 3788;
1803pub const XK_Hangul_WEO: u32 = 3789;
1804pub const XK_Hangul_WE: u32 = 3790;
1805pub const XK_Hangul_WI: u32 = 3791;
1806pub const XK_Hangul_YU: u32 = 3792;
1807pub const XK_Hangul_EU: u32 = 3793;
1808pub const XK_Hangul_YI: u32 = 3794;
1809pub const XK_Hangul_I: u32 = 3795;
1810pub const XK_Hangul_J_Kiyeog: u32 = 3796;
1811pub const XK_Hangul_J_SsangKiyeog: u32 = 3797;
1812pub const XK_Hangul_J_KiyeogSios: u32 = 3798;
1813pub const XK_Hangul_J_Nieun: u32 = 3799;
1814pub const XK_Hangul_J_NieunJieuj: u32 = 3800;
1815pub const XK_Hangul_J_NieunHieuh: u32 = 3801;
1816pub const XK_Hangul_J_Dikeud: u32 = 3802;
1817pub const XK_Hangul_J_Rieul: u32 = 3803;
1818pub const XK_Hangul_J_RieulKiyeog: u32 = 3804;
1819pub const XK_Hangul_J_RieulMieum: u32 = 3805;
1820pub const XK_Hangul_J_RieulPieub: u32 = 3806;
1821pub const XK_Hangul_J_RieulSios: u32 = 3807;
1822pub const XK_Hangul_J_RieulTieut: u32 = 3808;
1823pub const XK_Hangul_J_RieulPhieuf: u32 = 3809;
1824pub const XK_Hangul_J_RieulHieuh: u32 = 3810;
1825pub const XK_Hangul_J_Mieum: u32 = 3811;
1826pub const XK_Hangul_J_Pieub: u32 = 3812;
1827pub const XK_Hangul_J_PieubSios: u32 = 3813;
1828pub const XK_Hangul_J_Sios: u32 = 3814;
1829pub const XK_Hangul_J_SsangSios: u32 = 3815;
1830pub const XK_Hangul_J_Ieung: u32 = 3816;
1831pub const XK_Hangul_J_Jieuj: u32 = 3817;
1832pub const XK_Hangul_J_Cieuc: u32 = 3818;
1833pub const XK_Hangul_J_Khieuq: u32 = 3819;
1834pub const XK_Hangul_J_Tieut: u32 = 3820;
1835pub const XK_Hangul_J_Phieuf: u32 = 3821;
1836pub const XK_Hangul_J_Hieuh: u32 = 3822;
1837pub const XK_Hangul_RieulYeorinHieuh: u32 = 3823;
1838pub const XK_Hangul_SunkyeongeumMieum: u32 = 3824;
1839pub const XK_Hangul_SunkyeongeumPieub: u32 = 3825;
1840pub const XK_Hangul_PanSios: u32 = 3826;
1841pub const XK_Hangul_KkogjiDalrinIeung: u32 = 3827;
1842pub const XK_Hangul_SunkyeongeumPhieuf: u32 = 3828;
1843pub const XK_Hangul_YeorinHieuh: u32 = 3829;
1844pub const XK_Hangul_AraeA: u32 = 3830;
1845pub const XK_Hangul_AraeAE: u32 = 3831;
1846pub const XK_Hangul_J_PanSios: u32 = 3832;
1847pub const XK_Hangul_J_KkogjiDalrinIeung: u32 = 3833;
1848pub const XK_Hangul_J_YeorinHieuh: u32 = 3834;
1849pub const XK_Korean_Won: u32 = 3839;
1850pub const XK_Armenian_ligature_ew: u32 = 16778631;
1851pub const XK_Armenian_full_stop: u32 = 16778633;
1852pub const XK_Armenian_verjaket: u32 = 16778633;
1853pub const XK_Armenian_separation_mark: u32 = 16778589;
1854pub const XK_Armenian_but: u32 = 16778589;
1855pub const XK_Armenian_hyphen: u32 = 16778634;
1856pub const XK_Armenian_yentamna: u32 = 16778634;
1857pub const XK_Armenian_exclam: u32 = 16778588;
1858pub const XK_Armenian_amanak: u32 = 16778588;
1859pub const XK_Armenian_accent: u32 = 16778587;
1860pub const XK_Armenian_shesht: u32 = 16778587;
1861pub const XK_Armenian_question: u32 = 16778590;
1862pub const XK_Armenian_paruyk: u32 = 16778590;
1863pub const XK_Armenian_AYB: u32 = 16778545;
1864pub const XK_Armenian_ayb: u32 = 16778593;
1865pub const XK_Armenian_BEN: u32 = 16778546;
1866pub const XK_Armenian_ben: u32 = 16778594;
1867pub const XK_Armenian_GIM: u32 = 16778547;
1868pub const XK_Armenian_gim: u32 = 16778595;
1869pub const XK_Armenian_DA: u32 = 16778548;
1870pub const XK_Armenian_da: u32 = 16778596;
1871pub const XK_Armenian_YECH: u32 = 16778549;
1872pub const XK_Armenian_yech: u32 = 16778597;
1873pub const XK_Armenian_ZA: u32 = 16778550;
1874pub const XK_Armenian_za: u32 = 16778598;
1875pub const XK_Armenian_E: u32 = 16778551;
1876pub const XK_Armenian_e: u32 = 16778599;
1877pub const XK_Armenian_AT: u32 = 16778552;
1878pub const XK_Armenian_at: u32 = 16778600;
1879pub const XK_Armenian_TO: u32 = 16778553;
1880pub const XK_Armenian_to: u32 = 16778601;
1881pub const XK_Armenian_ZHE: u32 = 16778554;
1882pub const XK_Armenian_zhe: u32 = 16778602;
1883pub const XK_Armenian_INI: u32 = 16778555;
1884pub const XK_Armenian_ini: u32 = 16778603;
1885pub const XK_Armenian_LYUN: u32 = 16778556;
1886pub const XK_Armenian_lyun: u32 = 16778604;
1887pub const XK_Armenian_KHE: u32 = 16778557;
1888pub const XK_Armenian_khe: u32 = 16778605;
1889pub const XK_Armenian_TSA: u32 = 16778558;
1890pub const XK_Armenian_tsa: u32 = 16778606;
1891pub const XK_Armenian_KEN: u32 = 16778559;
1892pub const XK_Armenian_ken: u32 = 16778607;
1893pub const XK_Armenian_HO: u32 = 16778560;
1894pub const XK_Armenian_ho: u32 = 16778608;
1895pub const XK_Armenian_DZA: u32 = 16778561;
1896pub const XK_Armenian_dza: u32 = 16778609;
1897pub const XK_Armenian_GHAT: u32 = 16778562;
1898pub const XK_Armenian_ghat: u32 = 16778610;
1899pub const XK_Armenian_TCHE: u32 = 16778563;
1900pub const XK_Armenian_tche: u32 = 16778611;
1901pub const XK_Armenian_MEN: u32 = 16778564;
1902pub const XK_Armenian_men: u32 = 16778612;
1903pub const XK_Armenian_HI: u32 = 16778565;
1904pub const XK_Armenian_hi: u32 = 16778613;
1905pub const XK_Armenian_NU: u32 = 16778566;
1906pub const XK_Armenian_nu: u32 = 16778614;
1907pub const XK_Armenian_SHA: u32 = 16778567;
1908pub const XK_Armenian_sha: u32 = 16778615;
1909pub const XK_Armenian_VO: u32 = 16778568;
1910pub const XK_Armenian_vo: u32 = 16778616;
1911pub const XK_Armenian_CHA: u32 = 16778569;
1912pub const XK_Armenian_cha: u32 = 16778617;
1913pub const XK_Armenian_PE: u32 = 16778570;
1914pub const XK_Armenian_pe: u32 = 16778618;
1915pub const XK_Armenian_JE: u32 = 16778571;
1916pub const XK_Armenian_je: u32 = 16778619;
1917pub const XK_Armenian_RA: u32 = 16778572;
1918pub const XK_Armenian_ra: u32 = 16778620;
1919pub const XK_Armenian_SE: u32 = 16778573;
1920pub const XK_Armenian_se: u32 = 16778621;
1921pub const XK_Armenian_VEV: u32 = 16778574;
1922pub const XK_Armenian_vev: u32 = 16778622;
1923pub const XK_Armenian_TYUN: u32 = 16778575;
1924pub const XK_Armenian_tyun: u32 = 16778623;
1925pub const XK_Armenian_RE: u32 = 16778576;
1926pub const XK_Armenian_re: u32 = 16778624;
1927pub const XK_Armenian_TSO: u32 = 16778577;
1928pub const XK_Armenian_tso: u32 = 16778625;
1929pub const XK_Armenian_VYUN: u32 = 16778578;
1930pub const XK_Armenian_vyun: u32 = 16778626;
1931pub const XK_Armenian_PYUR: u32 = 16778579;
1932pub const XK_Armenian_pyur: u32 = 16778627;
1933pub const XK_Armenian_KE: u32 = 16778580;
1934pub const XK_Armenian_ke: u32 = 16778628;
1935pub const XK_Armenian_O: u32 = 16778581;
1936pub const XK_Armenian_o: u32 = 16778629;
1937pub const XK_Armenian_FE: u32 = 16778582;
1938pub const XK_Armenian_fe: u32 = 16778630;
1939pub const XK_Armenian_apostrophe: u32 = 16778586;
1940pub const XK_Georgian_an: u32 = 16781520;
1941pub const XK_Georgian_ban: u32 = 16781521;
1942pub const XK_Georgian_gan: u32 = 16781522;
1943pub const XK_Georgian_don: u32 = 16781523;
1944pub const XK_Georgian_en: u32 = 16781524;
1945pub const XK_Georgian_vin: u32 = 16781525;
1946pub const XK_Georgian_zen: u32 = 16781526;
1947pub const XK_Georgian_tan: u32 = 16781527;
1948pub const XK_Georgian_in: u32 = 16781528;
1949pub const XK_Georgian_kan: u32 = 16781529;
1950pub const XK_Georgian_las: u32 = 16781530;
1951pub const XK_Georgian_man: u32 = 16781531;
1952pub const XK_Georgian_nar: u32 = 16781532;
1953pub const XK_Georgian_on: u32 = 16781533;
1954pub const XK_Georgian_par: u32 = 16781534;
1955pub const XK_Georgian_zhar: u32 = 16781535;
1956pub const XK_Georgian_rae: u32 = 16781536;
1957pub const XK_Georgian_san: u32 = 16781537;
1958pub const XK_Georgian_tar: u32 = 16781538;
1959pub const XK_Georgian_un: u32 = 16781539;
1960pub const XK_Georgian_phar: u32 = 16781540;
1961pub const XK_Georgian_khar: u32 = 16781541;
1962pub const XK_Georgian_ghan: u32 = 16781542;
1963pub const XK_Georgian_qar: u32 = 16781543;
1964pub const XK_Georgian_shin: u32 = 16781544;
1965pub const XK_Georgian_chin: u32 = 16781545;
1966pub const XK_Georgian_can: u32 = 16781546;
1967pub const XK_Georgian_jil: u32 = 16781547;
1968pub const XK_Georgian_cil: u32 = 16781548;
1969pub const XK_Georgian_char: u32 = 16781549;
1970pub const XK_Georgian_xan: u32 = 16781550;
1971pub const XK_Georgian_jhan: u32 = 16781551;
1972pub const XK_Georgian_hae: u32 = 16781552;
1973pub const XK_Georgian_he: u32 = 16781553;
1974pub const XK_Georgian_hie: u32 = 16781554;
1975pub const XK_Georgian_we: u32 = 16781555;
1976pub const XK_Georgian_har: u32 = 16781556;
1977pub const XK_Georgian_hoe: u32 = 16781557;
1978pub const XK_Georgian_fi: u32 = 16781558;
1979pub const XK_Xabovedot: u32 = 16785034;
1980pub const XK_Ibreve: u32 = 16777516;
1981pub const XK_Zstroke: u32 = 16777653;
1982pub const XK_Gcaron: u32 = 16777702;
1983pub const XK_Ocaron: u32 = 16777681;
1984pub const XK_Obarred: u32 = 16777631;
1985pub const XK_xabovedot: u32 = 16785035;
1986pub const XK_ibreve: u32 = 16777517;
1987pub const XK_zstroke: u32 = 16777654;
1988pub const XK_gcaron: u32 = 16777703;
1989pub const XK_ocaron: u32 = 16777682;
1990pub const XK_obarred: u32 = 16777845;
1991pub const XK_SCHWA: u32 = 16777615;
1992pub const XK_schwa: u32 = 16777817;
1993pub const XK_EZH: u32 = 16777655;
1994pub const XK_ezh: u32 = 16777874;
1995pub const XK_Lbelowdot: u32 = 16784950;
1996pub const XK_lbelowdot: u32 = 16784951;
1997pub const XK_Abelowdot: u32 = 16785056;
1998pub const XK_abelowdot: u32 = 16785057;
1999pub const XK_Ahook: u32 = 16785058;
2000pub const XK_ahook: u32 = 16785059;
2001pub const XK_Acircumflexacute: u32 = 16785060;
2002pub const XK_acircumflexacute: u32 = 16785061;
2003pub const XK_Acircumflexgrave: u32 = 16785062;
2004pub const XK_acircumflexgrave: u32 = 16785063;
2005pub const XK_Acircumflexhook: u32 = 16785064;
2006pub const XK_acircumflexhook: u32 = 16785065;
2007pub const XK_Acircumflextilde: u32 = 16785066;
2008pub const XK_acircumflextilde: u32 = 16785067;
2009pub const XK_Acircumflexbelowdot: u32 = 16785068;
2010pub const XK_acircumflexbelowdot: u32 = 16785069;
2011pub const XK_Abreveacute: u32 = 16785070;
2012pub const XK_abreveacute: u32 = 16785071;
2013pub const XK_Abrevegrave: u32 = 16785072;
2014pub const XK_abrevegrave: u32 = 16785073;
2015pub const XK_Abrevehook: u32 = 16785074;
2016pub const XK_abrevehook: u32 = 16785075;
2017pub const XK_Abrevetilde: u32 = 16785076;
2018pub const XK_abrevetilde: u32 = 16785077;
2019pub const XK_Abrevebelowdot: u32 = 16785078;
2020pub const XK_abrevebelowdot: u32 = 16785079;
2021pub const XK_Ebelowdot: u32 = 16785080;
2022pub const XK_ebelowdot: u32 = 16785081;
2023pub const XK_Ehook: u32 = 16785082;
2024pub const XK_ehook: u32 = 16785083;
2025pub const XK_Etilde: u32 = 16785084;
2026pub const XK_etilde: u32 = 16785085;
2027pub const XK_Ecircumflexacute: u32 = 16785086;
2028pub const XK_ecircumflexacute: u32 = 16785087;
2029pub const XK_Ecircumflexgrave: u32 = 16785088;
2030pub const XK_ecircumflexgrave: u32 = 16785089;
2031pub const XK_Ecircumflexhook: u32 = 16785090;
2032pub const XK_ecircumflexhook: u32 = 16785091;
2033pub const XK_Ecircumflextilde: u32 = 16785092;
2034pub const XK_ecircumflextilde: u32 = 16785093;
2035pub const XK_Ecircumflexbelowdot: u32 = 16785094;
2036pub const XK_ecircumflexbelowdot: u32 = 16785095;
2037pub const XK_Ihook: u32 = 16785096;
2038pub const XK_ihook: u32 = 16785097;
2039pub const XK_Ibelowdot: u32 = 16785098;
2040pub const XK_ibelowdot: u32 = 16785099;
2041pub const XK_Obelowdot: u32 = 16785100;
2042pub const XK_obelowdot: u32 = 16785101;
2043pub const XK_Ohook: u32 = 16785102;
2044pub const XK_ohook: u32 = 16785103;
2045pub const XK_Ocircumflexacute: u32 = 16785104;
2046pub const XK_ocircumflexacute: u32 = 16785105;
2047pub const XK_Ocircumflexgrave: u32 = 16785106;
2048pub const XK_ocircumflexgrave: u32 = 16785107;
2049pub const XK_Ocircumflexhook: u32 = 16785108;
2050pub const XK_ocircumflexhook: u32 = 16785109;
2051pub const XK_Ocircumflextilde: u32 = 16785110;
2052pub const XK_ocircumflextilde: u32 = 16785111;
2053pub const XK_Ocircumflexbelowdot: u32 = 16785112;
2054pub const XK_ocircumflexbelowdot: u32 = 16785113;
2055pub const XK_Ohornacute: u32 = 16785114;
2056pub const XK_ohornacute: u32 = 16785115;
2057pub const XK_Ohorngrave: u32 = 16785116;
2058pub const XK_ohorngrave: u32 = 16785117;
2059pub const XK_Ohornhook: u32 = 16785118;
2060pub const XK_ohornhook: u32 = 16785119;
2061pub const XK_Ohorntilde: u32 = 16785120;
2062pub const XK_ohorntilde: u32 = 16785121;
2063pub const XK_Ohornbelowdot: u32 = 16785122;
2064pub const XK_ohornbelowdot: u32 = 16785123;
2065pub const XK_Ubelowdot: u32 = 16785124;
2066pub const XK_ubelowdot: u32 = 16785125;
2067pub const XK_Uhook: u32 = 16785126;
2068pub const XK_uhook: u32 = 16785127;
2069pub const XK_Uhornacute: u32 = 16785128;
2070pub const XK_uhornacute: u32 = 16785129;
2071pub const XK_Uhorngrave: u32 = 16785130;
2072pub const XK_uhorngrave: u32 = 16785131;
2073pub const XK_Uhornhook: u32 = 16785132;
2074pub const XK_uhornhook: u32 = 16785133;
2075pub const XK_Uhorntilde: u32 = 16785134;
2076pub const XK_uhorntilde: u32 = 16785135;
2077pub const XK_Uhornbelowdot: u32 = 16785136;
2078pub const XK_uhornbelowdot: u32 = 16785137;
2079pub const XK_Ybelowdot: u32 = 16785140;
2080pub const XK_ybelowdot: u32 = 16785141;
2081pub const XK_Yhook: u32 = 16785142;
2082pub const XK_yhook: u32 = 16785143;
2083pub const XK_Ytilde: u32 = 16785144;
2084pub const XK_ytilde: u32 = 16785145;
2085pub const XK_Ohorn: u32 = 16777632;
2086pub const XK_ohorn: u32 = 16777633;
2087pub const XK_Uhorn: u32 = 16777647;
2088pub const XK_uhorn: u32 = 16777648;
2089pub const XK_EcuSign: u32 = 16785568;
2090pub const XK_ColonSign: u32 = 16785569;
2091pub const XK_CruzeiroSign: u32 = 16785570;
2092pub const XK_FFrancSign: u32 = 16785571;
2093pub const XK_LiraSign: u32 = 16785572;
2094pub const XK_MillSign: u32 = 16785573;
2095pub const XK_NairaSign: u32 = 16785574;
2096pub const XK_PesetaSign: u32 = 16785575;
2097pub const XK_RupeeSign: u32 = 16785576;
2098pub const XK_WonSign: u32 = 16785577;
2099pub const XK_NewSheqelSign: u32 = 16785578;
2100pub const XK_DongSign: u32 = 16785579;
2101pub const XK_EuroSign: u32 = 8364;
2102pub const XK_zerosuperior: u32 = 16785520;
2103pub const XK_foursuperior: u32 = 16785524;
2104pub const XK_fivesuperior: u32 = 16785525;
2105pub const XK_sixsuperior: u32 = 16785526;
2106pub const XK_sevensuperior: u32 = 16785527;
2107pub const XK_eightsuperior: u32 = 16785528;
2108pub const XK_ninesuperior: u32 = 16785529;
2109pub const XK_zerosubscript: u32 = 16785536;
2110pub const XK_onesubscript: u32 = 16785537;
2111pub const XK_twosubscript: u32 = 16785538;
2112pub const XK_threesubscript: u32 = 16785539;
2113pub const XK_foursubscript: u32 = 16785540;
2114pub const XK_fivesubscript: u32 = 16785541;
2115pub const XK_sixsubscript: u32 = 16785542;
2116pub const XK_sevensubscript: u32 = 16785543;
2117pub const XK_eightsubscript: u32 = 16785544;
2118pub const XK_ninesubscript: u32 = 16785545;
2119pub const XK_partdifferential: u32 = 16785922;
2120pub const XK_emptyset: u32 = 16785925;
2121pub const XK_elementof: u32 = 16785928;
2122pub const XK_notelementof: u32 = 16785929;
2123pub const XK_containsas: u32 = 16785931;
2124pub const XK_squareroot: u32 = 16785946;
2125pub const XK_cuberoot: u32 = 16785947;
2126pub const XK_fourthroot: u32 = 16785948;
2127pub const XK_dintegral: u32 = 16785964;
2128pub const XK_tintegral: u32 = 16785965;
2129pub const XK_because: u32 = 16785973;
2130pub const XK_approxeq: u32 = 16785992;
2131pub const XK_notapproxeq: u32 = 16785991;
2132pub const XK_notidentical: u32 = 16786018;
2133pub const XK_stricteq: u32 = 16786019;
2134pub const XK_braille_dot_1: u32 = 65521;
2135pub const XK_braille_dot_2: u32 = 65522;
2136pub const XK_braille_dot_3: u32 = 65523;
2137pub const XK_braille_dot_4: u32 = 65524;
2138pub const XK_braille_dot_5: u32 = 65525;
2139pub const XK_braille_dot_6: u32 = 65526;
2140pub const XK_braille_dot_7: u32 = 65527;
2141pub const XK_braille_dot_8: u32 = 65528;
2142pub const XK_braille_dot_9: u32 = 65529;
2143pub const XK_braille_dot_10: u32 = 65530;
2144pub const XK_braille_blank: u32 = 16787456;
2145pub const XK_braille_dots_1: u32 = 16787457;
2146pub const XK_braille_dots_2: u32 = 16787458;
2147pub const XK_braille_dots_12: u32 = 16787459;
2148pub const XK_braille_dots_3: u32 = 16787460;
2149pub const XK_braille_dots_13: u32 = 16787461;
2150pub const XK_braille_dots_23: u32 = 16787462;
2151pub const XK_braille_dots_123: u32 = 16787463;
2152pub const XK_braille_dots_4: u32 = 16787464;
2153pub const XK_braille_dots_14: u32 = 16787465;
2154pub const XK_braille_dots_24: u32 = 16787466;
2155pub const XK_braille_dots_124: u32 = 16787467;
2156pub const XK_braille_dots_34: u32 = 16787468;
2157pub const XK_braille_dots_134: u32 = 16787469;
2158pub const XK_braille_dots_234: u32 = 16787470;
2159pub const XK_braille_dots_1234: u32 = 16787471;
2160pub const XK_braille_dots_5: u32 = 16787472;
2161pub const XK_braille_dots_15: u32 = 16787473;
2162pub const XK_braille_dots_25: u32 = 16787474;
2163pub const XK_braille_dots_125: u32 = 16787475;
2164pub const XK_braille_dots_35: u32 = 16787476;
2165pub const XK_braille_dots_135: u32 = 16787477;
2166pub const XK_braille_dots_235: u32 = 16787478;
2167pub const XK_braille_dots_1235: u32 = 16787479;
2168pub const XK_braille_dots_45: u32 = 16787480;
2169pub const XK_braille_dots_145: u32 = 16787481;
2170pub const XK_braille_dots_245: u32 = 16787482;
2171pub const XK_braille_dots_1245: u32 = 16787483;
2172pub const XK_braille_dots_345: u32 = 16787484;
2173pub const XK_braille_dots_1345: u32 = 16787485;
2174pub const XK_braille_dots_2345: u32 = 16787486;
2175pub const XK_braille_dots_12345: u32 = 16787487;
2176pub const XK_braille_dots_6: u32 = 16787488;
2177pub const XK_braille_dots_16: u32 = 16787489;
2178pub const XK_braille_dots_26: u32 = 16787490;
2179pub const XK_braille_dots_126: u32 = 16787491;
2180pub const XK_braille_dots_36: u32 = 16787492;
2181pub const XK_braille_dots_136: u32 = 16787493;
2182pub const XK_braille_dots_236: u32 = 16787494;
2183pub const XK_braille_dots_1236: u32 = 16787495;
2184pub const XK_braille_dots_46: u32 = 16787496;
2185pub const XK_braille_dots_146: u32 = 16787497;
2186pub const XK_braille_dots_246: u32 = 16787498;
2187pub const XK_braille_dots_1246: u32 = 16787499;
2188pub const XK_braille_dots_346: u32 = 16787500;
2189pub const XK_braille_dots_1346: u32 = 16787501;
2190pub const XK_braille_dots_2346: u32 = 16787502;
2191pub const XK_braille_dots_12346: u32 = 16787503;
2192pub const XK_braille_dots_56: u32 = 16787504;
2193pub const XK_braille_dots_156: u32 = 16787505;
2194pub const XK_braille_dots_256: u32 = 16787506;
2195pub const XK_braille_dots_1256: u32 = 16787507;
2196pub const XK_braille_dots_356: u32 = 16787508;
2197pub const XK_braille_dots_1356: u32 = 16787509;
2198pub const XK_braille_dots_2356: u32 = 16787510;
2199pub const XK_braille_dots_12356: u32 = 16787511;
2200pub const XK_braille_dots_456: u32 = 16787512;
2201pub const XK_braille_dots_1456: u32 = 16787513;
2202pub const XK_braille_dots_2456: u32 = 16787514;
2203pub const XK_braille_dots_12456: u32 = 16787515;
2204pub const XK_braille_dots_3456: u32 = 16787516;
2205pub const XK_braille_dots_13456: u32 = 16787517;
2206pub const XK_braille_dots_23456: u32 = 16787518;
2207pub const XK_braille_dots_123456: u32 = 16787519;
2208pub const XK_braille_dots_7: u32 = 16787520;
2209pub const XK_braille_dots_17: u32 = 16787521;
2210pub const XK_braille_dots_27: u32 = 16787522;
2211pub const XK_braille_dots_127: u32 = 16787523;
2212pub const XK_braille_dots_37: u32 = 16787524;
2213pub const XK_braille_dots_137: u32 = 16787525;
2214pub const XK_braille_dots_237: u32 = 16787526;
2215pub const XK_braille_dots_1237: u32 = 16787527;
2216pub const XK_braille_dots_47: u32 = 16787528;
2217pub const XK_braille_dots_147: u32 = 16787529;
2218pub const XK_braille_dots_247: u32 = 16787530;
2219pub const XK_braille_dots_1247: u32 = 16787531;
2220pub const XK_braille_dots_347: u32 = 16787532;
2221pub const XK_braille_dots_1347: u32 = 16787533;
2222pub const XK_braille_dots_2347: u32 = 16787534;
2223pub const XK_braille_dots_12347: u32 = 16787535;
2224pub const XK_braille_dots_57: u32 = 16787536;
2225pub const XK_braille_dots_157: u32 = 16787537;
2226pub const XK_braille_dots_257: u32 = 16787538;
2227pub const XK_braille_dots_1257: u32 = 16787539;
2228pub const XK_braille_dots_357: u32 = 16787540;
2229pub const XK_braille_dots_1357: u32 = 16787541;
2230pub const XK_braille_dots_2357: u32 = 16787542;
2231pub const XK_braille_dots_12357: u32 = 16787543;
2232pub const XK_braille_dots_457: u32 = 16787544;
2233pub const XK_braille_dots_1457: u32 = 16787545;
2234pub const XK_braille_dots_2457: u32 = 16787546;
2235pub const XK_braille_dots_12457: u32 = 16787547;
2236pub const XK_braille_dots_3457: u32 = 16787548;
2237pub const XK_braille_dots_13457: u32 = 16787549;
2238pub const XK_braille_dots_23457: u32 = 16787550;
2239pub const XK_braille_dots_123457: u32 = 16787551;
2240pub const XK_braille_dots_67: u32 = 16787552;
2241pub const XK_braille_dots_167: u32 = 16787553;
2242pub const XK_braille_dots_267: u32 = 16787554;
2243pub const XK_braille_dots_1267: u32 = 16787555;
2244pub const XK_braille_dots_367: u32 = 16787556;
2245pub const XK_braille_dots_1367: u32 = 16787557;
2246pub const XK_braille_dots_2367: u32 = 16787558;
2247pub const XK_braille_dots_12367: u32 = 16787559;
2248pub const XK_braille_dots_467: u32 = 16787560;
2249pub const XK_braille_dots_1467: u32 = 16787561;
2250pub const XK_braille_dots_2467: u32 = 16787562;
2251pub const XK_braille_dots_12467: u32 = 16787563;
2252pub const XK_braille_dots_3467: u32 = 16787564;
2253pub const XK_braille_dots_13467: u32 = 16787565;
2254pub const XK_braille_dots_23467: u32 = 16787566;
2255pub const XK_braille_dots_123467: u32 = 16787567;
2256pub const XK_braille_dots_567: u32 = 16787568;
2257pub const XK_braille_dots_1567: u32 = 16787569;
2258pub const XK_braille_dots_2567: u32 = 16787570;
2259pub const XK_braille_dots_12567: u32 = 16787571;
2260pub const XK_braille_dots_3567: u32 = 16787572;
2261pub const XK_braille_dots_13567: u32 = 16787573;
2262pub const XK_braille_dots_23567: u32 = 16787574;
2263pub const XK_braille_dots_123567: u32 = 16787575;
2264pub const XK_braille_dots_4567: u32 = 16787576;
2265pub const XK_braille_dots_14567: u32 = 16787577;
2266pub const XK_braille_dots_24567: u32 = 16787578;
2267pub const XK_braille_dots_124567: u32 = 16787579;
2268pub const XK_braille_dots_34567: u32 = 16787580;
2269pub const XK_braille_dots_134567: u32 = 16787581;
2270pub const XK_braille_dots_234567: u32 = 16787582;
2271pub const XK_braille_dots_1234567: u32 = 16787583;
2272pub const XK_braille_dots_8: u32 = 16787584;
2273pub const XK_braille_dots_18: u32 = 16787585;
2274pub const XK_braille_dots_28: u32 = 16787586;
2275pub const XK_braille_dots_128: u32 = 16787587;
2276pub const XK_braille_dots_38: u32 = 16787588;
2277pub const XK_braille_dots_138: u32 = 16787589;
2278pub const XK_braille_dots_238: u32 = 16787590;
2279pub const XK_braille_dots_1238: u32 = 16787591;
2280pub const XK_braille_dots_48: u32 = 16787592;
2281pub const XK_braille_dots_148: u32 = 16787593;
2282pub const XK_braille_dots_248: u32 = 16787594;
2283pub const XK_braille_dots_1248: u32 = 16787595;
2284pub const XK_braille_dots_348: u32 = 16787596;
2285pub const XK_braille_dots_1348: u32 = 16787597;
2286pub const XK_braille_dots_2348: u32 = 16787598;
2287pub const XK_braille_dots_12348: u32 = 16787599;
2288pub const XK_braille_dots_58: u32 = 16787600;
2289pub const XK_braille_dots_158: u32 = 16787601;
2290pub const XK_braille_dots_258: u32 = 16787602;
2291pub const XK_braille_dots_1258: u32 = 16787603;
2292pub const XK_braille_dots_358: u32 = 16787604;
2293pub const XK_braille_dots_1358: u32 = 16787605;
2294pub const XK_braille_dots_2358: u32 = 16787606;
2295pub const XK_braille_dots_12358: u32 = 16787607;
2296pub const XK_braille_dots_458: u32 = 16787608;
2297pub const XK_braille_dots_1458: u32 = 16787609;
2298pub const XK_braille_dots_2458: u32 = 16787610;
2299pub const XK_braille_dots_12458: u32 = 16787611;
2300pub const XK_braille_dots_3458: u32 = 16787612;
2301pub const XK_braille_dots_13458: u32 = 16787613;
2302pub const XK_braille_dots_23458: u32 = 16787614;
2303pub const XK_braille_dots_123458: u32 = 16787615;
2304pub const XK_braille_dots_68: u32 = 16787616;
2305pub const XK_braille_dots_168: u32 = 16787617;
2306pub const XK_braille_dots_268: u32 = 16787618;
2307pub const XK_braille_dots_1268: u32 = 16787619;
2308pub const XK_braille_dots_368: u32 = 16787620;
2309pub const XK_braille_dots_1368: u32 = 16787621;
2310pub const XK_braille_dots_2368: u32 = 16787622;
2311pub const XK_braille_dots_12368: u32 = 16787623;
2312pub const XK_braille_dots_468: u32 = 16787624;
2313pub const XK_braille_dots_1468: u32 = 16787625;
2314pub const XK_braille_dots_2468: u32 = 16787626;
2315pub const XK_braille_dots_12468: u32 = 16787627;
2316pub const XK_braille_dots_3468: u32 = 16787628;
2317pub const XK_braille_dots_13468: u32 = 16787629;
2318pub const XK_braille_dots_23468: u32 = 16787630;
2319pub const XK_braille_dots_123468: u32 = 16787631;
2320pub const XK_braille_dots_568: u32 = 16787632;
2321pub const XK_braille_dots_1568: u32 = 16787633;
2322pub const XK_braille_dots_2568: u32 = 16787634;
2323pub const XK_braille_dots_12568: u32 = 16787635;
2324pub const XK_braille_dots_3568: u32 = 16787636;
2325pub const XK_braille_dots_13568: u32 = 16787637;
2326pub const XK_braille_dots_23568: u32 = 16787638;
2327pub const XK_braille_dots_123568: u32 = 16787639;
2328pub const XK_braille_dots_4568: u32 = 16787640;
2329pub const XK_braille_dots_14568: u32 = 16787641;
2330pub const XK_braille_dots_24568: u32 = 16787642;
2331pub const XK_braille_dots_124568: u32 = 16787643;
2332pub const XK_braille_dots_34568: u32 = 16787644;
2333pub const XK_braille_dots_134568: u32 = 16787645;
2334pub const XK_braille_dots_234568: u32 = 16787646;
2335pub const XK_braille_dots_1234568: u32 = 16787647;
2336pub const XK_braille_dots_78: u32 = 16787648;
2337pub const XK_braille_dots_178: u32 = 16787649;
2338pub const XK_braille_dots_278: u32 = 16787650;
2339pub const XK_braille_dots_1278: u32 = 16787651;
2340pub const XK_braille_dots_378: u32 = 16787652;
2341pub const XK_braille_dots_1378: u32 = 16787653;
2342pub const XK_braille_dots_2378: u32 = 16787654;
2343pub const XK_braille_dots_12378: u32 = 16787655;
2344pub const XK_braille_dots_478: u32 = 16787656;
2345pub const XK_braille_dots_1478: u32 = 16787657;
2346pub const XK_braille_dots_2478: u32 = 16787658;
2347pub const XK_braille_dots_12478: u32 = 16787659;
2348pub const XK_braille_dots_3478: u32 = 16787660;
2349pub const XK_braille_dots_13478: u32 = 16787661;
2350pub const XK_braille_dots_23478: u32 = 16787662;
2351pub const XK_braille_dots_123478: u32 = 16787663;
2352pub const XK_braille_dots_578: u32 = 16787664;
2353pub const XK_braille_dots_1578: u32 = 16787665;
2354pub const XK_braille_dots_2578: u32 = 16787666;
2355pub const XK_braille_dots_12578: u32 = 16787667;
2356pub const XK_braille_dots_3578: u32 = 16787668;
2357pub const XK_braille_dots_13578: u32 = 16787669;
2358pub const XK_braille_dots_23578: u32 = 16787670;
2359pub const XK_braille_dots_123578: u32 = 16787671;
2360pub const XK_braille_dots_4578: u32 = 16787672;
2361pub const XK_braille_dots_14578: u32 = 16787673;
2362pub const XK_braille_dots_24578: u32 = 16787674;
2363pub const XK_braille_dots_124578: u32 = 16787675;
2364pub const XK_braille_dots_34578: u32 = 16787676;
2365pub const XK_braille_dots_134578: u32 = 16787677;
2366pub const XK_braille_dots_234578: u32 = 16787678;
2367pub const XK_braille_dots_1234578: u32 = 16787679;
2368pub const XK_braille_dots_678: u32 = 16787680;
2369pub const XK_braille_dots_1678: u32 = 16787681;
2370pub const XK_braille_dots_2678: u32 = 16787682;
2371pub const XK_braille_dots_12678: u32 = 16787683;
2372pub const XK_braille_dots_3678: u32 = 16787684;
2373pub const XK_braille_dots_13678: u32 = 16787685;
2374pub const XK_braille_dots_23678: u32 = 16787686;
2375pub const XK_braille_dots_123678: u32 = 16787687;
2376pub const XK_braille_dots_4678: u32 = 16787688;
2377pub const XK_braille_dots_14678: u32 = 16787689;
2378pub const XK_braille_dots_24678: u32 = 16787690;
2379pub const XK_braille_dots_124678: u32 = 16787691;
2380pub const XK_braille_dots_34678: u32 = 16787692;
2381pub const XK_braille_dots_134678: u32 = 16787693;
2382pub const XK_braille_dots_234678: u32 = 16787694;
2383pub const XK_braille_dots_1234678: u32 = 16787695;
2384pub const XK_braille_dots_5678: u32 = 16787696;
2385pub const XK_braille_dots_15678: u32 = 16787697;
2386pub const XK_braille_dots_25678: u32 = 16787698;
2387pub const XK_braille_dots_125678: u32 = 16787699;
2388pub const XK_braille_dots_35678: u32 = 16787700;
2389pub const XK_braille_dots_135678: u32 = 16787701;
2390pub const XK_braille_dots_235678: u32 = 16787702;
2391pub const XK_braille_dots_1235678: u32 = 16787703;
2392pub const XK_braille_dots_45678: u32 = 16787704;
2393pub const XK_braille_dots_145678: u32 = 16787705;
2394pub const XK_braille_dots_245678: u32 = 16787706;
2395pub const XK_braille_dots_1245678: u32 = 16787707;
2396pub const XK_braille_dots_345678: u32 = 16787708;
2397pub const XK_braille_dots_1345678: u32 = 16787709;
2398pub const XK_braille_dots_2345678: u32 = 16787710;
2399pub const XK_braille_dots_12345678: u32 = 16787711;
2400pub const XK_Sinh_ng: u32 = 16780674;
2401pub const XK_Sinh_h2: u32 = 16780675;
2402pub const XK_Sinh_a: u32 = 16780677;
2403pub const XK_Sinh_aa: u32 = 16780678;
2404pub const XK_Sinh_ae: u32 = 16780679;
2405pub const XK_Sinh_aee: u32 = 16780680;
2406pub const XK_Sinh_i: u32 = 16780681;
2407pub const XK_Sinh_ii: u32 = 16780682;
2408pub const XK_Sinh_u: u32 = 16780683;
2409pub const XK_Sinh_uu: u32 = 16780684;
2410pub const XK_Sinh_ri: u32 = 16780685;
2411pub const XK_Sinh_rii: u32 = 16780686;
2412pub const XK_Sinh_lu: u32 = 16780687;
2413pub const XK_Sinh_luu: u32 = 16780688;
2414pub const XK_Sinh_e: u32 = 16780689;
2415pub const XK_Sinh_ee: u32 = 16780690;
2416pub const XK_Sinh_ai: u32 = 16780691;
2417pub const XK_Sinh_o: u32 = 16780692;
2418pub const XK_Sinh_oo: u32 = 16780693;
2419pub const XK_Sinh_au: u32 = 16780694;
2420pub const XK_Sinh_ka: u32 = 16780698;
2421pub const XK_Sinh_kha: u32 = 16780699;
2422pub const XK_Sinh_ga: u32 = 16780700;
2423pub const XK_Sinh_gha: u32 = 16780701;
2424pub const XK_Sinh_ng2: u32 = 16780702;
2425pub const XK_Sinh_nga: u32 = 16780703;
2426pub const XK_Sinh_ca: u32 = 16780704;
2427pub const XK_Sinh_cha: u32 = 16780705;
2428pub const XK_Sinh_ja: u32 = 16780706;
2429pub const XK_Sinh_jha: u32 = 16780707;
2430pub const XK_Sinh_nya: u32 = 16780708;
2431pub const XK_Sinh_jnya: u32 = 16780709;
2432pub const XK_Sinh_nja: u32 = 16780710;
2433pub const XK_Sinh_tta: u32 = 16780711;
2434pub const XK_Sinh_ttha: u32 = 16780712;
2435pub const XK_Sinh_dda: u32 = 16780713;
2436pub const XK_Sinh_ddha: u32 = 16780714;
2437pub const XK_Sinh_nna: u32 = 16780715;
2438pub const XK_Sinh_ndda: u32 = 16780716;
2439pub const XK_Sinh_tha: u32 = 16780717;
2440pub const XK_Sinh_thha: u32 = 16780718;
2441pub const XK_Sinh_dha: u32 = 16780719;
2442pub const XK_Sinh_dhha: u32 = 16780720;
2443pub const XK_Sinh_na: u32 = 16780721;
2444pub const XK_Sinh_ndha: u32 = 16780723;
2445pub const XK_Sinh_pa: u32 = 16780724;
2446pub const XK_Sinh_pha: u32 = 16780725;
2447pub const XK_Sinh_ba: u32 = 16780726;
2448pub const XK_Sinh_bha: u32 = 16780727;
2449pub const XK_Sinh_ma: u32 = 16780728;
2450pub const XK_Sinh_mba: u32 = 16780729;
2451pub const XK_Sinh_ya: u32 = 16780730;
2452pub const XK_Sinh_ra: u32 = 16780731;
2453pub const XK_Sinh_la: u32 = 16780733;
2454pub const XK_Sinh_va: u32 = 16780736;
2455pub const XK_Sinh_sha: u32 = 16780737;
2456pub const XK_Sinh_ssha: u32 = 16780738;
2457pub const XK_Sinh_sa: u32 = 16780739;
2458pub const XK_Sinh_ha: u32 = 16780740;
2459pub const XK_Sinh_lla: u32 = 16780741;
2460pub const XK_Sinh_fa: u32 = 16780742;
2461pub const XK_Sinh_al: u32 = 16780746;
2462pub const XK_Sinh_aa2: u32 = 16780751;
2463pub const XK_Sinh_ae2: u32 = 16780752;
2464pub const XK_Sinh_aee2: u32 = 16780753;
2465pub const XK_Sinh_i2: u32 = 16780754;
2466pub const XK_Sinh_ii2: u32 = 16780755;
2467pub const XK_Sinh_u2: u32 = 16780756;
2468pub const XK_Sinh_uu2: u32 = 16780758;
2469pub const XK_Sinh_ru2: u32 = 16780760;
2470pub const XK_Sinh_e2: u32 = 16780761;
2471pub const XK_Sinh_ee2: u32 = 16780762;
2472pub const XK_Sinh_ai2: u32 = 16780763;
2473pub const XK_Sinh_o2: u32 = 16780764;
2474pub const XK_Sinh_oo2: u32 = 16780765;
2475pub const XK_Sinh_au2: u32 = 16780766;
2476pub const XK_Sinh_lu2: u32 = 16780767;
2477pub const XK_Sinh_ruu2: u32 = 16780786;
2478pub const XK_Sinh_luu2: u32 = 16780787;
2479pub const XK_Sinh_kunddaliya: u32 = 16780788;
2480pub const NoValue: u32 = 0;
2481pub const XValue: u32 = 1;
2482pub const YValue: u32 = 2;
2483pub const WidthValue: u32 = 4;
2484pub const HeightValue: u32 = 8;
2485pub const AllValues: u32 = 15;
2486pub const XNegative: u32 = 16;
2487pub const YNegative: u32 = 32;
2488pub const USPosition: u32 = 1;
2489pub const USSize: u32 = 2;
2490pub const PPosition: u32 = 4;
2491pub const PSize: u32 = 8;
2492pub const PMinSize: u32 = 16;
2493pub const PMaxSize: u32 = 32;
2494pub const PResizeInc: u32 = 64;
2495pub const PAspect: u32 = 128;
2496pub const PBaseSize: u32 = 256;
2497pub const PWinGravity: u32 = 512;
2498pub const PAllHints: u32 = 252;
2499pub const InputHint: u32 = 1;
2500pub const StateHint: u32 = 2;
2501pub const IconPixmapHint: u32 = 4;
2502pub const IconWindowHint: u32 = 8;
2503pub const IconPositionHint: u32 = 16;
2504pub const IconMaskHint: u32 = 32;
2505pub const WindowGroupHint: u32 = 64;
2506pub const AllHints: u32 = 127;
2507pub const XUrgencyHint: u32 = 256;
2508pub const WithdrawnState: u32 = 0;
2509pub const NormalState: u32 = 1;
2510pub const IconicState: u32 = 3;
2511pub const DontCareState: u32 = 0;
2512pub const ZoomState: u32 = 2;
2513pub const InactiveState: u32 = 4;
2514pub const XNoMemory: i32 = -1;
2515pub const XLocaleNotSupported: i32 = -2;
2516pub const XConverterNotFound: i32 = -3;
2517pub const RectangleOut: u32 = 0;
2518pub const RectangleIn: u32 = 1;
2519pub const RectanglePart: u32 = 2;
2520pub const VisualNoMask: u32 = 0;
2521pub const VisualIDMask: u32 = 1;
2522pub const VisualScreenMask: u32 = 2;
2523pub const VisualDepthMask: u32 = 4;
2524pub const VisualClassMask: u32 = 8;
2525pub const VisualRedMaskMask: u32 = 16;
2526pub const VisualGreenMaskMask: u32 = 32;
2527pub const VisualBlueMaskMask: u32 = 64;
2528pub const VisualColormapSizeMask: u32 = 128;
2529pub const VisualBitsPerRGBMask: u32 = 256;
2530pub const VisualAllMask: u32 = 511;
2531pub const BitmapSuccess: u32 = 0;
2532pub const BitmapOpenFailed: u32 = 1;
2533pub const BitmapFileInvalid: u32 = 2;
2534pub const BitmapNoMemory: u32 = 3;
2535pub const XCSUCCESS: u32 = 0;
2536pub const XCNOMEM: u32 = 1;
2537pub const XCNOENT: u32 = 2;
2538pub const EGL_EGL_PROTOTYPES: u32 = 1;
2539pub const EGL_VERSION_1_0: u32 = 1;
2540pub const EGL_ALPHA_SIZE: u32 = 12321;
2541pub const EGL_BAD_ACCESS: u32 = 12290;
2542pub const EGL_BAD_ALLOC: u32 = 12291;
2543pub const EGL_BAD_ATTRIBUTE: u32 = 12292;
2544pub const EGL_BAD_CONFIG: u32 = 12293;
2545pub const EGL_BAD_CONTEXT: u32 = 12294;
2546pub const EGL_BAD_CURRENT_SURFACE: u32 = 12295;
2547pub const EGL_BAD_DISPLAY: u32 = 12296;
2548pub const EGL_BAD_MATCH: u32 = 12297;
2549pub const EGL_BAD_NATIVE_PIXMAP: u32 = 12298;
2550pub const EGL_BAD_NATIVE_WINDOW: u32 = 12299;
2551pub const EGL_BAD_PARAMETER: u32 = 12300;
2552pub const EGL_BAD_SURFACE: u32 = 12301;
2553pub const EGL_BLUE_SIZE: u32 = 12322;
2554pub const EGL_BUFFER_SIZE: u32 = 12320;
2555pub const EGL_CONFIG_CAVEAT: u32 = 12327;
2556pub const EGL_CONFIG_ID: u32 = 12328;
2557pub const EGL_CORE_NATIVE_ENGINE: u32 = 12379;
2558pub const EGL_DEPTH_SIZE: u32 = 12325;
2559pub const EGL_DRAW: u32 = 12377;
2560pub const EGL_EXTENSIONS: u32 = 12373;
2561pub const EGL_FALSE: u32 = 0;
2562pub const EGL_GREEN_SIZE: u32 = 12323;
2563pub const EGL_HEIGHT: u32 = 12374;
2564pub const EGL_LARGEST_PBUFFER: u32 = 12376;
2565pub const EGL_LEVEL: u32 = 12329;
2566pub const EGL_MAX_PBUFFER_HEIGHT: u32 = 12330;
2567pub const EGL_MAX_PBUFFER_PIXELS: u32 = 12331;
2568pub const EGL_MAX_PBUFFER_WIDTH: u32 = 12332;
2569pub const EGL_NATIVE_RENDERABLE: u32 = 12333;
2570pub const EGL_NATIVE_VISUAL_ID: u32 = 12334;
2571pub const EGL_NATIVE_VISUAL_TYPE: u32 = 12335;
2572pub const EGL_NONE: u32 = 12344;
2573pub const EGL_NON_CONFORMANT_CONFIG: u32 = 12369;
2574pub const EGL_NOT_INITIALIZED: u32 = 12289;
2575pub const EGL_PBUFFER_BIT: u32 = 1;
2576pub const EGL_PIXMAP_BIT: u32 = 2;
2577pub const EGL_READ: u32 = 12378;
2578pub const EGL_RED_SIZE: u32 = 12324;
2579pub const EGL_SAMPLES: u32 = 12337;
2580pub const EGL_SAMPLE_BUFFERS: u32 = 12338;
2581pub const EGL_SLOW_CONFIG: u32 = 12368;
2582pub const EGL_STENCIL_SIZE: u32 = 12326;
2583pub const EGL_SUCCESS: u32 = 12288;
2584pub const EGL_SURFACE_TYPE: u32 = 12339;
2585pub const EGL_TRANSPARENT_BLUE_VALUE: u32 = 12341;
2586pub const EGL_TRANSPARENT_GREEN_VALUE: u32 = 12342;
2587pub const EGL_TRANSPARENT_RED_VALUE: u32 = 12343;
2588pub const EGL_TRANSPARENT_RGB: u32 = 12370;
2589pub const EGL_TRANSPARENT_TYPE: u32 = 12340;
2590pub const EGL_TRUE: u32 = 1;
2591pub const EGL_VENDOR: u32 = 12371;
2592pub const EGL_VERSION: u32 = 12372;
2593pub const EGL_WIDTH: u32 = 12375;
2594pub const EGL_WINDOW_BIT: u32 = 4;
2595pub const EGL_VERSION_1_1: u32 = 1;
2596pub const EGL_BACK_BUFFER: u32 = 12420;
2597pub const EGL_BIND_TO_TEXTURE_RGB: u32 = 12345;
2598pub const EGL_BIND_TO_TEXTURE_RGBA: u32 = 12346;
2599pub const EGL_CONTEXT_LOST: u32 = 12302;
2600pub const EGL_MIN_SWAP_INTERVAL: u32 = 12347;
2601pub const EGL_MAX_SWAP_INTERVAL: u32 = 12348;
2602pub const EGL_MIPMAP_TEXTURE: u32 = 12418;
2603pub const EGL_MIPMAP_LEVEL: u32 = 12419;
2604pub const EGL_NO_TEXTURE: u32 = 12380;
2605pub const EGL_TEXTURE_2D: u32 = 12383;
2606pub const EGL_TEXTURE_FORMAT: u32 = 12416;
2607pub const EGL_TEXTURE_RGB: u32 = 12381;
2608pub const EGL_TEXTURE_RGBA: u32 = 12382;
2609pub const EGL_TEXTURE_TARGET: u32 = 12417;
2610pub const EGL_VERSION_1_2: u32 = 1;
2611pub const EGL_ALPHA_FORMAT: u32 = 12424;
2612pub const EGL_ALPHA_FORMAT_NONPRE: u32 = 12427;
2613pub const EGL_ALPHA_FORMAT_PRE: u32 = 12428;
2614pub const EGL_ALPHA_MASK_SIZE: u32 = 12350;
2615pub const EGL_BUFFER_PRESERVED: u32 = 12436;
2616pub const EGL_BUFFER_DESTROYED: u32 = 12437;
2617pub const EGL_CLIENT_APIS: u32 = 12429;
2618pub const EGL_COLORSPACE: u32 = 12423;
2619pub const EGL_COLORSPACE_sRGB: u32 = 12425;
2620pub const EGL_COLORSPACE_LINEAR: u32 = 12426;
2621pub const EGL_COLOR_BUFFER_TYPE: u32 = 12351;
2622pub const EGL_CONTEXT_CLIENT_TYPE: u32 = 12439;
2623pub const EGL_DISPLAY_SCALING: u32 = 10000;
2624pub const EGL_HORIZONTAL_RESOLUTION: u32 = 12432;
2625pub const EGL_LUMINANCE_BUFFER: u32 = 12431;
2626pub const EGL_LUMINANCE_SIZE: u32 = 12349;
2627pub const EGL_OPENGL_ES_BIT: u32 = 1;
2628pub const EGL_OPENVG_BIT: u32 = 2;
2629pub const EGL_OPENGL_ES_API: u32 = 12448;
2630pub const EGL_OPENVG_API: u32 = 12449;
2631pub const EGL_OPENVG_IMAGE: u32 = 12438;
2632pub const EGL_PIXEL_ASPECT_RATIO: u32 = 12434;
2633pub const EGL_RENDERABLE_TYPE: u32 = 12352;
2634pub const EGL_RENDER_BUFFER: u32 = 12422;
2635pub const EGL_RGB_BUFFER: u32 = 12430;
2636pub const EGL_SINGLE_BUFFER: u32 = 12421;
2637pub const EGL_SWAP_BEHAVIOR: u32 = 12435;
2638pub const EGL_VERTICAL_RESOLUTION: u32 = 12433;
2639pub const EGL_VERSION_1_3: u32 = 1;
2640pub const EGL_CONFORMANT: u32 = 12354;
2641pub const EGL_CONTEXT_CLIENT_VERSION: u32 = 12440;
2642pub const EGL_MATCH_NATIVE_PIXMAP: u32 = 12353;
2643pub const EGL_OPENGL_ES2_BIT: u32 = 4;
2644pub const EGL_VG_ALPHA_FORMAT: u32 = 12424;
2645pub const EGL_VG_ALPHA_FORMAT_NONPRE: u32 = 12427;
2646pub const EGL_VG_ALPHA_FORMAT_PRE: u32 = 12428;
2647pub const EGL_VG_ALPHA_FORMAT_PRE_BIT: u32 = 64;
2648pub const EGL_VG_COLORSPACE: u32 = 12423;
2649pub const EGL_VG_COLORSPACE_sRGB: u32 = 12425;
2650pub const EGL_VG_COLORSPACE_LINEAR: u32 = 12426;
2651pub const EGL_VG_COLORSPACE_LINEAR_BIT: u32 = 32;
2652pub const EGL_VERSION_1_4: u32 = 1;
2653pub const EGL_MULTISAMPLE_RESOLVE_BOX_BIT: u32 = 512;
2654pub const EGL_MULTISAMPLE_RESOLVE: u32 = 12441;
2655pub const EGL_MULTISAMPLE_RESOLVE_DEFAULT: u32 = 12442;
2656pub const EGL_MULTISAMPLE_RESOLVE_BOX: u32 = 12443;
2657pub const EGL_OPENGL_API: u32 = 12450;
2658pub const EGL_OPENGL_BIT: u32 = 8;
2659pub const EGL_SWAP_BEHAVIOR_PRESERVED_BIT: u32 = 1024;
2660pub const EGL_VERSION_1_5: u32 = 1;
2661pub const EGL_CONTEXT_MAJOR_VERSION: u32 = 12440;
2662pub const EGL_CONTEXT_MINOR_VERSION: u32 = 12539;
2663pub const EGL_CONTEXT_OPENGL_PROFILE_MASK: u32 = 12541;
2664pub const EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY: u32 = 12733;
2665pub const EGL_NO_RESET_NOTIFICATION: u32 = 12734;
2666pub const EGL_LOSE_CONTEXT_ON_RESET: u32 = 12735;
2667pub const EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT: u32 = 1;
2668pub const EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT: u32 = 2;
2669pub const EGL_CONTEXT_OPENGL_DEBUG: u32 = 12720;
2670pub const EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE: u32 = 12721;
2671pub const EGL_CONTEXT_OPENGL_ROBUST_ACCESS: u32 = 12722;
2672pub const EGL_OPENGL_ES3_BIT: u32 = 64;
2673pub const EGL_CL_EVENT_HANDLE: u32 = 12444;
2674pub const EGL_SYNC_CL_EVENT: u32 = 12542;
2675pub const EGL_SYNC_CL_EVENT_COMPLETE: u32 = 12543;
2676pub const EGL_SYNC_PRIOR_COMMANDS_COMPLETE: u32 = 12528;
2677pub const EGL_SYNC_TYPE: u32 = 12535;
2678pub const EGL_SYNC_STATUS: u32 = 12529;
2679pub const EGL_SYNC_CONDITION: u32 = 12536;
2680pub const EGL_SIGNALED: u32 = 12530;
2681pub const EGL_UNSIGNALED: u32 = 12531;
2682pub const EGL_SYNC_FLUSH_COMMANDS_BIT: u32 = 1;
2683pub const EGL_FOREVER: i32 = -1;
2684pub const EGL_TIMEOUT_EXPIRED: u32 = 12533;
2685pub const EGL_CONDITION_SATISFIED: u32 = 12534;
2686pub const EGL_SYNC_FENCE: u32 = 12537;
2687pub const EGL_GL_COLORSPACE: u32 = 12445;
2688pub const EGL_GL_COLORSPACE_SRGB: u32 = 12425;
2689pub const EGL_GL_COLORSPACE_LINEAR: u32 = 12426;
2690pub const EGL_GL_RENDERBUFFER: u32 = 12473;
2691pub const EGL_GL_TEXTURE_2D: u32 = 12465;
2692pub const EGL_GL_TEXTURE_LEVEL: u32 = 12476;
2693pub const EGL_GL_TEXTURE_3D: u32 = 12466;
2694pub const EGL_GL_TEXTURE_ZOFFSET: u32 = 12477;
2695pub const EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 12467;
2696pub const EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 12468;
2697pub const EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 12469;
2698pub const EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 12470;
2699pub const EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 12471;
2700pub const EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 12472;
2701pub const EGL_IMAGE_PRESERVED: u32 = 12498;
2702pub type __u_char = ::std::os::raw::c_uchar;
2703pub type __u_short = ::std::os::raw::c_ushort;
2704pub type __u_int = ::std::os::raw::c_uint;
2705pub type __u_long = ::std::os::raw::c_ulong;
2706pub type __int8_t = ::std::os::raw::c_schar;
2707pub type __uint8_t = ::std::os::raw::c_uchar;
2708pub type __int16_t = ::std::os::raw::c_short;
2709pub type __uint16_t = ::std::os::raw::c_ushort;
2710pub type __int32_t = ::std::os::raw::c_int;
2711pub type __uint32_t = ::std::os::raw::c_uint;
2712pub type __int64_t = ::std::os::raw::c_long;
2713pub type __uint64_t = ::std::os::raw::c_ulong;
2714pub type __int_least8_t = __int8_t;
2715pub type __uint_least8_t = __uint8_t;
2716pub type __int_least16_t = __int16_t;
2717pub type __uint_least16_t = __uint16_t;
2718pub type __int_least32_t = __int32_t;
2719pub type __uint_least32_t = __uint32_t;
2720pub type __int_least64_t = __int64_t;
2721pub type __uint_least64_t = __uint64_t;
2722pub type __quad_t = ::std::os::raw::c_long;
2723pub type __u_quad_t = ::std::os::raw::c_ulong;
2724pub type __intmax_t = ::std::os::raw::c_long;
2725pub type __uintmax_t = ::std::os::raw::c_ulong;
2726pub type __dev_t = ::std::os::raw::c_ulong;
2727pub type __uid_t = ::std::os::raw::c_uint;
2728pub type __gid_t = ::std::os::raw::c_uint;
2729pub type __ino_t = ::std::os::raw::c_ulong;
2730pub type __ino64_t = ::std::os::raw::c_ulong;
2731pub type __mode_t = ::std::os::raw::c_uint;
2732pub type __nlink_t = ::std::os::raw::c_ulong;
2733pub type __off_t = ::std::os::raw::c_long;
2734pub type __off64_t = ::std::os::raw::c_long;
2735pub type __pid_t = ::std::os::raw::c_int;
2736#[repr(C)]
2737#[derive(Debug, Copy, Clone)]
2738pub struct __fsid_t {
2739    pub __val: [::std::os::raw::c_int; 2usize],
2740}
2741#[test]
2742fn bindgen_test_layout___fsid_t() {
2743    assert_eq!(
2744        ::std::mem::size_of::<__fsid_t>(),
2745        8usize,
2746        concat!("Size of: ", stringify!(__fsid_t))
2747    );
2748    assert_eq!(
2749        ::std::mem::align_of::<__fsid_t>(),
2750        4usize,
2751        concat!("Alignment of ", stringify!(__fsid_t))
2752    );
2753    assert_eq!(
2754        unsafe { &(*(::std::ptr::null::<__fsid_t>())).__val as *const _ as usize },
2755        0usize,
2756        concat!(
2757            "Offset of field: ",
2758            stringify!(__fsid_t),
2759            "::",
2760            stringify!(__val)
2761        )
2762    );
2763}
2764pub type __clock_t = ::std::os::raw::c_long;
2765pub type __rlim_t = ::std::os::raw::c_ulong;
2766pub type __rlim64_t = ::std::os::raw::c_ulong;
2767pub type __id_t = ::std::os::raw::c_uint;
2768pub type __time_t = ::std::os::raw::c_long;
2769pub type __useconds_t = ::std::os::raw::c_uint;
2770pub type __suseconds_t = ::std::os::raw::c_long;
2771pub type __daddr_t = ::std::os::raw::c_int;
2772pub type __key_t = ::std::os::raw::c_int;
2773pub type __clockid_t = ::std::os::raw::c_int;
2774pub type __timer_t = *mut ::std::os::raw::c_void;
2775pub type __blksize_t = ::std::os::raw::c_long;
2776pub type __blkcnt_t = ::std::os::raw::c_long;
2777pub type __blkcnt64_t = ::std::os::raw::c_long;
2778pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
2779pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
2780pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
2781pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
2782pub type __fsword_t = ::std::os::raw::c_long;
2783pub type __ssize_t = ::std::os::raw::c_long;
2784pub type __syscall_slong_t = ::std::os::raw::c_long;
2785pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
2786pub type __loff_t = __off64_t;
2787pub type __caddr_t = *mut ::std::os::raw::c_char;
2788pub type __intptr_t = ::std::os::raw::c_long;
2789pub type __socklen_t = ::std::os::raw::c_uint;
2790pub type __sig_atomic_t = ::std::os::raw::c_int;
2791pub type int_least8_t = __int_least8_t;
2792pub type int_least16_t = __int_least16_t;
2793pub type int_least32_t = __int_least32_t;
2794pub type int_least64_t = __int_least64_t;
2795pub type uint_least8_t = __uint_least8_t;
2796pub type uint_least16_t = __uint_least16_t;
2797pub type uint_least32_t = __uint_least32_t;
2798pub type uint_least64_t = __uint_least64_t;
2799pub type int_fast8_t = ::std::os::raw::c_schar;
2800pub type int_fast16_t = ::std::os::raw::c_long;
2801pub type int_fast32_t = ::std::os::raw::c_long;
2802pub type int_fast64_t = ::std::os::raw::c_long;
2803pub type uint_fast8_t = ::std::os::raw::c_uchar;
2804pub type uint_fast16_t = ::std::os::raw::c_ulong;
2805pub type uint_fast32_t = ::std::os::raw::c_ulong;
2806pub type uint_fast64_t = ::std::os::raw::c_ulong;
2807pub type intmax_t = __intmax_t;
2808pub type uintmax_t = __uintmax_t;
2809pub type khronos_int32_t = i32;
2810pub type khronos_uint32_t = u32;
2811pub type khronos_int64_t = i64;
2812pub type khronos_uint64_t = u64;
2813pub type khronos_int8_t = ::std::os::raw::c_schar;
2814pub type khronos_uint8_t = ::std::os::raw::c_uchar;
2815pub type khronos_int16_t = ::std::os::raw::c_short;
2816pub type khronos_uint16_t = ::std::os::raw::c_ushort;
2817pub type khronos_intptr_t = ::std::os::raw::c_long;
2818pub type khronos_uintptr_t = ::std::os::raw::c_ulong;
2819pub type khronos_ssize_t = ::std::os::raw::c_long;
2820pub type khronos_usize_t = ::std::os::raw::c_ulong;
2821pub type khronos_float_t = f32;
2822pub type khronos_utime_nanoseconds_t = khronos_uint64_t;
2823pub type khronos_stime_nanoseconds_t = khronos_int64_t;
2824pub const khronos_boolean_enum_t_KHRONOS_FALSE: khronos_boolean_enum_t = 0;
2825pub const khronos_boolean_enum_t_KHRONOS_TRUE: khronos_boolean_enum_t = 1;
2826pub const khronos_boolean_enum_t_KHRONOS_BOOLEAN_ENUM_FORCE_SIZE: khronos_boolean_enum_t =
2827    2147483647;
2828pub type khronos_boolean_enum_t = u32;
2829pub type u_char = __u_char;
2830pub type u_short = __u_short;
2831pub type u_int = __u_int;
2832pub type u_long = __u_long;
2833pub type quad_t = __quad_t;
2834pub type u_quad_t = __u_quad_t;
2835pub type fsid_t = __fsid_t;
2836pub type loff_t = __loff_t;
2837pub type ino_t = __ino_t;
2838pub type dev_t = __dev_t;
2839pub type gid_t = __gid_t;
2840pub type mode_t = __mode_t;
2841pub type nlink_t = __nlink_t;
2842pub type uid_t = __uid_t;
2843pub type off_t = __off_t;
2844pub type pid_t = __pid_t;
2845pub type id_t = __id_t;
2846pub type daddr_t = __daddr_t;
2847pub type caddr_t = __caddr_t;
2848pub type key_t = __key_t;
2849pub type clock_t = __clock_t;
2850pub type clockid_t = __clockid_t;
2851pub type time_t = __time_t;
2852pub type timer_t = __timer_t;
2853pub type ulong = ::std::os::raw::c_ulong;
2854pub type ushort = ::std::os::raw::c_ushort;
2855pub type uint = ::std::os::raw::c_uint;
2856pub type u_int8_t = __uint8_t;
2857pub type u_int16_t = __uint16_t;
2858pub type u_int32_t = __uint32_t;
2859pub type u_int64_t = __uint64_t;
2860pub type register_t = ::std::os::raw::c_long;
2861#[repr(C)]
2862#[derive(Debug, Copy, Clone)]
2863pub struct __sigset_t {
2864    pub __val: [::std::os::raw::c_ulong; 16usize],
2865}
2866#[test]
2867fn bindgen_test_layout___sigset_t() {
2868    assert_eq!(
2869        ::std::mem::size_of::<__sigset_t>(),
2870        128usize,
2871        concat!("Size of: ", stringify!(__sigset_t))
2872    );
2873    assert_eq!(
2874        ::std::mem::align_of::<__sigset_t>(),
2875        8usize,
2876        concat!("Alignment of ", stringify!(__sigset_t))
2877    );
2878    assert_eq!(
2879        unsafe { &(*(::std::ptr::null::<__sigset_t>())).__val as *const _ as usize },
2880        0usize,
2881        concat!(
2882            "Offset of field: ",
2883            stringify!(__sigset_t),
2884            "::",
2885            stringify!(__val)
2886        )
2887    );
2888}
2889pub type sigset_t = __sigset_t;
2890#[repr(C)]
2891#[derive(Debug, Copy, Clone)]
2892pub struct timeval {
2893    pub tv_sec: __time_t,
2894    pub tv_usec: __suseconds_t,
2895}
2896#[test]
2897fn bindgen_test_layout_timeval() {
2898    assert_eq!(
2899        ::std::mem::size_of::<timeval>(),
2900        16usize,
2901        concat!("Size of: ", stringify!(timeval))
2902    );
2903    assert_eq!(
2904        ::std::mem::align_of::<timeval>(),
2905        8usize,
2906        concat!("Alignment of ", stringify!(timeval))
2907    );
2908    assert_eq!(
2909        unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
2910        0usize,
2911        concat!(
2912            "Offset of field: ",
2913            stringify!(timeval),
2914            "::",
2915            stringify!(tv_sec)
2916        )
2917    );
2918    assert_eq!(
2919        unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
2920        8usize,
2921        concat!(
2922            "Offset of field: ",
2923            stringify!(timeval),
2924            "::",
2925            stringify!(tv_usec)
2926        )
2927    );
2928}
2929#[repr(C)]
2930#[derive(Debug, Copy, Clone)]
2931pub struct timespec {
2932    pub tv_sec: __time_t,
2933    pub tv_nsec: __syscall_slong_t,
2934}
2935#[test]
2936fn bindgen_test_layout_timespec() {
2937    assert_eq!(
2938        ::std::mem::size_of::<timespec>(),
2939        16usize,
2940        concat!("Size of: ", stringify!(timespec))
2941    );
2942    assert_eq!(
2943        ::std::mem::align_of::<timespec>(),
2944        8usize,
2945        concat!("Alignment of ", stringify!(timespec))
2946    );
2947    assert_eq!(
2948        unsafe { &(*(::std::ptr::null::<timespec>())).tv_sec as *const _ as usize },
2949        0usize,
2950        concat!(
2951            "Offset of field: ",
2952            stringify!(timespec),
2953            "::",
2954            stringify!(tv_sec)
2955        )
2956    );
2957    assert_eq!(
2958        unsafe { &(*(::std::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
2959        8usize,
2960        concat!(
2961            "Offset of field: ",
2962            stringify!(timespec),
2963            "::",
2964            stringify!(tv_nsec)
2965        )
2966    );
2967}
2968pub type suseconds_t = __suseconds_t;
2969pub type __fd_mask = ::std::os::raw::c_long;
2970#[repr(C)]
2971#[derive(Debug, Copy, Clone)]
2972pub struct fd_set {
2973    pub __fds_bits: [__fd_mask; 16usize],
2974}
2975#[test]
2976fn bindgen_test_layout_fd_set() {
2977    assert_eq!(
2978        ::std::mem::size_of::<fd_set>(),
2979        128usize,
2980        concat!("Size of: ", stringify!(fd_set))
2981    );
2982    assert_eq!(
2983        ::std::mem::align_of::<fd_set>(),
2984        8usize,
2985        concat!("Alignment of ", stringify!(fd_set))
2986    );
2987    assert_eq!(
2988        unsafe { &(*(::std::ptr::null::<fd_set>())).__fds_bits as *const _ as usize },
2989        0usize,
2990        concat!(
2991            "Offset of field: ",
2992            stringify!(fd_set),
2993            "::",
2994            stringify!(__fds_bits)
2995        )
2996    );
2997}
2998pub type fd_mask = __fd_mask;
2999extern "C" {
3000    pub fn select(
3001        __nfds: ::std::os::raw::c_int,
3002        __readfds: *mut fd_set,
3003        __writefds: *mut fd_set,
3004        __exceptfds: *mut fd_set,
3005        __timeout: *mut timeval,
3006    ) -> ::std::os::raw::c_int;
3007}
3008extern "C" {
3009    pub fn pselect(
3010        __nfds: ::std::os::raw::c_int,
3011        __readfds: *mut fd_set,
3012        __writefds: *mut fd_set,
3013        __exceptfds: *mut fd_set,
3014        __timeout: *const timespec,
3015        __sigmask: *const __sigset_t,
3016    ) -> ::std::os::raw::c_int;
3017}
3018pub type blksize_t = __blksize_t;
3019pub type blkcnt_t = __blkcnt_t;
3020pub type fsblkcnt_t = __fsblkcnt_t;
3021pub type fsfilcnt_t = __fsfilcnt_t;
3022#[repr(C)]
3023#[derive(Debug, Copy, Clone)]
3024pub struct __pthread_rwlock_arch_t {
3025    pub __readers: ::std::os::raw::c_uint,
3026    pub __writers: ::std::os::raw::c_uint,
3027    pub __wrphase_futex: ::std::os::raw::c_uint,
3028    pub __writers_futex: ::std::os::raw::c_uint,
3029    pub __pad3: ::std::os::raw::c_uint,
3030    pub __pad4: ::std::os::raw::c_uint,
3031    pub __cur_writer: ::std::os::raw::c_int,
3032    pub __shared: ::std::os::raw::c_int,
3033    pub __rwelision: ::std::os::raw::c_schar,
3034    pub __pad1: [::std::os::raw::c_uchar; 7usize],
3035    pub __pad2: ::std::os::raw::c_ulong,
3036    pub __flags: ::std::os::raw::c_uint,
3037}
3038#[test]
3039fn bindgen_test_layout___pthread_rwlock_arch_t() {
3040    assert_eq!(
3041        ::std::mem::size_of::<__pthread_rwlock_arch_t>(),
3042        56usize,
3043        concat!("Size of: ", stringify!(__pthread_rwlock_arch_t))
3044    );
3045    assert_eq!(
3046        ::std::mem::align_of::<__pthread_rwlock_arch_t>(),
3047        8usize,
3048        concat!("Alignment of ", stringify!(__pthread_rwlock_arch_t))
3049    );
3050    assert_eq!(
3051        unsafe {
3052            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__readers as *const _ as usize
3053        },
3054        0usize,
3055        concat!(
3056            "Offset of field: ",
3057            stringify!(__pthread_rwlock_arch_t),
3058            "::",
3059            stringify!(__readers)
3060        )
3061    );
3062    assert_eq!(
3063        unsafe {
3064            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers as *const _ as usize
3065        },
3066        4usize,
3067        concat!(
3068            "Offset of field: ",
3069            stringify!(__pthread_rwlock_arch_t),
3070            "::",
3071            stringify!(__writers)
3072        )
3073    );
3074    assert_eq!(
3075        unsafe {
3076            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__wrphase_futex as *const _ as usize
3077        },
3078        8usize,
3079        concat!(
3080            "Offset of field: ",
3081            stringify!(__pthread_rwlock_arch_t),
3082            "::",
3083            stringify!(__wrphase_futex)
3084        )
3085    );
3086    assert_eq!(
3087        unsafe {
3088            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers_futex as *const _ as usize
3089        },
3090        12usize,
3091        concat!(
3092            "Offset of field: ",
3093            stringify!(__pthread_rwlock_arch_t),
3094            "::",
3095            stringify!(__writers_futex)
3096        )
3097    );
3098    assert_eq!(
3099        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad3 as *const _ as usize },
3100        16usize,
3101        concat!(
3102            "Offset of field: ",
3103            stringify!(__pthread_rwlock_arch_t),
3104            "::",
3105            stringify!(__pad3)
3106        )
3107    );
3108    assert_eq!(
3109        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad4 as *const _ as usize },
3110        20usize,
3111        concat!(
3112            "Offset of field: ",
3113            stringify!(__pthread_rwlock_arch_t),
3114            "::",
3115            stringify!(__pad4)
3116        )
3117    );
3118    assert_eq!(
3119        unsafe {
3120            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__cur_writer as *const _ as usize
3121        },
3122        24usize,
3123        concat!(
3124            "Offset of field: ",
3125            stringify!(__pthread_rwlock_arch_t),
3126            "::",
3127            stringify!(__cur_writer)
3128        )
3129    );
3130    assert_eq!(
3131        unsafe {
3132            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__shared as *const _ as usize
3133        },
3134        28usize,
3135        concat!(
3136            "Offset of field: ",
3137            stringify!(__pthread_rwlock_arch_t),
3138            "::",
3139            stringify!(__shared)
3140        )
3141    );
3142    assert_eq!(
3143        unsafe {
3144            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__rwelision as *const _ as usize
3145        },
3146        32usize,
3147        concat!(
3148            "Offset of field: ",
3149            stringify!(__pthread_rwlock_arch_t),
3150            "::",
3151            stringify!(__rwelision)
3152        )
3153    );
3154    assert_eq!(
3155        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad1 as *const _ as usize },
3156        33usize,
3157        concat!(
3158            "Offset of field: ",
3159            stringify!(__pthread_rwlock_arch_t),
3160            "::",
3161            stringify!(__pad1)
3162        )
3163    );
3164    assert_eq!(
3165        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad2 as *const _ as usize },
3166        40usize,
3167        concat!(
3168            "Offset of field: ",
3169            stringify!(__pthread_rwlock_arch_t),
3170            "::",
3171            stringify!(__pad2)
3172        )
3173    );
3174    assert_eq!(
3175        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__flags as *const _ as usize },
3176        48usize,
3177        concat!(
3178            "Offset of field: ",
3179            stringify!(__pthread_rwlock_arch_t),
3180            "::",
3181            stringify!(__flags)
3182        )
3183    );
3184}
3185#[repr(C)]
3186#[derive(Debug, Copy, Clone)]
3187pub struct __pthread_internal_list {
3188    pub __prev: *mut __pthread_internal_list,
3189    pub __next: *mut __pthread_internal_list,
3190}
3191#[test]
3192fn bindgen_test_layout___pthread_internal_list() {
3193    assert_eq!(
3194        ::std::mem::size_of::<__pthread_internal_list>(),
3195        16usize,
3196        concat!("Size of: ", stringify!(__pthread_internal_list))
3197    );
3198    assert_eq!(
3199        ::std::mem::align_of::<__pthread_internal_list>(),
3200        8usize,
3201        concat!("Alignment of ", stringify!(__pthread_internal_list))
3202    );
3203    assert_eq!(
3204        unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__prev as *const _ as usize },
3205        0usize,
3206        concat!(
3207            "Offset of field: ",
3208            stringify!(__pthread_internal_list),
3209            "::",
3210            stringify!(__prev)
3211        )
3212    );
3213    assert_eq!(
3214        unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__next as *const _ as usize },
3215        8usize,
3216        concat!(
3217            "Offset of field: ",
3218            stringify!(__pthread_internal_list),
3219            "::",
3220            stringify!(__next)
3221        )
3222    );
3223}
3224pub type __pthread_list_t = __pthread_internal_list;
3225#[repr(C)]
3226#[derive(Debug, Copy, Clone)]
3227pub struct __pthread_mutex_s {
3228    pub __lock: ::std::os::raw::c_int,
3229    pub __count: ::std::os::raw::c_uint,
3230    pub __owner: ::std::os::raw::c_int,
3231    pub __nusers: ::std::os::raw::c_uint,
3232    pub __kind: ::std::os::raw::c_int,
3233    pub __spins: ::std::os::raw::c_short,
3234    pub __elision: ::std::os::raw::c_short,
3235    pub __list: __pthread_list_t,
3236}
3237#[test]
3238fn bindgen_test_layout___pthread_mutex_s() {
3239    assert_eq!(
3240        ::std::mem::size_of::<__pthread_mutex_s>(),
3241        40usize,
3242        concat!("Size of: ", stringify!(__pthread_mutex_s))
3243    );
3244    assert_eq!(
3245        ::std::mem::align_of::<__pthread_mutex_s>(),
3246        8usize,
3247        concat!("Alignment of ", stringify!(__pthread_mutex_s))
3248    );
3249    assert_eq!(
3250        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__lock as *const _ as usize },
3251        0usize,
3252        concat!(
3253            "Offset of field: ",
3254            stringify!(__pthread_mutex_s),
3255            "::",
3256            stringify!(__lock)
3257        )
3258    );
3259    assert_eq!(
3260        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__count as *const _ as usize },
3261        4usize,
3262        concat!(
3263            "Offset of field: ",
3264            stringify!(__pthread_mutex_s),
3265            "::",
3266            stringify!(__count)
3267        )
3268    );
3269    assert_eq!(
3270        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__owner as *const _ as usize },
3271        8usize,
3272        concat!(
3273            "Offset of field: ",
3274            stringify!(__pthread_mutex_s),
3275            "::",
3276            stringify!(__owner)
3277        )
3278    );
3279    assert_eq!(
3280        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__nusers as *const _ as usize },
3281        12usize,
3282        concat!(
3283            "Offset of field: ",
3284            stringify!(__pthread_mutex_s),
3285            "::",
3286            stringify!(__nusers)
3287        )
3288    );
3289    assert_eq!(
3290        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__kind as *const _ as usize },
3291        16usize,
3292        concat!(
3293            "Offset of field: ",
3294            stringify!(__pthread_mutex_s),
3295            "::",
3296            stringify!(__kind)
3297        )
3298    );
3299    assert_eq!(
3300        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__spins as *const _ as usize },
3301        20usize,
3302        concat!(
3303            "Offset of field: ",
3304            stringify!(__pthread_mutex_s),
3305            "::",
3306            stringify!(__spins)
3307        )
3308    );
3309    assert_eq!(
3310        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__elision as *const _ as usize },
3311        22usize,
3312        concat!(
3313            "Offset of field: ",
3314            stringify!(__pthread_mutex_s),
3315            "::",
3316            stringify!(__elision)
3317        )
3318    );
3319    assert_eq!(
3320        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__list as *const _ as usize },
3321        24usize,
3322        concat!(
3323            "Offset of field: ",
3324            stringify!(__pthread_mutex_s),
3325            "::",
3326            stringify!(__list)
3327        )
3328    );
3329}
3330#[repr(C)]
3331#[derive(Copy, Clone)]
3332pub struct __pthread_cond_s {
3333    pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1,
3334    pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2,
3335    pub __g_refs: [::std::os::raw::c_uint; 2usize],
3336    pub __g_size: [::std::os::raw::c_uint; 2usize],
3337    pub __g1_orig_size: ::std::os::raw::c_uint,
3338    pub __wrefs: ::std::os::raw::c_uint,
3339    pub __g_signals: [::std::os::raw::c_uint; 2usize],
3340}
3341#[repr(C)]
3342#[derive(Copy, Clone)]
3343pub union __pthread_cond_s__bindgen_ty_1 {
3344    pub __wseq: ::std::os::raw::c_ulonglong,
3345    pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1,
3346    _bindgen_union_align: u64,
3347}
3348#[repr(C)]
3349#[derive(Debug, Copy, Clone)]
3350pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 {
3351    pub __low: ::std::os::raw::c_uint,
3352    pub __high: ::std::os::raw::c_uint,
3353}
3354#[test]
3355fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1() {
3356    assert_eq!(
3357        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
3358        8usize,
3359        concat!(
3360            "Size of: ",
3361            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
3362        )
3363    );
3364    assert_eq!(
3365        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
3366        4usize,
3367        concat!(
3368            "Alignment of ",
3369            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
3370        )
3371    );
3372    assert_eq!(
3373        unsafe {
3374            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__low
3375                as *const _ as usize
3376        },
3377        0usize,
3378        concat!(
3379            "Offset of field: ",
3380            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
3381            "::",
3382            stringify!(__low)
3383        )
3384    );
3385    assert_eq!(
3386        unsafe {
3387            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__high
3388                as *const _ as usize
3389        },
3390        4usize,
3391        concat!(
3392            "Offset of field: ",
3393            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
3394            "::",
3395            stringify!(__high)
3396        )
3397    );
3398}
3399#[test]
3400fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1() {
3401    assert_eq!(
3402        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_1>(),
3403        8usize,
3404        concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_1))
3405    );
3406    assert_eq!(
3407        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_1>(),
3408        8usize,
3409        concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_1))
3410    );
3411    assert_eq!(
3412        unsafe {
3413            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq as *const _ as usize
3414        },
3415        0usize,
3416        concat!(
3417            "Offset of field: ",
3418            stringify!(__pthread_cond_s__bindgen_ty_1),
3419            "::",
3420            stringify!(__wseq)
3421        )
3422    );
3423    assert_eq!(
3424        unsafe {
3425            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq32 as *const _ as usize
3426        },
3427        0usize,
3428        concat!(
3429            "Offset of field: ",
3430            stringify!(__pthread_cond_s__bindgen_ty_1),
3431            "::",
3432            stringify!(__wseq32)
3433        )
3434    );
3435}
3436#[repr(C)]
3437#[derive(Copy, Clone)]
3438pub union __pthread_cond_s__bindgen_ty_2 {
3439    pub __g1_start: ::std::os::raw::c_ulonglong,
3440    pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1,
3441    _bindgen_union_align: u64,
3442}
3443#[repr(C)]
3444#[derive(Debug, Copy, Clone)]
3445pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 {
3446    pub __low: ::std::os::raw::c_uint,
3447    pub __high: ::std::os::raw::c_uint,
3448}
3449#[test]
3450fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1() {
3451    assert_eq!(
3452        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
3453        8usize,
3454        concat!(
3455            "Size of: ",
3456            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
3457        )
3458    );
3459    assert_eq!(
3460        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
3461        4usize,
3462        concat!(
3463            "Alignment of ",
3464            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
3465        )
3466    );
3467    assert_eq!(
3468        unsafe {
3469            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__low
3470                as *const _ as usize
3471        },
3472        0usize,
3473        concat!(
3474            "Offset of field: ",
3475            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
3476            "::",
3477            stringify!(__low)
3478        )
3479    );
3480    assert_eq!(
3481        unsafe {
3482            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__high
3483                as *const _ as usize
3484        },
3485        4usize,
3486        concat!(
3487            "Offset of field: ",
3488            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
3489            "::",
3490            stringify!(__high)
3491        )
3492    );
3493}
3494#[test]
3495fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2() {
3496    assert_eq!(
3497        ::std::mem::size_of::<__pthread_cond_s__bindgen_ty_2>(),
3498        8usize,
3499        concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_2))
3500    );
3501    assert_eq!(
3502        ::std::mem::align_of::<__pthread_cond_s__bindgen_ty_2>(),
3503        8usize,
3504        concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_2))
3505    );
3506    assert_eq!(
3507        unsafe {
3508            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start as *const _
3509                as usize
3510        },
3511        0usize,
3512        concat!(
3513            "Offset of field: ",
3514            stringify!(__pthread_cond_s__bindgen_ty_2),
3515            "::",
3516            stringify!(__g1_start)
3517        )
3518    );
3519    assert_eq!(
3520        unsafe {
3521            &(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start32 as *const _
3522                as usize
3523        },
3524        0usize,
3525        concat!(
3526            "Offset of field: ",
3527            stringify!(__pthread_cond_s__bindgen_ty_2),
3528            "::",
3529            stringify!(__g1_start32)
3530        )
3531    );
3532}
3533#[test]
3534fn bindgen_test_layout___pthread_cond_s() {
3535    assert_eq!(
3536        ::std::mem::size_of::<__pthread_cond_s>(),
3537        48usize,
3538        concat!("Size of: ", stringify!(__pthread_cond_s))
3539    );
3540    assert_eq!(
3541        ::std::mem::align_of::<__pthread_cond_s>(),
3542        8usize,
3543        concat!("Alignment of ", stringify!(__pthread_cond_s))
3544    );
3545    assert_eq!(
3546        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_refs as *const _ as usize },
3547        16usize,
3548        concat!(
3549            "Offset of field: ",
3550            stringify!(__pthread_cond_s),
3551            "::",
3552            stringify!(__g_refs)
3553        )
3554    );
3555    assert_eq!(
3556        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_size as *const _ as usize },
3557        24usize,
3558        concat!(
3559            "Offset of field: ",
3560            stringify!(__pthread_cond_s),
3561            "::",
3562            stringify!(__g_size)
3563        )
3564    );
3565    assert_eq!(
3566        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g1_orig_size as *const _ as usize },
3567        32usize,
3568        concat!(
3569            "Offset of field: ",
3570            stringify!(__pthread_cond_s),
3571            "::",
3572            stringify!(__g1_orig_size)
3573        )
3574    );
3575    assert_eq!(
3576        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__wrefs as *const _ as usize },
3577        36usize,
3578        concat!(
3579            "Offset of field: ",
3580            stringify!(__pthread_cond_s),
3581            "::",
3582            stringify!(__wrefs)
3583        )
3584    );
3585    assert_eq!(
3586        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_signals as *const _ as usize },
3587        40usize,
3588        concat!(
3589            "Offset of field: ",
3590            stringify!(__pthread_cond_s),
3591            "::",
3592            stringify!(__g_signals)
3593        )
3594    );
3595}
3596pub type pthread_t = ::std::os::raw::c_ulong;
3597#[repr(C)]
3598#[derive(Copy, Clone)]
3599pub union pthread_mutexattr_t {
3600    pub __size: [::std::os::raw::c_char; 4usize],
3601    pub __align: ::std::os::raw::c_int,
3602    _bindgen_union_align: u32,
3603}
3604#[test]
3605fn bindgen_test_layout_pthread_mutexattr_t() {
3606    assert_eq!(
3607        ::std::mem::size_of::<pthread_mutexattr_t>(),
3608        4usize,
3609        concat!("Size of: ", stringify!(pthread_mutexattr_t))
3610    );
3611    assert_eq!(
3612        ::std::mem::align_of::<pthread_mutexattr_t>(),
3613        4usize,
3614        concat!("Alignment of ", stringify!(pthread_mutexattr_t))
3615    );
3616    assert_eq!(
3617        unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__size as *const _ as usize },
3618        0usize,
3619        concat!(
3620            "Offset of field: ",
3621            stringify!(pthread_mutexattr_t),
3622            "::",
3623            stringify!(__size)
3624        )
3625    );
3626    assert_eq!(
3627        unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__align as *const _ as usize },
3628        0usize,
3629        concat!(
3630            "Offset of field: ",
3631            stringify!(pthread_mutexattr_t),
3632            "::",
3633            stringify!(__align)
3634        )
3635    );
3636}
3637#[repr(C)]
3638#[derive(Copy, Clone)]
3639pub union pthread_condattr_t {
3640    pub __size: [::std::os::raw::c_char; 4usize],
3641    pub __align: ::std::os::raw::c_int,
3642    _bindgen_union_align: u32,
3643}
3644#[test]
3645fn bindgen_test_layout_pthread_condattr_t() {
3646    assert_eq!(
3647        ::std::mem::size_of::<pthread_condattr_t>(),
3648        4usize,
3649        concat!("Size of: ", stringify!(pthread_condattr_t))
3650    );
3651    assert_eq!(
3652        ::std::mem::align_of::<pthread_condattr_t>(),
3653        4usize,
3654        concat!("Alignment of ", stringify!(pthread_condattr_t))
3655    );
3656    assert_eq!(
3657        unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__size as *const _ as usize },
3658        0usize,
3659        concat!(
3660            "Offset of field: ",
3661            stringify!(pthread_condattr_t),
3662            "::",
3663            stringify!(__size)
3664        )
3665    );
3666    assert_eq!(
3667        unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__align as *const _ as usize },
3668        0usize,
3669        concat!(
3670            "Offset of field: ",
3671            stringify!(pthread_condattr_t),
3672            "::",
3673            stringify!(__align)
3674        )
3675    );
3676}
3677pub type pthread_key_t = ::std::os::raw::c_uint;
3678pub type pthread_once_t = ::std::os::raw::c_int;
3679#[repr(C)]
3680#[derive(Copy, Clone)]
3681pub union pthread_attr_t {
3682    pub __size: [::std::os::raw::c_char; 56usize],
3683    pub __align: ::std::os::raw::c_long,
3684    _bindgen_union_align: [u64; 7usize],
3685}
3686#[test]
3687fn bindgen_test_layout_pthread_attr_t() {
3688    assert_eq!(
3689        ::std::mem::size_of::<pthread_attr_t>(),
3690        56usize,
3691        concat!("Size of: ", stringify!(pthread_attr_t))
3692    );
3693    assert_eq!(
3694        ::std::mem::align_of::<pthread_attr_t>(),
3695        8usize,
3696        concat!("Alignment of ", stringify!(pthread_attr_t))
3697    );
3698    assert_eq!(
3699        unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__size as *const _ as usize },
3700        0usize,
3701        concat!(
3702            "Offset of field: ",
3703            stringify!(pthread_attr_t),
3704            "::",
3705            stringify!(__size)
3706        )
3707    );
3708    assert_eq!(
3709        unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__align as *const _ as usize },
3710        0usize,
3711        concat!(
3712            "Offset of field: ",
3713            stringify!(pthread_attr_t),
3714            "::",
3715            stringify!(__align)
3716        )
3717    );
3718}
3719#[repr(C)]
3720#[derive(Copy, Clone)]
3721pub union pthread_mutex_t {
3722    pub __data: __pthread_mutex_s,
3723    pub __size: [::std::os::raw::c_char; 40usize],
3724    pub __align: ::std::os::raw::c_long,
3725    _bindgen_union_align: [u64; 5usize],
3726}
3727#[test]
3728fn bindgen_test_layout_pthread_mutex_t() {
3729    assert_eq!(
3730        ::std::mem::size_of::<pthread_mutex_t>(),
3731        40usize,
3732        concat!("Size of: ", stringify!(pthread_mutex_t))
3733    );
3734    assert_eq!(
3735        ::std::mem::align_of::<pthread_mutex_t>(),
3736        8usize,
3737        concat!("Alignment of ", stringify!(pthread_mutex_t))
3738    );
3739    assert_eq!(
3740        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__data as *const _ as usize },
3741        0usize,
3742        concat!(
3743            "Offset of field: ",
3744            stringify!(pthread_mutex_t),
3745            "::",
3746            stringify!(__data)
3747        )
3748    );
3749    assert_eq!(
3750        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__size as *const _ as usize },
3751        0usize,
3752        concat!(
3753            "Offset of field: ",
3754            stringify!(pthread_mutex_t),
3755            "::",
3756            stringify!(__size)
3757        )
3758    );
3759    assert_eq!(
3760        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__align as *const _ as usize },
3761        0usize,
3762        concat!(
3763            "Offset of field: ",
3764            stringify!(pthread_mutex_t),
3765            "::",
3766            stringify!(__align)
3767        )
3768    );
3769}
3770#[repr(C)]
3771#[derive(Copy, Clone)]
3772pub union pthread_cond_t {
3773    pub __data: __pthread_cond_s,
3774    pub __size: [::std::os::raw::c_char; 48usize],
3775    pub __align: ::std::os::raw::c_longlong,
3776    _bindgen_union_align: [u64; 6usize],
3777}
3778#[test]
3779fn bindgen_test_layout_pthread_cond_t() {
3780    assert_eq!(
3781        ::std::mem::size_of::<pthread_cond_t>(),
3782        48usize,
3783        concat!("Size of: ", stringify!(pthread_cond_t))
3784    );
3785    assert_eq!(
3786        ::std::mem::align_of::<pthread_cond_t>(),
3787        8usize,
3788        concat!("Alignment of ", stringify!(pthread_cond_t))
3789    );
3790    assert_eq!(
3791        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__data as *const _ as usize },
3792        0usize,
3793        concat!(
3794            "Offset of field: ",
3795            stringify!(pthread_cond_t),
3796            "::",
3797            stringify!(__data)
3798        )
3799    );
3800    assert_eq!(
3801        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__size as *const _ as usize },
3802        0usize,
3803        concat!(
3804            "Offset of field: ",
3805            stringify!(pthread_cond_t),
3806            "::",
3807            stringify!(__size)
3808        )
3809    );
3810    assert_eq!(
3811        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__align as *const _ as usize },
3812        0usize,
3813        concat!(
3814            "Offset of field: ",
3815            stringify!(pthread_cond_t),
3816            "::",
3817            stringify!(__align)
3818        )
3819    );
3820}
3821#[repr(C)]
3822#[derive(Copy, Clone)]
3823pub union pthread_rwlock_t {
3824    pub __data: __pthread_rwlock_arch_t,
3825    pub __size: [::std::os::raw::c_char; 56usize],
3826    pub __align: ::std::os::raw::c_long,
3827    _bindgen_union_align: [u64; 7usize],
3828}
3829#[test]
3830fn bindgen_test_layout_pthread_rwlock_t() {
3831    assert_eq!(
3832        ::std::mem::size_of::<pthread_rwlock_t>(),
3833        56usize,
3834        concat!("Size of: ", stringify!(pthread_rwlock_t))
3835    );
3836    assert_eq!(
3837        ::std::mem::align_of::<pthread_rwlock_t>(),
3838        8usize,
3839        concat!("Alignment of ", stringify!(pthread_rwlock_t))
3840    );
3841    assert_eq!(
3842        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__data as *const _ as usize },
3843        0usize,
3844        concat!(
3845            "Offset of field: ",
3846            stringify!(pthread_rwlock_t),
3847            "::",
3848            stringify!(__data)
3849        )
3850    );
3851    assert_eq!(
3852        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__size as *const _ as usize },
3853        0usize,
3854        concat!(
3855            "Offset of field: ",
3856            stringify!(pthread_rwlock_t),
3857            "::",
3858            stringify!(__size)
3859        )
3860    );
3861    assert_eq!(
3862        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__align as *const _ as usize },
3863        0usize,
3864        concat!(
3865            "Offset of field: ",
3866            stringify!(pthread_rwlock_t),
3867            "::",
3868            stringify!(__align)
3869        )
3870    );
3871}
3872#[repr(C)]
3873#[derive(Copy, Clone)]
3874pub union pthread_rwlockattr_t {
3875    pub __size: [::std::os::raw::c_char; 8usize],
3876    pub __align: ::std::os::raw::c_long,
3877    _bindgen_union_align: u64,
3878}
3879#[test]
3880fn bindgen_test_layout_pthread_rwlockattr_t() {
3881    assert_eq!(
3882        ::std::mem::size_of::<pthread_rwlockattr_t>(),
3883        8usize,
3884        concat!("Size of: ", stringify!(pthread_rwlockattr_t))
3885    );
3886    assert_eq!(
3887        ::std::mem::align_of::<pthread_rwlockattr_t>(),
3888        8usize,
3889        concat!("Alignment of ", stringify!(pthread_rwlockattr_t))
3890    );
3891    assert_eq!(
3892        unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__size as *const _ as usize },
3893        0usize,
3894        concat!(
3895            "Offset of field: ",
3896            stringify!(pthread_rwlockattr_t),
3897            "::",
3898            stringify!(__size)
3899        )
3900    );
3901    assert_eq!(
3902        unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__align as *const _ as usize },
3903        0usize,
3904        concat!(
3905            "Offset of field: ",
3906            stringify!(pthread_rwlockattr_t),
3907            "::",
3908            stringify!(__align)
3909        )
3910    );
3911}
3912pub type pthread_spinlock_t = ::std::os::raw::c_int;
3913#[repr(C)]
3914#[derive(Copy, Clone)]
3915pub union pthread_barrier_t {
3916    pub __size: [::std::os::raw::c_char; 32usize],
3917    pub __align: ::std::os::raw::c_long,
3918    _bindgen_union_align: [u64; 4usize],
3919}
3920#[test]
3921fn bindgen_test_layout_pthread_barrier_t() {
3922    assert_eq!(
3923        ::std::mem::size_of::<pthread_barrier_t>(),
3924        32usize,
3925        concat!("Size of: ", stringify!(pthread_barrier_t))
3926    );
3927    assert_eq!(
3928        ::std::mem::align_of::<pthread_barrier_t>(),
3929        8usize,
3930        concat!("Alignment of ", stringify!(pthread_barrier_t))
3931    );
3932    assert_eq!(
3933        unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__size as *const _ as usize },
3934        0usize,
3935        concat!(
3936            "Offset of field: ",
3937            stringify!(pthread_barrier_t),
3938            "::",
3939            stringify!(__size)
3940        )
3941    );
3942    assert_eq!(
3943        unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__align as *const _ as usize },
3944        0usize,
3945        concat!(
3946            "Offset of field: ",
3947            stringify!(pthread_barrier_t),
3948            "::",
3949            stringify!(__align)
3950        )
3951    );
3952}
3953#[repr(C)]
3954#[derive(Copy, Clone)]
3955pub union pthread_barrierattr_t {
3956    pub __size: [::std::os::raw::c_char; 4usize],
3957    pub __align: ::std::os::raw::c_int,
3958    _bindgen_union_align: u32,
3959}
3960#[test]
3961fn bindgen_test_layout_pthread_barrierattr_t() {
3962    assert_eq!(
3963        ::std::mem::size_of::<pthread_barrierattr_t>(),
3964        4usize,
3965        concat!("Size of: ", stringify!(pthread_barrierattr_t))
3966    );
3967    assert_eq!(
3968        ::std::mem::align_of::<pthread_barrierattr_t>(),
3969        4usize,
3970        concat!("Alignment of ", stringify!(pthread_barrierattr_t))
3971    );
3972    assert_eq!(
3973        unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__size as *const _ as usize },
3974        0usize,
3975        concat!(
3976            "Offset of field: ",
3977            stringify!(pthread_barrierattr_t),
3978            "::",
3979            stringify!(__size)
3980        )
3981    );
3982    assert_eq!(
3983        unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__align as *const _ as usize },
3984        0usize,
3985        concat!(
3986            "Offset of field: ",
3987            stringify!(pthread_barrierattr_t),
3988            "::",
3989            stringify!(__align)
3990        )
3991    );
3992}
3993pub type XID = ::std::os::raw::c_ulong;
3994pub type Mask = ::std::os::raw::c_ulong;
3995pub type Atom = ::std::os::raw::c_ulong;
3996pub type VisualID = ::std::os::raw::c_ulong;
3997pub type Time = ::std::os::raw::c_ulong;
3998pub type Window = XID;
3999pub type Drawable = XID;
4000pub type Font = XID;
4001pub type Pixmap = XID;
4002pub type Cursor = XID;
4003pub type Colormap = XID;
4004pub type GContext = XID;
4005pub type KeySym = XID;
4006pub type KeyCode = ::std::os::raw::c_uchar;
4007pub type wchar_t = ::std::os::raw::c_int;
4008#[repr(C)]
4009#[repr(align(16))]
4010#[derive(Debug, Copy, Clone)]
4011pub struct max_align_t {
4012    pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
4013    pub __bindgen_padding_0: u64,
4014    pub __clang_max_align_nonce2: u128,
4015}
4016#[test]
4017fn bindgen_test_layout_max_align_t() {
4018    assert_eq!(
4019        ::std::mem::size_of::<max_align_t>(),
4020        32usize,
4021        concat!("Size of: ", stringify!(max_align_t))
4022    );
4023    assert_eq!(
4024        ::std::mem::align_of::<max_align_t>(),
4025        16usize,
4026        concat!("Alignment of ", stringify!(max_align_t))
4027    );
4028    assert_eq!(
4029        unsafe {
4030            &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce1 as *const _ as usize
4031        },
4032        0usize,
4033        concat!(
4034            "Offset of field: ",
4035            stringify!(max_align_t),
4036            "::",
4037            stringify!(__clang_max_align_nonce1)
4038        )
4039    );
4040    assert_eq!(
4041        unsafe {
4042            &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce2 as *const _ as usize
4043        },
4044        16usize,
4045        concat!(
4046            "Offset of field: ",
4047            stringify!(max_align_t),
4048            "::",
4049            stringify!(__clang_max_align_nonce2)
4050        )
4051    );
4052}
4053extern "C" {
4054    pub fn _Xmblen(
4055        str: *mut ::std::os::raw::c_char,
4056        len: ::std::os::raw::c_int,
4057    ) -> ::std::os::raw::c_int;
4058}
4059pub type XPointer = *mut ::std::os::raw::c_char;
4060#[repr(C)]
4061#[derive(Debug, Copy, Clone)]
4062pub struct _XExtData {
4063    pub number: ::std::os::raw::c_int,
4064    pub next: *mut _XExtData,
4065    pub free_private: ::std::option::Option<
4066        unsafe extern "C" fn(extension: *mut _XExtData) -> ::std::os::raw::c_int,
4067    >,
4068    pub private_data: XPointer,
4069}
4070#[test]
4071fn bindgen_test_layout__XExtData() {
4072    assert_eq!(
4073        ::std::mem::size_of::<_XExtData>(),
4074        32usize,
4075        concat!("Size of: ", stringify!(_XExtData))
4076    );
4077    assert_eq!(
4078        ::std::mem::align_of::<_XExtData>(),
4079        8usize,
4080        concat!("Alignment of ", stringify!(_XExtData))
4081    );
4082    assert_eq!(
4083        unsafe { &(*(::std::ptr::null::<_XExtData>())).number as *const _ as usize },
4084        0usize,
4085        concat!(
4086            "Offset of field: ",
4087            stringify!(_XExtData),
4088            "::",
4089            stringify!(number)
4090        )
4091    );
4092    assert_eq!(
4093        unsafe { &(*(::std::ptr::null::<_XExtData>())).next as *const _ as usize },
4094        8usize,
4095        concat!(
4096            "Offset of field: ",
4097            stringify!(_XExtData),
4098            "::",
4099            stringify!(next)
4100        )
4101    );
4102    assert_eq!(
4103        unsafe { &(*(::std::ptr::null::<_XExtData>())).free_private as *const _ as usize },
4104        16usize,
4105        concat!(
4106            "Offset of field: ",
4107            stringify!(_XExtData),
4108            "::",
4109            stringify!(free_private)
4110        )
4111    );
4112    assert_eq!(
4113        unsafe { &(*(::std::ptr::null::<_XExtData>())).private_data as *const _ as usize },
4114        24usize,
4115        concat!(
4116            "Offset of field: ",
4117            stringify!(_XExtData),
4118            "::",
4119            stringify!(private_data)
4120        )
4121    );
4122}
4123pub type XExtData = _XExtData;
4124#[repr(C)]
4125#[derive(Debug, Copy, Clone)]
4126pub struct XExtCodes {
4127    pub extension: ::std::os::raw::c_int,
4128    pub major_opcode: ::std::os::raw::c_int,
4129    pub first_event: ::std::os::raw::c_int,
4130    pub first_error: ::std::os::raw::c_int,
4131}
4132#[test]
4133fn bindgen_test_layout_XExtCodes() {
4134    assert_eq!(
4135        ::std::mem::size_of::<XExtCodes>(),
4136        16usize,
4137        concat!("Size of: ", stringify!(XExtCodes))
4138    );
4139    assert_eq!(
4140        ::std::mem::align_of::<XExtCodes>(),
4141        4usize,
4142        concat!("Alignment of ", stringify!(XExtCodes))
4143    );
4144    assert_eq!(
4145        unsafe { &(*(::std::ptr::null::<XExtCodes>())).extension as *const _ as usize },
4146        0usize,
4147        concat!(
4148            "Offset of field: ",
4149            stringify!(XExtCodes),
4150            "::",
4151            stringify!(extension)
4152        )
4153    );
4154    assert_eq!(
4155        unsafe { &(*(::std::ptr::null::<XExtCodes>())).major_opcode as *const _ as usize },
4156        4usize,
4157        concat!(
4158            "Offset of field: ",
4159            stringify!(XExtCodes),
4160            "::",
4161            stringify!(major_opcode)
4162        )
4163    );
4164    assert_eq!(
4165        unsafe { &(*(::std::ptr::null::<XExtCodes>())).first_event as *const _ as usize },
4166        8usize,
4167        concat!(
4168            "Offset of field: ",
4169            stringify!(XExtCodes),
4170            "::",
4171            stringify!(first_event)
4172        )
4173    );
4174    assert_eq!(
4175        unsafe { &(*(::std::ptr::null::<XExtCodes>())).first_error as *const _ as usize },
4176        12usize,
4177        concat!(
4178            "Offset of field: ",
4179            stringify!(XExtCodes),
4180            "::",
4181            stringify!(first_error)
4182        )
4183    );
4184}
4185#[repr(C)]
4186#[derive(Debug, Copy, Clone)]
4187pub struct XPixmapFormatValues {
4188    pub depth: ::std::os::raw::c_int,
4189    pub bits_per_pixel: ::std::os::raw::c_int,
4190    pub scanline_pad: ::std::os::raw::c_int,
4191}
4192#[test]
4193fn bindgen_test_layout_XPixmapFormatValues() {
4194    assert_eq!(
4195        ::std::mem::size_of::<XPixmapFormatValues>(),
4196        12usize,
4197        concat!("Size of: ", stringify!(XPixmapFormatValues))
4198    );
4199    assert_eq!(
4200        ::std::mem::align_of::<XPixmapFormatValues>(),
4201        4usize,
4202        concat!("Alignment of ", stringify!(XPixmapFormatValues))
4203    );
4204    assert_eq!(
4205        unsafe { &(*(::std::ptr::null::<XPixmapFormatValues>())).depth as *const _ as usize },
4206        0usize,
4207        concat!(
4208            "Offset of field: ",
4209            stringify!(XPixmapFormatValues),
4210            "::",
4211            stringify!(depth)
4212        )
4213    );
4214    assert_eq!(
4215        unsafe {
4216            &(*(::std::ptr::null::<XPixmapFormatValues>())).bits_per_pixel as *const _ as usize
4217        },
4218        4usize,
4219        concat!(
4220            "Offset of field: ",
4221            stringify!(XPixmapFormatValues),
4222            "::",
4223            stringify!(bits_per_pixel)
4224        )
4225    );
4226    assert_eq!(
4227        unsafe {
4228            &(*(::std::ptr::null::<XPixmapFormatValues>())).scanline_pad as *const _ as usize
4229        },
4230        8usize,
4231        concat!(
4232            "Offset of field: ",
4233            stringify!(XPixmapFormatValues),
4234            "::",
4235            stringify!(scanline_pad)
4236        )
4237    );
4238}
4239#[repr(C)]
4240#[derive(Debug, Copy, Clone)]
4241pub struct XGCValues {
4242    pub function: ::std::os::raw::c_int,
4243    pub plane_mask: ::std::os::raw::c_ulong,
4244    pub foreground: ::std::os::raw::c_ulong,
4245    pub background: ::std::os::raw::c_ulong,
4246    pub line_width: ::std::os::raw::c_int,
4247    pub line_style: ::std::os::raw::c_int,
4248    pub cap_style: ::std::os::raw::c_int,
4249    pub join_style: ::std::os::raw::c_int,
4250    pub fill_style: ::std::os::raw::c_int,
4251    pub fill_rule: ::std::os::raw::c_int,
4252    pub arc_mode: ::std::os::raw::c_int,
4253    pub tile: Pixmap,
4254    pub stipple: Pixmap,
4255    pub ts_x_origin: ::std::os::raw::c_int,
4256    pub ts_y_origin: ::std::os::raw::c_int,
4257    pub font: Font,
4258    pub subwindow_mode: ::std::os::raw::c_int,
4259    pub graphics_exposures: ::std::os::raw::c_int,
4260    pub clip_x_origin: ::std::os::raw::c_int,
4261    pub clip_y_origin: ::std::os::raw::c_int,
4262    pub clip_mask: Pixmap,
4263    pub dash_offset: ::std::os::raw::c_int,
4264    pub dashes: ::std::os::raw::c_char,
4265}
4266#[test]
4267fn bindgen_test_layout_XGCValues() {
4268    assert_eq!(
4269        ::std::mem::size_of::<XGCValues>(),
4270        128usize,
4271        concat!("Size of: ", stringify!(XGCValues))
4272    );
4273    assert_eq!(
4274        ::std::mem::align_of::<XGCValues>(),
4275        8usize,
4276        concat!("Alignment of ", stringify!(XGCValues))
4277    );
4278    assert_eq!(
4279        unsafe { &(*(::std::ptr::null::<XGCValues>())).function as *const _ as usize },
4280        0usize,
4281        concat!(
4282            "Offset of field: ",
4283            stringify!(XGCValues),
4284            "::",
4285            stringify!(function)
4286        )
4287    );
4288    assert_eq!(
4289        unsafe { &(*(::std::ptr::null::<XGCValues>())).plane_mask as *const _ as usize },
4290        8usize,
4291        concat!(
4292            "Offset of field: ",
4293            stringify!(XGCValues),
4294            "::",
4295            stringify!(plane_mask)
4296        )
4297    );
4298    assert_eq!(
4299        unsafe { &(*(::std::ptr::null::<XGCValues>())).foreground as *const _ as usize },
4300        16usize,
4301        concat!(
4302            "Offset of field: ",
4303            stringify!(XGCValues),
4304            "::",
4305            stringify!(foreground)
4306        )
4307    );
4308    assert_eq!(
4309        unsafe { &(*(::std::ptr::null::<XGCValues>())).background as *const _ as usize },
4310        24usize,
4311        concat!(
4312            "Offset of field: ",
4313            stringify!(XGCValues),
4314            "::",
4315            stringify!(background)
4316        )
4317    );
4318    assert_eq!(
4319        unsafe { &(*(::std::ptr::null::<XGCValues>())).line_width as *const _ as usize },
4320        32usize,
4321        concat!(
4322            "Offset of field: ",
4323            stringify!(XGCValues),
4324            "::",
4325            stringify!(line_width)
4326        )
4327    );
4328    assert_eq!(
4329        unsafe { &(*(::std::ptr::null::<XGCValues>())).line_style as *const _ as usize },
4330        36usize,
4331        concat!(
4332            "Offset of field: ",
4333            stringify!(XGCValues),
4334            "::",
4335            stringify!(line_style)
4336        )
4337    );
4338    assert_eq!(
4339        unsafe { &(*(::std::ptr::null::<XGCValues>())).cap_style as *const _ as usize },
4340        40usize,
4341        concat!(
4342            "Offset of field: ",
4343            stringify!(XGCValues),
4344            "::",
4345            stringify!(cap_style)
4346        )
4347    );
4348    assert_eq!(
4349        unsafe { &(*(::std::ptr::null::<XGCValues>())).join_style as *const _ as usize },
4350        44usize,
4351        concat!(
4352            "Offset of field: ",
4353            stringify!(XGCValues),
4354            "::",
4355            stringify!(join_style)
4356        )
4357    );
4358    assert_eq!(
4359        unsafe { &(*(::std::ptr::null::<XGCValues>())).fill_style as *const _ as usize },
4360        48usize,
4361        concat!(
4362            "Offset of field: ",
4363            stringify!(XGCValues),
4364            "::",
4365            stringify!(fill_style)
4366        )
4367    );
4368    assert_eq!(
4369        unsafe { &(*(::std::ptr::null::<XGCValues>())).fill_rule as *const _ as usize },
4370        52usize,
4371        concat!(
4372            "Offset of field: ",
4373            stringify!(XGCValues),
4374            "::",
4375            stringify!(fill_rule)
4376        )
4377    );
4378    assert_eq!(
4379        unsafe { &(*(::std::ptr::null::<XGCValues>())).arc_mode as *const _ as usize },
4380        56usize,
4381        concat!(
4382            "Offset of field: ",
4383            stringify!(XGCValues),
4384            "::",
4385            stringify!(arc_mode)
4386        )
4387    );
4388    assert_eq!(
4389        unsafe { &(*(::std::ptr::null::<XGCValues>())).tile as *const _ as usize },
4390        64usize,
4391        concat!(
4392            "Offset of field: ",
4393            stringify!(XGCValues),
4394            "::",
4395            stringify!(tile)
4396        )
4397    );
4398    assert_eq!(
4399        unsafe { &(*(::std::ptr::null::<XGCValues>())).stipple as *const _ as usize },
4400        72usize,
4401        concat!(
4402            "Offset of field: ",
4403            stringify!(XGCValues),
4404            "::",
4405            stringify!(stipple)
4406        )
4407    );
4408    assert_eq!(
4409        unsafe { &(*(::std::ptr::null::<XGCValues>())).ts_x_origin as *const _ as usize },
4410        80usize,
4411        concat!(
4412            "Offset of field: ",
4413            stringify!(XGCValues),
4414            "::",
4415            stringify!(ts_x_origin)
4416        )
4417    );
4418    assert_eq!(
4419        unsafe { &(*(::std::ptr::null::<XGCValues>())).ts_y_origin as *const _ as usize },
4420        84usize,
4421        concat!(
4422            "Offset of field: ",
4423            stringify!(XGCValues),
4424            "::",
4425            stringify!(ts_y_origin)
4426        )
4427    );
4428    assert_eq!(
4429        unsafe { &(*(::std::ptr::null::<XGCValues>())).font as *const _ as usize },
4430        88usize,
4431        concat!(
4432            "Offset of field: ",
4433            stringify!(XGCValues),
4434            "::",
4435            stringify!(font)
4436        )
4437    );
4438    assert_eq!(
4439        unsafe { &(*(::std::ptr::null::<XGCValues>())).subwindow_mode as *const _ as usize },
4440        96usize,
4441        concat!(
4442            "Offset of field: ",
4443            stringify!(XGCValues),
4444            "::",
4445            stringify!(subwindow_mode)
4446        )
4447    );
4448    assert_eq!(
4449        unsafe { &(*(::std::ptr::null::<XGCValues>())).graphics_exposures as *const _ as usize },
4450        100usize,
4451        concat!(
4452            "Offset of field: ",
4453            stringify!(XGCValues),
4454            "::",
4455            stringify!(graphics_exposures)
4456        )
4457    );
4458    assert_eq!(
4459        unsafe { &(*(::std::ptr::null::<XGCValues>())).clip_x_origin as *const _ as usize },
4460        104usize,
4461        concat!(
4462            "Offset of field: ",
4463            stringify!(XGCValues),
4464            "::",
4465            stringify!(clip_x_origin)
4466        )
4467    );
4468    assert_eq!(
4469        unsafe { &(*(::std::ptr::null::<XGCValues>())).clip_y_origin as *const _ as usize },
4470        108usize,
4471        concat!(
4472            "Offset of field: ",
4473            stringify!(XGCValues),
4474            "::",
4475            stringify!(clip_y_origin)
4476        )
4477    );
4478    assert_eq!(
4479        unsafe { &(*(::std::ptr::null::<XGCValues>())).clip_mask as *const _ as usize },
4480        112usize,
4481        concat!(
4482            "Offset of field: ",
4483            stringify!(XGCValues),
4484            "::",
4485            stringify!(clip_mask)
4486        )
4487    );
4488    assert_eq!(
4489        unsafe { &(*(::std::ptr::null::<XGCValues>())).dash_offset as *const _ as usize },
4490        120usize,
4491        concat!(
4492            "Offset of field: ",
4493            stringify!(XGCValues),
4494            "::",
4495            stringify!(dash_offset)
4496        )
4497    );
4498    assert_eq!(
4499        unsafe { &(*(::std::ptr::null::<XGCValues>())).dashes as *const _ as usize },
4500        124usize,
4501        concat!(
4502            "Offset of field: ",
4503            stringify!(XGCValues),
4504            "::",
4505            stringify!(dashes)
4506        )
4507    );
4508}
4509#[repr(C)]
4510#[derive(Debug, Copy, Clone)]
4511pub struct _XGC {
4512    _unused: [u8; 0],
4513}
4514pub type GC = *mut _XGC;
4515#[repr(C)]
4516#[derive(Debug, Copy, Clone)]
4517pub struct Visual {
4518    pub ext_data: *mut XExtData,
4519    pub visualid: VisualID,
4520    pub class: ::std::os::raw::c_int,
4521    pub red_mask: ::std::os::raw::c_ulong,
4522    pub green_mask: ::std::os::raw::c_ulong,
4523    pub blue_mask: ::std::os::raw::c_ulong,
4524    pub bits_per_rgb: ::std::os::raw::c_int,
4525    pub map_entries: ::std::os::raw::c_int,
4526}
4527#[test]
4528fn bindgen_test_layout_Visual() {
4529    assert_eq!(
4530        ::std::mem::size_of::<Visual>(),
4531        56usize,
4532        concat!("Size of: ", stringify!(Visual))
4533    );
4534    assert_eq!(
4535        ::std::mem::align_of::<Visual>(),
4536        8usize,
4537        concat!("Alignment of ", stringify!(Visual))
4538    );
4539    assert_eq!(
4540        unsafe { &(*(::std::ptr::null::<Visual>())).ext_data as *const _ as usize },
4541        0usize,
4542        concat!(
4543            "Offset of field: ",
4544            stringify!(Visual),
4545            "::",
4546            stringify!(ext_data)
4547        )
4548    );
4549    assert_eq!(
4550        unsafe { &(*(::std::ptr::null::<Visual>())).visualid as *const _ as usize },
4551        8usize,
4552        concat!(
4553            "Offset of field: ",
4554            stringify!(Visual),
4555            "::",
4556            stringify!(visualid)
4557        )
4558    );
4559    assert_eq!(
4560        unsafe { &(*(::std::ptr::null::<Visual>())).class as *const _ as usize },
4561        16usize,
4562        concat!(
4563            "Offset of field: ",
4564            stringify!(Visual),
4565            "::",
4566            stringify!(class)
4567        )
4568    );
4569    assert_eq!(
4570        unsafe { &(*(::std::ptr::null::<Visual>())).red_mask as *const _ as usize },
4571        24usize,
4572        concat!(
4573            "Offset of field: ",
4574            stringify!(Visual),
4575            "::",
4576            stringify!(red_mask)
4577        )
4578    );
4579    assert_eq!(
4580        unsafe { &(*(::std::ptr::null::<Visual>())).green_mask as *const _ as usize },
4581        32usize,
4582        concat!(
4583            "Offset of field: ",
4584            stringify!(Visual),
4585            "::",
4586            stringify!(green_mask)
4587        )
4588    );
4589    assert_eq!(
4590        unsafe { &(*(::std::ptr::null::<Visual>())).blue_mask as *const _ as usize },
4591        40usize,
4592        concat!(
4593            "Offset of field: ",
4594            stringify!(Visual),
4595            "::",
4596            stringify!(blue_mask)
4597        )
4598    );
4599    assert_eq!(
4600        unsafe { &(*(::std::ptr::null::<Visual>())).bits_per_rgb as *const _ as usize },
4601        48usize,
4602        concat!(
4603            "Offset of field: ",
4604            stringify!(Visual),
4605            "::",
4606            stringify!(bits_per_rgb)
4607        )
4608    );
4609    assert_eq!(
4610        unsafe { &(*(::std::ptr::null::<Visual>())).map_entries as *const _ as usize },
4611        52usize,
4612        concat!(
4613            "Offset of field: ",
4614            stringify!(Visual),
4615            "::",
4616            stringify!(map_entries)
4617        )
4618    );
4619}
4620#[repr(C)]
4621#[derive(Debug, Copy, Clone)]
4622pub struct Depth {
4623    pub depth: ::std::os::raw::c_int,
4624    pub nvisuals: ::std::os::raw::c_int,
4625    pub visuals: *mut Visual,
4626}
4627#[test]
4628fn bindgen_test_layout_Depth() {
4629    assert_eq!(
4630        ::std::mem::size_of::<Depth>(),
4631        16usize,
4632        concat!("Size of: ", stringify!(Depth))
4633    );
4634    assert_eq!(
4635        ::std::mem::align_of::<Depth>(),
4636        8usize,
4637        concat!("Alignment of ", stringify!(Depth))
4638    );
4639    assert_eq!(
4640        unsafe { &(*(::std::ptr::null::<Depth>())).depth as *const _ as usize },
4641        0usize,
4642        concat!(
4643            "Offset of field: ",
4644            stringify!(Depth),
4645            "::",
4646            stringify!(depth)
4647        )
4648    );
4649    assert_eq!(
4650        unsafe { &(*(::std::ptr::null::<Depth>())).nvisuals as *const _ as usize },
4651        4usize,
4652        concat!(
4653            "Offset of field: ",
4654            stringify!(Depth),
4655            "::",
4656            stringify!(nvisuals)
4657        )
4658    );
4659    assert_eq!(
4660        unsafe { &(*(::std::ptr::null::<Depth>())).visuals as *const _ as usize },
4661        8usize,
4662        concat!(
4663            "Offset of field: ",
4664            stringify!(Depth),
4665            "::",
4666            stringify!(visuals)
4667        )
4668    );
4669}
4670#[repr(C)]
4671#[derive(Debug, Copy, Clone)]
4672pub struct _XDisplay {
4673    _unused: [u8; 0],
4674}
4675#[repr(C)]
4676#[derive(Debug, Copy, Clone)]
4677pub struct Screen {
4678    pub ext_data: *mut XExtData,
4679    pub display: *mut _XDisplay,
4680    pub root: Window,
4681    pub width: ::std::os::raw::c_int,
4682    pub height: ::std::os::raw::c_int,
4683    pub mwidth: ::std::os::raw::c_int,
4684    pub mheight: ::std::os::raw::c_int,
4685    pub ndepths: ::std::os::raw::c_int,
4686    pub depths: *mut Depth,
4687    pub root_depth: ::std::os::raw::c_int,
4688    pub root_visual: *mut Visual,
4689    pub default_gc: GC,
4690    pub cmap: Colormap,
4691    pub white_pixel: ::std::os::raw::c_ulong,
4692    pub black_pixel: ::std::os::raw::c_ulong,
4693    pub max_maps: ::std::os::raw::c_int,
4694    pub min_maps: ::std::os::raw::c_int,
4695    pub backing_store: ::std::os::raw::c_int,
4696    pub save_unders: ::std::os::raw::c_int,
4697    pub root_input_mask: ::std::os::raw::c_long,
4698}
4699#[test]
4700fn bindgen_test_layout_Screen() {
4701    assert_eq!(
4702        ::std::mem::size_of::<Screen>(),
4703        128usize,
4704        concat!("Size of: ", stringify!(Screen))
4705    );
4706    assert_eq!(
4707        ::std::mem::align_of::<Screen>(),
4708        8usize,
4709        concat!("Alignment of ", stringify!(Screen))
4710    );
4711    assert_eq!(
4712        unsafe { &(*(::std::ptr::null::<Screen>())).ext_data as *const _ as usize },
4713        0usize,
4714        concat!(
4715            "Offset of field: ",
4716            stringify!(Screen),
4717            "::",
4718            stringify!(ext_data)
4719        )
4720    );
4721    assert_eq!(
4722        unsafe { &(*(::std::ptr::null::<Screen>())).display as *const _ as usize },
4723        8usize,
4724        concat!(
4725            "Offset of field: ",
4726            stringify!(Screen),
4727            "::",
4728            stringify!(display)
4729        )
4730    );
4731    assert_eq!(
4732        unsafe { &(*(::std::ptr::null::<Screen>())).root as *const _ as usize },
4733        16usize,
4734        concat!(
4735            "Offset of field: ",
4736            stringify!(Screen),
4737            "::",
4738            stringify!(root)
4739        )
4740    );
4741    assert_eq!(
4742        unsafe { &(*(::std::ptr::null::<Screen>())).width as *const _ as usize },
4743        24usize,
4744        concat!(
4745            "Offset of field: ",
4746            stringify!(Screen),
4747            "::",
4748            stringify!(width)
4749        )
4750    );
4751    assert_eq!(
4752        unsafe { &(*(::std::ptr::null::<Screen>())).height as *const _ as usize },
4753        28usize,
4754        concat!(
4755            "Offset of field: ",
4756            stringify!(Screen),
4757            "::",
4758            stringify!(height)
4759        )
4760    );
4761    assert_eq!(
4762        unsafe { &(*(::std::ptr::null::<Screen>())).mwidth as *const _ as usize },
4763        32usize,
4764        concat!(
4765            "Offset of field: ",
4766            stringify!(Screen),
4767            "::",
4768            stringify!(mwidth)
4769        )
4770    );
4771    assert_eq!(
4772        unsafe { &(*(::std::ptr::null::<Screen>())).mheight as *const _ as usize },
4773        36usize,
4774        concat!(
4775            "Offset of field: ",
4776            stringify!(Screen),
4777            "::",
4778            stringify!(mheight)
4779        )
4780    );
4781    assert_eq!(
4782        unsafe { &(*(::std::ptr::null::<Screen>())).ndepths as *const _ as usize },
4783        40usize,
4784        concat!(
4785            "Offset of field: ",
4786            stringify!(Screen),
4787            "::",
4788            stringify!(ndepths)
4789        )
4790    );
4791    assert_eq!(
4792        unsafe { &(*(::std::ptr::null::<Screen>())).depths as *const _ as usize },
4793        48usize,
4794        concat!(
4795            "Offset of field: ",
4796            stringify!(Screen),
4797            "::",
4798            stringify!(depths)
4799        )
4800    );
4801    assert_eq!(
4802        unsafe { &(*(::std::ptr::null::<Screen>())).root_depth as *const _ as usize },
4803        56usize,
4804        concat!(
4805            "Offset of field: ",
4806            stringify!(Screen),
4807            "::",
4808            stringify!(root_depth)
4809        )
4810    );
4811    assert_eq!(
4812        unsafe { &(*(::std::ptr::null::<Screen>())).root_visual as *const _ as usize },
4813        64usize,
4814        concat!(
4815            "Offset of field: ",
4816            stringify!(Screen),
4817            "::",
4818            stringify!(root_visual)
4819        )
4820    );
4821    assert_eq!(
4822        unsafe { &(*(::std::ptr::null::<Screen>())).default_gc as *const _ as usize },
4823        72usize,
4824        concat!(
4825            "Offset of field: ",
4826            stringify!(Screen),
4827            "::",
4828            stringify!(default_gc)
4829        )
4830    );
4831    assert_eq!(
4832        unsafe { &(*(::std::ptr::null::<Screen>())).cmap as *const _ as usize },
4833        80usize,
4834        concat!(
4835            "Offset of field: ",
4836            stringify!(Screen),
4837            "::",
4838            stringify!(cmap)
4839        )
4840    );
4841    assert_eq!(
4842        unsafe { &(*(::std::ptr::null::<Screen>())).white_pixel as *const _ as usize },
4843        88usize,
4844        concat!(
4845            "Offset of field: ",
4846            stringify!(Screen),
4847            "::",
4848            stringify!(white_pixel)
4849        )
4850    );
4851    assert_eq!(
4852        unsafe { &(*(::std::ptr::null::<Screen>())).black_pixel as *const _ as usize },
4853        96usize,
4854        concat!(
4855            "Offset of field: ",
4856            stringify!(Screen),
4857            "::",
4858            stringify!(black_pixel)
4859        )
4860    );
4861    assert_eq!(
4862        unsafe { &(*(::std::ptr::null::<Screen>())).max_maps as *const _ as usize },
4863        104usize,
4864        concat!(
4865            "Offset of field: ",
4866            stringify!(Screen),
4867            "::",
4868            stringify!(max_maps)
4869        )
4870    );
4871    assert_eq!(
4872        unsafe { &(*(::std::ptr::null::<Screen>())).min_maps as *const _ as usize },
4873        108usize,
4874        concat!(
4875            "Offset of field: ",
4876            stringify!(Screen),
4877            "::",
4878            stringify!(min_maps)
4879        )
4880    );
4881    assert_eq!(
4882        unsafe { &(*(::std::ptr::null::<Screen>())).backing_store as *const _ as usize },
4883        112usize,
4884        concat!(
4885            "Offset of field: ",
4886            stringify!(Screen),
4887            "::",
4888            stringify!(backing_store)
4889        )
4890    );
4891    assert_eq!(
4892        unsafe { &(*(::std::ptr::null::<Screen>())).save_unders as *const _ as usize },
4893        116usize,
4894        concat!(
4895            "Offset of field: ",
4896            stringify!(Screen),
4897            "::",
4898            stringify!(save_unders)
4899        )
4900    );
4901    assert_eq!(
4902        unsafe { &(*(::std::ptr::null::<Screen>())).root_input_mask as *const _ as usize },
4903        120usize,
4904        concat!(
4905            "Offset of field: ",
4906            stringify!(Screen),
4907            "::",
4908            stringify!(root_input_mask)
4909        )
4910    );
4911}
4912#[repr(C)]
4913#[derive(Debug, Copy, Clone)]
4914pub struct ScreenFormat {
4915    pub ext_data: *mut XExtData,
4916    pub depth: ::std::os::raw::c_int,
4917    pub bits_per_pixel: ::std::os::raw::c_int,
4918    pub scanline_pad: ::std::os::raw::c_int,
4919}
4920#[test]
4921fn bindgen_test_layout_ScreenFormat() {
4922    assert_eq!(
4923        ::std::mem::size_of::<ScreenFormat>(),
4924        24usize,
4925        concat!("Size of: ", stringify!(ScreenFormat))
4926    );
4927    assert_eq!(
4928        ::std::mem::align_of::<ScreenFormat>(),
4929        8usize,
4930        concat!("Alignment of ", stringify!(ScreenFormat))
4931    );
4932    assert_eq!(
4933        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).ext_data as *const _ as usize },
4934        0usize,
4935        concat!(
4936            "Offset of field: ",
4937            stringify!(ScreenFormat),
4938            "::",
4939            stringify!(ext_data)
4940        )
4941    );
4942    assert_eq!(
4943        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).depth as *const _ as usize },
4944        8usize,
4945        concat!(
4946            "Offset of field: ",
4947            stringify!(ScreenFormat),
4948            "::",
4949            stringify!(depth)
4950        )
4951    );
4952    assert_eq!(
4953        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).bits_per_pixel as *const _ as usize },
4954        12usize,
4955        concat!(
4956            "Offset of field: ",
4957            stringify!(ScreenFormat),
4958            "::",
4959            stringify!(bits_per_pixel)
4960        )
4961    );
4962    assert_eq!(
4963        unsafe { &(*(::std::ptr::null::<ScreenFormat>())).scanline_pad as *const _ as usize },
4964        16usize,
4965        concat!(
4966            "Offset of field: ",
4967            stringify!(ScreenFormat),
4968            "::",
4969            stringify!(scanline_pad)
4970        )
4971    );
4972}
4973#[repr(C)]
4974#[derive(Debug, Copy, Clone)]
4975pub struct XSetWindowAttributes {
4976    pub background_pixmap: Pixmap,
4977    pub background_pixel: ::std::os::raw::c_ulong,
4978    pub border_pixmap: Pixmap,
4979    pub border_pixel: ::std::os::raw::c_ulong,
4980    pub bit_gravity: ::std::os::raw::c_int,
4981    pub win_gravity: ::std::os::raw::c_int,
4982    pub backing_store: ::std::os::raw::c_int,
4983    pub backing_planes: ::std::os::raw::c_ulong,
4984    pub backing_pixel: ::std::os::raw::c_ulong,
4985    pub save_under: ::std::os::raw::c_int,
4986    pub event_mask: ::std::os::raw::c_long,
4987    pub do_not_propagate_mask: ::std::os::raw::c_long,
4988    pub override_redirect: ::std::os::raw::c_int,
4989    pub colormap: Colormap,
4990    pub cursor: Cursor,
4991}
4992#[test]
4993fn bindgen_test_layout_XSetWindowAttributes() {
4994    assert_eq!(
4995        ::std::mem::size_of::<XSetWindowAttributes>(),
4996        112usize,
4997        concat!("Size of: ", stringify!(XSetWindowAttributes))
4998    );
4999    assert_eq!(
5000        ::std::mem::align_of::<XSetWindowAttributes>(),
5001        8usize,
5002        concat!("Alignment of ", stringify!(XSetWindowAttributes))
5003    );
5004    assert_eq!(
5005        unsafe {
5006            &(*(::std::ptr::null::<XSetWindowAttributes>())).background_pixmap as *const _ as usize
5007        },
5008        0usize,
5009        concat!(
5010            "Offset of field: ",
5011            stringify!(XSetWindowAttributes),
5012            "::",
5013            stringify!(background_pixmap)
5014        )
5015    );
5016    assert_eq!(
5017        unsafe {
5018            &(*(::std::ptr::null::<XSetWindowAttributes>())).background_pixel as *const _ as usize
5019        },
5020        8usize,
5021        concat!(
5022            "Offset of field: ",
5023            stringify!(XSetWindowAttributes),
5024            "::",
5025            stringify!(background_pixel)
5026        )
5027    );
5028    assert_eq!(
5029        unsafe {
5030            &(*(::std::ptr::null::<XSetWindowAttributes>())).border_pixmap as *const _ as usize
5031        },
5032        16usize,
5033        concat!(
5034            "Offset of field: ",
5035            stringify!(XSetWindowAttributes),
5036            "::",
5037            stringify!(border_pixmap)
5038        )
5039    );
5040    assert_eq!(
5041        unsafe {
5042            &(*(::std::ptr::null::<XSetWindowAttributes>())).border_pixel as *const _ as usize
5043        },
5044        24usize,
5045        concat!(
5046            "Offset of field: ",
5047            stringify!(XSetWindowAttributes),
5048            "::",
5049            stringify!(border_pixel)
5050        )
5051    );
5052    assert_eq!(
5053        unsafe {
5054            &(*(::std::ptr::null::<XSetWindowAttributes>())).bit_gravity as *const _ as usize
5055        },
5056        32usize,
5057        concat!(
5058            "Offset of field: ",
5059            stringify!(XSetWindowAttributes),
5060            "::",
5061            stringify!(bit_gravity)
5062        )
5063    );
5064    assert_eq!(
5065        unsafe {
5066            &(*(::std::ptr::null::<XSetWindowAttributes>())).win_gravity as *const _ as usize
5067        },
5068        36usize,
5069        concat!(
5070            "Offset of field: ",
5071            stringify!(XSetWindowAttributes),
5072            "::",
5073            stringify!(win_gravity)
5074        )
5075    );
5076    assert_eq!(
5077        unsafe {
5078            &(*(::std::ptr::null::<XSetWindowAttributes>())).backing_store as *const _ as usize
5079        },
5080        40usize,
5081        concat!(
5082            "Offset of field: ",
5083            stringify!(XSetWindowAttributes),
5084            "::",
5085            stringify!(backing_store)
5086        )
5087    );
5088    assert_eq!(
5089        unsafe {
5090            &(*(::std::ptr::null::<XSetWindowAttributes>())).backing_planes as *const _ as usize
5091        },
5092        48usize,
5093        concat!(
5094            "Offset of field: ",
5095            stringify!(XSetWindowAttributes),
5096            "::",
5097            stringify!(backing_planes)
5098        )
5099    );
5100    assert_eq!(
5101        unsafe {
5102            &(*(::std::ptr::null::<XSetWindowAttributes>())).backing_pixel as *const _ as usize
5103        },
5104        56usize,
5105        concat!(
5106            "Offset of field: ",
5107            stringify!(XSetWindowAttributes),
5108            "::",
5109            stringify!(backing_pixel)
5110        )
5111    );
5112    assert_eq!(
5113        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).save_under as *const _ as usize },
5114        64usize,
5115        concat!(
5116            "Offset of field: ",
5117            stringify!(XSetWindowAttributes),
5118            "::",
5119            stringify!(save_under)
5120        )
5121    );
5122    assert_eq!(
5123        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).event_mask as *const _ as usize },
5124        72usize,
5125        concat!(
5126            "Offset of field: ",
5127            stringify!(XSetWindowAttributes),
5128            "::",
5129            stringify!(event_mask)
5130        )
5131    );
5132    assert_eq!(
5133        unsafe {
5134            &(*(::std::ptr::null::<XSetWindowAttributes>())).do_not_propagate_mask as *const _
5135                as usize
5136        },
5137        80usize,
5138        concat!(
5139            "Offset of field: ",
5140            stringify!(XSetWindowAttributes),
5141            "::",
5142            stringify!(do_not_propagate_mask)
5143        )
5144    );
5145    assert_eq!(
5146        unsafe {
5147            &(*(::std::ptr::null::<XSetWindowAttributes>())).override_redirect as *const _ as usize
5148        },
5149        88usize,
5150        concat!(
5151            "Offset of field: ",
5152            stringify!(XSetWindowAttributes),
5153            "::",
5154            stringify!(override_redirect)
5155        )
5156    );
5157    assert_eq!(
5158        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).colormap as *const _ as usize },
5159        96usize,
5160        concat!(
5161            "Offset of field: ",
5162            stringify!(XSetWindowAttributes),
5163            "::",
5164            stringify!(colormap)
5165        )
5166    );
5167    assert_eq!(
5168        unsafe { &(*(::std::ptr::null::<XSetWindowAttributes>())).cursor as *const _ as usize },
5169        104usize,
5170        concat!(
5171            "Offset of field: ",
5172            stringify!(XSetWindowAttributes),
5173            "::",
5174            stringify!(cursor)
5175        )
5176    );
5177}
5178#[repr(C)]
5179#[derive(Debug, Copy, Clone)]
5180pub struct XWindowAttributes {
5181    pub x: ::std::os::raw::c_int,
5182    pub y: ::std::os::raw::c_int,
5183    pub width: ::std::os::raw::c_int,
5184    pub height: ::std::os::raw::c_int,
5185    pub border_width: ::std::os::raw::c_int,
5186    pub depth: ::std::os::raw::c_int,
5187    pub visual: *mut Visual,
5188    pub root: Window,
5189    pub class: ::std::os::raw::c_int,
5190    pub bit_gravity: ::std::os::raw::c_int,
5191    pub win_gravity: ::std::os::raw::c_int,
5192    pub backing_store: ::std::os::raw::c_int,
5193    pub backing_planes: ::std::os::raw::c_ulong,
5194    pub backing_pixel: ::std::os::raw::c_ulong,
5195    pub save_under: ::std::os::raw::c_int,
5196    pub colormap: Colormap,
5197    pub map_installed: ::std::os::raw::c_int,
5198    pub map_state: ::std::os::raw::c_int,
5199    pub all_event_masks: ::std::os::raw::c_long,
5200    pub your_event_mask: ::std::os::raw::c_long,
5201    pub do_not_propagate_mask: ::std::os::raw::c_long,
5202    pub override_redirect: ::std::os::raw::c_int,
5203    pub screen: *mut Screen,
5204}
5205#[test]
5206fn bindgen_test_layout_XWindowAttributes() {
5207    assert_eq!(
5208        ::std::mem::size_of::<XWindowAttributes>(),
5209        136usize,
5210        concat!("Size of: ", stringify!(XWindowAttributes))
5211    );
5212    assert_eq!(
5213        ::std::mem::align_of::<XWindowAttributes>(),
5214        8usize,
5215        concat!("Alignment of ", stringify!(XWindowAttributes))
5216    );
5217    assert_eq!(
5218        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).x as *const _ as usize },
5219        0usize,
5220        concat!(
5221            "Offset of field: ",
5222            stringify!(XWindowAttributes),
5223            "::",
5224            stringify!(x)
5225        )
5226    );
5227    assert_eq!(
5228        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).y as *const _ as usize },
5229        4usize,
5230        concat!(
5231            "Offset of field: ",
5232            stringify!(XWindowAttributes),
5233            "::",
5234            stringify!(y)
5235        )
5236    );
5237    assert_eq!(
5238        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).width as *const _ as usize },
5239        8usize,
5240        concat!(
5241            "Offset of field: ",
5242            stringify!(XWindowAttributes),
5243            "::",
5244            stringify!(width)
5245        )
5246    );
5247    assert_eq!(
5248        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).height as *const _ as usize },
5249        12usize,
5250        concat!(
5251            "Offset of field: ",
5252            stringify!(XWindowAttributes),
5253            "::",
5254            stringify!(height)
5255        )
5256    );
5257    assert_eq!(
5258        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).border_width as *const _ as usize },
5259        16usize,
5260        concat!(
5261            "Offset of field: ",
5262            stringify!(XWindowAttributes),
5263            "::",
5264            stringify!(border_width)
5265        )
5266    );
5267    assert_eq!(
5268        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).depth as *const _ as usize },
5269        20usize,
5270        concat!(
5271            "Offset of field: ",
5272            stringify!(XWindowAttributes),
5273            "::",
5274            stringify!(depth)
5275        )
5276    );
5277    assert_eq!(
5278        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).visual as *const _ as usize },
5279        24usize,
5280        concat!(
5281            "Offset of field: ",
5282            stringify!(XWindowAttributes),
5283            "::",
5284            stringify!(visual)
5285        )
5286    );
5287    assert_eq!(
5288        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).root as *const _ as usize },
5289        32usize,
5290        concat!(
5291            "Offset of field: ",
5292            stringify!(XWindowAttributes),
5293            "::",
5294            stringify!(root)
5295        )
5296    );
5297    assert_eq!(
5298        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).class as *const _ as usize },
5299        40usize,
5300        concat!(
5301            "Offset of field: ",
5302            stringify!(XWindowAttributes),
5303            "::",
5304            stringify!(class)
5305        )
5306    );
5307    assert_eq!(
5308        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).bit_gravity as *const _ as usize },
5309        44usize,
5310        concat!(
5311            "Offset of field: ",
5312            stringify!(XWindowAttributes),
5313            "::",
5314            stringify!(bit_gravity)
5315        )
5316    );
5317    assert_eq!(
5318        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).win_gravity as *const _ as usize },
5319        48usize,
5320        concat!(
5321            "Offset of field: ",
5322            stringify!(XWindowAttributes),
5323            "::",
5324            stringify!(win_gravity)
5325        )
5326    );
5327    assert_eq!(
5328        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).backing_store as *const _ as usize },
5329        52usize,
5330        concat!(
5331            "Offset of field: ",
5332            stringify!(XWindowAttributes),
5333            "::",
5334            stringify!(backing_store)
5335        )
5336    );
5337    assert_eq!(
5338        unsafe {
5339            &(*(::std::ptr::null::<XWindowAttributes>())).backing_planes as *const _ as usize
5340        },
5341        56usize,
5342        concat!(
5343            "Offset of field: ",
5344            stringify!(XWindowAttributes),
5345            "::",
5346            stringify!(backing_planes)
5347        )
5348    );
5349    assert_eq!(
5350        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).backing_pixel as *const _ as usize },
5351        64usize,
5352        concat!(
5353            "Offset of field: ",
5354            stringify!(XWindowAttributes),
5355            "::",
5356            stringify!(backing_pixel)
5357        )
5358    );
5359    assert_eq!(
5360        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).save_under as *const _ as usize },
5361        72usize,
5362        concat!(
5363            "Offset of field: ",
5364            stringify!(XWindowAttributes),
5365            "::",
5366            stringify!(save_under)
5367        )
5368    );
5369    assert_eq!(
5370        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).colormap as *const _ as usize },
5371        80usize,
5372        concat!(
5373            "Offset of field: ",
5374            stringify!(XWindowAttributes),
5375            "::",
5376            stringify!(colormap)
5377        )
5378    );
5379    assert_eq!(
5380        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).map_installed as *const _ as usize },
5381        88usize,
5382        concat!(
5383            "Offset of field: ",
5384            stringify!(XWindowAttributes),
5385            "::",
5386            stringify!(map_installed)
5387        )
5388    );
5389    assert_eq!(
5390        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).map_state as *const _ as usize },
5391        92usize,
5392        concat!(
5393            "Offset of field: ",
5394            stringify!(XWindowAttributes),
5395            "::",
5396            stringify!(map_state)
5397        )
5398    );
5399    assert_eq!(
5400        unsafe {
5401            &(*(::std::ptr::null::<XWindowAttributes>())).all_event_masks as *const _ as usize
5402        },
5403        96usize,
5404        concat!(
5405            "Offset of field: ",
5406            stringify!(XWindowAttributes),
5407            "::",
5408            stringify!(all_event_masks)
5409        )
5410    );
5411    assert_eq!(
5412        unsafe {
5413            &(*(::std::ptr::null::<XWindowAttributes>())).your_event_mask as *const _ as usize
5414        },
5415        104usize,
5416        concat!(
5417            "Offset of field: ",
5418            stringify!(XWindowAttributes),
5419            "::",
5420            stringify!(your_event_mask)
5421        )
5422    );
5423    assert_eq!(
5424        unsafe {
5425            &(*(::std::ptr::null::<XWindowAttributes>())).do_not_propagate_mask as *const _ as usize
5426        },
5427        112usize,
5428        concat!(
5429            "Offset of field: ",
5430            stringify!(XWindowAttributes),
5431            "::",
5432            stringify!(do_not_propagate_mask)
5433        )
5434    );
5435    assert_eq!(
5436        unsafe {
5437            &(*(::std::ptr::null::<XWindowAttributes>())).override_redirect as *const _ as usize
5438        },
5439        120usize,
5440        concat!(
5441            "Offset of field: ",
5442            stringify!(XWindowAttributes),
5443            "::",
5444            stringify!(override_redirect)
5445        )
5446    );
5447    assert_eq!(
5448        unsafe { &(*(::std::ptr::null::<XWindowAttributes>())).screen as *const _ as usize },
5449        128usize,
5450        concat!(
5451            "Offset of field: ",
5452            stringify!(XWindowAttributes),
5453            "::",
5454            stringify!(screen)
5455        )
5456    );
5457}
5458#[repr(C)]
5459#[derive(Debug, Copy, Clone)]
5460pub struct XHostAddress {
5461    pub family: ::std::os::raw::c_int,
5462    pub length: ::std::os::raw::c_int,
5463    pub address: *mut ::std::os::raw::c_char,
5464}
5465#[test]
5466fn bindgen_test_layout_XHostAddress() {
5467    assert_eq!(
5468        ::std::mem::size_of::<XHostAddress>(),
5469        16usize,
5470        concat!("Size of: ", stringify!(XHostAddress))
5471    );
5472    assert_eq!(
5473        ::std::mem::align_of::<XHostAddress>(),
5474        8usize,
5475        concat!("Alignment of ", stringify!(XHostAddress))
5476    );
5477    assert_eq!(
5478        unsafe { &(*(::std::ptr::null::<XHostAddress>())).family as *const _ as usize },
5479        0usize,
5480        concat!(
5481            "Offset of field: ",
5482            stringify!(XHostAddress),
5483            "::",
5484            stringify!(family)
5485        )
5486    );
5487    assert_eq!(
5488        unsafe { &(*(::std::ptr::null::<XHostAddress>())).length as *const _ as usize },
5489        4usize,
5490        concat!(
5491            "Offset of field: ",
5492            stringify!(XHostAddress),
5493            "::",
5494            stringify!(length)
5495        )
5496    );
5497    assert_eq!(
5498        unsafe { &(*(::std::ptr::null::<XHostAddress>())).address as *const _ as usize },
5499        8usize,
5500        concat!(
5501            "Offset of field: ",
5502            stringify!(XHostAddress),
5503            "::",
5504            stringify!(address)
5505        )
5506    );
5507}
5508#[repr(C)]
5509#[derive(Debug, Copy, Clone)]
5510pub struct XServerInterpretedAddress {
5511    pub typelength: ::std::os::raw::c_int,
5512    pub valuelength: ::std::os::raw::c_int,
5513    pub type_: *mut ::std::os::raw::c_char,
5514    pub value: *mut ::std::os::raw::c_char,
5515}
5516#[test]
5517fn bindgen_test_layout_XServerInterpretedAddress() {
5518    assert_eq!(
5519        ::std::mem::size_of::<XServerInterpretedAddress>(),
5520        24usize,
5521        concat!("Size of: ", stringify!(XServerInterpretedAddress))
5522    );
5523    assert_eq!(
5524        ::std::mem::align_of::<XServerInterpretedAddress>(),
5525        8usize,
5526        concat!("Alignment of ", stringify!(XServerInterpretedAddress))
5527    );
5528    assert_eq!(
5529        unsafe {
5530            &(*(::std::ptr::null::<XServerInterpretedAddress>())).typelength as *const _ as usize
5531        },
5532        0usize,
5533        concat!(
5534            "Offset of field: ",
5535            stringify!(XServerInterpretedAddress),
5536            "::",
5537            stringify!(typelength)
5538        )
5539    );
5540    assert_eq!(
5541        unsafe {
5542            &(*(::std::ptr::null::<XServerInterpretedAddress>())).valuelength as *const _ as usize
5543        },
5544        4usize,
5545        concat!(
5546            "Offset of field: ",
5547            stringify!(XServerInterpretedAddress),
5548            "::",
5549            stringify!(valuelength)
5550        )
5551    );
5552    assert_eq!(
5553        unsafe { &(*(::std::ptr::null::<XServerInterpretedAddress>())).type_ as *const _ as usize },
5554        8usize,
5555        concat!(
5556            "Offset of field: ",
5557            stringify!(XServerInterpretedAddress),
5558            "::",
5559            stringify!(type_)
5560        )
5561    );
5562    assert_eq!(
5563        unsafe { &(*(::std::ptr::null::<XServerInterpretedAddress>())).value as *const _ as usize },
5564        16usize,
5565        concat!(
5566            "Offset of field: ",
5567            stringify!(XServerInterpretedAddress),
5568            "::",
5569            stringify!(value)
5570        )
5571    );
5572}
5573#[repr(C)]
5574#[derive(Debug, Copy, Clone)]
5575pub struct _XImage {
5576    pub width: ::std::os::raw::c_int,
5577    pub height: ::std::os::raw::c_int,
5578    pub xoffset: ::std::os::raw::c_int,
5579    pub format: ::std::os::raw::c_int,
5580    pub data: *mut ::std::os::raw::c_char,
5581    pub byte_order: ::std::os::raw::c_int,
5582    pub bitmap_unit: ::std::os::raw::c_int,
5583    pub bitmap_bit_order: ::std::os::raw::c_int,
5584    pub bitmap_pad: ::std::os::raw::c_int,
5585    pub depth: ::std::os::raw::c_int,
5586    pub bytes_per_line: ::std::os::raw::c_int,
5587    pub bits_per_pixel: ::std::os::raw::c_int,
5588    pub red_mask: ::std::os::raw::c_ulong,
5589    pub green_mask: ::std::os::raw::c_ulong,
5590    pub blue_mask: ::std::os::raw::c_ulong,
5591    pub obdata: XPointer,
5592    pub f: _XImage_funcs,
5593}
5594#[repr(C)]
5595#[derive(Debug, Copy, Clone)]
5596pub struct _XImage_funcs {
5597    pub create_image: ::std::option::Option<
5598        unsafe extern "C" fn(
5599            arg1: *mut _XDisplay,
5600            arg2: *mut Visual,
5601            arg3: ::std::os::raw::c_uint,
5602            arg4: ::std::os::raw::c_int,
5603            arg5: ::std::os::raw::c_int,
5604            arg6: *mut ::std::os::raw::c_char,
5605            arg7: ::std::os::raw::c_uint,
5606            arg8: ::std::os::raw::c_uint,
5607            arg9: ::std::os::raw::c_int,
5608            arg10: ::std::os::raw::c_int,
5609        ) -> *mut _XImage,
5610    >,
5611    pub destroy_image:
5612        ::std::option::Option<unsafe extern "C" fn(arg1: *mut _XImage) -> ::std::os::raw::c_int>,
5613    pub get_pixel: ::std::option::Option<
5614        unsafe extern "C" fn(
5615            arg1: *mut _XImage,
5616            arg2: ::std::os::raw::c_int,
5617            arg3: ::std::os::raw::c_int,
5618        ) -> ::std::os::raw::c_ulong,
5619    >,
5620    pub put_pixel: ::std::option::Option<
5621        unsafe extern "C" fn(
5622            arg1: *mut _XImage,
5623            arg2: ::std::os::raw::c_int,
5624            arg3: ::std::os::raw::c_int,
5625            arg4: ::std::os::raw::c_ulong,
5626        ) -> ::std::os::raw::c_int,
5627    >,
5628    pub sub_image: ::std::option::Option<
5629        unsafe extern "C" fn(
5630            arg1: *mut _XImage,
5631            arg2: ::std::os::raw::c_int,
5632            arg3: ::std::os::raw::c_int,
5633            arg4: ::std::os::raw::c_uint,
5634            arg5: ::std::os::raw::c_uint,
5635        ) -> *mut _XImage,
5636    >,
5637    pub add_pixel: ::std::option::Option<
5638        unsafe extern "C" fn(
5639            arg1: *mut _XImage,
5640            arg2: ::std::os::raw::c_long,
5641        ) -> ::std::os::raw::c_int,
5642    >,
5643}
5644#[test]
5645fn bindgen_test_layout__XImage_funcs() {
5646    assert_eq!(
5647        ::std::mem::size_of::<_XImage_funcs>(),
5648        48usize,
5649        concat!("Size of: ", stringify!(_XImage_funcs))
5650    );
5651    assert_eq!(
5652        ::std::mem::align_of::<_XImage_funcs>(),
5653        8usize,
5654        concat!("Alignment of ", stringify!(_XImage_funcs))
5655    );
5656    assert_eq!(
5657        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).create_image as *const _ as usize },
5658        0usize,
5659        concat!(
5660            "Offset of field: ",
5661            stringify!(_XImage_funcs),
5662            "::",
5663            stringify!(create_image)
5664        )
5665    );
5666    assert_eq!(
5667        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).destroy_image as *const _ as usize },
5668        8usize,
5669        concat!(
5670            "Offset of field: ",
5671            stringify!(_XImage_funcs),
5672            "::",
5673            stringify!(destroy_image)
5674        )
5675    );
5676    assert_eq!(
5677        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).get_pixel as *const _ as usize },
5678        16usize,
5679        concat!(
5680            "Offset of field: ",
5681            stringify!(_XImage_funcs),
5682            "::",
5683            stringify!(get_pixel)
5684        )
5685    );
5686    assert_eq!(
5687        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).put_pixel as *const _ as usize },
5688        24usize,
5689        concat!(
5690            "Offset of field: ",
5691            stringify!(_XImage_funcs),
5692            "::",
5693            stringify!(put_pixel)
5694        )
5695    );
5696    assert_eq!(
5697        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).sub_image as *const _ as usize },
5698        32usize,
5699        concat!(
5700            "Offset of field: ",
5701            stringify!(_XImage_funcs),
5702            "::",
5703            stringify!(sub_image)
5704        )
5705    );
5706    assert_eq!(
5707        unsafe { &(*(::std::ptr::null::<_XImage_funcs>())).add_pixel as *const _ as usize },
5708        40usize,
5709        concat!(
5710            "Offset of field: ",
5711            stringify!(_XImage_funcs),
5712            "::",
5713            stringify!(add_pixel)
5714        )
5715    );
5716}
5717#[test]
5718fn bindgen_test_layout__XImage() {
5719    assert_eq!(
5720        ::std::mem::size_of::<_XImage>(),
5721        136usize,
5722        concat!("Size of: ", stringify!(_XImage))
5723    );
5724    assert_eq!(
5725        ::std::mem::align_of::<_XImage>(),
5726        8usize,
5727        concat!("Alignment of ", stringify!(_XImage))
5728    );
5729    assert_eq!(
5730        unsafe { &(*(::std::ptr::null::<_XImage>())).width as *const _ as usize },
5731        0usize,
5732        concat!(
5733            "Offset of field: ",
5734            stringify!(_XImage),
5735            "::",
5736            stringify!(width)
5737        )
5738    );
5739    assert_eq!(
5740        unsafe { &(*(::std::ptr::null::<_XImage>())).height as *const _ as usize },
5741        4usize,
5742        concat!(
5743            "Offset of field: ",
5744            stringify!(_XImage),
5745            "::",
5746            stringify!(height)
5747        )
5748    );
5749    assert_eq!(
5750        unsafe { &(*(::std::ptr::null::<_XImage>())).xoffset as *const _ as usize },
5751        8usize,
5752        concat!(
5753            "Offset of field: ",
5754            stringify!(_XImage),
5755            "::",
5756            stringify!(xoffset)
5757        )
5758    );
5759    assert_eq!(
5760        unsafe { &(*(::std::ptr::null::<_XImage>())).format as *const _ as usize },
5761        12usize,
5762        concat!(
5763            "Offset of field: ",
5764            stringify!(_XImage),
5765            "::",
5766            stringify!(format)
5767        )
5768    );
5769    assert_eq!(
5770        unsafe { &(*(::std::ptr::null::<_XImage>())).data as *const _ as usize },
5771        16usize,
5772        concat!(
5773            "Offset of field: ",
5774            stringify!(_XImage),
5775            "::",
5776            stringify!(data)
5777        )
5778    );
5779    assert_eq!(
5780        unsafe { &(*(::std::ptr::null::<_XImage>())).byte_order as *const _ as usize },
5781        24usize,
5782        concat!(
5783            "Offset of field: ",
5784            stringify!(_XImage),
5785            "::",
5786            stringify!(byte_order)
5787        )
5788    );
5789    assert_eq!(
5790        unsafe { &(*(::std::ptr::null::<_XImage>())).bitmap_unit as *const _ as usize },
5791        28usize,
5792        concat!(
5793            "Offset of field: ",
5794            stringify!(_XImage),
5795            "::",
5796            stringify!(bitmap_unit)
5797        )
5798    );
5799    assert_eq!(
5800        unsafe { &(*(::std::ptr::null::<_XImage>())).bitmap_bit_order as *const _ as usize },
5801        32usize,
5802        concat!(
5803            "Offset of field: ",
5804            stringify!(_XImage),
5805            "::",
5806            stringify!(bitmap_bit_order)
5807        )
5808    );
5809    assert_eq!(
5810        unsafe { &(*(::std::ptr::null::<_XImage>())).bitmap_pad as *const _ as usize },
5811        36usize,
5812        concat!(
5813            "Offset of field: ",
5814            stringify!(_XImage),
5815            "::",
5816            stringify!(bitmap_pad)
5817        )
5818    );
5819    assert_eq!(
5820        unsafe { &(*(::std::ptr::null::<_XImage>())).depth as *const _ as usize },
5821        40usize,
5822        concat!(
5823            "Offset of field: ",
5824            stringify!(_XImage),
5825            "::",
5826            stringify!(depth)
5827        )
5828    );
5829    assert_eq!(
5830        unsafe { &(*(::std::ptr::null::<_XImage>())).bytes_per_line as *const _ as usize },
5831        44usize,
5832        concat!(
5833            "Offset of field: ",
5834            stringify!(_XImage),
5835            "::",
5836            stringify!(bytes_per_line)
5837        )
5838    );
5839    assert_eq!(
5840        unsafe { &(*(::std::ptr::null::<_XImage>())).bits_per_pixel as *const _ as usize },
5841        48usize,
5842        concat!(
5843            "Offset of field: ",
5844            stringify!(_XImage),
5845            "::",
5846            stringify!(bits_per_pixel)
5847        )
5848    );
5849    assert_eq!(
5850        unsafe { &(*(::std::ptr::null::<_XImage>())).red_mask as *const _ as usize },
5851        56usize,
5852        concat!(
5853            "Offset of field: ",
5854            stringify!(_XImage),
5855            "::",
5856            stringify!(red_mask)
5857        )
5858    );
5859    assert_eq!(
5860        unsafe { &(*(::std::ptr::null::<_XImage>())).green_mask as *const _ as usize },
5861        64usize,
5862        concat!(
5863            "Offset of field: ",
5864            stringify!(_XImage),
5865            "::",
5866            stringify!(green_mask)
5867        )
5868    );
5869    assert_eq!(
5870        unsafe { &(*(::std::ptr::null::<_XImage>())).blue_mask as *const _ as usize },
5871        72usize,
5872        concat!(
5873            "Offset of field: ",
5874            stringify!(_XImage),
5875            "::",
5876            stringify!(blue_mask)
5877        )
5878    );
5879    assert_eq!(
5880        unsafe { &(*(::std::ptr::null::<_XImage>())).obdata as *const _ as usize },
5881        80usize,
5882        concat!(
5883            "Offset of field: ",
5884            stringify!(_XImage),
5885            "::",
5886            stringify!(obdata)
5887        )
5888    );
5889    assert_eq!(
5890        unsafe { &(*(::std::ptr::null::<_XImage>())).f as *const _ as usize },
5891        88usize,
5892        concat!(
5893            "Offset of field: ",
5894            stringify!(_XImage),
5895            "::",
5896            stringify!(f)
5897        )
5898    );
5899}
5900pub type XImage = _XImage;
5901#[repr(C)]
5902#[derive(Debug, Copy, Clone)]
5903pub struct XWindowChanges {
5904    pub x: ::std::os::raw::c_int,
5905    pub y: ::std::os::raw::c_int,
5906    pub width: ::std::os::raw::c_int,
5907    pub height: ::std::os::raw::c_int,
5908    pub border_width: ::std::os::raw::c_int,
5909    pub sibling: Window,
5910    pub stack_mode: ::std::os::raw::c_int,
5911}
5912#[test]
5913fn bindgen_test_layout_XWindowChanges() {
5914    assert_eq!(
5915        ::std::mem::size_of::<XWindowChanges>(),
5916        40usize,
5917        concat!("Size of: ", stringify!(XWindowChanges))
5918    );
5919    assert_eq!(
5920        ::std::mem::align_of::<XWindowChanges>(),
5921        8usize,
5922        concat!("Alignment of ", stringify!(XWindowChanges))
5923    );
5924    assert_eq!(
5925        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).x as *const _ as usize },
5926        0usize,
5927        concat!(
5928            "Offset of field: ",
5929            stringify!(XWindowChanges),
5930            "::",
5931            stringify!(x)
5932        )
5933    );
5934    assert_eq!(
5935        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).y as *const _ as usize },
5936        4usize,
5937        concat!(
5938            "Offset of field: ",
5939            stringify!(XWindowChanges),
5940            "::",
5941            stringify!(y)
5942        )
5943    );
5944    assert_eq!(
5945        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).width as *const _ as usize },
5946        8usize,
5947        concat!(
5948            "Offset of field: ",
5949            stringify!(XWindowChanges),
5950            "::",
5951            stringify!(width)
5952        )
5953    );
5954    assert_eq!(
5955        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).height as *const _ as usize },
5956        12usize,
5957        concat!(
5958            "Offset of field: ",
5959            stringify!(XWindowChanges),
5960            "::",
5961            stringify!(height)
5962        )
5963    );
5964    assert_eq!(
5965        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).border_width as *const _ as usize },
5966        16usize,
5967        concat!(
5968            "Offset of field: ",
5969            stringify!(XWindowChanges),
5970            "::",
5971            stringify!(border_width)
5972        )
5973    );
5974    assert_eq!(
5975        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).sibling as *const _ as usize },
5976        24usize,
5977        concat!(
5978            "Offset of field: ",
5979            stringify!(XWindowChanges),
5980            "::",
5981            stringify!(sibling)
5982        )
5983    );
5984    assert_eq!(
5985        unsafe { &(*(::std::ptr::null::<XWindowChanges>())).stack_mode as *const _ as usize },
5986        32usize,
5987        concat!(
5988            "Offset of field: ",
5989            stringify!(XWindowChanges),
5990            "::",
5991            stringify!(stack_mode)
5992        )
5993    );
5994}
5995#[repr(C)]
5996#[derive(Debug, Copy, Clone)]
5997pub struct XColor {
5998    pub pixel: ::std::os::raw::c_ulong,
5999    pub red: ::std::os::raw::c_ushort,
6000    pub green: ::std::os::raw::c_ushort,
6001    pub blue: ::std::os::raw::c_ushort,
6002    pub flags: ::std::os::raw::c_char,
6003    pub pad: ::std::os::raw::c_char,
6004}
6005#[test]
6006fn bindgen_test_layout_XColor() {
6007    assert_eq!(
6008        ::std::mem::size_of::<XColor>(),
6009        16usize,
6010        concat!("Size of: ", stringify!(XColor))
6011    );
6012    assert_eq!(
6013        ::std::mem::align_of::<XColor>(),
6014        8usize,
6015        concat!("Alignment of ", stringify!(XColor))
6016    );
6017    assert_eq!(
6018        unsafe { &(*(::std::ptr::null::<XColor>())).pixel as *const _ as usize },
6019        0usize,
6020        concat!(
6021            "Offset of field: ",
6022            stringify!(XColor),
6023            "::",
6024            stringify!(pixel)
6025        )
6026    );
6027    assert_eq!(
6028        unsafe { &(*(::std::ptr::null::<XColor>())).red as *const _ as usize },
6029        8usize,
6030        concat!(
6031            "Offset of field: ",
6032            stringify!(XColor),
6033            "::",
6034            stringify!(red)
6035        )
6036    );
6037    assert_eq!(
6038        unsafe { &(*(::std::ptr::null::<XColor>())).green as *const _ as usize },
6039        10usize,
6040        concat!(
6041            "Offset of field: ",
6042            stringify!(XColor),
6043            "::",
6044            stringify!(green)
6045        )
6046    );
6047    assert_eq!(
6048        unsafe { &(*(::std::ptr::null::<XColor>())).blue as *const _ as usize },
6049        12usize,
6050        concat!(
6051            "Offset of field: ",
6052            stringify!(XColor),
6053            "::",
6054            stringify!(blue)
6055        )
6056    );
6057    assert_eq!(
6058        unsafe { &(*(::std::ptr::null::<XColor>())).flags as *const _ as usize },
6059        14usize,
6060        concat!(
6061            "Offset of field: ",
6062            stringify!(XColor),
6063            "::",
6064            stringify!(flags)
6065        )
6066    );
6067    assert_eq!(
6068        unsafe { &(*(::std::ptr::null::<XColor>())).pad as *const _ as usize },
6069        15usize,
6070        concat!(
6071            "Offset of field: ",
6072            stringify!(XColor),
6073            "::",
6074            stringify!(pad)
6075        )
6076    );
6077}
6078#[repr(C)]
6079#[derive(Debug, Copy, Clone)]
6080pub struct XSegment {
6081    pub x1: ::std::os::raw::c_short,
6082    pub y1: ::std::os::raw::c_short,
6083    pub x2: ::std::os::raw::c_short,
6084    pub y2: ::std::os::raw::c_short,
6085}
6086#[test]
6087fn bindgen_test_layout_XSegment() {
6088    assert_eq!(
6089        ::std::mem::size_of::<XSegment>(),
6090        8usize,
6091        concat!("Size of: ", stringify!(XSegment))
6092    );
6093    assert_eq!(
6094        ::std::mem::align_of::<XSegment>(),
6095        2usize,
6096        concat!("Alignment of ", stringify!(XSegment))
6097    );
6098    assert_eq!(
6099        unsafe { &(*(::std::ptr::null::<XSegment>())).x1 as *const _ as usize },
6100        0usize,
6101        concat!(
6102            "Offset of field: ",
6103            stringify!(XSegment),
6104            "::",
6105            stringify!(x1)
6106        )
6107    );
6108    assert_eq!(
6109        unsafe { &(*(::std::ptr::null::<XSegment>())).y1 as *const _ as usize },
6110        2usize,
6111        concat!(
6112            "Offset of field: ",
6113            stringify!(XSegment),
6114            "::",
6115            stringify!(y1)
6116        )
6117    );
6118    assert_eq!(
6119        unsafe { &(*(::std::ptr::null::<XSegment>())).x2 as *const _ as usize },
6120        4usize,
6121        concat!(
6122            "Offset of field: ",
6123            stringify!(XSegment),
6124            "::",
6125            stringify!(x2)
6126        )
6127    );
6128    assert_eq!(
6129        unsafe { &(*(::std::ptr::null::<XSegment>())).y2 as *const _ as usize },
6130        6usize,
6131        concat!(
6132            "Offset of field: ",
6133            stringify!(XSegment),
6134            "::",
6135            stringify!(y2)
6136        )
6137    );
6138}
6139#[repr(C)]
6140#[derive(Debug, Copy, Clone)]
6141pub struct XPoint {
6142    pub x: ::std::os::raw::c_short,
6143    pub y: ::std::os::raw::c_short,
6144}
6145#[test]
6146fn bindgen_test_layout_XPoint() {
6147    assert_eq!(
6148        ::std::mem::size_of::<XPoint>(),
6149        4usize,
6150        concat!("Size of: ", stringify!(XPoint))
6151    );
6152    assert_eq!(
6153        ::std::mem::align_of::<XPoint>(),
6154        2usize,
6155        concat!("Alignment of ", stringify!(XPoint))
6156    );
6157    assert_eq!(
6158        unsafe { &(*(::std::ptr::null::<XPoint>())).x as *const _ as usize },
6159        0usize,
6160        concat!("Offset of field: ", stringify!(XPoint), "::", stringify!(x))
6161    );
6162    assert_eq!(
6163        unsafe { &(*(::std::ptr::null::<XPoint>())).y as *const _ as usize },
6164        2usize,
6165        concat!("Offset of field: ", stringify!(XPoint), "::", stringify!(y))
6166    );
6167}
6168#[repr(C)]
6169#[derive(Debug, Copy, Clone)]
6170pub struct XRectangle {
6171    pub x: ::std::os::raw::c_short,
6172    pub y: ::std::os::raw::c_short,
6173    pub width: ::std::os::raw::c_ushort,
6174    pub height: ::std::os::raw::c_ushort,
6175}
6176#[test]
6177fn bindgen_test_layout_XRectangle() {
6178    assert_eq!(
6179        ::std::mem::size_of::<XRectangle>(),
6180        8usize,
6181        concat!("Size of: ", stringify!(XRectangle))
6182    );
6183    assert_eq!(
6184        ::std::mem::align_of::<XRectangle>(),
6185        2usize,
6186        concat!("Alignment of ", stringify!(XRectangle))
6187    );
6188    assert_eq!(
6189        unsafe { &(*(::std::ptr::null::<XRectangle>())).x as *const _ as usize },
6190        0usize,
6191        concat!(
6192            "Offset of field: ",
6193            stringify!(XRectangle),
6194            "::",
6195            stringify!(x)
6196        )
6197    );
6198    assert_eq!(
6199        unsafe { &(*(::std::ptr::null::<XRectangle>())).y as *const _ as usize },
6200        2usize,
6201        concat!(
6202            "Offset of field: ",
6203            stringify!(XRectangle),
6204            "::",
6205            stringify!(y)
6206        )
6207    );
6208    assert_eq!(
6209        unsafe { &(*(::std::ptr::null::<XRectangle>())).width as *const _ as usize },
6210        4usize,
6211        concat!(
6212            "Offset of field: ",
6213            stringify!(XRectangle),
6214            "::",
6215            stringify!(width)
6216        )
6217    );
6218    assert_eq!(
6219        unsafe { &(*(::std::ptr::null::<XRectangle>())).height as *const _ as usize },
6220        6usize,
6221        concat!(
6222            "Offset of field: ",
6223            stringify!(XRectangle),
6224            "::",
6225            stringify!(height)
6226        )
6227    );
6228}
6229#[repr(C)]
6230#[derive(Debug, Copy, Clone)]
6231pub struct XArc {
6232    pub x: ::std::os::raw::c_short,
6233    pub y: ::std::os::raw::c_short,
6234    pub width: ::std::os::raw::c_ushort,
6235    pub height: ::std::os::raw::c_ushort,
6236    pub angle1: ::std::os::raw::c_short,
6237    pub angle2: ::std::os::raw::c_short,
6238}
6239#[test]
6240fn bindgen_test_layout_XArc() {
6241    assert_eq!(
6242        ::std::mem::size_of::<XArc>(),
6243        12usize,
6244        concat!("Size of: ", stringify!(XArc))
6245    );
6246    assert_eq!(
6247        ::std::mem::align_of::<XArc>(),
6248        2usize,
6249        concat!("Alignment of ", stringify!(XArc))
6250    );
6251    assert_eq!(
6252        unsafe { &(*(::std::ptr::null::<XArc>())).x as *const _ as usize },
6253        0usize,
6254        concat!("Offset of field: ", stringify!(XArc), "::", stringify!(x))
6255    );
6256    assert_eq!(
6257        unsafe { &(*(::std::ptr::null::<XArc>())).y as *const _ as usize },
6258        2usize,
6259        concat!("Offset of field: ", stringify!(XArc), "::", stringify!(y))
6260    );
6261    assert_eq!(
6262        unsafe { &(*(::std::ptr::null::<XArc>())).width as *const _ as usize },
6263        4usize,
6264        concat!(
6265            "Offset of field: ",
6266            stringify!(XArc),
6267            "::",
6268            stringify!(width)
6269        )
6270    );
6271    assert_eq!(
6272        unsafe { &(*(::std::ptr::null::<XArc>())).height as *const _ as usize },
6273        6usize,
6274        concat!(
6275            "Offset of field: ",
6276            stringify!(XArc),
6277            "::",
6278            stringify!(height)
6279        )
6280    );
6281    assert_eq!(
6282        unsafe { &(*(::std::ptr::null::<XArc>())).angle1 as *const _ as usize },
6283        8usize,
6284        concat!(
6285            "Offset of field: ",
6286            stringify!(XArc),
6287            "::",
6288            stringify!(angle1)
6289        )
6290    );
6291    assert_eq!(
6292        unsafe { &(*(::std::ptr::null::<XArc>())).angle2 as *const _ as usize },
6293        10usize,
6294        concat!(
6295            "Offset of field: ",
6296            stringify!(XArc),
6297            "::",
6298            stringify!(angle2)
6299        )
6300    );
6301}
6302#[repr(C)]
6303#[derive(Debug, Copy, Clone)]
6304pub struct XKeyboardControl {
6305    pub key_click_percent: ::std::os::raw::c_int,
6306    pub bell_percent: ::std::os::raw::c_int,
6307    pub bell_pitch: ::std::os::raw::c_int,
6308    pub bell_duration: ::std::os::raw::c_int,
6309    pub led: ::std::os::raw::c_int,
6310    pub led_mode: ::std::os::raw::c_int,
6311    pub key: ::std::os::raw::c_int,
6312    pub auto_repeat_mode: ::std::os::raw::c_int,
6313}
6314#[test]
6315fn bindgen_test_layout_XKeyboardControl() {
6316    assert_eq!(
6317        ::std::mem::size_of::<XKeyboardControl>(),
6318        32usize,
6319        concat!("Size of: ", stringify!(XKeyboardControl))
6320    );
6321    assert_eq!(
6322        ::std::mem::align_of::<XKeyboardControl>(),
6323        4usize,
6324        concat!("Alignment of ", stringify!(XKeyboardControl))
6325    );
6326    assert_eq!(
6327        unsafe {
6328            &(*(::std::ptr::null::<XKeyboardControl>())).key_click_percent as *const _ as usize
6329        },
6330        0usize,
6331        concat!(
6332            "Offset of field: ",
6333            stringify!(XKeyboardControl),
6334            "::",
6335            stringify!(key_click_percent)
6336        )
6337    );
6338    assert_eq!(
6339        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).bell_percent as *const _ as usize },
6340        4usize,
6341        concat!(
6342            "Offset of field: ",
6343            stringify!(XKeyboardControl),
6344            "::",
6345            stringify!(bell_percent)
6346        )
6347    );
6348    assert_eq!(
6349        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).bell_pitch as *const _ as usize },
6350        8usize,
6351        concat!(
6352            "Offset of field: ",
6353            stringify!(XKeyboardControl),
6354            "::",
6355            stringify!(bell_pitch)
6356        )
6357    );
6358    assert_eq!(
6359        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).bell_duration as *const _ as usize },
6360        12usize,
6361        concat!(
6362            "Offset of field: ",
6363            stringify!(XKeyboardControl),
6364            "::",
6365            stringify!(bell_duration)
6366        )
6367    );
6368    assert_eq!(
6369        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).led as *const _ as usize },
6370        16usize,
6371        concat!(
6372            "Offset of field: ",
6373            stringify!(XKeyboardControl),
6374            "::",
6375            stringify!(led)
6376        )
6377    );
6378    assert_eq!(
6379        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).led_mode as *const _ as usize },
6380        20usize,
6381        concat!(
6382            "Offset of field: ",
6383            stringify!(XKeyboardControl),
6384            "::",
6385            stringify!(led_mode)
6386        )
6387    );
6388    assert_eq!(
6389        unsafe { &(*(::std::ptr::null::<XKeyboardControl>())).key as *const _ as usize },
6390        24usize,
6391        concat!(
6392            "Offset of field: ",
6393            stringify!(XKeyboardControl),
6394            "::",
6395            stringify!(key)
6396        )
6397    );
6398    assert_eq!(
6399        unsafe {
6400            &(*(::std::ptr::null::<XKeyboardControl>())).auto_repeat_mode as *const _ as usize
6401        },
6402        28usize,
6403        concat!(
6404            "Offset of field: ",
6405            stringify!(XKeyboardControl),
6406            "::",
6407            stringify!(auto_repeat_mode)
6408        )
6409    );
6410}
6411#[repr(C)]
6412#[derive(Debug, Copy, Clone)]
6413pub struct XKeyboardState {
6414    pub key_click_percent: ::std::os::raw::c_int,
6415    pub bell_percent: ::std::os::raw::c_int,
6416    pub bell_pitch: ::std::os::raw::c_uint,
6417    pub bell_duration: ::std::os::raw::c_uint,
6418    pub led_mask: ::std::os::raw::c_ulong,
6419    pub global_auto_repeat: ::std::os::raw::c_int,
6420    pub auto_repeats: [::std::os::raw::c_char; 32usize],
6421}
6422#[test]
6423fn bindgen_test_layout_XKeyboardState() {
6424    assert_eq!(
6425        ::std::mem::size_of::<XKeyboardState>(),
6426        64usize,
6427        concat!("Size of: ", stringify!(XKeyboardState))
6428    );
6429    assert_eq!(
6430        ::std::mem::align_of::<XKeyboardState>(),
6431        8usize,
6432        concat!("Alignment of ", stringify!(XKeyboardState))
6433    );
6434    assert_eq!(
6435        unsafe {
6436            &(*(::std::ptr::null::<XKeyboardState>())).key_click_percent as *const _ as usize
6437        },
6438        0usize,
6439        concat!(
6440            "Offset of field: ",
6441            stringify!(XKeyboardState),
6442            "::",
6443            stringify!(key_click_percent)
6444        )
6445    );
6446    assert_eq!(
6447        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).bell_percent as *const _ as usize },
6448        4usize,
6449        concat!(
6450            "Offset of field: ",
6451            stringify!(XKeyboardState),
6452            "::",
6453            stringify!(bell_percent)
6454        )
6455    );
6456    assert_eq!(
6457        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).bell_pitch as *const _ as usize },
6458        8usize,
6459        concat!(
6460            "Offset of field: ",
6461            stringify!(XKeyboardState),
6462            "::",
6463            stringify!(bell_pitch)
6464        )
6465    );
6466    assert_eq!(
6467        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).bell_duration as *const _ as usize },
6468        12usize,
6469        concat!(
6470            "Offset of field: ",
6471            stringify!(XKeyboardState),
6472            "::",
6473            stringify!(bell_duration)
6474        )
6475    );
6476    assert_eq!(
6477        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).led_mask as *const _ as usize },
6478        16usize,
6479        concat!(
6480            "Offset of field: ",
6481            stringify!(XKeyboardState),
6482            "::",
6483            stringify!(led_mask)
6484        )
6485    );
6486    assert_eq!(
6487        unsafe {
6488            &(*(::std::ptr::null::<XKeyboardState>())).global_auto_repeat as *const _ as usize
6489        },
6490        24usize,
6491        concat!(
6492            "Offset of field: ",
6493            stringify!(XKeyboardState),
6494            "::",
6495            stringify!(global_auto_repeat)
6496        )
6497    );
6498    assert_eq!(
6499        unsafe { &(*(::std::ptr::null::<XKeyboardState>())).auto_repeats as *const _ as usize },
6500        28usize,
6501        concat!(
6502            "Offset of field: ",
6503            stringify!(XKeyboardState),
6504            "::",
6505            stringify!(auto_repeats)
6506        )
6507    );
6508}
6509#[repr(C)]
6510#[derive(Debug, Copy, Clone)]
6511pub struct XTimeCoord {
6512    pub time: Time,
6513    pub x: ::std::os::raw::c_short,
6514    pub y: ::std::os::raw::c_short,
6515}
6516#[test]
6517fn bindgen_test_layout_XTimeCoord() {
6518    assert_eq!(
6519        ::std::mem::size_of::<XTimeCoord>(),
6520        16usize,
6521        concat!("Size of: ", stringify!(XTimeCoord))
6522    );
6523    assert_eq!(
6524        ::std::mem::align_of::<XTimeCoord>(),
6525        8usize,
6526        concat!("Alignment of ", stringify!(XTimeCoord))
6527    );
6528    assert_eq!(
6529        unsafe { &(*(::std::ptr::null::<XTimeCoord>())).time as *const _ as usize },
6530        0usize,
6531        concat!(
6532            "Offset of field: ",
6533            stringify!(XTimeCoord),
6534            "::",
6535            stringify!(time)
6536        )
6537    );
6538    assert_eq!(
6539        unsafe { &(*(::std::ptr::null::<XTimeCoord>())).x as *const _ as usize },
6540        8usize,
6541        concat!(
6542            "Offset of field: ",
6543            stringify!(XTimeCoord),
6544            "::",
6545            stringify!(x)
6546        )
6547    );
6548    assert_eq!(
6549        unsafe { &(*(::std::ptr::null::<XTimeCoord>())).y as *const _ as usize },
6550        10usize,
6551        concat!(
6552            "Offset of field: ",
6553            stringify!(XTimeCoord),
6554            "::",
6555            stringify!(y)
6556        )
6557    );
6558}
6559#[repr(C)]
6560#[derive(Debug, Copy, Clone)]
6561pub struct XModifierKeymap {
6562    pub max_keypermod: ::std::os::raw::c_int,
6563    pub modifiermap: *mut KeyCode,
6564}
6565#[test]
6566fn bindgen_test_layout_XModifierKeymap() {
6567    assert_eq!(
6568        ::std::mem::size_of::<XModifierKeymap>(),
6569        16usize,
6570        concat!("Size of: ", stringify!(XModifierKeymap))
6571    );
6572    assert_eq!(
6573        ::std::mem::align_of::<XModifierKeymap>(),
6574        8usize,
6575        concat!("Alignment of ", stringify!(XModifierKeymap))
6576    );
6577    assert_eq!(
6578        unsafe { &(*(::std::ptr::null::<XModifierKeymap>())).max_keypermod as *const _ as usize },
6579        0usize,
6580        concat!(
6581            "Offset of field: ",
6582            stringify!(XModifierKeymap),
6583            "::",
6584            stringify!(max_keypermod)
6585        )
6586    );
6587    assert_eq!(
6588        unsafe { &(*(::std::ptr::null::<XModifierKeymap>())).modifiermap as *const _ as usize },
6589        8usize,
6590        concat!(
6591            "Offset of field: ",
6592            stringify!(XModifierKeymap),
6593            "::",
6594            stringify!(modifiermap)
6595        )
6596    );
6597}
6598pub type Display = _XDisplay;
6599#[repr(C)]
6600#[derive(Debug, Copy, Clone)]
6601pub struct _XPrivate {
6602    _unused: [u8; 0],
6603}
6604#[repr(C)]
6605#[derive(Debug, Copy, Clone)]
6606pub struct _XrmHashBucketRec {
6607    _unused: [u8; 0],
6608}
6609#[repr(C)]
6610#[derive(Debug, Copy, Clone)]
6611pub struct _bindgen_ty_1 {
6612    pub ext_data: *mut XExtData,
6613    pub private1: *mut _XPrivate,
6614    pub fd: ::std::os::raw::c_int,
6615    pub private2: ::std::os::raw::c_int,
6616    pub proto_major_version: ::std::os::raw::c_int,
6617    pub proto_minor_version: ::std::os::raw::c_int,
6618    pub vendor: *mut ::std::os::raw::c_char,
6619    pub private3: XID,
6620    pub private4: XID,
6621    pub private5: XID,
6622    pub private6: ::std::os::raw::c_int,
6623    pub resource_alloc: ::std::option::Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> XID>,
6624    pub byte_order: ::std::os::raw::c_int,
6625    pub bitmap_unit: ::std::os::raw::c_int,
6626    pub bitmap_pad: ::std::os::raw::c_int,
6627    pub bitmap_bit_order: ::std::os::raw::c_int,
6628    pub nformats: ::std::os::raw::c_int,
6629    pub pixmap_format: *mut ScreenFormat,
6630    pub private8: ::std::os::raw::c_int,
6631    pub release: ::std::os::raw::c_int,
6632    pub private9: *mut _XPrivate,
6633    pub private10: *mut _XPrivate,
6634    pub qlen: ::std::os::raw::c_int,
6635    pub last_request_read: ::std::os::raw::c_ulong,
6636    pub request: ::std::os::raw::c_ulong,
6637    pub private11: XPointer,
6638    pub private12: XPointer,
6639    pub private13: XPointer,
6640    pub private14: XPointer,
6641    pub max_request_size: ::std::os::raw::c_uint,
6642    pub db: *mut _XrmHashBucketRec,
6643    pub private15:
6644        ::std::option::Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> ::std::os::raw::c_int>,
6645    pub display_name: *mut ::std::os::raw::c_char,
6646    pub default_screen: ::std::os::raw::c_int,
6647    pub nscreens: ::std::os::raw::c_int,
6648    pub screens: *mut Screen,
6649    pub motion_buffer: ::std::os::raw::c_ulong,
6650    pub private16: ::std::os::raw::c_ulong,
6651    pub min_keycode: ::std::os::raw::c_int,
6652    pub max_keycode: ::std::os::raw::c_int,
6653    pub private17: XPointer,
6654    pub private18: XPointer,
6655    pub private19: ::std::os::raw::c_int,
6656    pub xdefaults: *mut ::std::os::raw::c_char,
6657}
6658#[test]
6659fn bindgen_test_layout__bindgen_ty_1() {
6660    assert_eq!(
6661        ::std::mem::size_of::<_bindgen_ty_1>(),
6662        296usize,
6663        concat!("Size of: ", stringify!(_bindgen_ty_1))
6664    );
6665    assert_eq!(
6666        ::std::mem::align_of::<_bindgen_ty_1>(),
6667        8usize,
6668        concat!("Alignment of ", stringify!(_bindgen_ty_1))
6669    );
6670    assert_eq!(
6671        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).ext_data as *const _ as usize },
6672        0usize,
6673        concat!(
6674            "Offset of field: ",
6675            stringify!(_bindgen_ty_1),
6676            "::",
6677            stringify!(ext_data)
6678        )
6679    );
6680    assert_eq!(
6681        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private1 as *const _ as usize },
6682        8usize,
6683        concat!(
6684            "Offset of field: ",
6685            stringify!(_bindgen_ty_1),
6686            "::",
6687            stringify!(private1)
6688        )
6689    );
6690    assert_eq!(
6691        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).fd as *const _ as usize },
6692        16usize,
6693        concat!(
6694            "Offset of field: ",
6695            stringify!(_bindgen_ty_1),
6696            "::",
6697            stringify!(fd)
6698        )
6699    );
6700    assert_eq!(
6701        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private2 as *const _ as usize },
6702        20usize,
6703        concat!(
6704            "Offset of field: ",
6705            stringify!(_bindgen_ty_1),
6706            "::",
6707            stringify!(private2)
6708        )
6709    );
6710    assert_eq!(
6711        unsafe {
6712            &(*(::std::ptr::null::<_bindgen_ty_1>())).proto_major_version as *const _ as usize
6713        },
6714        24usize,
6715        concat!(
6716            "Offset of field: ",
6717            stringify!(_bindgen_ty_1),
6718            "::",
6719            stringify!(proto_major_version)
6720        )
6721    );
6722    assert_eq!(
6723        unsafe {
6724            &(*(::std::ptr::null::<_bindgen_ty_1>())).proto_minor_version as *const _ as usize
6725        },
6726        28usize,
6727        concat!(
6728            "Offset of field: ",
6729            stringify!(_bindgen_ty_1),
6730            "::",
6731            stringify!(proto_minor_version)
6732        )
6733    );
6734    assert_eq!(
6735        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).vendor as *const _ as usize },
6736        32usize,
6737        concat!(
6738            "Offset of field: ",
6739            stringify!(_bindgen_ty_1),
6740            "::",
6741            stringify!(vendor)
6742        )
6743    );
6744    assert_eq!(
6745        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private3 as *const _ as usize },
6746        40usize,
6747        concat!(
6748            "Offset of field: ",
6749            stringify!(_bindgen_ty_1),
6750            "::",
6751            stringify!(private3)
6752        )
6753    );
6754    assert_eq!(
6755        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private4 as *const _ as usize },
6756        48usize,
6757        concat!(
6758            "Offset of field: ",
6759            stringify!(_bindgen_ty_1),
6760            "::",
6761            stringify!(private4)
6762        )
6763    );
6764    assert_eq!(
6765        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private5 as *const _ as usize },
6766        56usize,
6767        concat!(
6768            "Offset of field: ",
6769            stringify!(_bindgen_ty_1),
6770            "::",
6771            stringify!(private5)
6772        )
6773    );
6774    assert_eq!(
6775        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private6 as *const _ as usize },
6776        64usize,
6777        concat!(
6778            "Offset of field: ",
6779            stringify!(_bindgen_ty_1),
6780            "::",
6781            stringify!(private6)
6782        )
6783    );
6784    assert_eq!(
6785        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).resource_alloc as *const _ as usize },
6786        72usize,
6787        concat!(
6788            "Offset of field: ",
6789            stringify!(_bindgen_ty_1),
6790            "::",
6791            stringify!(resource_alloc)
6792        )
6793    );
6794    assert_eq!(
6795        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).byte_order as *const _ as usize },
6796        80usize,
6797        concat!(
6798            "Offset of field: ",
6799            stringify!(_bindgen_ty_1),
6800            "::",
6801            stringify!(byte_order)
6802        )
6803    );
6804    assert_eq!(
6805        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).bitmap_unit as *const _ as usize },
6806        84usize,
6807        concat!(
6808            "Offset of field: ",
6809            stringify!(_bindgen_ty_1),
6810            "::",
6811            stringify!(bitmap_unit)
6812        )
6813    );
6814    assert_eq!(
6815        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).bitmap_pad as *const _ as usize },
6816        88usize,
6817        concat!(
6818            "Offset of field: ",
6819            stringify!(_bindgen_ty_1),
6820            "::",
6821            stringify!(bitmap_pad)
6822        )
6823    );
6824    assert_eq!(
6825        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).bitmap_bit_order as *const _ as usize },
6826        92usize,
6827        concat!(
6828            "Offset of field: ",
6829            stringify!(_bindgen_ty_1),
6830            "::",
6831            stringify!(bitmap_bit_order)
6832        )
6833    );
6834    assert_eq!(
6835        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).nformats as *const _ as usize },
6836        96usize,
6837        concat!(
6838            "Offset of field: ",
6839            stringify!(_bindgen_ty_1),
6840            "::",
6841            stringify!(nformats)
6842        )
6843    );
6844    assert_eq!(
6845        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).pixmap_format as *const _ as usize },
6846        104usize,
6847        concat!(
6848            "Offset of field: ",
6849            stringify!(_bindgen_ty_1),
6850            "::",
6851            stringify!(pixmap_format)
6852        )
6853    );
6854    assert_eq!(
6855        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private8 as *const _ as usize },
6856        112usize,
6857        concat!(
6858            "Offset of field: ",
6859            stringify!(_bindgen_ty_1),
6860            "::",
6861            stringify!(private8)
6862        )
6863    );
6864    assert_eq!(
6865        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).release as *const _ as usize },
6866        116usize,
6867        concat!(
6868            "Offset of field: ",
6869            stringify!(_bindgen_ty_1),
6870            "::",
6871            stringify!(release)
6872        )
6873    );
6874    assert_eq!(
6875        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private9 as *const _ as usize },
6876        120usize,
6877        concat!(
6878            "Offset of field: ",
6879            stringify!(_bindgen_ty_1),
6880            "::",
6881            stringify!(private9)
6882        )
6883    );
6884    assert_eq!(
6885        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private10 as *const _ as usize },
6886        128usize,
6887        concat!(
6888            "Offset of field: ",
6889            stringify!(_bindgen_ty_1),
6890            "::",
6891            stringify!(private10)
6892        )
6893    );
6894    assert_eq!(
6895        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).qlen as *const _ as usize },
6896        136usize,
6897        concat!(
6898            "Offset of field: ",
6899            stringify!(_bindgen_ty_1),
6900            "::",
6901            stringify!(qlen)
6902        )
6903    );
6904    assert_eq!(
6905        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).last_request_read as *const _ as usize },
6906        144usize,
6907        concat!(
6908            "Offset of field: ",
6909            stringify!(_bindgen_ty_1),
6910            "::",
6911            stringify!(last_request_read)
6912        )
6913    );
6914    assert_eq!(
6915        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).request as *const _ as usize },
6916        152usize,
6917        concat!(
6918            "Offset of field: ",
6919            stringify!(_bindgen_ty_1),
6920            "::",
6921            stringify!(request)
6922        )
6923    );
6924    assert_eq!(
6925        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private11 as *const _ as usize },
6926        160usize,
6927        concat!(
6928            "Offset of field: ",
6929            stringify!(_bindgen_ty_1),
6930            "::",
6931            stringify!(private11)
6932        )
6933    );
6934    assert_eq!(
6935        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private12 as *const _ as usize },
6936        168usize,
6937        concat!(
6938            "Offset of field: ",
6939            stringify!(_bindgen_ty_1),
6940            "::",
6941            stringify!(private12)
6942        )
6943    );
6944    assert_eq!(
6945        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private13 as *const _ as usize },
6946        176usize,
6947        concat!(
6948            "Offset of field: ",
6949            stringify!(_bindgen_ty_1),
6950            "::",
6951            stringify!(private13)
6952        )
6953    );
6954    assert_eq!(
6955        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private14 as *const _ as usize },
6956        184usize,
6957        concat!(
6958            "Offset of field: ",
6959            stringify!(_bindgen_ty_1),
6960            "::",
6961            stringify!(private14)
6962        )
6963    );
6964    assert_eq!(
6965        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).max_request_size as *const _ as usize },
6966        192usize,
6967        concat!(
6968            "Offset of field: ",
6969            stringify!(_bindgen_ty_1),
6970            "::",
6971            stringify!(max_request_size)
6972        )
6973    );
6974    assert_eq!(
6975        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).db as *const _ as usize },
6976        200usize,
6977        concat!(
6978            "Offset of field: ",
6979            stringify!(_bindgen_ty_1),
6980            "::",
6981            stringify!(db)
6982        )
6983    );
6984    assert_eq!(
6985        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private15 as *const _ as usize },
6986        208usize,
6987        concat!(
6988            "Offset of field: ",
6989            stringify!(_bindgen_ty_1),
6990            "::",
6991            stringify!(private15)
6992        )
6993    );
6994    assert_eq!(
6995        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).display_name as *const _ as usize },
6996        216usize,
6997        concat!(
6998            "Offset of field: ",
6999            stringify!(_bindgen_ty_1),
7000            "::",
7001            stringify!(display_name)
7002        )
7003    );
7004    assert_eq!(
7005        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).default_screen as *const _ as usize },
7006        224usize,
7007        concat!(
7008            "Offset of field: ",
7009            stringify!(_bindgen_ty_1),
7010            "::",
7011            stringify!(default_screen)
7012        )
7013    );
7014    assert_eq!(
7015        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).nscreens as *const _ as usize },
7016        228usize,
7017        concat!(
7018            "Offset of field: ",
7019            stringify!(_bindgen_ty_1),
7020            "::",
7021            stringify!(nscreens)
7022        )
7023    );
7024    assert_eq!(
7025        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).screens as *const _ as usize },
7026        232usize,
7027        concat!(
7028            "Offset of field: ",
7029            stringify!(_bindgen_ty_1),
7030            "::",
7031            stringify!(screens)
7032        )
7033    );
7034    assert_eq!(
7035        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).motion_buffer as *const _ as usize },
7036        240usize,
7037        concat!(
7038            "Offset of field: ",
7039            stringify!(_bindgen_ty_1),
7040            "::",
7041            stringify!(motion_buffer)
7042        )
7043    );
7044    assert_eq!(
7045        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private16 as *const _ as usize },
7046        248usize,
7047        concat!(
7048            "Offset of field: ",
7049            stringify!(_bindgen_ty_1),
7050            "::",
7051            stringify!(private16)
7052        )
7053    );
7054    assert_eq!(
7055        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).min_keycode as *const _ as usize },
7056        256usize,
7057        concat!(
7058            "Offset of field: ",
7059            stringify!(_bindgen_ty_1),
7060            "::",
7061            stringify!(min_keycode)
7062        )
7063    );
7064    assert_eq!(
7065        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).max_keycode as *const _ as usize },
7066        260usize,
7067        concat!(
7068            "Offset of field: ",
7069            stringify!(_bindgen_ty_1),
7070            "::",
7071            stringify!(max_keycode)
7072        )
7073    );
7074    assert_eq!(
7075        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private17 as *const _ as usize },
7076        264usize,
7077        concat!(
7078            "Offset of field: ",
7079            stringify!(_bindgen_ty_1),
7080            "::",
7081            stringify!(private17)
7082        )
7083    );
7084    assert_eq!(
7085        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private18 as *const _ as usize },
7086        272usize,
7087        concat!(
7088            "Offset of field: ",
7089            stringify!(_bindgen_ty_1),
7090            "::",
7091            stringify!(private18)
7092        )
7093    );
7094    assert_eq!(
7095        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).private19 as *const _ as usize },
7096        280usize,
7097        concat!(
7098            "Offset of field: ",
7099            stringify!(_bindgen_ty_1),
7100            "::",
7101            stringify!(private19)
7102        )
7103    );
7104    assert_eq!(
7105        unsafe { &(*(::std::ptr::null::<_bindgen_ty_1>())).xdefaults as *const _ as usize },
7106        288usize,
7107        concat!(
7108            "Offset of field: ",
7109            stringify!(_bindgen_ty_1),
7110            "::",
7111            stringify!(xdefaults)
7112        )
7113    );
7114}
7115pub type _XPrivDisplay = *mut _bindgen_ty_1;
7116#[repr(C)]
7117#[derive(Debug, Copy, Clone)]
7118pub struct XKeyEvent {
7119    pub type_: ::std::os::raw::c_int,
7120    pub serial: ::std::os::raw::c_ulong,
7121    pub send_event: ::std::os::raw::c_int,
7122    pub display: *mut Display,
7123    pub window: Window,
7124    pub root: Window,
7125    pub subwindow: Window,
7126    pub time: Time,
7127    pub x: ::std::os::raw::c_int,
7128    pub y: ::std::os::raw::c_int,
7129    pub x_root: ::std::os::raw::c_int,
7130    pub y_root: ::std::os::raw::c_int,
7131    pub state: ::std::os::raw::c_uint,
7132    pub keycode: ::std::os::raw::c_uint,
7133    pub same_screen: ::std::os::raw::c_int,
7134}
7135#[test]
7136fn bindgen_test_layout_XKeyEvent() {
7137    assert_eq!(
7138        ::std::mem::size_of::<XKeyEvent>(),
7139        96usize,
7140        concat!("Size of: ", stringify!(XKeyEvent))
7141    );
7142    assert_eq!(
7143        ::std::mem::align_of::<XKeyEvent>(),
7144        8usize,
7145        concat!("Alignment of ", stringify!(XKeyEvent))
7146    );
7147    assert_eq!(
7148        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).type_ as *const _ as usize },
7149        0usize,
7150        concat!(
7151            "Offset of field: ",
7152            stringify!(XKeyEvent),
7153            "::",
7154            stringify!(type_)
7155        )
7156    );
7157    assert_eq!(
7158        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).serial as *const _ as usize },
7159        8usize,
7160        concat!(
7161            "Offset of field: ",
7162            stringify!(XKeyEvent),
7163            "::",
7164            stringify!(serial)
7165        )
7166    );
7167    assert_eq!(
7168        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).send_event as *const _ as usize },
7169        16usize,
7170        concat!(
7171            "Offset of field: ",
7172            stringify!(XKeyEvent),
7173            "::",
7174            stringify!(send_event)
7175        )
7176    );
7177    assert_eq!(
7178        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).display as *const _ as usize },
7179        24usize,
7180        concat!(
7181            "Offset of field: ",
7182            stringify!(XKeyEvent),
7183            "::",
7184            stringify!(display)
7185        )
7186    );
7187    assert_eq!(
7188        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).window as *const _ as usize },
7189        32usize,
7190        concat!(
7191            "Offset of field: ",
7192            stringify!(XKeyEvent),
7193            "::",
7194            stringify!(window)
7195        )
7196    );
7197    assert_eq!(
7198        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).root as *const _ as usize },
7199        40usize,
7200        concat!(
7201            "Offset of field: ",
7202            stringify!(XKeyEvent),
7203            "::",
7204            stringify!(root)
7205        )
7206    );
7207    assert_eq!(
7208        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).subwindow as *const _ as usize },
7209        48usize,
7210        concat!(
7211            "Offset of field: ",
7212            stringify!(XKeyEvent),
7213            "::",
7214            stringify!(subwindow)
7215        )
7216    );
7217    assert_eq!(
7218        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).time as *const _ as usize },
7219        56usize,
7220        concat!(
7221            "Offset of field: ",
7222            stringify!(XKeyEvent),
7223            "::",
7224            stringify!(time)
7225        )
7226    );
7227    assert_eq!(
7228        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).x as *const _ as usize },
7229        64usize,
7230        concat!(
7231            "Offset of field: ",
7232            stringify!(XKeyEvent),
7233            "::",
7234            stringify!(x)
7235        )
7236    );
7237    assert_eq!(
7238        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).y as *const _ as usize },
7239        68usize,
7240        concat!(
7241            "Offset of field: ",
7242            stringify!(XKeyEvent),
7243            "::",
7244            stringify!(y)
7245        )
7246    );
7247    assert_eq!(
7248        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).x_root as *const _ as usize },
7249        72usize,
7250        concat!(
7251            "Offset of field: ",
7252            stringify!(XKeyEvent),
7253            "::",
7254            stringify!(x_root)
7255        )
7256    );
7257    assert_eq!(
7258        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).y_root as *const _ as usize },
7259        76usize,
7260        concat!(
7261            "Offset of field: ",
7262            stringify!(XKeyEvent),
7263            "::",
7264            stringify!(y_root)
7265        )
7266    );
7267    assert_eq!(
7268        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).state as *const _ as usize },
7269        80usize,
7270        concat!(
7271            "Offset of field: ",
7272            stringify!(XKeyEvent),
7273            "::",
7274            stringify!(state)
7275        )
7276    );
7277    assert_eq!(
7278        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).keycode as *const _ as usize },
7279        84usize,
7280        concat!(
7281            "Offset of field: ",
7282            stringify!(XKeyEvent),
7283            "::",
7284            stringify!(keycode)
7285        )
7286    );
7287    assert_eq!(
7288        unsafe { &(*(::std::ptr::null::<XKeyEvent>())).same_screen as *const _ as usize },
7289        88usize,
7290        concat!(
7291            "Offset of field: ",
7292            stringify!(XKeyEvent),
7293            "::",
7294            stringify!(same_screen)
7295        )
7296    );
7297}
7298pub type XKeyPressedEvent = XKeyEvent;
7299pub type XKeyReleasedEvent = XKeyEvent;
7300#[repr(C)]
7301#[derive(Debug, Copy, Clone)]
7302pub struct XButtonEvent {
7303    pub type_: ::std::os::raw::c_int,
7304    pub serial: ::std::os::raw::c_ulong,
7305    pub send_event: ::std::os::raw::c_int,
7306    pub display: *mut Display,
7307    pub window: Window,
7308    pub root: Window,
7309    pub subwindow: Window,
7310    pub time: Time,
7311    pub x: ::std::os::raw::c_int,
7312    pub y: ::std::os::raw::c_int,
7313    pub x_root: ::std::os::raw::c_int,
7314    pub y_root: ::std::os::raw::c_int,
7315    pub state: ::std::os::raw::c_uint,
7316    pub button: ::std::os::raw::c_uint,
7317    pub same_screen: ::std::os::raw::c_int,
7318}
7319#[test]
7320fn bindgen_test_layout_XButtonEvent() {
7321    assert_eq!(
7322        ::std::mem::size_of::<XButtonEvent>(),
7323        96usize,
7324        concat!("Size of: ", stringify!(XButtonEvent))
7325    );
7326    assert_eq!(
7327        ::std::mem::align_of::<XButtonEvent>(),
7328        8usize,
7329        concat!("Alignment of ", stringify!(XButtonEvent))
7330    );
7331    assert_eq!(
7332        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).type_ as *const _ as usize },
7333        0usize,
7334        concat!(
7335            "Offset of field: ",
7336            stringify!(XButtonEvent),
7337            "::",
7338            stringify!(type_)
7339        )
7340    );
7341    assert_eq!(
7342        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).serial as *const _ as usize },
7343        8usize,
7344        concat!(
7345            "Offset of field: ",
7346            stringify!(XButtonEvent),
7347            "::",
7348            stringify!(serial)
7349        )
7350    );
7351    assert_eq!(
7352        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).send_event as *const _ as usize },
7353        16usize,
7354        concat!(
7355            "Offset of field: ",
7356            stringify!(XButtonEvent),
7357            "::",
7358            stringify!(send_event)
7359        )
7360    );
7361    assert_eq!(
7362        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).display as *const _ as usize },
7363        24usize,
7364        concat!(
7365            "Offset of field: ",
7366            stringify!(XButtonEvent),
7367            "::",
7368            stringify!(display)
7369        )
7370    );
7371    assert_eq!(
7372        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).window as *const _ as usize },
7373        32usize,
7374        concat!(
7375            "Offset of field: ",
7376            stringify!(XButtonEvent),
7377            "::",
7378            stringify!(window)
7379        )
7380    );
7381    assert_eq!(
7382        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).root as *const _ as usize },
7383        40usize,
7384        concat!(
7385            "Offset of field: ",
7386            stringify!(XButtonEvent),
7387            "::",
7388            stringify!(root)
7389        )
7390    );
7391    assert_eq!(
7392        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).subwindow as *const _ as usize },
7393        48usize,
7394        concat!(
7395            "Offset of field: ",
7396            stringify!(XButtonEvent),
7397            "::",
7398            stringify!(subwindow)
7399        )
7400    );
7401    assert_eq!(
7402        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).time as *const _ as usize },
7403        56usize,
7404        concat!(
7405            "Offset of field: ",
7406            stringify!(XButtonEvent),
7407            "::",
7408            stringify!(time)
7409        )
7410    );
7411    assert_eq!(
7412        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).x as *const _ as usize },
7413        64usize,
7414        concat!(
7415            "Offset of field: ",
7416            stringify!(XButtonEvent),
7417            "::",
7418            stringify!(x)
7419        )
7420    );
7421    assert_eq!(
7422        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).y as *const _ as usize },
7423        68usize,
7424        concat!(
7425            "Offset of field: ",
7426            stringify!(XButtonEvent),
7427            "::",
7428            stringify!(y)
7429        )
7430    );
7431    assert_eq!(
7432        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).x_root as *const _ as usize },
7433        72usize,
7434        concat!(
7435            "Offset of field: ",
7436            stringify!(XButtonEvent),
7437            "::",
7438            stringify!(x_root)
7439        )
7440    );
7441    assert_eq!(
7442        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).y_root as *const _ as usize },
7443        76usize,
7444        concat!(
7445            "Offset of field: ",
7446            stringify!(XButtonEvent),
7447            "::",
7448            stringify!(y_root)
7449        )
7450    );
7451    assert_eq!(
7452        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).state as *const _ as usize },
7453        80usize,
7454        concat!(
7455            "Offset of field: ",
7456            stringify!(XButtonEvent),
7457            "::",
7458            stringify!(state)
7459        )
7460    );
7461    assert_eq!(
7462        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).button as *const _ as usize },
7463        84usize,
7464        concat!(
7465            "Offset of field: ",
7466            stringify!(XButtonEvent),
7467            "::",
7468            stringify!(button)
7469        )
7470    );
7471    assert_eq!(
7472        unsafe { &(*(::std::ptr::null::<XButtonEvent>())).same_screen as *const _ as usize },
7473        88usize,
7474        concat!(
7475            "Offset of field: ",
7476            stringify!(XButtonEvent),
7477            "::",
7478            stringify!(same_screen)
7479        )
7480    );
7481}
7482pub type XButtonPressedEvent = XButtonEvent;
7483pub type XButtonReleasedEvent = XButtonEvent;
7484#[repr(C)]
7485#[derive(Debug, Copy, Clone)]
7486pub struct XMotionEvent {
7487    pub type_: ::std::os::raw::c_int,
7488    pub serial: ::std::os::raw::c_ulong,
7489    pub send_event: ::std::os::raw::c_int,
7490    pub display: *mut Display,
7491    pub window: Window,
7492    pub root: Window,
7493    pub subwindow: Window,
7494    pub time: Time,
7495    pub x: ::std::os::raw::c_int,
7496    pub y: ::std::os::raw::c_int,
7497    pub x_root: ::std::os::raw::c_int,
7498    pub y_root: ::std::os::raw::c_int,
7499    pub state: ::std::os::raw::c_uint,
7500    pub is_hint: ::std::os::raw::c_char,
7501    pub same_screen: ::std::os::raw::c_int,
7502}
7503#[test]
7504fn bindgen_test_layout_XMotionEvent() {
7505    assert_eq!(
7506        ::std::mem::size_of::<XMotionEvent>(),
7507        96usize,
7508        concat!("Size of: ", stringify!(XMotionEvent))
7509    );
7510    assert_eq!(
7511        ::std::mem::align_of::<XMotionEvent>(),
7512        8usize,
7513        concat!("Alignment of ", stringify!(XMotionEvent))
7514    );
7515    assert_eq!(
7516        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).type_ as *const _ as usize },
7517        0usize,
7518        concat!(
7519            "Offset of field: ",
7520            stringify!(XMotionEvent),
7521            "::",
7522            stringify!(type_)
7523        )
7524    );
7525    assert_eq!(
7526        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).serial as *const _ as usize },
7527        8usize,
7528        concat!(
7529            "Offset of field: ",
7530            stringify!(XMotionEvent),
7531            "::",
7532            stringify!(serial)
7533        )
7534    );
7535    assert_eq!(
7536        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).send_event as *const _ as usize },
7537        16usize,
7538        concat!(
7539            "Offset of field: ",
7540            stringify!(XMotionEvent),
7541            "::",
7542            stringify!(send_event)
7543        )
7544    );
7545    assert_eq!(
7546        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).display as *const _ as usize },
7547        24usize,
7548        concat!(
7549            "Offset of field: ",
7550            stringify!(XMotionEvent),
7551            "::",
7552            stringify!(display)
7553        )
7554    );
7555    assert_eq!(
7556        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).window as *const _ as usize },
7557        32usize,
7558        concat!(
7559            "Offset of field: ",
7560            stringify!(XMotionEvent),
7561            "::",
7562            stringify!(window)
7563        )
7564    );
7565    assert_eq!(
7566        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).root as *const _ as usize },
7567        40usize,
7568        concat!(
7569            "Offset of field: ",
7570            stringify!(XMotionEvent),
7571            "::",
7572            stringify!(root)
7573        )
7574    );
7575    assert_eq!(
7576        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).subwindow as *const _ as usize },
7577        48usize,
7578        concat!(
7579            "Offset of field: ",
7580            stringify!(XMotionEvent),
7581            "::",
7582            stringify!(subwindow)
7583        )
7584    );
7585    assert_eq!(
7586        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).time as *const _ as usize },
7587        56usize,
7588        concat!(
7589            "Offset of field: ",
7590            stringify!(XMotionEvent),
7591            "::",
7592            stringify!(time)
7593        )
7594    );
7595    assert_eq!(
7596        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).x as *const _ as usize },
7597        64usize,
7598        concat!(
7599            "Offset of field: ",
7600            stringify!(XMotionEvent),
7601            "::",
7602            stringify!(x)
7603        )
7604    );
7605    assert_eq!(
7606        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).y as *const _ as usize },
7607        68usize,
7608        concat!(
7609            "Offset of field: ",
7610            stringify!(XMotionEvent),
7611            "::",
7612            stringify!(y)
7613        )
7614    );
7615    assert_eq!(
7616        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).x_root as *const _ as usize },
7617        72usize,
7618        concat!(
7619            "Offset of field: ",
7620            stringify!(XMotionEvent),
7621            "::",
7622            stringify!(x_root)
7623        )
7624    );
7625    assert_eq!(
7626        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).y_root as *const _ as usize },
7627        76usize,
7628        concat!(
7629            "Offset of field: ",
7630            stringify!(XMotionEvent),
7631            "::",
7632            stringify!(y_root)
7633        )
7634    );
7635    assert_eq!(
7636        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).state as *const _ as usize },
7637        80usize,
7638        concat!(
7639            "Offset of field: ",
7640            stringify!(XMotionEvent),
7641            "::",
7642            stringify!(state)
7643        )
7644    );
7645    assert_eq!(
7646        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).is_hint as *const _ as usize },
7647        84usize,
7648        concat!(
7649            "Offset of field: ",
7650            stringify!(XMotionEvent),
7651            "::",
7652            stringify!(is_hint)
7653        )
7654    );
7655    assert_eq!(
7656        unsafe { &(*(::std::ptr::null::<XMotionEvent>())).same_screen as *const _ as usize },
7657        88usize,
7658        concat!(
7659            "Offset of field: ",
7660            stringify!(XMotionEvent),
7661            "::",
7662            stringify!(same_screen)
7663        )
7664    );
7665}
7666pub type XPointerMovedEvent = XMotionEvent;
7667#[repr(C)]
7668#[derive(Debug, Copy, Clone)]
7669pub struct XCrossingEvent {
7670    pub type_: ::std::os::raw::c_int,
7671    pub serial: ::std::os::raw::c_ulong,
7672    pub send_event: ::std::os::raw::c_int,
7673    pub display: *mut Display,
7674    pub window: Window,
7675    pub root: Window,
7676    pub subwindow: Window,
7677    pub time: Time,
7678    pub x: ::std::os::raw::c_int,
7679    pub y: ::std::os::raw::c_int,
7680    pub x_root: ::std::os::raw::c_int,
7681    pub y_root: ::std::os::raw::c_int,
7682    pub mode: ::std::os::raw::c_int,
7683    pub detail: ::std::os::raw::c_int,
7684    pub same_screen: ::std::os::raw::c_int,
7685    pub focus: ::std::os::raw::c_int,
7686    pub state: ::std::os::raw::c_uint,
7687}
7688#[test]
7689fn bindgen_test_layout_XCrossingEvent() {
7690    assert_eq!(
7691        ::std::mem::size_of::<XCrossingEvent>(),
7692        104usize,
7693        concat!("Size of: ", stringify!(XCrossingEvent))
7694    );
7695    assert_eq!(
7696        ::std::mem::align_of::<XCrossingEvent>(),
7697        8usize,
7698        concat!("Alignment of ", stringify!(XCrossingEvent))
7699    );
7700    assert_eq!(
7701        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).type_ as *const _ as usize },
7702        0usize,
7703        concat!(
7704            "Offset of field: ",
7705            stringify!(XCrossingEvent),
7706            "::",
7707            stringify!(type_)
7708        )
7709    );
7710    assert_eq!(
7711        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).serial as *const _ as usize },
7712        8usize,
7713        concat!(
7714            "Offset of field: ",
7715            stringify!(XCrossingEvent),
7716            "::",
7717            stringify!(serial)
7718        )
7719    );
7720    assert_eq!(
7721        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).send_event as *const _ as usize },
7722        16usize,
7723        concat!(
7724            "Offset of field: ",
7725            stringify!(XCrossingEvent),
7726            "::",
7727            stringify!(send_event)
7728        )
7729    );
7730    assert_eq!(
7731        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).display as *const _ as usize },
7732        24usize,
7733        concat!(
7734            "Offset of field: ",
7735            stringify!(XCrossingEvent),
7736            "::",
7737            stringify!(display)
7738        )
7739    );
7740    assert_eq!(
7741        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).window as *const _ as usize },
7742        32usize,
7743        concat!(
7744            "Offset of field: ",
7745            stringify!(XCrossingEvent),
7746            "::",
7747            stringify!(window)
7748        )
7749    );
7750    assert_eq!(
7751        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).root as *const _ as usize },
7752        40usize,
7753        concat!(
7754            "Offset of field: ",
7755            stringify!(XCrossingEvent),
7756            "::",
7757            stringify!(root)
7758        )
7759    );
7760    assert_eq!(
7761        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).subwindow as *const _ as usize },
7762        48usize,
7763        concat!(
7764            "Offset of field: ",
7765            stringify!(XCrossingEvent),
7766            "::",
7767            stringify!(subwindow)
7768        )
7769    );
7770    assert_eq!(
7771        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).time as *const _ as usize },
7772        56usize,
7773        concat!(
7774            "Offset of field: ",
7775            stringify!(XCrossingEvent),
7776            "::",
7777            stringify!(time)
7778        )
7779    );
7780    assert_eq!(
7781        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).x as *const _ as usize },
7782        64usize,
7783        concat!(
7784            "Offset of field: ",
7785            stringify!(XCrossingEvent),
7786            "::",
7787            stringify!(x)
7788        )
7789    );
7790    assert_eq!(
7791        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).y as *const _ as usize },
7792        68usize,
7793        concat!(
7794            "Offset of field: ",
7795            stringify!(XCrossingEvent),
7796            "::",
7797            stringify!(y)
7798        )
7799    );
7800    assert_eq!(
7801        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).x_root as *const _ as usize },
7802        72usize,
7803        concat!(
7804            "Offset of field: ",
7805            stringify!(XCrossingEvent),
7806            "::",
7807            stringify!(x_root)
7808        )
7809    );
7810    assert_eq!(
7811        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).y_root as *const _ as usize },
7812        76usize,
7813        concat!(
7814            "Offset of field: ",
7815            stringify!(XCrossingEvent),
7816            "::",
7817            stringify!(y_root)
7818        )
7819    );
7820    assert_eq!(
7821        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).mode as *const _ as usize },
7822        80usize,
7823        concat!(
7824            "Offset of field: ",
7825            stringify!(XCrossingEvent),
7826            "::",
7827            stringify!(mode)
7828        )
7829    );
7830    assert_eq!(
7831        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).detail as *const _ as usize },
7832        84usize,
7833        concat!(
7834            "Offset of field: ",
7835            stringify!(XCrossingEvent),
7836            "::",
7837            stringify!(detail)
7838        )
7839    );
7840    assert_eq!(
7841        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).same_screen as *const _ as usize },
7842        88usize,
7843        concat!(
7844            "Offset of field: ",
7845            stringify!(XCrossingEvent),
7846            "::",
7847            stringify!(same_screen)
7848        )
7849    );
7850    assert_eq!(
7851        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).focus as *const _ as usize },
7852        92usize,
7853        concat!(
7854            "Offset of field: ",
7855            stringify!(XCrossingEvent),
7856            "::",
7857            stringify!(focus)
7858        )
7859    );
7860    assert_eq!(
7861        unsafe { &(*(::std::ptr::null::<XCrossingEvent>())).state as *const _ as usize },
7862        96usize,
7863        concat!(
7864            "Offset of field: ",
7865            stringify!(XCrossingEvent),
7866            "::",
7867            stringify!(state)
7868        )
7869    );
7870}
7871pub type XEnterWindowEvent = XCrossingEvent;
7872pub type XLeaveWindowEvent = XCrossingEvent;
7873#[repr(C)]
7874#[derive(Debug, Copy, Clone)]
7875pub struct XFocusChangeEvent {
7876    pub type_: ::std::os::raw::c_int,
7877    pub serial: ::std::os::raw::c_ulong,
7878    pub send_event: ::std::os::raw::c_int,
7879    pub display: *mut Display,
7880    pub window: Window,
7881    pub mode: ::std::os::raw::c_int,
7882    pub detail: ::std::os::raw::c_int,
7883}
7884#[test]
7885fn bindgen_test_layout_XFocusChangeEvent() {
7886    assert_eq!(
7887        ::std::mem::size_of::<XFocusChangeEvent>(),
7888        48usize,
7889        concat!("Size of: ", stringify!(XFocusChangeEvent))
7890    );
7891    assert_eq!(
7892        ::std::mem::align_of::<XFocusChangeEvent>(),
7893        8usize,
7894        concat!("Alignment of ", stringify!(XFocusChangeEvent))
7895    );
7896    assert_eq!(
7897        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).type_ as *const _ as usize },
7898        0usize,
7899        concat!(
7900            "Offset of field: ",
7901            stringify!(XFocusChangeEvent),
7902            "::",
7903            stringify!(type_)
7904        )
7905    );
7906    assert_eq!(
7907        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).serial as *const _ as usize },
7908        8usize,
7909        concat!(
7910            "Offset of field: ",
7911            stringify!(XFocusChangeEvent),
7912            "::",
7913            stringify!(serial)
7914        )
7915    );
7916    assert_eq!(
7917        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).send_event as *const _ as usize },
7918        16usize,
7919        concat!(
7920            "Offset of field: ",
7921            stringify!(XFocusChangeEvent),
7922            "::",
7923            stringify!(send_event)
7924        )
7925    );
7926    assert_eq!(
7927        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).display as *const _ as usize },
7928        24usize,
7929        concat!(
7930            "Offset of field: ",
7931            stringify!(XFocusChangeEvent),
7932            "::",
7933            stringify!(display)
7934        )
7935    );
7936    assert_eq!(
7937        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).window as *const _ as usize },
7938        32usize,
7939        concat!(
7940            "Offset of field: ",
7941            stringify!(XFocusChangeEvent),
7942            "::",
7943            stringify!(window)
7944        )
7945    );
7946    assert_eq!(
7947        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).mode as *const _ as usize },
7948        40usize,
7949        concat!(
7950            "Offset of field: ",
7951            stringify!(XFocusChangeEvent),
7952            "::",
7953            stringify!(mode)
7954        )
7955    );
7956    assert_eq!(
7957        unsafe { &(*(::std::ptr::null::<XFocusChangeEvent>())).detail as *const _ as usize },
7958        44usize,
7959        concat!(
7960            "Offset of field: ",
7961            stringify!(XFocusChangeEvent),
7962            "::",
7963            stringify!(detail)
7964        )
7965    );
7966}
7967pub type XFocusInEvent = XFocusChangeEvent;
7968pub type XFocusOutEvent = XFocusChangeEvent;
7969#[repr(C)]
7970#[derive(Debug, Copy, Clone)]
7971pub struct XKeymapEvent {
7972    pub type_: ::std::os::raw::c_int,
7973    pub serial: ::std::os::raw::c_ulong,
7974    pub send_event: ::std::os::raw::c_int,
7975    pub display: *mut Display,
7976    pub window: Window,
7977    pub key_vector: [::std::os::raw::c_char; 32usize],
7978}
7979#[test]
7980fn bindgen_test_layout_XKeymapEvent() {
7981    assert_eq!(
7982        ::std::mem::size_of::<XKeymapEvent>(),
7983        72usize,
7984        concat!("Size of: ", stringify!(XKeymapEvent))
7985    );
7986    assert_eq!(
7987        ::std::mem::align_of::<XKeymapEvent>(),
7988        8usize,
7989        concat!("Alignment of ", stringify!(XKeymapEvent))
7990    );
7991    assert_eq!(
7992        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).type_ as *const _ as usize },
7993        0usize,
7994        concat!(
7995            "Offset of field: ",
7996            stringify!(XKeymapEvent),
7997            "::",
7998            stringify!(type_)
7999        )
8000    );
8001    assert_eq!(
8002        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).serial as *const _ as usize },
8003        8usize,
8004        concat!(
8005            "Offset of field: ",
8006            stringify!(XKeymapEvent),
8007            "::",
8008            stringify!(serial)
8009        )
8010    );
8011    assert_eq!(
8012        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).send_event as *const _ as usize },
8013        16usize,
8014        concat!(
8015            "Offset of field: ",
8016            stringify!(XKeymapEvent),
8017            "::",
8018            stringify!(send_event)
8019        )
8020    );
8021    assert_eq!(
8022        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).display as *const _ as usize },
8023        24usize,
8024        concat!(
8025            "Offset of field: ",
8026            stringify!(XKeymapEvent),
8027            "::",
8028            stringify!(display)
8029        )
8030    );
8031    assert_eq!(
8032        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).window as *const _ as usize },
8033        32usize,
8034        concat!(
8035            "Offset of field: ",
8036            stringify!(XKeymapEvent),
8037            "::",
8038            stringify!(window)
8039        )
8040    );
8041    assert_eq!(
8042        unsafe { &(*(::std::ptr::null::<XKeymapEvent>())).key_vector as *const _ as usize },
8043        40usize,
8044        concat!(
8045            "Offset of field: ",
8046            stringify!(XKeymapEvent),
8047            "::",
8048            stringify!(key_vector)
8049        )
8050    );
8051}
8052#[repr(C)]
8053#[derive(Debug, Copy, Clone)]
8054pub struct XExposeEvent {
8055    pub type_: ::std::os::raw::c_int,
8056    pub serial: ::std::os::raw::c_ulong,
8057    pub send_event: ::std::os::raw::c_int,
8058    pub display: *mut Display,
8059    pub window: Window,
8060    pub x: ::std::os::raw::c_int,
8061    pub y: ::std::os::raw::c_int,
8062    pub width: ::std::os::raw::c_int,
8063    pub height: ::std::os::raw::c_int,
8064    pub count: ::std::os::raw::c_int,
8065}
8066#[test]
8067fn bindgen_test_layout_XExposeEvent() {
8068    assert_eq!(
8069        ::std::mem::size_of::<XExposeEvent>(),
8070        64usize,
8071        concat!("Size of: ", stringify!(XExposeEvent))
8072    );
8073    assert_eq!(
8074        ::std::mem::align_of::<XExposeEvent>(),
8075        8usize,
8076        concat!("Alignment of ", stringify!(XExposeEvent))
8077    );
8078    assert_eq!(
8079        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).type_ as *const _ as usize },
8080        0usize,
8081        concat!(
8082            "Offset of field: ",
8083            stringify!(XExposeEvent),
8084            "::",
8085            stringify!(type_)
8086        )
8087    );
8088    assert_eq!(
8089        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).serial as *const _ as usize },
8090        8usize,
8091        concat!(
8092            "Offset of field: ",
8093            stringify!(XExposeEvent),
8094            "::",
8095            stringify!(serial)
8096        )
8097    );
8098    assert_eq!(
8099        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).send_event as *const _ as usize },
8100        16usize,
8101        concat!(
8102            "Offset of field: ",
8103            stringify!(XExposeEvent),
8104            "::",
8105            stringify!(send_event)
8106        )
8107    );
8108    assert_eq!(
8109        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).display as *const _ as usize },
8110        24usize,
8111        concat!(
8112            "Offset of field: ",
8113            stringify!(XExposeEvent),
8114            "::",
8115            stringify!(display)
8116        )
8117    );
8118    assert_eq!(
8119        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).window as *const _ as usize },
8120        32usize,
8121        concat!(
8122            "Offset of field: ",
8123            stringify!(XExposeEvent),
8124            "::",
8125            stringify!(window)
8126        )
8127    );
8128    assert_eq!(
8129        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).x as *const _ as usize },
8130        40usize,
8131        concat!(
8132            "Offset of field: ",
8133            stringify!(XExposeEvent),
8134            "::",
8135            stringify!(x)
8136        )
8137    );
8138    assert_eq!(
8139        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).y as *const _ as usize },
8140        44usize,
8141        concat!(
8142            "Offset of field: ",
8143            stringify!(XExposeEvent),
8144            "::",
8145            stringify!(y)
8146        )
8147    );
8148    assert_eq!(
8149        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).width as *const _ as usize },
8150        48usize,
8151        concat!(
8152            "Offset of field: ",
8153            stringify!(XExposeEvent),
8154            "::",
8155            stringify!(width)
8156        )
8157    );
8158    assert_eq!(
8159        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).height as *const _ as usize },
8160        52usize,
8161        concat!(
8162            "Offset of field: ",
8163            stringify!(XExposeEvent),
8164            "::",
8165            stringify!(height)
8166        )
8167    );
8168    assert_eq!(
8169        unsafe { &(*(::std::ptr::null::<XExposeEvent>())).count as *const _ as usize },
8170        56usize,
8171        concat!(
8172            "Offset of field: ",
8173            stringify!(XExposeEvent),
8174            "::",
8175            stringify!(count)
8176        )
8177    );
8178}
8179#[repr(C)]
8180#[derive(Debug, Copy, Clone)]
8181pub struct XGraphicsExposeEvent {
8182    pub type_: ::std::os::raw::c_int,
8183    pub serial: ::std::os::raw::c_ulong,
8184    pub send_event: ::std::os::raw::c_int,
8185    pub display: *mut Display,
8186    pub drawable: Drawable,
8187    pub x: ::std::os::raw::c_int,
8188    pub y: ::std::os::raw::c_int,
8189    pub width: ::std::os::raw::c_int,
8190    pub height: ::std::os::raw::c_int,
8191    pub count: ::std::os::raw::c_int,
8192    pub major_code: ::std::os::raw::c_int,
8193    pub minor_code: ::std::os::raw::c_int,
8194}
8195#[test]
8196fn bindgen_test_layout_XGraphicsExposeEvent() {
8197    assert_eq!(
8198        ::std::mem::size_of::<XGraphicsExposeEvent>(),
8199        72usize,
8200        concat!("Size of: ", stringify!(XGraphicsExposeEvent))
8201    );
8202    assert_eq!(
8203        ::std::mem::align_of::<XGraphicsExposeEvent>(),
8204        8usize,
8205        concat!("Alignment of ", stringify!(XGraphicsExposeEvent))
8206    );
8207    assert_eq!(
8208        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).type_ as *const _ as usize },
8209        0usize,
8210        concat!(
8211            "Offset of field: ",
8212            stringify!(XGraphicsExposeEvent),
8213            "::",
8214            stringify!(type_)
8215        )
8216    );
8217    assert_eq!(
8218        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).serial as *const _ as usize },
8219        8usize,
8220        concat!(
8221            "Offset of field: ",
8222            stringify!(XGraphicsExposeEvent),
8223            "::",
8224            stringify!(serial)
8225        )
8226    );
8227    assert_eq!(
8228        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).send_event as *const _ as usize },
8229        16usize,
8230        concat!(
8231            "Offset of field: ",
8232            stringify!(XGraphicsExposeEvent),
8233            "::",
8234            stringify!(send_event)
8235        )
8236    );
8237    assert_eq!(
8238        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).display as *const _ as usize },
8239        24usize,
8240        concat!(
8241            "Offset of field: ",
8242            stringify!(XGraphicsExposeEvent),
8243            "::",
8244            stringify!(display)
8245        )
8246    );
8247    assert_eq!(
8248        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).drawable as *const _ as usize },
8249        32usize,
8250        concat!(
8251            "Offset of field: ",
8252            stringify!(XGraphicsExposeEvent),
8253            "::",
8254            stringify!(drawable)
8255        )
8256    );
8257    assert_eq!(
8258        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).x as *const _ as usize },
8259        40usize,
8260        concat!(
8261            "Offset of field: ",
8262            stringify!(XGraphicsExposeEvent),
8263            "::",
8264            stringify!(x)
8265        )
8266    );
8267    assert_eq!(
8268        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).y as *const _ as usize },
8269        44usize,
8270        concat!(
8271            "Offset of field: ",
8272            stringify!(XGraphicsExposeEvent),
8273            "::",
8274            stringify!(y)
8275        )
8276    );
8277    assert_eq!(
8278        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).width as *const _ as usize },
8279        48usize,
8280        concat!(
8281            "Offset of field: ",
8282            stringify!(XGraphicsExposeEvent),
8283            "::",
8284            stringify!(width)
8285        )
8286    );
8287    assert_eq!(
8288        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).height as *const _ as usize },
8289        52usize,
8290        concat!(
8291            "Offset of field: ",
8292            stringify!(XGraphicsExposeEvent),
8293            "::",
8294            stringify!(height)
8295        )
8296    );
8297    assert_eq!(
8298        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).count as *const _ as usize },
8299        56usize,
8300        concat!(
8301            "Offset of field: ",
8302            stringify!(XGraphicsExposeEvent),
8303            "::",
8304            stringify!(count)
8305        )
8306    );
8307    assert_eq!(
8308        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).major_code as *const _ as usize },
8309        60usize,
8310        concat!(
8311            "Offset of field: ",
8312            stringify!(XGraphicsExposeEvent),
8313            "::",
8314            stringify!(major_code)
8315        )
8316    );
8317    assert_eq!(
8318        unsafe { &(*(::std::ptr::null::<XGraphicsExposeEvent>())).minor_code as *const _ as usize },
8319        64usize,
8320        concat!(
8321            "Offset of field: ",
8322            stringify!(XGraphicsExposeEvent),
8323            "::",
8324            stringify!(minor_code)
8325        )
8326    );
8327}
8328#[repr(C)]
8329#[derive(Debug, Copy, Clone)]
8330pub struct XNoExposeEvent {
8331    pub type_: ::std::os::raw::c_int,
8332    pub serial: ::std::os::raw::c_ulong,
8333    pub send_event: ::std::os::raw::c_int,
8334    pub display: *mut Display,
8335    pub drawable: Drawable,
8336    pub major_code: ::std::os::raw::c_int,
8337    pub minor_code: ::std::os::raw::c_int,
8338}
8339#[test]
8340fn bindgen_test_layout_XNoExposeEvent() {
8341    assert_eq!(
8342        ::std::mem::size_of::<XNoExposeEvent>(),
8343        48usize,
8344        concat!("Size of: ", stringify!(XNoExposeEvent))
8345    );
8346    assert_eq!(
8347        ::std::mem::align_of::<XNoExposeEvent>(),
8348        8usize,
8349        concat!("Alignment of ", stringify!(XNoExposeEvent))
8350    );
8351    assert_eq!(
8352        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).type_ as *const _ as usize },
8353        0usize,
8354        concat!(
8355            "Offset of field: ",
8356            stringify!(XNoExposeEvent),
8357            "::",
8358            stringify!(type_)
8359        )
8360    );
8361    assert_eq!(
8362        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).serial as *const _ as usize },
8363        8usize,
8364        concat!(
8365            "Offset of field: ",
8366            stringify!(XNoExposeEvent),
8367            "::",
8368            stringify!(serial)
8369        )
8370    );
8371    assert_eq!(
8372        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).send_event as *const _ as usize },
8373        16usize,
8374        concat!(
8375            "Offset of field: ",
8376            stringify!(XNoExposeEvent),
8377            "::",
8378            stringify!(send_event)
8379        )
8380    );
8381    assert_eq!(
8382        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).display as *const _ as usize },
8383        24usize,
8384        concat!(
8385            "Offset of field: ",
8386            stringify!(XNoExposeEvent),
8387            "::",
8388            stringify!(display)
8389        )
8390    );
8391    assert_eq!(
8392        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).drawable as *const _ as usize },
8393        32usize,
8394        concat!(
8395            "Offset of field: ",
8396            stringify!(XNoExposeEvent),
8397            "::",
8398            stringify!(drawable)
8399        )
8400    );
8401    assert_eq!(
8402        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).major_code as *const _ as usize },
8403        40usize,
8404        concat!(
8405            "Offset of field: ",
8406            stringify!(XNoExposeEvent),
8407            "::",
8408            stringify!(major_code)
8409        )
8410    );
8411    assert_eq!(
8412        unsafe { &(*(::std::ptr::null::<XNoExposeEvent>())).minor_code as *const _ as usize },
8413        44usize,
8414        concat!(
8415            "Offset of field: ",
8416            stringify!(XNoExposeEvent),
8417            "::",
8418            stringify!(minor_code)
8419        )
8420    );
8421}
8422#[repr(C)]
8423#[derive(Debug, Copy, Clone)]
8424pub struct XVisibilityEvent {
8425    pub type_: ::std::os::raw::c_int,
8426    pub serial: ::std::os::raw::c_ulong,
8427    pub send_event: ::std::os::raw::c_int,
8428    pub display: *mut Display,
8429    pub window: Window,
8430    pub state: ::std::os::raw::c_int,
8431}
8432#[test]
8433fn bindgen_test_layout_XVisibilityEvent() {
8434    assert_eq!(
8435        ::std::mem::size_of::<XVisibilityEvent>(),
8436        48usize,
8437        concat!("Size of: ", stringify!(XVisibilityEvent))
8438    );
8439    assert_eq!(
8440        ::std::mem::align_of::<XVisibilityEvent>(),
8441        8usize,
8442        concat!("Alignment of ", stringify!(XVisibilityEvent))
8443    );
8444    assert_eq!(
8445        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).type_ as *const _ as usize },
8446        0usize,
8447        concat!(
8448            "Offset of field: ",
8449            stringify!(XVisibilityEvent),
8450            "::",
8451            stringify!(type_)
8452        )
8453    );
8454    assert_eq!(
8455        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).serial as *const _ as usize },
8456        8usize,
8457        concat!(
8458            "Offset of field: ",
8459            stringify!(XVisibilityEvent),
8460            "::",
8461            stringify!(serial)
8462        )
8463    );
8464    assert_eq!(
8465        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).send_event as *const _ as usize },
8466        16usize,
8467        concat!(
8468            "Offset of field: ",
8469            stringify!(XVisibilityEvent),
8470            "::",
8471            stringify!(send_event)
8472        )
8473    );
8474    assert_eq!(
8475        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).display as *const _ as usize },
8476        24usize,
8477        concat!(
8478            "Offset of field: ",
8479            stringify!(XVisibilityEvent),
8480            "::",
8481            stringify!(display)
8482        )
8483    );
8484    assert_eq!(
8485        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).window as *const _ as usize },
8486        32usize,
8487        concat!(
8488            "Offset of field: ",
8489            stringify!(XVisibilityEvent),
8490            "::",
8491            stringify!(window)
8492        )
8493    );
8494    assert_eq!(
8495        unsafe { &(*(::std::ptr::null::<XVisibilityEvent>())).state as *const _ as usize },
8496        40usize,
8497        concat!(
8498            "Offset of field: ",
8499            stringify!(XVisibilityEvent),
8500            "::",
8501            stringify!(state)
8502        )
8503    );
8504}
8505#[repr(C)]
8506#[derive(Debug, Copy, Clone)]
8507pub struct XCreateWindowEvent {
8508    pub type_: ::std::os::raw::c_int,
8509    pub serial: ::std::os::raw::c_ulong,
8510    pub send_event: ::std::os::raw::c_int,
8511    pub display: *mut Display,
8512    pub parent: Window,
8513    pub window: Window,
8514    pub x: ::std::os::raw::c_int,
8515    pub y: ::std::os::raw::c_int,
8516    pub width: ::std::os::raw::c_int,
8517    pub height: ::std::os::raw::c_int,
8518    pub border_width: ::std::os::raw::c_int,
8519    pub override_redirect: ::std::os::raw::c_int,
8520}
8521#[test]
8522fn bindgen_test_layout_XCreateWindowEvent() {
8523    assert_eq!(
8524        ::std::mem::size_of::<XCreateWindowEvent>(),
8525        72usize,
8526        concat!("Size of: ", stringify!(XCreateWindowEvent))
8527    );
8528    assert_eq!(
8529        ::std::mem::align_of::<XCreateWindowEvent>(),
8530        8usize,
8531        concat!("Alignment of ", stringify!(XCreateWindowEvent))
8532    );
8533    assert_eq!(
8534        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).type_ as *const _ as usize },
8535        0usize,
8536        concat!(
8537            "Offset of field: ",
8538            stringify!(XCreateWindowEvent),
8539            "::",
8540            stringify!(type_)
8541        )
8542    );
8543    assert_eq!(
8544        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).serial as *const _ as usize },
8545        8usize,
8546        concat!(
8547            "Offset of field: ",
8548            stringify!(XCreateWindowEvent),
8549            "::",
8550            stringify!(serial)
8551        )
8552    );
8553    assert_eq!(
8554        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).send_event as *const _ as usize },
8555        16usize,
8556        concat!(
8557            "Offset of field: ",
8558            stringify!(XCreateWindowEvent),
8559            "::",
8560            stringify!(send_event)
8561        )
8562    );
8563    assert_eq!(
8564        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).display as *const _ as usize },
8565        24usize,
8566        concat!(
8567            "Offset of field: ",
8568            stringify!(XCreateWindowEvent),
8569            "::",
8570            stringify!(display)
8571        )
8572    );
8573    assert_eq!(
8574        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).parent as *const _ as usize },
8575        32usize,
8576        concat!(
8577            "Offset of field: ",
8578            stringify!(XCreateWindowEvent),
8579            "::",
8580            stringify!(parent)
8581        )
8582    );
8583    assert_eq!(
8584        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).window as *const _ as usize },
8585        40usize,
8586        concat!(
8587            "Offset of field: ",
8588            stringify!(XCreateWindowEvent),
8589            "::",
8590            stringify!(window)
8591        )
8592    );
8593    assert_eq!(
8594        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).x as *const _ as usize },
8595        48usize,
8596        concat!(
8597            "Offset of field: ",
8598            stringify!(XCreateWindowEvent),
8599            "::",
8600            stringify!(x)
8601        )
8602    );
8603    assert_eq!(
8604        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).y as *const _ as usize },
8605        52usize,
8606        concat!(
8607            "Offset of field: ",
8608            stringify!(XCreateWindowEvent),
8609            "::",
8610            stringify!(y)
8611        )
8612    );
8613    assert_eq!(
8614        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).width as *const _ as usize },
8615        56usize,
8616        concat!(
8617            "Offset of field: ",
8618            stringify!(XCreateWindowEvent),
8619            "::",
8620            stringify!(width)
8621        )
8622    );
8623    assert_eq!(
8624        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).height as *const _ as usize },
8625        60usize,
8626        concat!(
8627            "Offset of field: ",
8628            stringify!(XCreateWindowEvent),
8629            "::",
8630            stringify!(height)
8631        )
8632    );
8633    assert_eq!(
8634        unsafe { &(*(::std::ptr::null::<XCreateWindowEvent>())).border_width as *const _ as usize },
8635        64usize,
8636        concat!(
8637            "Offset of field: ",
8638            stringify!(XCreateWindowEvent),
8639            "::",
8640            stringify!(border_width)
8641        )
8642    );
8643    assert_eq!(
8644        unsafe {
8645            &(*(::std::ptr::null::<XCreateWindowEvent>())).override_redirect as *const _ as usize
8646        },
8647        68usize,
8648        concat!(
8649            "Offset of field: ",
8650            stringify!(XCreateWindowEvent),
8651            "::",
8652            stringify!(override_redirect)
8653        )
8654    );
8655}
8656#[repr(C)]
8657#[derive(Debug, Copy, Clone)]
8658pub struct XDestroyWindowEvent {
8659    pub type_: ::std::os::raw::c_int,
8660    pub serial: ::std::os::raw::c_ulong,
8661    pub send_event: ::std::os::raw::c_int,
8662    pub display: *mut Display,
8663    pub event: Window,
8664    pub window: Window,
8665}
8666#[test]
8667fn bindgen_test_layout_XDestroyWindowEvent() {
8668    assert_eq!(
8669        ::std::mem::size_of::<XDestroyWindowEvent>(),
8670        48usize,
8671        concat!("Size of: ", stringify!(XDestroyWindowEvent))
8672    );
8673    assert_eq!(
8674        ::std::mem::align_of::<XDestroyWindowEvent>(),
8675        8usize,
8676        concat!("Alignment of ", stringify!(XDestroyWindowEvent))
8677    );
8678    assert_eq!(
8679        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).type_ as *const _ as usize },
8680        0usize,
8681        concat!(
8682            "Offset of field: ",
8683            stringify!(XDestroyWindowEvent),
8684            "::",
8685            stringify!(type_)
8686        )
8687    );
8688    assert_eq!(
8689        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).serial as *const _ as usize },
8690        8usize,
8691        concat!(
8692            "Offset of field: ",
8693            stringify!(XDestroyWindowEvent),
8694            "::",
8695            stringify!(serial)
8696        )
8697    );
8698    assert_eq!(
8699        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).send_event as *const _ as usize },
8700        16usize,
8701        concat!(
8702            "Offset of field: ",
8703            stringify!(XDestroyWindowEvent),
8704            "::",
8705            stringify!(send_event)
8706        )
8707    );
8708    assert_eq!(
8709        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).display as *const _ as usize },
8710        24usize,
8711        concat!(
8712            "Offset of field: ",
8713            stringify!(XDestroyWindowEvent),
8714            "::",
8715            stringify!(display)
8716        )
8717    );
8718    assert_eq!(
8719        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).event as *const _ as usize },
8720        32usize,
8721        concat!(
8722            "Offset of field: ",
8723            stringify!(XDestroyWindowEvent),
8724            "::",
8725            stringify!(event)
8726        )
8727    );
8728    assert_eq!(
8729        unsafe { &(*(::std::ptr::null::<XDestroyWindowEvent>())).window as *const _ as usize },
8730        40usize,
8731        concat!(
8732            "Offset of field: ",
8733            stringify!(XDestroyWindowEvent),
8734            "::",
8735            stringify!(window)
8736        )
8737    );
8738}
8739#[repr(C)]
8740#[derive(Debug, Copy, Clone)]
8741pub struct XUnmapEvent {
8742    pub type_: ::std::os::raw::c_int,
8743    pub serial: ::std::os::raw::c_ulong,
8744    pub send_event: ::std::os::raw::c_int,
8745    pub display: *mut Display,
8746    pub event: Window,
8747    pub window: Window,
8748    pub from_configure: ::std::os::raw::c_int,
8749}
8750#[test]
8751fn bindgen_test_layout_XUnmapEvent() {
8752    assert_eq!(
8753        ::std::mem::size_of::<XUnmapEvent>(),
8754        56usize,
8755        concat!("Size of: ", stringify!(XUnmapEvent))
8756    );
8757    assert_eq!(
8758        ::std::mem::align_of::<XUnmapEvent>(),
8759        8usize,
8760        concat!("Alignment of ", stringify!(XUnmapEvent))
8761    );
8762    assert_eq!(
8763        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).type_ as *const _ as usize },
8764        0usize,
8765        concat!(
8766            "Offset of field: ",
8767            stringify!(XUnmapEvent),
8768            "::",
8769            stringify!(type_)
8770        )
8771    );
8772    assert_eq!(
8773        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).serial as *const _ as usize },
8774        8usize,
8775        concat!(
8776            "Offset of field: ",
8777            stringify!(XUnmapEvent),
8778            "::",
8779            stringify!(serial)
8780        )
8781    );
8782    assert_eq!(
8783        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).send_event as *const _ as usize },
8784        16usize,
8785        concat!(
8786            "Offset of field: ",
8787            stringify!(XUnmapEvent),
8788            "::",
8789            stringify!(send_event)
8790        )
8791    );
8792    assert_eq!(
8793        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).display as *const _ as usize },
8794        24usize,
8795        concat!(
8796            "Offset of field: ",
8797            stringify!(XUnmapEvent),
8798            "::",
8799            stringify!(display)
8800        )
8801    );
8802    assert_eq!(
8803        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).event as *const _ as usize },
8804        32usize,
8805        concat!(
8806            "Offset of field: ",
8807            stringify!(XUnmapEvent),
8808            "::",
8809            stringify!(event)
8810        )
8811    );
8812    assert_eq!(
8813        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).window as *const _ as usize },
8814        40usize,
8815        concat!(
8816            "Offset of field: ",
8817            stringify!(XUnmapEvent),
8818            "::",
8819            stringify!(window)
8820        )
8821    );
8822    assert_eq!(
8823        unsafe { &(*(::std::ptr::null::<XUnmapEvent>())).from_configure as *const _ as usize },
8824        48usize,
8825        concat!(
8826            "Offset of field: ",
8827            stringify!(XUnmapEvent),
8828            "::",
8829            stringify!(from_configure)
8830        )
8831    );
8832}
8833#[repr(C)]
8834#[derive(Debug, Copy, Clone)]
8835pub struct XMapEvent {
8836    pub type_: ::std::os::raw::c_int,
8837    pub serial: ::std::os::raw::c_ulong,
8838    pub send_event: ::std::os::raw::c_int,
8839    pub display: *mut Display,
8840    pub event: Window,
8841    pub window: Window,
8842    pub override_redirect: ::std::os::raw::c_int,
8843}
8844#[test]
8845fn bindgen_test_layout_XMapEvent() {
8846    assert_eq!(
8847        ::std::mem::size_of::<XMapEvent>(),
8848        56usize,
8849        concat!("Size of: ", stringify!(XMapEvent))
8850    );
8851    assert_eq!(
8852        ::std::mem::align_of::<XMapEvent>(),
8853        8usize,
8854        concat!("Alignment of ", stringify!(XMapEvent))
8855    );
8856    assert_eq!(
8857        unsafe { &(*(::std::ptr::null::<XMapEvent>())).type_ as *const _ as usize },
8858        0usize,
8859        concat!(
8860            "Offset of field: ",
8861            stringify!(XMapEvent),
8862            "::",
8863            stringify!(type_)
8864        )
8865    );
8866    assert_eq!(
8867        unsafe { &(*(::std::ptr::null::<XMapEvent>())).serial as *const _ as usize },
8868        8usize,
8869        concat!(
8870            "Offset of field: ",
8871            stringify!(XMapEvent),
8872            "::",
8873            stringify!(serial)
8874        )
8875    );
8876    assert_eq!(
8877        unsafe { &(*(::std::ptr::null::<XMapEvent>())).send_event as *const _ as usize },
8878        16usize,
8879        concat!(
8880            "Offset of field: ",
8881            stringify!(XMapEvent),
8882            "::",
8883            stringify!(send_event)
8884        )
8885    );
8886    assert_eq!(
8887        unsafe { &(*(::std::ptr::null::<XMapEvent>())).display as *const _ as usize },
8888        24usize,
8889        concat!(
8890            "Offset of field: ",
8891            stringify!(XMapEvent),
8892            "::",
8893            stringify!(display)
8894        )
8895    );
8896    assert_eq!(
8897        unsafe { &(*(::std::ptr::null::<XMapEvent>())).event as *const _ as usize },
8898        32usize,
8899        concat!(
8900            "Offset of field: ",
8901            stringify!(XMapEvent),
8902            "::",
8903            stringify!(event)
8904        )
8905    );
8906    assert_eq!(
8907        unsafe { &(*(::std::ptr::null::<XMapEvent>())).window as *const _ as usize },
8908        40usize,
8909        concat!(
8910            "Offset of field: ",
8911            stringify!(XMapEvent),
8912            "::",
8913            stringify!(window)
8914        )
8915    );
8916    assert_eq!(
8917        unsafe { &(*(::std::ptr::null::<XMapEvent>())).override_redirect as *const _ as usize },
8918        48usize,
8919        concat!(
8920            "Offset of field: ",
8921            stringify!(XMapEvent),
8922            "::",
8923            stringify!(override_redirect)
8924        )
8925    );
8926}
8927#[repr(C)]
8928#[derive(Debug, Copy, Clone)]
8929pub struct XMapRequestEvent {
8930    pub type_: ::std::os::raw::c_int,
8931    pub serial: ::std::os::raw::c_ulong,
8932    pub send_event: ::std::os::raw::c_int,
8933    pub display: *mut Display,
8934    pub parent: Window,
8935    pub window: Window,
8936}
8937#[test]
8938fn bindgen_test_layout_XMapRequestEvent() {
8939    assert_eq!(
8940        ::std::mem::size_of::<XMapRequestEvent>(),
8941        48usize,
8942        concat!("Size of: ", stringify!(XMapRequestEvent))
8943    );
8944    assert_eq!(
8945        ::std::mem::align_of::<XMapRequestEvent>(),
8946        8usize,
8947        concat!("Alignment of ", stringify!(XMapRequestEvent))
8948    );
8949    assert_eq!(
8950        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).type_ as *const _ as usize },
8951        0usize,
8952        concat!(
8953            "Offset of field: ",
8954            stringify!(XMapRequestEvent),
8955            "::",
8956            stringify!(type_)
8957        )
8958    );
8959    assert_eq!(
8960        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).serial as *const _ as usize },
8961        8usize,
8962        concat!(
8963            "Offset of field: ",
8964            stringify!(XMapRequestEvent),
8965            "::",
8966            stringify!(serial)
8967        )
8968    );
8969    assert_eq!(
8970        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).send_event as *const _ as usize },
8971        16usize,
8972        concat!(
8973            "Offset of field: ",
8974            stringify!(XMapRequestEvent),
8975            "::",
8976            stringify!(send_event)
8977        )
8978    );
8979    assert_eq!(
8980        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).display as *const _ as usize },
8981        24usize,
8982        concat!(
8983            "Offset of field: ",
8984            stringify!(XMapRequestEvent),
8985            "::",
8986            stringify!(display)
8987        )
8988    );
8989    assert_eq!(
8990        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).parent as *const _ as usize },
8991        32usize,
8992        concat!(
8993            "Offset of field: ",
8994            stringify!(XMapRequestEvent),
8995            "::",
8996            stringify!(parent)
8997        )
8998    );
8999    assert_eq!(
9000        unsafe { &(*(::std::ptr::null::<XMapRequestEvent>())).window as *const _ as usize },
9001        40usize,
9002        concat!(
9003            "Offset of field: ",
9004            stringify!(XMapRequestEvent),
9005            "::",
9006            stringify!(window)
9007        )
9008    );
9009}
9010#[repr(C)]
9011#[derive(Debug, Copy, Clone)]
9012pub struct XReparentEvent {
9013    pub type_: ::std::os::raw::c_int,
9014    pub serial: ::std::os::raw::c_ulong,
9015    pub send_event: ::std::os::raw::c_int,
9016    pub display: *mut Display,
9017    pub event: Window,
9018    pub window: Window,
9019    pub parent: Window,
9020    pub x: ::std::os::raw::c_int,
9021    pub y: ::std::os::raw::c_int,
9022    pub override_redirect: ::std::os::raw::c_int,
9023}
9024#[test]
9025fn bindgen_test_layout_XReparentEvent() {
9026    assert_eq!(
9027        ::std::mem::size_of::<XReparentEvent>(),
9028        72usize,
9029        concat!("Size of: ", stringify!(XReparentEvent))
9030    );
9031    assert_eq!(
9032        ::std::mem::align_of::<XReparentEvent>(),
9033        8usize,
9034        concat!("Alignment of ", stringify!(XReparentEvent))
9035    );
9036    assert_eq!(
9037        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).type_ as *const _ as usize },
9038        0usize,
9039        concat!(
9040            "Offset of field: ",
9041            stringify!(XReparentEvent),
9042            "::",
9043            stringify!(type_)
9044        )
9045    );
9046    assert_eq!(
9047        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).serial as *const _ as usize },
9048        8usize,
9049        concat!(
9050            "Offset of field: ",
9051            stringify!(XReparentEvent),
9052            "::",
9053            stringify!(serial)
9054        )
9055    );
9056    assert_eq!(
9057        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).send_event as *const _ as usize },
9058        16usize,
9059        concat!(
9060            "Offset of field: ",
9061            stringify!(XReparentEvent),
9062            "::",
9063            stringify!(send_event)
9064        )
9065    );
9066    assert_eq!(
9067        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).display as *const _ as usize },
9068        24usize,
9069        concat!(
9070            "Offset of field: ",
9071            stringify!(XReparentEvent),
9072            "::",
9073            stringify!(display)
9074        )
9075    );
9076    assert_eq!(
9077        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).event as *const _ as usize },
9078        32usize,
9079        concat!(
9080            "Offset of field: ",
9081            stringify!(XReparentEvent),
9082            "::",
9083            stringify!(event)
9084        )
9085    );
9086    assert_eq!(
9087        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).window as *const _ as usize },
9088        40usize,
9089        concat!(
9090            "Offset of field: ",
9091            stringify!(XReparentEvent),
9092            "::",
9093            stringify!(window)
9094        )
9095    );
9096    assert_eq!(
9097        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).parent as *const _ as usize },
9098        48usize,
9099        concat!(
9100            "Offset of field: ",
9101            stringify!(XReparentEvent),
9102            "::",
9103            stringify!(parent)
9104        )
9105    );
9106    assert_eq!(
9107        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).x as *const _ as usize },
9108        56usize,
9109        concat!(
9110            "Offset of field: ",
9111            stringify!(XReparentEvent),
9112            "::",
9113            stringify!(x)
9114        )
9115    );
9116    assert_eq!(
9117        unsafe { &(*(::std::ptr::null::<XReparentEvent>())).y as *const _ as usize },
9118        60usize,
9119        concat!(
9120            "Offset of field: ",
9121            stringify!(XReparentEvent),
9122            "::",
9123            stringify!(y)
9124        )
9125    );
9126    assert_eq!(
9127        unsafe {
9128            &(*(::std::ptr::null::<XReparentEvent>())).override_redirect as *const _ as usize
9129        },
9130        64usize,
9131        concat!(
9132            "Offset of field: ",
9133            stringify!(XReparentEvent),
9134            "::",
9135            stringify!(override_redirect)
9136        )
9137    );
9138}
9139#[repr(C)]
9140#[derive(Debug, Copy, Clone)]
9141pub struct XConfigureEvent {
9142    pub type_: ::std::os::raw::c_int,
9143    pub serial: ::std::os::raw::c_ulong,
9144    pub send_event: ::std::os::raw::c_int,
9145    pub display: *mut Display,
9146    pub event: Window,
9147    pub window: Window,
9148    pub x: ::std::os::raw::c_int,
9149    pub y: ::std::os::raw::c_int,
9150    pub width: ::std::os::raw::c_int,
9151    pub height: ::std::os::raw::c_int,
9152    pub border_width: ::std::os::raw::c_int,
9153    pub above: Window,
9154    pub override_redirect: ::std::os::raw::c_int,
9155}
9156#[test]
9157fn bindgen_test_layout_XConfigureEvent() {
9158    assert_eq!(
9159        ::std::mem::size_of::<XConfigureEvent>(),
9160        88usize,
9161        concat!("Size of: ", stringify!(XConfigureEvent))
9162    );
9163    assert_eq!(
9164        ::std::mem::align_of::<XConfigureEvent>(),
9165        8usize,
9166        concat!("Alignment of ", stringify!(XConfigureEvent))
9167    );
9168    assert_eq!(
9169        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).type_ as *const _ as usize },
9170        0usize,
9171        concat!(
9172            "Offset of field: ",
9173            stringify!(XConfigureEvent),
9174            "::",
9175            stringify!(type_)
9176        )
9177    );
9178    assert_eq!(
9179        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).serial as *const _ as usize },
9180        8usize,
9181        concat!(
9182            "Offset of field: ",
9183            stringify!(XConfigureEvent),
9184            "::",
9185            stringify!(serial)
9186        )
9187    );
9188    assert_eq!(
9189        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).send_event as *const _ as usize },
9190        16usize,
9191        concat!(
9192            "Offset of field: ",
9193            stringify!(XConfigureEvent),
9194            "::",
9195            stringify!(send_event)
9196        )
9197    );
9198    assert_eq!(
9199        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).display as *const _ as usize },
9200        24usize,
9201        concat!(
9202            "Offset of field: ",
9203            stringify!(XConfigureEvent),
9204            "::",
9205            stringify!(display)
9206        )
9207    );
9208    assert_eq!(
9209        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).event as *const _ as usize },
9210        32usize,
9211        concat!(
9212            "Offset of field: ",
9213            stringify!(XConfigureEvent),
9214            "::",
9215            stringify!(event)
9216        )
9217    );
9218    assert_eq!(
9219        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).window as *const _ as usize },
9220        40usize,
9221        concat!(
9222            "Offset of field: ",
9223            stringify!(XConfigureEvent),
9224            "::",
9225            stringify!(window)
9226        )
9227    );
9228    assert_eq!(
9229        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).x as *const _ as usize },
9230        48usize,
9231        concat!(
9232            "Offset of field: ",
9233            stringify!(XConfigureEvent),
9234            "::",
9235            stringify!(x)
9236        )
9237    );
9238    assert_eq!(
9239        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).y as *const _ as usize },
9240        52usize,
9241        concat!(
9242            "Offset of field: ",
9243            stringify!(XConfigureEvent),
9244            "::",
9245            stringify!(y)
9246        )
9247    );
9248    assert_eq!(
9249        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).width as *const _ as usize },
9250        56usize,
9251        concat!(
9252            "Offset of field: ",
9253            stringify!(XConfigureEvent),
9254            "::",
9255            stringify!(width)
9256        )
9257    );
9258    assert_eq!(
9259        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).height as *const _ as usize },
9260        60usize,
9261        concat!(
9262            "Offset of field: ",
9263            stringify!(XConfigureEvent),
9264            "::",
9265            stringify!(height)
9266        )
9267    );
9268    assert_eq!(
9269        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).border_width as *const _ as usize },
9270        64usize,
9271        concat!(
9272            "Offset of field: ",
9273            stringify!(XConfigureEvent),
9274            "::",
9275            stringify!(border_width)
9276        )
9277    );
9278    assert_eq!(
9279        unsafe { &(*(::std::ptr::null::<XConfigureEvent>())).above as *const _ as usize },
9280        72usize,
9281        concat!(
9282            "Offset of field: ",
9283            stringify!(XConfigureEvent),
9284            "::",
9285            stringify!(above)
9286        )
9287    );
9288    assert_eq!(
9289        unsafe {
9290            &(*(::std::ptr::null::<XConfigureEvent>())).override_redirect as *const _ as usize
9291        },
9292        80usize,
9293        concat!(
9294            "Offset of field: ",
9295            stringify!(XConfigureEvent),
9296            "::",
9297            stringify!(override_redirect)
9298        )
9299    );
9300}
9301#[repr(C)]
9302#[derive(Debug, Copy, Clone)]
9303pub struct XGravityEvent {
9304    pub type_: ::std::os::raw::c_int,
9305    pub serial: ::std::os::raw::c_ulong,
9306    pub send_event: ::std::os::raw::c_int,
9307    pub display: *mut Display,
9308    pub event: Window,
9309    pub window: Window,
9310    pub x: ::std::os::raw::c_int,
9311    pub y: ::std::os::raw::c_int,
9312}
9313#[test]
9314fn bindgen_test_layout_XGravityEvent() {
9315    assert_eq!(
9316        ::std::mem::size_of::<XGravityEvent>(),
9317        56usize,
9318        concat!("Size of: ", stringify!(XGravityEvent))
9319    );
9320    assert_eq!(
9321        ::std::mem::align_of::<XGravityEvent>(),
9322        8usize,
9323        concat!("Alignment of ", stringify!(XGravityEvent))
9324    );
9325    assert_eq!(
9326        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).type_ as *const _ as usize },
9327        0usize,
9328        concat!(
9329            "Offset of field: ",
9330            stringify!(XGravityEvent),
9331            "::",
9332            stringify!(type_)
9333        )
9334    );
9335    assert_eq!(
9336        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).serial as *const _ as usize },
9337        8usize,
9338        concat!(
9339            "Offset of field: ",
9340            stringify!(XGravityEvent),
9341            "::",
9342            stringify!(serial)
9343        )
9344    );
9345    assert_eq!(
9346        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).send_event as *const _ as usize },
9347        16usize,
9348        concat!(
9349            "Offset of field: ",
9350            stringify!(XGravityEvent),
9351            "::",
9352            stringify!(send_event)
9353        )
9354    );
9355    assert_eq!(
9356        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).display as *const _ as usize },
9357        24usize,
9358        concat!(
9359            "Offset of field: ",
9360            stringify!(XGravityEvent),
9361            "::",
9362            stringify!(display)
9363        )
9364    );
9365    assert_eq!(
9366        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).event as *const _ as usize },
9367        32usize,
9368        concat!(
9369            "Offset of field: ",
9370            stringify!(XGravityEvent),
9371            "::",
9372            stringify!(event)
9373        )
9374    );
9375    assert_eq!(
9376        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).window as *const _ as usize },
9377        40usize,
9378        concat!(
9379            "Offset of field: ",
9380            stringify!(XGravityEvent),
9381            "::",
9382            stringify!(window)
9383        )
9384    );
9385    assert_eq!(
9386        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).x as *const _ as usize },
9387        48usize,
9388        concat!(
9389            "Offset of field: ",
9390            stringify!(XGravityEvent),
9391            "::",
9392            stringify!(x)
9393        )
9394    );
9395    assert_eq!(
9396        unsafe { &(*(::std::ptr::null::<XGravityEvent>())).y as *const _ as usize },
9397        52usize,
9398        concat!(
9399            "Offset of field: ",
9400            stringify!(XGravityEvent),
9401            "::",
9402            stringify!(y)
9403        )
9404    );
9405}
9406#[repr(C)]
9407#[derive(Debug, Copy, Clone)]
9408pub struct XResizeRequestEvent {
9409    pub type_: ::std::os::raw::c_int,
9410    pub serial: ::std::os::raw::c_ulong,
9411    pub send_event: ::std::os::raw::c_int,
9412    pub display: *mut Display,
9413    pub window: Window,
9414    pub width: ::std::os::raw::c_int,
9415    pub height: ::std::os::raw::c_int,
9416}
9417#[test]
9418fn bindgen_test_layout_XResizeRequestEvent() {
9419    assert_eq!(
9420        ::std::mem::size_of::<XResizeRequestEvent>(),
9421        48usize,
9422        concat!("Size of: ", stringify!(XResizeRequestEvent))
9423    );
9424    assert_eq!(
9425        ::std::mem::align_of::<XResizeRequestEvent>(),
9426        8usize,
9427        concat!("Alignment of ", stringify!(XResizeRequestEvent))
9428    );
9429    assert_eq!(
9430        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).type_ as *const _ as usize },
9431        0usize,
9432        concat!(
9433            "Offset of field: ",
9434            stringify!(XResizeRequestEvent),
9435            "::",
9436            stringify!(type_)
9437        )
9438    );
9439    assert_eq!(
9440        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).serial as *const _ as usize },
9441        8usize,
9442        concat!(
9443            "Offset of field: ",
9444            stringify!(XResizeRequestEvent),
9445            "::",
9446            stringify!(serial)
9447        )
9448    );
9449    assert_eq!(
9450        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).send_event as *const _ as usize },
9451        16usize,
9452        concat!(
9453            "Offset of field: ",
9454            stringify!(XResizeRequestEvent),
9455            "::",
9456            stringify!(send_event)
9457        )
9458    );
9459    assert_eq!(
9460        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).display as *const _ as usize },
9461        24usize,
9462        concat!(
9463            "Offset of field: ",
9464            stringify!(XResizeRequestEvent),
9465            "::",
9466            stringify!(display)
9467        )
9468    );
9469    assert_eq!(
9470        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).window as *const _ as usize },
9471        32usize,
9472        concat!(
9473            "Offset of field: ",
9474            stringify!(XResizeRequestEvent),
9475            "::",
9476            stringify!(window)
9477        )
9478    );
9479    assert_eq!(
9480        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).width as *const _ as usize },
9481        40usize,
9482        concat!(
9483            "Offset of field: ",
9484            stringify!(XResizeRequestEvent),
9485            "::",
9486            stringify!(width)
9487        )
9488    );
9489    assert_eq!(
9490        unsafe { &(*(::std::ptr::null::<XResizeRequestEvent>())).height as *const _ as usize },
9491        44usize,
9492        concat!(
9493            "Offset of field: ",
9494            stringify!(XResizeRequestEvent),
9495            "::",
9496            stringify!(height)
9497        )
9498    );
9499}
9500#[repr(C)]
9501#[derive(Debug, Copy, Clone)]
9502pub struct XConfigureRequestEvent {
9503    pub type_: ::std::os::raw::c_int,
9504    pub serial: ::std::os::raw::c_ulong,
9505    pub send_event: ::std::os::raw::c_int,
9506    pub display: *mut Display,
9507    pub parent: Window,
9508    pub window: Window,
9509    pub x: ::std::os::raw::c_int,
9510    pub y: ::std::os::raw::c_int,
9511    pub width: ::std::os::raw::c_int,
9512    pub height: ::std::os::raw::c_int,
9513    pub border_width: ::std::os::raw::c_int,
9514    pub above: Window,
9515    pub detail: ::std::os::raw::c_int,
9516    pub value_mask: ::std::os::raw::c_ulong,
9517}
9518#[test]
9519fn bindgen_test_layout_XConfigureRequestEvent() {
9520    assert_eq!(
9521        ::std::mem::size_of::<XConfigureRequestEvent>(),
9522        96usize,
9523        concat!("Size of: ", stringify!(XConfigureRequestEvent))
9524    );
9525    assert_eq!(
9526        ::std::mem::align_of::<XConfigureRequestEvent>(),
9527        8usize,
9528        concat!("Alignment of ", stringify!(XConfigureRequestEvent))
9529    );
9530    assert_eq!(
9531        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).type_ as *const _ as usize },
9532        0usize,
9533        concat!(
9534            "Offset of field: ",
9535            stringify!(XConfigureRequestEvent),
9536            "::",
9537            stringify!(type_)
9538        )
9539    );
9540    assert_eq!(
9541        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).serial as *const _ as usize },
9542        8usize,
9543        concat!(
9544            "Offset of field: ",
9545            stringify!(XConfigureRequestEvent),
9546            "::",
9547            stringify!(serial)
9548        )
9549    );
9550    assert_eq!(
9551        unsafe {
9552            &(*(::std::ptr::null::<XConfigureRequestEvent>())).send_event as *const _ as usize
9553        },
9554        16usize,
9555        concat!(
9556            "Offset of field: ",
9557            stringify!(XConfigureRequestEvent),
9558            "::",
9559            stringify!(send_event)
9560        )
9561    );
9562    assert_eq!(
9563        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).display as *const _ as usize },
9564        24usize,
9565        concat!(
9566            "Offset of field: ",
9567            stringify!(XConfigureRequestEvent),
9568            "::",
9569            stringify!(display)
9570        )
9571    );
9572    assert_eq!(
9573        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).parent as *const _ as usize },
9574        32usize,
9575        concat!(
9576            "Offset of field: ",
9577            stringify!(XConfigureRequestEvent),
9578            "::",
9579            stringify!(parent)
9580        )
9581    );
9582    assert_eq!(
9583        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).window as *const _ as usize },
9584        40usize,
9585        concat!(
9586            "Offset of field: ",
9587            stringify!(XConfigureRequestEvent),
9588            "::",
9589            stringify!(window)
9590        )
9591    );
9592    assert_eq!(
9593        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).x as *const _ as usize },
9594        48usize,
9595        concat!(
9596            "Offset of field: ",
9597            stringify!(XConfigureRequestEvent),
9598            "::",
9599            stringify!(x)
9600        )
9601    );
9602    assert_eq!(
9603        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).y as *const _ as usize },
9604        52usize,
9605        concat!(
9606            "Offset of field: ",
9607            stringify!(XConfigureRequestEvent),
9608            "::",
9609            stringify!(y)
9610        )
9611    );
9612    assert_eq!(
9613        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).width as *const _ as usize },
9614        56usize,
9615        concat!(
9616            "Offset of field: ",
9617            stringify!(XConfigureRequestEvent),
9618            "::",
9619            stringify!(width)
9620        )
9621    );
9622    assert_eq!(
9623        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).height as *const _ as usize },
9624        60usize,
9625        concat!(
9626            "Offset of field: ",
9627            stringify!(XConfigureRequestEvent),
9628            "::",
9629            stringify!(height)
9630        )
9631    );
9632    assert_eq!(
9633        unsafe {
9634            &(*(::std::ptr::null::<XConfigureRequestEvent>())).border_width as *const _ as usize
9635        },
9636        64usize,
9637        concat!(
9638            "Offset of field: ",
9639            stringify!(XConfigureRequestEvent),
9640            "::",
9641            stringify!(border_width)
9642        )
9643    );
9644    assert_eq!(
9645        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).above as *const _ as usize },
9646        72usize,
9647        concat!(
9648            "Offset of field: ",
9649            stringify!(XConfigureRequestEvent),
9650            "::",
9651            stringify!(above)
9652        )
9653    );
9654    assert_eq!(
9655        unsafe { &(*(::std::ptr::null::<XConfigureRequestEvent>())).detail as *const _ as usize },
9656        80usize,
9657        concat!(
9658            "Offset of field: ",
9659            stringify!(XConfigureRequestEvent),
9660            "::",
9661            stringify!(detail)
9662        )
9663    );
9664    assert_eq!(
9665        unsafe {
9666            &(*(::std::ptr::null::<XConfigureRequestEvent>())).value_mask as *const _ as usize
9667        },
9668        88usize,
9669        concat!(
9670            "Offset of field: ",
9671            stringify!(XConfigureRequestEvent),
9672            "::",
9673            stringify!(value_mask)
9674        )
9675    );
9676}
9677#[repr(C)]
9678#[derive(Debug, Copy, Clone)]
9679pub struct XCirculateEvent {
9680    pub type_: ::std::os::raw::c_int,
9681    pub serial: ::std::os::raw::c_ulong,
9682    pub send_event: ::std::os::raw::c_int,
9683    pub display: *mut Display,
9684    pub event: Window,
9685    pub window: Window,
9686    pub place: ::std::os::raw::c_int,
9687}
9688#[test]
9689fn bindgen_test_layout_XCirculateEvent() {
9690    assert_eq!(
9691        ::std::mem::size_of::<XCirculateEvent>(),
9692        56usize,
9693        concat!("Size of: ", stringify!(XCirculateEvent))
9694    );
9695    assert_eq!(
9696        ::std::mem::align_of::<XCirculateEvent>(),
9697        8usize,
9698        concat!("Alignment of ", stringify!(XCirculateEvent))
9699    );
9700    assert_eq!(
9701        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).type_ as *const _ as usize },
9702        0usize,
9703        concat!(
9704            "Offset of field: ",
9705            stringify!(XCirculateEvent),
9706            "::",
9707            stringify!(type_)
9708        )
9709    );
9710    assert_eq!(
9711        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).serial as *const _ as usize },
9712        8usize,
9713        concat!(
9714            "Offset of field: ",
9715            stringify!(XCirculateEvent),
9716            "::",
9717            stringify!(serial)
9718        )
9719    );
9720    assert_eq!(
9721        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).send_event as *const _ as usize },
9722        16usize,
9723        concat!(
9724            "Offset of field: ",
9725            stringify!(XCirculateEvent),
9726            "::",
9727            stringify!(send_event)
9728        )
9729    );
9730    assert_eq!(
9731        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).display as *const _ as usize },
9732        24usize,
9733        concat!(
9734            "Offset of field: ",
9735            stringify!(XCirculateEvent),
9736            "::",
9737            stringify!(display)
9738        )
9739    );
9740    assert_eq!(
9741        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).event as *const _ as usize },
9742        32usize,
9743        concat!(
9744            "Offset of field: ",
9745            stringify!(XCirculateEvent),
9746            "::",
9747            stringify!(event)
9748        )
9749    );
9750    assert_eq!(
9751        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).window as *const _ as usize },
9752        40usize,
9753        concat!(
9754            "Offset of field: ",
9755            stringify!(XCirculateEvent),
9756            "::",
9757            stringify!(window)
9758        )
9759    );
9760    assert_eq!(
9761        unsafe { &(*(::std::ptr::null::<XCirculateEvent>())).place as *const _ as usize },
9762        48usize,
9763        concat!(
9764            "Offset of field: ",
9765            stringify!(XCirculateEvent),
9766            "::",
9767            stringify!(place)
9768        )
9769    );
9770}
9771#[repr(C)]
9772#[derive(Debug, Copy, Clone)]
9773pub struct XCirculateRequestEvent {
9774    pub type_: ::std::os::raw::c_int,
9775    pub serial: ::std::os::raw::c_ulong,
9776    pub send_event: ::std::os::raw::c_int,
9777    pub display: *mut Display,
9778    pub parent: Window,
9779    pub window: Window,
9780    pub place: ::std::os::raw::c_int,
9781}
9782#[test]
9783fn bindgen_test_layout_XCirculateRequestEvent() {
9784    assert_eq!(
9785        ::std::mem::size_of::<XCirculateRequestEvent>(),
9786        56usize,
9787        concat!("Size of: ", stringify!(XCirculateRequestEvent))
9788    );
9789    assert_eq!(
9790        ::std::mem::align_of::<XCirculateRequestEvent>(),
9791        8usize,
9792        concat!("Alignment of ", stringify!(XCirculateRequestEvent))
9793    );
9794    assert_eq!(
9795        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).type_ as *const _ as usize },
9796        0usize,
9797        concat!(
9798            "Offset of field: ",
9799            stringify!(XCirculateRequestEvent),
9800            "::",
9801            stringify!(type_)
9802        )
9803    );
9804    assert_eq!(
9805        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).serial as *const _ as usize },
9806        8usize,
9807        concat!(
9808            "Offset of field: ",
9809            stringify!(XCirculateRequestEvent),
9810            "::",
9811            stringify!(serial)
9812        )
9813    );
9814    assert_eq!(
9815        unsafe {
9816            &(*(::std::ptr::null::<XCirculateRequestEvent>())).send_event as *const _ as usize
9817        },
9818        16usize,
9819        concat!(
9820            "Offset of field: ",
9821            stringify!(XCirculateRequestEvent),
9822            "::",
9823            stringify!(send_event)
9824        )
9825    );
9826    assert_eq!(
9827        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).display as *const _ as usize },
9828        24usize,
9829        concat!(
9830            "Offset of field: ",
9831            stringify!(XCirculateRequestEvent),
9832            "::",
9833            stringify!(display)
9834        )
9835    );
9836    assert_eq!(
9837        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).parent as *const _ as usize },
9838        32usize,
9839        concat!(
9840            "Offset of field: ",
9841            stringify!(XCirculateRequestEvent),
9842            "::",
9843            stringify!(parent)
9844        )
9845    );
9846    assert_eq!(
9847        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).window as *const _ as usize },
9848        40usize,
9849        concat!(
9850            "Offset of field: ",
9851            stringify!(XCirculateRequestEvent),
9852            "::",
9853            stringify!(window)
9854        )
9855    );
9856    assert_eq!(
9857        unsafe { &(*(::std::ptr::null::<XCirculateRequestEvent>())).place as *const _ as usize },
9858        48usize,
9859        concat!(
9860            "Offset of field: ",
9861            stringify!(XCirculateRequestEvent),
9862            "::",
9863            stringify!(place)
9864        )
9865    );
9866}
9867#[repr(C)]
9868#[derive(Debug, Copy, Clone)]
9869pub struct XPropertyEvent {
9870    pub type_: ::std::os::raw::c_int,
9871    pub serial: ::std::os::raw::c_ulong,
9872    pub send_event: ::std::os::raw::c_int,
9873    pub display: *mut Display,
9874    pub window: Window,
9875    pub atom: Atom,
9876    pub time: Time,
9877    pub state: ::std::os::raw::c_int,
9878}
9879#[test]
9880fn bindgen_test_layout_XPropertyEvent() {
9881    assert_eq!(
9882        ::std::mem::size_of::<XPropertyEvent>(),
9883        64usize,
9884        concat!("Size of: ", stringify!(XPropertyEvent))
9885    );
9886    assert_eq!(
9887        ::std::mem::align_of::<XPropertyEvent>(),
9888        8usize,
9889        concat!("Alignment of ", stringify!(XPropertyEvent))
9890    );
9891    assert_eq!(
9892        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).type_ as *const _ as usize },
9893        0usize,
9894        concat!(
9895            "Offset of field: ",
9896            stringify!(XPropertyEvent),
9897            "::",
9898            stringify!(type_)
9899        )
9900    );
9901    assert_eq!(
9902        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).serial as *const _ as usize },
9903        8usize,
9904        concat!(
9905            "Offset of field: ",
9906            stringify!(XPropertyEvent),
9907            "::",
9908            stringify!(serial)
9909        )
9910    );
9911    assert_eq!(
9912        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).send_event as *const _ as usize },
9913        16usize,
9914        concat!(
9915            "Offset of field: ",
9916            stringify!(XPropertyEvent),
9917            "::",
9918            stringify!(send_event)
9919        )
9920    );
9921    assert_eq!(
9922        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).display as *const _ as usize },
9923        24usize,
9924        concat!(
9925            "Offset of field: ",
9926            stringify!(XPropertyEvent),
9927            "::",
9928            stringify!(display)
9929        )
9930    );
9931    assert_eq!(
9932        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).window as *const _ as usize },
9933        32usize,
9934        concat!(
9935            "Offset of field: ",
9936            stringify!(XPropertyEvent),
9937            "::",
9938            stringify!(window)
9939        )
9940    );
9941    assert_eq!(
9942        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).atom as *const _ as usize },
9943        40usize,
9944        concat!(
9945            "Offset of field: ",
9946            stringify!(XPropertyEvent),
9947            "::",
9948            stringify!(atom)
9949        )
9950    );
9951    assert_eq!(
9952        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).time as *const _ as usize },
9953        48usize,
9954        concat!(
9955            "Offset of field: ",
9956            stringify!(XPropertyEvent),
9957            "::",
9958            stringify!(time)
9959        )
9960    );
9961    assert_eq!(
9962        unsafe { &(*(::std::ptr::null::<XPropertyEvent>())).state as *const _ as usize },
9963        56usize,
9964        concat!(
9965            "Offset of field: ",
9966            stringify!(XPropertyEvent),
9967            "::",
9968            stringify!(state)
9969        )
9970    );
9971}
9972#[repr(C)]
9973#[derive(Debug, Copy, Clone)]
9974pub struct XSelectionClearEvent {
9975    pub type_: ::std::os::raw::c_int,
9976    pub serial: ::std::os::raw::c_ulong,
9977    pub send_event: ::std::os::raw::c_int,
9978    pub display: *mut Display,
9979    pub window: Window,
9980    pub selection: Atom,
9981    pub time: Time,
9982}
9983#[test]
9984fn bindgen_test_layout_XSelectionClearEvent() {
9985    assert_eq!(
9986        ::std::mem::size_of::<XSelectionClearEvent>(),
9987        56usize,
9988        concat!("Size of: ", stringify!(XSelectionClearEvent))
9989    );
9990    assert_eq!(
9991        ::std::mem::align_of::<XSelectionClearEvent>(),
9992        8usize,
9993        concat!("Alignment of ", stringify!(XSelectionClearEvent))
9994    );
9995    assert_eq!(
9996        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).type_ as *const _ as usize },
9997        0usize,
9998        concat!(
9999            "Offset of field: ",
10000            stringify!(XSelectionClearEvent),
10001            "::",
10002            stringify!(type_)
10003        )
10004    );
10005    assert_eq!(
10006        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).serial as *const _ as usize },
10007        8usize,
10008        concat!(
10009            "Offset of field: ",
10010            stringify!(XSelectionClearEvent),
10011            "::",
10012            stringify!(serial)
10013        )
10014    );
10015    assert_eq!(
10016        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).send_event as *const _ as usize },
10017        16usize,
10018        concat!(
10019            "Offset of field: ",
10020            stringify!(XSelectionClearEvent),
10021            "::",
10022            stringify!(send_event)
10023        )
10024    );
10025    assert_eq!(
10026        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).display as *const _ as usize },
10027        24usize,
10028        concat!(
10029            "Offset of field: ",
10030            stringify!(XSelectionClearEvent),
10031            "::",
10032            stringify!(display)
10033        )
10034    );
10035    assert_eq!(
10036        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).window as *const _ as usize },
10037        32usize,
10038        concat!(
10039            "Offset of field: ",
10040            stringify!(XSelectionClearEvent),
10041            "::",
10042            stringify!(window)
10043        )
10044    );
10045    assert_eq!(
10046        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).selection as *const _ as usize },
10047        40usize,
10048        concat!(
10049            "Offset of field: ",
10050            stringify!(XSelectionClearEvent),
10051            "::",
10052            stringify!(selection)
10053        )
10054    );
10055    assert_eq!(
10056        unsafe { &(*(::std::ptr::null::<XSelectionClearEvent>())).time as *const _ as usize },
10057        48usize,
10058        concat!(
10059            "Offset of field: ",
10060            stringify!(XSelectionClearEvent),
10061            "::",
10062            stringify!(time)
10063        )
10064    );
10065}
10066#[repr(C)]
10067#[derive(Debug, Copy, Clone)]
10068pub struct XSelectionRequestEvent {
10069    pub type_: ::std::os::raw::c_int,
10070    pub serial: ::std::os::raw::c_ulong,
10071    pub send_event: ::std::os::raw::c_int,
10072    pub display: *mut Display,
10073    pub owner: Window,
10074    pub requestor: Window,
10075    pub selection: Atom,
10076    pub target: Atom,
10077    pub property: Atom,
10078    pub time: Time,
10079}
10080#[test]
10081fn bindgen_test_layout_XSelectionRequestEvent() {
10082    assert_eq!(
10083        ::std::mem::size_of::<XSelectionRequestEvent>(),
10084        80usize,
10085        concat!("Size of: ", stringify!(XSelectionRequestEvent))
10086    );
10087    assert_eq!(
10088        ::std::mem::align_of::<XSelectionRequestEvent>(),
10089        8usize,
10090        concat!("Alignment of ", stringify!(XSelectionRequestEvent))
10091    );
10092    assert_eq!(
10093        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).type_ as *const _ as usize },
10094        0usize,
10095        concat!(
10096            "Offset of field: ",
10097            stringify!(XSelectionRequestEvent),
10098            "::",
10099            stringify!(type_)
10100        )
10101    );
10102    assert_eq!(
10103        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).serial as *const _ as usize },
10104        8usize,
10105        concat!(
10106            "Offset of field: ",
10107            stringify!(XSelectionRequestEvent),
10108            "::",
10109            stringify!(serial)
10110        )
10111    );
10112    assert_eq!(
10113        unsafe {
10114            &(*(::std::ptr::null::<XSelectionRequestEvent>())).send_event as *const _ as usize
10115        },
10116        16usize,
10117        concat!(
10118            "Offset of field: ",
10119            stringify!(XSelectionRequestEvent),
10120            "::",
10121            stringify!(send_event)
10122        )
10123    );
10124    assert_eq!(
10125        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).display as *const _ as usize },
10126        24usize,
10127        concat!(
10128            "Offset of field: ",
10129            stringify!(XSelectionRequestEvent),
10130            "::",
10131            stringify!(display)
10132        )
10133    );
10134    assert_eq!(
10135        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).owner as *const _ as usize },
10136        32usize,
10137        concat!(
10138            "Offset of field: ",
10139            stringify!(XSelectionRequestEvent),
10140            "::",
10141            stringify!(owner)
10142        )
10143    );
10144    assert_eq!(
10145        unsafe {
10146            &(*(::std::ptr::null::<XSelectionRequestEvent>())).requestor as *const _ as usize
10147        },
10148        40usize,
10149        concat!(
10150            "Offset of field: ",
10151            stringify!(XSelectionRequestEvent),
10152            "::",
10153            stringify!(requestor)
10154        )
10155    );
10156    assert_eq!(
10157        unsafe {
10158            &(*(::std::ptr::null::<XSelectionRequestEvent>())).selection as *const _ as usize
10159        },
10160        48usize,
10161        concat!(
10162            "Offset of field: ",
10163            stringify!(XSelectionRequestEvent),
10164            "::",
10165            stringify!(selection)
10166        )
10167    );
10168    assert_eq!(
10169        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).target as *const _ as usize },
10170        56usize,
10171        concat!(
10172            "Offset of field: ",
10173            stringify!(XSelectionRequestEvent),
10174            "::",
10175            stringify!(target)
10176        )
10177    );
10178    assert_eq!(
10179        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).property as *const _ as usize },
10180        64usize,
10181        concat!(
10182            "Offset of field: ",
10183            stringify!(XSelectionRequestEvent),
10184            "::",
10185            stringify!(property)
10186        )
10187    );
10188    assert_eq!(
10189        unsafe { &(*(::std::ptr::null::<XSelectionRequestEvent>())).time as *const _ as usize },
10190        72usize,
10191        concat!(
10192            "Offset of field: ",
10193            stringify!(XSelectionRequestEvent),
10194            "::",
10195            stringify!(time)
10196        )
10197    );
10198}
10199#[repr(C)]
10200#[derive(Debug, Copy, Clone)]
10201pub struct XSelectionEvent {
10202    pub type_: ::std::os::raw::c_int,
10203    pub serial: ::std::os::raw::c_ulong,
10204    pub send_event: ::std::os::raw::c_int,
10205    pub display: *mut Display,
10206    pub requestor: Window,
10207    pub selection: Atom,
10208    pub target: Atom,
10209    pub property: Atom,
10210    pub time: Time,
10211}
10212#[test]
10213fn bindgen_test_layout_XSelectionEvent() {
10214    assert_eq!(
10215        ::std::mem::size_of::<XSelectionEvent>(),
10216        72usize,
10217        concat!("Size of: ", stringify!(XSelectionEvent))
10218    );
10219    assert_eq!(
10220        ::std::mem::align_of::<XSelectionEvent>(),
10221        8usize,
10222        concat!("Alignment of ", stringify!(XSelectionEvent))
10223    );
10224    assert_eq!(
10225        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).type_ as *const _ as usize },
10226        0usize,
10227        concat!(
10228            "Offset of field: ",
10229            stringify!(XSelectionEvent),
10230            "::",
10231            stringify!(type_)
10232        )
10233    );
10234    assert_eq!(
10235        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).serial as *const _ as usize },
10236        8usize,
10237        concat!(
10238            "Offset of field: ",
10239            stringify!(XSelectionEvent),
10240            "::",
10241            stringify!(serial)
10242        )
10243    );
10244    assert_eq!(
10245        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).send_event as *const _ as usize },
10246        16usize,
10247        concat!(
10248            "Offset of field: ",
10249            stringify!(XSelectionEvent),
10250            "::",
10251            stringify!(send_event)
10252        )
10253    );
10254    assert_eq!(
10255        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).display as *const _ as usize },
10256        24usize,
10257        concat!(
10258            "Offset of field: ",
10259            stringify!(XSelectionEvent),
10260            "::",
10261            stringify!(display)
10262        )
10263    );
10264    assert_eq!(
10265        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).requestor as *const _ as usize },
10266        32usize,
10267        concat!(
10268            "Offset of field: ",
10269            stringify!(XSelectionEvent),
10270            "::",
10271            stringify!(requestor)
10272        )
10273    );
10274    assert_eq!(
10275        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).selection as *const _ as usize },
10276        40usize,
10277        concat!(
10278            "Offset of field: ",
10279            stringify!(XSelectionEvent),
10280            "::",
10281            stringify!(selection)
10282        )
10283    );
10284    assert_eq!(
10285        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).target as *const _ as usize },
10286        48usize,
10287        concat!(
10288            "Offset of field: ",
10289            stringify!(XSelectionEvent),
10290            "::",
10291            stringify!(target)
10292        )
10293    );
10294    assert_eq!(
10295        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).property as *const _ as usize },
10296        56usize,
10297        concat!(
10298            "Offset of field: ",
10299            stringify!(XSelectionEvent),
10300            "::",
10301            stringify!(property)
10302        )
10303    );
10304    assert_eq!(
10305        unsafe { &(*(::std::ptr::null::<XSelectionEvent>())).time as *const _ as usize },
10306        64usize,
10307        concat!(
10308            "Offset of field: ",
10309            stringify!(XSelectionEvent),
10310            "::",
10311            stringify!(time)
10312        )
10313    );
10314}
10315#[repr(C)]
10316#[derive(Debug, Copy, Clone)]
10317pub struct XColormapEvent {
10318    pub type_: ::std::os::raw::c_int,
10319    pub serial: ::std::os::raw::c_ulong,
10320    pub send_event: ::std::os::raw::c_int,
10321    pub display: *mut Display,
10322    pub window: Window,
10323    pub colormap: Colormap,
10324    pub new: ::std::os::raw::c_int,
10325    pub state: ::std::os::raw::c_int,
10326}
10327#[test]
10328fn bindgen_test_layout_XColormapEvent() {
10329    assert_eq!(
10330        ::std::mem::size_of::<XColormapEvent>(),
10331        56usize,
10332        concat!("Size of: ", stringify!(XColormapEvent))
10333    );
10334    assert_eq!(
10335        ::std::mem::align_of::<XColormapEvent>(),
10336        8usize,
10337        concat!("Alignment of ", stringify!(XColormapEvent))
10338    );
10339    assert_eq!(
10340        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).type_ as *const _ as usize },
10341        0usize,
10342        concat!(
10343            "Offset of field: ",
10344            stringify!(XColormapEvent),
10345            "::",
10346            stringify!(type_)
10347        )
10348    );
10349    assert_eq!(
10350        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).serial as *const _ as usize },
10351        8usize,
10352        concat!(
10353            "Offset of field: ",
10354            stringify!(XColormapEvent),
10355            "::",
10356            stringify!(serial)
10357        )
10358    );
10359    assert_eq!(
10360        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).send_event as *const _ as usize },
10361        16usize,
10362        concat!(
10363            "Offset of field: ",
10364            stringify!(XColormapEvent),
10365            "::",
10366            stringify!(send_event)
10367        )
10368    );
10369    assert_eq!(
10370        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).display as *const _ as usize },
10371        24usize,
10372        concat!(
10373            "Offset of field: ",
10374            stringify!(XColormapEvent),
10375            "::",
10376            stringify!(display)
10377        )
10378    );
10379    assert_eq!(
10380        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).window as *const _ as usize },
10381        32usize,
10382        concat!(
10383            "Offset of field: ",
10384            stringify!(XColormapEvent),
10385            "::",
10386            stringify!(window)
10387        )
10388    );
10389    assert_eq!(
10390        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).colormap as *const _ as usize },
10391        40usize,
10392        concat!(
10393            "Offset of field: ",
10394            stringify!(XColormapEvent),
10395            "::",
10396            stringify!(colormap)
10397        )
10398    );
10399    assert_eq!(
10400        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).new as *const _ as usize },
10401        48usize,
10402        concat!(
10403            "Offset of field: ",
10404            stringify!(XColormapEvent),
10405            "::",
10406            stringify!(new)
10407        )
10408    );
10409    assert_eq!(
10410        unsafe { &(*(::std::ptr::null::<XColormapEvent>())).state as *const _ as usize },
10411        52usize,
10412        concat!(
10413            "Offset of field: ",
10414            stringify!(XColormapEvent),
10415            "::",
10416            stringify!(state)
10417        )
10418    );
10419}
10420#[repr(C)]
10421#[derive(Copy, Clone)]
10422pub struct XClientMessageEvent {
10423    pub type_: ::std::os::raw::c_int,
10424    pub serial: ::std::os::raw::c_ulong,
10425    pub send_event: ::std::os::raw::c_int,
10426    pub display: *mut Display,
10427    pub window: Window,
10428    pub message_type: Atom,
10429    pub format: ::std::os::raw::c_int,
10430    pub data: XClientMessageEvent__bindgen_ty_1,
10431}
10432#[repr(C)]
10433#[derive(Copy, Clone)]
10434pub union XClientMessageEvent__bindgen_ty_1 {
10435    pub b: [::std::os::raw::c_char; 20usize],
10436    pub s: [::std::os::raw::c_short; 10usize],
10437    pub l: [::std::os::raw::c_long; 5usize],
10438    _bindgen_union_align: [u64; 5usize],
10439}
10440#[test]
10441fn bindgen_test_layout_XClientMessageEvent__bindgen_ty_1() {
10442    assert_eq!(
10443        ::std::mem::size_of::<XClientMessageEvent__bindgen_ty_1>(),
10444        40usize,
10445        concat!("Size of: ", stringify!(XClientMessageEvent__bindgen_ty_1))
10446    );
10447    assert_eq!(
10448        ::std::mem::align_of::<XClientMessageEvent__bindgen_ty_1>(),
10449        8usize,
10450        concat!(
10451            "Alignment of ",
10452            stringify!(XClientMessageEvent__bindgen_ty_1)
10453        )
10454    );
10455    assert_eq!(
10456        unsafe {
10457            &(*(::std::ptr::null::<XClientMessageEvent__bindgen_ty_1>())).b as *const _ as usize
10458        },
10459        0usize,
10460        concat!(
10461            "Offset of field: ",
10462            stringify!(XClientMessageEvent__bindgen_ty_1),
10463            "::",
10464            stringify!(b)
10465        )
10466    );
10467    assert_eq!(
10468        unsafe {
10469            &(*(::std::ptr::null::<XClientMessageEvent__bindgen_ty_1>())).s as *const _ as usize
10470        },
10471        0usize,
10472        concat!(
10473            "Offset of field: ",
10474            stringify!(XClientMessageEvent__bindgen_ty_1),
10475            "::",
10476            stringify!(s)
10477        )
10478    );
10479    assert_eq!(
10480        unsafe {
10481            &(*(::std::ptr::null::<XClientMessageEvent__bindgen_ty_1>())).l as *const _ as usize
10482        },
10483        0usize,
10484        concat!(
10485            "Offset of field: ",
10486            stringify!(XClientMessageEvent__bindgen_ty_1),
10487            "::",
10488            stringify!(l)
10489        )
10490    );
10491}
10492#[test]
10493fn bindgen_test_layout_XClientMessageEvent() {
10494    assert_eq!(
10495        ::std::mem::size_of::<XClientMessageEvent>(),
10496        96usize,
10497        concat!("Size of: ", stringify!(XClientMessageEvent))
10498    );
10499    assert_eq!(
10500        ::std::mem::align_of::<XClientMessageEvent>(),
10501        8usize,
10502        concat!("Alignment of ", stringify!(XClientMessageEvent))
10503    );
10504    assert_eq!(
10505        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).type_ as *const _ as usize },
10506        0usize,
10507        concat!(
10508            "Offset of field: ",
10509            stringify!(XClientMessageEvent),
10510            "::",
10511            stringify!(type_)
10512        )
10513    );
10514    assert_eq!(
10515        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).serial as *const _ as usize },
10516        8usize,
10517        concat!(
10518            "Offset of field: ",
10519            stringify!(XClientMessageEvent),
10520            "::",
10521            stringify!(serial)
10522        )
10523    );
10524    assert_eq!(
10525        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).send_event as *const _ as usize },
10526        16usize,
10527        concat!(
10528            "Offset of field: ",
10529            stringify!(XClientMessageEvent),
10530            "::",
10531            stringify!(send_event)
10532        )
10533    );
10534    assert_eq!(
10535        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).display as *const _ as usize },
10536        24usize,
10537        concat!(
10538            "Offset of field: ",
10539            stringify!(XClientMessageEvent),
10540            "::",
10541            stringify!(display)
10542        )
10543    );
10544    assert_eq!(
10545        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).window as *const _ as usize },
10546        32usize,
10547        concat!(
10548            "Offset of field: ",
10549            stringify!(XClientMessageEvent),
10550            "::",
10551            stringify!(window)
10552        )
10553    );
10554    assert_eq!(
10555        unsafe {
10556            &(*(::std::ptr::null::<XClientMessageEvent>())).message_type as *const _ as usize
10557        },
10558        40usize,
10559        concat!(
10560            "Offset of field: ",
10561            stringify!(XClientMessageEvent),
10562            "::",
10563            stringify!(message_type)
10564        )
10565    );
10566    assert_eq!(
10567        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).format as *const _ as usize },
10568        48usize,
10569        concat!(
10570            "Offset of field: ",
10571            stringify!(XClientMessageEvent),
10572            "::",
10573            stringify!(format)
10574        )
10575    );
10576    assert_eq!(
10577        unsafe { &(*(::std::ptr::null::<XClientMessageEvent>())).data as *const _ as usize },
10578        56usize,
10579        concat!(
10580            "Offset of field: ",
10581            stringify!(XClientMessageEvent),
10582            "::",
10583            stringify!(data)
10584        )
10585    );
10586}
10587#[repr(C)]
10588#[derive(Debug, Copy, Clone)]
10589pub struct XMappingEvent {
10590    pub type_: ::std::os::raw::c_int,
10591    pub serial: ::std::os::raw::c_ulong,
10592    pub send_event: ::std::os::raw::c_int,
10593    pub display: *mut Display,
10594    pub window: Window,
10595    pub request: ::std::os::raw::c_int,
10596    pub first_keycode: ::std::os::raw::c_int,
10597    pub count: ::std::os::raw::c_int,
10598}
10599#[test]
10600fn bindgen_test_layout_XMappingEvent() {
10601    assert_eq!(
10602        ::std::mem::size_of::<XMappingEvent>(),
10603        56usize,
10604        concat!("Size of: ", stringify!(XMappingEvent))
10605    );
10606    assert_eq!(
10607        ::std::mem::align_of::<XMappingEvent>(),
10608        8usize,
10609        concat!("Alignment of ", stringify!(XMappingEvent))
10610    );
10611    assert_eq!(
10612        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).type_ as *const _ as usize },
10613        0usize,
10614        concat!(
10615            "Offset of field: ",
10616            stringify!(XMappingEvent),
10617            "::",
10618            stringify!(type_)
10619        )
10620    );
10621    assert_eq!(
10622        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).serial as *const _ as usize },
10623        8usize,
10624        concat!(
10625            "Offset of field: ",
10626            stringify!(XMappingEvent),
10627            "::",
10628            stringify!(serial)
10629        )
10630    );
10631    assert_eq!(
10632        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).send_event as *const _ as usize },
10633        16usize,
10634        concat!(
10635            "Offset of field: ",
10636            stringify!(XMappingEvent),
10637            "::",
10638            stringify!(send_event)
10639        )
10640    );
10641    assert_eq!(
10642        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).display as *const _ as usize },
10643        24usize,
10644        concat!(
10645            "Offset of field: ",
10646            stringify!(XMappingEvent),
10647            "::",
10648            stringify!(display)
10649        )
10650    );
10651    assert_eq!(
10652        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).window as *const _ as usize },
10653        32usize,
10654        concat!(
10655            "Offset of field: ",
10656            stringify!(XMappingEvent),
10657            "::",
10658            stringify!(window)
10659        )
10660    );
10661    assert_eq!(
10662        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).request as *const _ as usize },
10663        40usize,
10664        concat!(
10665            "Offset of field: ",
10666            stringify!(XMappingEvent),
10667            "::",
10668            stringify!(request)
10669        )
10670    );
10671    assert_eq!(
10672        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).first_keycode as *const _ as usize },
10673        44usize,
10674        concat!(
10675            "Offset of field: ",
10676            stringify!(XMappingEvent),
10677            "::",
10678            stringify!(first_keycode)
10679        )
10680    );
10681    assert_eq!(
10682        unsafe { &(*(::std::ptr::null::<XMappingEvent>())).count as *const _ as usize },
10683        48usize,
10684        concat!(
10685            "Offset of field: ",
10686            stringify!(XMappingEvent),
10687            "::",
10688            stringify!(count)
10689        )
10690    );
10691}
10692#[repr(C)]
10693#[derive(Debug, Copy, Clone)]
10694pub struct XErrorEvent {
10695    pub type_: ::std::os::raw::c_int,
10696    pub display: *mut Display,
10697    pub resourceid: XID,
10698    pub serial: ::std::os::raw::c_ulong,
10699    pub error_code: ::std::os::raw::c_uchar,
10700    pub request_code: ::std::os::raw::c_uchar,
10701    pub minor_code: ::std::os::raw::c_uchar,
10702}
10703#[test]
10704fn bindgen_test_layout_XErrorEvent() {
10705    assert_eq!(
10706        ::std::mem::size_of::<XErrorEvent>(),
10707        40usize,
10708        concat!("Size of: ", stringify!(XErrorEvent))
10709    );
10710    assert_eq!(
10711        ::std::mem::align_of::<XErrorEvent>(),
10712        8usize,
10713        concat!("Alignment of ", stringify!(XErrorEvent))
10714    );
10715    assert_eq!(
10716        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).type_ as *const _ as usize },
10717        0usize,
10718        concat!(
10719            "Offset of field: ",
10720            stringify!(XErrorEvent),
10721            "::",
10722            stringify!(type_)
10723        )
10724    );
10725    assert_eq!(
10726        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).display as *const _ as usize },
10727        8usize,
10728        concat!(
10729            "Offset of field: ",
10730            stringify!(XErrorEvent),
10731            "::",
10732            stringify!(display)
10733        )
10734    );
10735    assert_eq!(
10736        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).resourceid as *const _ as usize },
10737        16usize,
10738        concat!(
10739            "Offset of field: ",
10740            stringify!(XErrorEvent),
10741            "::",
10742            stringify!(resourceid)
10743        )
10744    );
10745    assert_eq!(
10746        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).serial as *const _ as usize },
10747        24usize,
10748        concat!(
10749            "Offset of field: ",
10750            stringify!(XErrorEvent),
10751            "::",
10752            stringify!(serial)
10753        )
10754    );
10755    assert_eq!(
10756        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).error_code as *const _ as usize },
10757        32usize,
10758        concat!(
10759            "Offset of field: ",
10760            stringify!(XErrorEvent),
10761            "::",
10762            stringify!(error_code)
10763        )
10764    );
10765    assert_eq!(
10766        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).request_code as *const _ as usize },
10767        33usize,
10768        concat!(
10769            "Offset of field: ",
10770            stringify!(XErrorEvent),
10771            "::",
10772            stringify!(request_code)
10773        )
10774    );
10775    assert_eq!(
10776        unsafe { &(*(::std::ptr::null::<XErrorEvent>())).minor_code as *const _ as usize },
10777        34usize,
10778        concat!(
10779            "Offset of field: ",
10780            stringify!(XErrorEvent),
10781            "::",
10782            stringify!(minor_code)
10783        )
10784    );
10785}
10786#[repr(C)]
10787#[derive(Debug, Copy, Clone)]
10788pub struct XAnyEvent {
10789    pub type_: ::std::os::raw::c_int,
10790    pub serial: ::std::os::raw::c_ulong,
10791    pub send_event: ::std::os::raw::c_int,
10792    pub display: *mut Display,
10793    pub window: Window,
10794}
10795#[test]
10796fn bindgen_test_layout_XAnyEvent() {
10797    assert_eq!(
10798        ::std::mem::size_of::<XAnyEvent>(),
10799        40usize,
10800        concat!("Size of: ", stringify!(XAnyEvent))
10801    );
10802    assert_eq!(
10803        ::std::mem::align_of::<XAnyEvent>(),
10804        8usize,
10805        concat!("Alignment of ", stringify!(XAnyEvent))
10806    );
10807    assert_eq!(
10808        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).type_ as *const _ as usize },
10809        0usize,
10810        concat!(
10811            "Offset of field: ",
10812            stringify!(XAnyEvent),
10813            "::",
10814            stringify!(type_)
10815        )
10816    );
10817    assert_eq!(
10818        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).serial as *const _ as usize },
10819        8usize,
10820        concat!(
10821            "Offset of field: ",
10822            stringify!(XAnyEvent),
10823            "::",
10824            stringify!(serial)
10825        )
10826    );
10827    assert_eq!(
10828        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).send_event as *const _ as usize },
10829        16usize,
10830        concat!(
10831            "Offset of field: ",
10832            stringify!(XAnyEvent),
10833            "::",
10834            stringify!(send_event)
10835        )
10836    );
10837    assert_eq!(
10838        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).display as *const _ as usize },
10839        24usize,
10840        concat!(
10841            "Offset of field: ",
10842            stringify!(XAnyEvent),
10843            "::",
10844            stringify!(display)
10845        )
10846    );
10847    assert_eq!(
10848        unsafe { &(*(::std::ptr::null::<XAnyEvent>())).window as *const _ as usize },
10849        32usize,
10850        concat!(
10851            "Offset of field: ",
10852            stringify!(XAnyEvent),
10853            "::",
10854            stringify!(window)
10855        )
10856    );
10857}
10858#[repr(C)]
10859#[derive(Debug, Copy, Clone)]
10860pub struct XGenericEvent {
10861    pub type_: ::std::os::raw::c_int,
10862    pub serial: ::std::os::raw::c_ulong,
10863    pub send_event: ::std::os::raw::c_int,
10864    pub display: *mut Display,
10865    pub extension: ::std::os::raw::c_int,
10866    pub evtype: ::std::os::raw::c_int,
10867}
10868#[test]
10869fn bindgen_test_layout_XGenericEvent() {
10870    assert_eq!(
10871        ::std::mem::size_of::<XGenericEvent>(),
10872        40usize,
10873        concat!("Size of: ", stringify!(XGenericEvent))
10874    );
10875    assert_eq!(
10876        ::std::mem::align_of::<XGenericEvent>(),
10877        8usize,
10878        concat!("Alignment of ", stringify!(XGenericEvent))
10879    );
10880    assert_eq!(
10881        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).type_ as *const _ as usize },
10882        0usize,
10883        concat!(
10884            "Offset of field: ",
10885            stringify!(XGenericEvent),
10886            "::",
10887            stringify!(type_)
10888        )
10889    );
10890    assert_eq!(
10891        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).serial as *const _ as usize },
10892        8usize,
10893        concat!(
10894            "Offset of field: ",
10895            stringify!(XGenericEvent),
10896            "::",
10897            stringify!(serial)
10898        )
10899    );
10900    assert_eq!(
10901        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).send_event as *const _ as usize },
10902        16usize,
10903        concat!(
10904            "Offset of field: ",
10905            stringify!(XGenericEvent),
10906            "::",
10907            stringify!(send_event)
10908        )
10909    );
10910    assert_eq!(
10911        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).display as *const _ as usize },
10912        24usize,
10913        concat!(
10914            "Offset of field: ",
10915            stringify!(XGenericEvent),
10916            "::",
10917            stringify!(display)
10918        )
10919    );
10920    assert_eq!(
10921        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).extension as *const _ as usize },
10922        32usize,
10923        concat!(
10924            "Offset of field: ",
10925            stringify!(XGenericEvent),
10926            "::",
10927            stringify!(extension)
10928        )
10929    );
10930    assert_eq!(
10931        unsafe { &(*(::std::ptr::null::<XGenericEvent>())).evtype as *const _ as usize },
10932        36usize,
10933        concat!(
10934            "Offset of field: ",
10935            stringify!(XGenericEvent),
10936            "::",
10937            stringify!(evtype)
10938        )
10939    );
10940}
10941#[repr(C)]
10942#[derive(Debug, Copy, Clone)]
10943pub struct XGenericEventCookie {
10944    pub type_: ::std::os::raw::c_int,
10945    pub serial: ::std::os::raw::c_ulong,
10946    pub send_event: ::std::os::raw::c_int,
10947    pub display: *mut Display,
10948    pub extension: ::std::os::raw::c_int,
10949    pub evtype: ::std::os::raw::c_int,
10950    pub cookie: ::std::os::raw::c_uint,
10951    pub data: *mut ::std::os::raw::c_void,
10952}
10953#[test]
10954fn bindgen_test_layout_XGenericEventCookie() {
10955    assert_eq!(
10956        ::std::mem::size_of::<XGenericEventCookie>(),
10957        56usize,
10958        concat!("Size of: ", stringify!(XGenericEventCookie))
10959    );
10960    assert_eq!(
10961        ::std::mem::align_of::<XGenericEventCookie>(),
10962        8usize,
10963        concat!("Alignment of ", stringify!(XGenericEventCookie))
10964    );
10965    assert_eq!(
10966        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).type_ as *const _ as usize },
10967        0usize,
10968        concat!(
10969            "Offset of field: ",
10970            stringify!(XGenericEventCookie),
10971            "::",
10972            stringify!(type_)
10973        )
10974    );
10975    assert_eq!(
10976        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).serial as *const _ as usize },
10977        8usize,
10978        concat!(
10979            "Offset of field: ",
10980            stringify!(XGenericEventCookie),
10981            "::",
10982            stringify!(serial)
10983        )
10984    );
10985    assert_eq!(
10986        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).send_event as *const _ as usize },
10987        16usize,
10988        concat!(
10989            "Offset of field: ",
10990            stringify!(XGenericEventCookie),
10991            "::",
10992            stringify!(send_event)
10993        )
10994    );
10995    assert_eq!(
10996        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).display as *const _ as usize },
10997        24usize,
10998        concat!(
10999            "Offset of field: ",
11000            stringify!(XGenericEventCookie),
11001            "::",
11002            stringify!(display)
11003        )
11004    );
11005    assert_eq!(
11006        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).extension as *const _ as usize },
11007        32usize,
11008        concat!(
11009            "Offset of field: ",
11010            stringify!(XGenericEventCookie),
11011            "::",
11012            stringify!(extension)
11013        )
11014    );
11015    assert_eq!(
11016        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).evtype as *const _ as usize },
11017        36usize,
11018        concat!(
11019            "Offset of field: ",
11020            stringify!(XGenericEventCookie),
11021            "::",
11022            stringify!(evtype)
11023        )
11024    );
11025    assert_eq!(
11026        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).cookie as *const _ as usize },
11027        40usize,
11028        concat!(
11029            "Offset of field: ",
11030            stringify!(XGenericEventCookie),
11031            "::",
11032            stringify!(cookie)
11033        )
11034    );
11035    assert_eq!(
11036        unsafe { &(*(::std::ptr::null::<XGenericEventCookie>())).data as *const _ as usize },
11037        48usize,
11038        concat!(
11039            "Offset of field: ",
11040            stringify!(XGenericEventCookie),
11041            "::",
11042            stringify!(data)
11043        )
11044    );
11045}
11046#[repr(C)]
11047#[derive(Copy, Clone)]
11048pub union _XEvent {
11049    pub type_: ::std::os::raw::c_int,
11050    pub xany: XAnyEvent,
11051    pub xkey: XKeyEvent,
11052    pub xbutton: XButtonEvent,
11053    pub xmotion: XMotionEvent,
11054    pub xcrossing: XCrossingEvent,
11055    pub xfocus: XFocusChangeEvent,
11056    pub xexpose: XExposeEvent,
11057    pub xgraphicsexpose: XGraphicsExposeEvent,
11058    pub xnoexpose: XNoExposeEvent,
11059    pub xvisibility: XVisibilityEvent,
11060    pub xcreatewindow: XCreateWindowEvent,
11061    pub xdestroywindow: XDestroyWindowEvent,
11062    pub xunmap: XUnmapEvent,
11063    pub xmap: XMapEvent,
11064    pub xmaprequest: XMapRequestEvent,
11065    pub xreparent: XReparentEvent,
11066    pub xconfigure: XConfigureEvent,
11067    pub xgravity: XGravityEvent,
11068    pub xresizerequest: XResizeRequestEvent,
11069    pub xconfigurerequest: XConfigureRequestEvent,
11070    pub xcirculate: XCirculateEvent,
11071    pub xcirculaterequest: XCirculateRequestEvent,
11072    pub xproperty: XPropertyEvent,
11073    pub xselectionclear: XSelectionClearEvent,
11074    pub xselectionrequest: XSelectionRequestEvent,
11075    pub xselection: XSelectionEvent,
11076    pub xcolormap: XColormapEvent,
11077    pub xclient: XClientMessageEvent,
11078    pub xmapping: XMappingEvent,
11079    pub xerror: XErrorEvent,
11080    pub xkeymap: XKeymapEvent,
11081    pub xgeneric: XGenericEvent,
11082    pub xcookie: XGenericEventCookie,
11083    pub pad: [::std::os::raw::c_long; 24usize],
11084    _bindgen_union_align: [u64; 24usize],
11085}
11086#[test]
11087fn bindgen_test_layout__XEvent() {
11088    assert_eq!(
11089        ::std::mem::size_of::<_XEvent>(),
11090        192usize,
11091        concat!("Size of: ", stringify!(_XEvent))
11092    );
11093    assert_eq!(
11094        ::std::mem::align_of::<_XEvent>(),
11095        8usize,
11096        concat!("Alignment of ", stringify!(_XEvent))
11097    );
11098    assert_eq!(
11099        unsafe { &(*(::std::ptr::null::<_XEvent>())).type_ as *const _ as usize },
11100        0usize,
11101        concat!(
11102            "Offset of field: ",
11103            stringify!(_XEvent),
11104            "::",
11105            stringify!(type_)
11106        )
11107    );
11108    assert_eq!(
11109        unsafe { &(*(::std::ptr::null::<_XEvent>())).xany as *const _ as usize },
11110        0usize,
11111        concat!(
11112            "Offset of field: ",
11113            stringify!(_XEvent),
11114            "::",
11115            stringify!(xany)
11116        )
11117    );
11118    assert_eq!(
11119        unsafe { &(*(::std::ptr::null::<_XEvent>())).xkey as *const _ as usize },
11120        0usize,
11121        concat!(
11122            "Offset of field: ",
11123            stringify!(_XEvent),
11124            "::",
11125            stringify!(xkey)
11126        )
11127    );
11128    assert_eq!(
11129        unsafe { &(*(::std::ptr::null::<_XEvent>())).xbutton as *const _ as usize },
11130        0usize,
11131        concat!(
11132            "Offset of field: ",
11133            stringify!(_XEvent),
11134            "::",
11135            stringify!(xbutton)
11136        )
11137    );
11138    assert_eq!(
11139        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmotion as *const _ as usize },
11140        0usize,
11141        concat!(
11142            "Offset of field: ",
11143            stringify!(_XEvent),
11144            "::",
11145            stringify!(xmotion)
11146        )
11147    );
11148    assert_eq!(
11149        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcrossing as *const _ as usize },
11150        0usize,
11151        concat!(
11152            "Offset of field: ",
11153            stringify!(_XEvent),
11154            "::",
11155            stringify!(xcrossing)
11156        )
11157    );
11158    assert_eq!(
11159        unsafe { &(*(::std::ptr::null::<_XEvent>())).xfocus as *const _ as usize },
11160        0usize,
11161        concat!(
11162            "Offset of field: ",
11163            stringify!(_XEvent),
11164            "::",
11165            stringify!(xfocus)
11166        )
11167    );
11168    assert_eq!(
11169        unsafe { &(*(::std::ptr::null::<_XEvent>())).xexpose as *const _ as usize },
11170        0usize,
11171        concat!(
11172            "Offset of field: ",
11173            stringify!(_XEvent),
11174            "::",
11175            stringify!(xexpose)
11176        )
11177    );
11178    assert_eq!(
11179        unsafe { &(*(::std::ptr::null::<_XEvent>())).xgraphicsexpose as *const _ as usize },
11180        0usize,
11181        concat!(
11182            "Offset of field: ",
11183            stringify!(_XEvent),
11184            "::",
11185            stringify!(xgraphicsexpose)
11186        )
11187    );
11188    assert_eq!(
11189        unsafe { &(*(::std::ptr::null::<_XEvent>())).xnoexpose as *const _ as usize },
11190        0usize,
11191        concat!(
11192            "Offset of field: ",
11193            stringify!(_XEvent),
11194            "::",
11195            stringify!(xnoexpose)
11196        )
11197    );
11198    assert_eq!(
11199        unsafe { &(*(::std::ptr::null::<_XEvent>())).xvisibility as *const _ as usize },
11200        0usize,
11201        concat!(
11202            "Offset of field: ",
11203            stringify!(_XEvent),
11204            "::",
11205            stringify!(xvisibility)
11206        )
11207    );
11208    assert_eq!(
11209        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcreatewindow as *const _ as usize },
11210        0usize,
11211        concat!(
11212            "Offset of field: ",
11213            stringify!(_XEvent),
11214            "::",
11215            stringify!(xcreatewindow)
11216        )
11217    );
11218    assert_eq!(
11219        unsafe { &(*(::std::ptr::null::<_XEvent>())).xdestroywindow as *const _ as usize },
11220        0usize,
11221        concat!(
11222            "Offset of field: ",
11223            stringify!(_XEvent),
11224            "::",
11225            stringify!(xdestroywindow)
11226        )
11227    );
11228    assert_eq!(
11229        unsafe { &(*(::std::ptr::null::<_XEvent>())).xunmap as *const _ as usize },
11230        0usize,
11231        concat!(
11232            "Offset of field: ",
11233            stringify!(_XEvent),
11234            "::",
11235            stringify!(xunmap)
11236        )
11237    );
11238    assert_eq!(
11239        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmap as *const _ as usize },
11240        0usize,
11241        concat!(
11242            "Offset of field: ",
11243            stringify!(_XEvent),
11244            "::",
11245            stringify!(xmap)
11246        )
11247    );
11248    assert_eq!(
11249        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmaprequest as *const _ as usize },
11250        0usize,
11251        concat!(
11252            "Offset of field: ",
11253            stringify!(_XEvent),
11254            "::",
11255            stringify!(xmaprequest)
11256        )
11257    );
11258    assert_eq!(
11259        unsafe { &(*(::std::ptr::null::<_XEvent>())).xreparent as *const _ as usize },
11260        0usize,
11261        concat!(
11262            "Offset of field: ",
11263            stringify!(_XEvent),
11264            "::",
11265            stringify!(xreparent)
11266        )
11267    );
11268    assert_eq!(
11269        unsafe { &(*(::std::ptr::null::<_XEvent>())).xconfigure as *const _ as usize },
11270        0usize,
11271        concat!(
11272            "Offset of field: ",
11273            stringify!(_XEvent),
11274            "::",
11275            stringify!(xconfigure)
11276        )
11277    );
11278    assert_eq!(
11279        unsafe { &(*(::std::ptr::null::<_XEvent>())).xgravity as *const _ as usize },
11280        0usize,
11281        concat!(
11282            "Offset of field: ",
11283            stringify!(_XEvent),
11284            "::",
11285            stringify!(xgravity)
11286        )
11287    );
11288    assert_eq!(
11289        unsafe { &(*(::std::ptr::null::<_XEvent>())).xresizerequest as *const _ as usize },
11290        0usize,
11291        concat!(
11292            "Offset of field: ",
11293            stringify!(_XEvent),
11294            "::",
11295            stringify!(xresizerequest)
11296        )
11297    );
11298    assert_eq!(
11299        unsafe { &(*(::std::ptr::null::<_XEvent>())).xconfigurerequest as *const _ as usize },
11300        0usize,
11301        concat!(
11302            "Offset of field: ",
11303            stringify!(_XEvent),
11304            "::",
11305            stringify!(xconfigurerequest)
11306        )
11307    );
11308    assert_eq!(
11309        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcirculate as *const _ as usize },
11310        0usize,
11311        concat!(
11312            "Offset of field: ",
11313            stringify!(_XEvent),
11314            "::",
11315            stringify!(xcirculate)
11316        )
11317    );
11318    assert_eq!(
11319        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcirculaterequest as *const _ as usize },
11320        0usize,
11321        concat!(
11322            "Offset of field: ",
11323            stringify!(_XEvent),
11324            "::",
11325            stringify!(xcirculaterequest)
11326        )
11327    );
11328    assert_eq!(
11329        unsafe { &(*(::std::ptr::null::<_XEvent>())).xproperty as *const _ as usize },
11330        0usize,
11331        concat!(
11332            "Offset of field: ",
11333            stringify!(_XEvent),
11334            "::",
11335            stringify!(xproperty)
11336        )
11337    );
11338    assert_eq!(
11339        unsafe { &(*(::std::ptr::null::<_XEvent>())).xselectionclear as *const _ as usize },
11340        0usize,
11341        concat!(
11342            "Offset of field: ",
11343            stringify!(_XEvent),
11344            "::",
11345            stringify!(xselectionclear)
11346        )
11347    );
11348    assert_eq!(
11349        unsafe { &(*(::std::ptr::null::<_XEvent>())).xselectionrequest as *const _ as usize },
11350        0usize,
11351        concat!(
11352            "Offset of field: ",
11353            stringify!(_XEvent),
11354            "::",
11355            stringify!(xselectionrequest)
11356        )
11357    );
11358    assert_eq!(
11359        unsafe { &(*(::std::ptr::null::<_XEvent>())).xselection as *const _ as usize },
11360        0usize,
11361        concat!(
11362            "Offset of field: ",
11363            stringify!(_XEvent),
11364            "::",
11365            stringify!(xselection)
11366        )
11367    );
11368    assert_eq!(
11369        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcolormap as *const _ as usize },
11370        0usize,
11371        concat!(
11372            "Offset of field: ",
11373            stringify!(_XEvent),
11374            "::",
11375            stringify!(xcolormap)
11376        )
11377    );
11378    assert_eq!(
11379        unsafe { &(*(::std::ptr::null::<_XEvent>())).xclient as *const _ as usize },
11380        0usize,
11381        concat!(
11382            "Offset of field: ",
11383            stringify!(_XEvent),
11384            "::",
11385            stringify!(xclient)
11386        )
11387    );
11388    assert_eq!(
11389        unsafe { &(*(::std::ptr::null::<_XEvent>())).xmapping as *const _ as usize },
11390        0usize,
11391        concat!(
11392            "Offset of field: ",
11393            stringify!(_XEvent),
11394            "::",
11395            stringify!(xmapping)
11396        )
11397    );
11398    assert_eq!(
11399        unsafe { &(*(::std::ptr::null::<_XEvent>())).xerror as *const _ as usize },
11400        0usize,
11401        concat!(
11402            "Offset of field: ",
11403            stringify!(_XEvent),
11404            "::",
11405            stringify!(xerror)
11406        )
11407    );
11408    assert_eq!(
11409        unsafe { &(*(::std::ptr::null::<_XEvent>())).xkeymap as *const _ as usize },
11410        0usize,
11411        concat!(
11412            "Offset of field: ",
11413            stringify!(_XEvent),
11414            "::",
11415            stringify!(xkeymap)
11416        )
11417    );
11418    assert_eq!(
11419        unsafe { &(*(::std::ptr::null::<_XEvent>())).xgeneric as *const _ as usize },
11420        0usize,
11421        concat!(
11422            "Offset of field: ",
11423            stringify!(_XEvent),
11424            "::",
11425            stringify!(xgeneric)
11426        )
11427    );
11428    assert_eq!(
11429        unsafe { &(*(::std::ptr::null::<_XEvent>())).xcookie as *const _ as usize },
11430        0usize,
11431        concat!(
11432            "Offset of field: ",
11433            stringify!(_XEvent),
11434            "::",
11435            stringify!(xcookie)
11436        )
11437    );
11438    assert_eq!(
11439        unsafe { &(*(::std::ptr::null::<_XEvent>())).pad as *const _ as usize },
11440        0usize,
11441        concat!(
11442            "Offset of field: ",
11443            stringify!(_XEvent),
11444            "::",
11445            stringify!(pad)
11446        )
11447    );
11448}
11449pub type XEvent = _XEvent;
11450#[repr(C)]
11451#[derive(Debug, Copy, Clone)]
11452pub struct XCharStruct {
11453    pub lbearing: ::std::os::raw::c_short,
11454    pub rbearing: ::std::os::raw::c_short,
11455    pub width: ::std::os::raw::c_short,
11456    pub ascent: ::std::os::raw::c_short,
11457    pub descent: ::std::os::raw::c_short,
11458    pub attributes: ::std::os::raw::c_ushort,
11459}
11460#[test]
11461fn bindgen_test_layout_XCharStruct() {
11462    assert_eq!(
11463        ::std::mem::size_of::<XCharStruct>(),
11464        12usize,
11465        concat!("Size of: ", stringify!(XCharStruct))
11466    );
11467    assert_eq!(
11468        ::std::mem::align_of::<XCharStruct>(),
11469        2usize,
11470        concat!("Alignment of ", stringify!(XCharStruct))
11471    );
11472    assert_eq!(
11473        unsafe { &(*(::std::ptr::null::<XCharStruct>())).lbearing as *const _ as usize },
11474        0usize,
11475        concat!(
11476            "Offset of field: ",
11477            stringify!(XCharStruct),
11478            "::",
11479            stringify!(lbearing)
11480        )
11481    );
11482    assert_eq!(
11483        unsafe { &(*(::std::ptr::null::<XCharStruct>())).rbearing as *const _ as usize },
11484        2usize,
11485        concat!(
11486            "Offset of field: ",
11487            stringify!(XCharStruct),
11488            "::",
11489            stringify!(rbearing)
11490        )
11491    );
11492    assert_eq!(
11493        unsafe { &(*(::std::ptr::null::<XCharStruct>())).width as *const _ as usize },
11494        4usize,
11495        concat!(
11496            "Offset of field: ",
11497            stringify!(XCharStruct),
11498            "::",
11499            stringify!(width)
11500        )
11501    );
11502    assert_eq!(
11503        unsafe { &(*(::std::ptr::null::<XCharStruct>())).ascent as *const _ as usize },
11504        6usize,
11505        concat!(
11506            "Offset of field: ",
11507            stringify!(XCharStruct),
11508            "::",
11509            stringify!(ascent)
11510        )
11511    );
11512    assert_eq!(
11513        unsafe { &(*(::std::ptr::null::<XCharStruct>())).descent as *const _ as usize },
11514        8usize,
11515        concat!(
11516            "Offset of field: ",
11517            stringify!(XCharStruct),
11518            "::",
11519            stringify!(descent)
11520        )
11521    );
11522    assert_eq!(
11523        unsafe { &(*(::std::ptr::null::<XCharStruct>())).attributes as *const _ as usize },
11524        10usize,
11525        concat!(
11526            "Offset of field: ",
11527            stringify!(XCharStruct),
11528            "::",
11529            stringify!(attributes)
11530        )
11531    );
11532}
11533#[repr(C)]
11534#[derive(Debug, Copy, Clone)]
11535pub struct XFontProp {
11536    pub name: Atom,
11537    pub card32: ::std::os::raw::c_ulong,
11538}
11539#[test]
11540fn bindgen_test_layout_XFontProp() {
11541    assert_eq!(
11542        ::std::mem::size_of::<XFontProp>(),
11543        16usize,
11544        concat!("Size of: ", stringify!(XFontProp))
11545    );
11546    assert_eq!(
11547        ::std::mem::align_of::<XFontProp>(),
11548        8usize,
11549        concat!("Alignment of ", stringify!(XFontProp))
11550    );
11551    assert_eq!(
11552        unsafe { &(*(::std::ptr::null::<XFontProp>())).name as *const _ as usize },
11553        0usize,
11554        concat!(
11555            "Offset of field: ",
11556            stringify!(XFontProp),
11557            "::",
11558            stringify!(name)
11559        )
11560    );
11561    assert_eq!(
11562        unsafe { &(*(::std::ptr::null::<XFontProp>())).card32 as *const _ as usize },
11563        8usize,
11564        concat!(
11565            "Offset of field: ",
11566            stringify!(XFontProp),
11567            "::",
11568            stringify!(card32)
11569        )
11570    );
11571}
11572#[repr(C)]
11573#[derive(Debug, Copy, Clone)]
11574pub struct XFontStruct {
11575    pub ext_data: *mut XExtData,
11576    pub fid: Font,
11577    pub direction: ::std::os::raw::c_uint,
11578    pub min_char_or_byte2: ::std::os::raw::c_uint,
11579    pub max_char_or_byte2: ::std::os::raw::c_uint,
11580    pub min_byte1: ::std::os::raw::c_uint,
11581    pub max_byte1: ::std::os::raw::c_uint,
11582    pub all_chars_exist: ::std::os::raw::c_int,
11583    pub default_char: ::std::os::raw::c_uint,
11584    pub n_properties: ::std::os::raw::c_int,
11585    pub properties: *mut XFontProp,
11586    pub min_bounds: XCharStruct,
11587    pub max_bounds: XCharStruct,
11588    pub per_char: *mut XCharStruct,
11589    pub ascent: ::std::os::raw::c_int,
11590    pub descent: ::std::os::raw::c_int,
11591}
11592#[test]
11593fn bindgen_test_layout_XFontStruct() {
11594    assert_eq!(
11595        ::std::mem::size_of::<XFontStruct>(),
11596        96usize,
11597        concat!("Size of: ", stringify!(XFontStruct))
11598    );
11599    assert_eq!(
11600        ::std::mem::align_of::<XFontStruct>(),
11601        8usize,
11602        concat!("Alignment of ", stringify!(XFontStruct))
11603    );
11604    assert_eq!(
11605        unsafe { &(*(::std::ptr::null::<XFontStruct>())).ext_data as *const _ as usize },
11606        0usize,
11607        concat!(
11608            "Offset of field: ",
11609            stringify!(XFontStruct),
11610            "::",
11611            stringify!(ext_data)
11612        )
11613    );
11614    assert_eq!(
11615        unsafe { &(*(::std::ptr::null::<XFontStruct>())).fid as *const _ as usize },
11616        8usize,
11617        concat!(
11618            "Offset of field: ",
11619            stringify!(XFontStruct),
11620            "::",
11621            stringify!(fid)
11622        )
11623    );
11624    assert_eq!(
11625        unsafe { &(*(::std::ptr::null::<XFontStruct>())).direction as *const _ as usize },
11626        16usize,
11627        concat!(
11628            "Offset of field: ",
11629            stringify!(XFontStruct),
11630            "::",
11631            stringify!(direction)
11632        )
11633    );
11634    assert_eq!(
11635        unsafe { &(*(::std::ptr::null::<XFontStruct>())).min_char_or_byte2 as *const _ as usize },
11636        20usize,
11637        concat!(
11638            "Offset of field: ",
11639            stringify!(XFontStruct),
11640            "::",
11641            stringify!(min_char_or_byte2)
11642        )
11643    );
11644    assert_eq!(
11645        unsafe { &(*(::std::ptr::null::<XFontStruct>())).max_char_or_byte2 as *const _ as usize },
11646        24usize,
11647        concat!(
11648            "Offset of field: ",
11649            stringify!(XFontStruct),
11650            "::",
11651            stringify!(max_char_or_byte2)
11652        )
11653    );
11654    assert_eq!(
11655        unsafe { &(*(::std::ptr::null::<XFontStruct>())).min_byte1 as *const _ as usize },
11656        28usize,
11657        concat!(
11658            "Offset of field: ",
11659            stringify!(XFontStruct),
11660            "::",
11661            stringify!(min_byte1)
11662        )
11663    );
11664    assert_eq!(
11665        unsafe { &(*(::std::ptr::null::<XFontStruct>())).max_byte1 as *const _ as usize },
11666        32usize,
11667        concat!(
11668            "Offset of field: ",
11669            stringify!(XFontStruct),
11670            "::",
11671            stringify!(max_byte1)
11672        )
11673    );
11674    assert_eq!(
11675        unsafe { &(*(::std::ptr::null::<XFontStruct>())).all_chars_exist as *const _ as usize },
11676        36usize,
11677        concat!(
11678            "Offset of field: ",
11679            stringify!(XFontStruct),
11680            "::",
11681            stringify!(all_chars_exist)
11682        )
11683    );
11684    assert_eq!(
11685        unsafe { &(*(::std::ptr::null::<XFontStruct>())).default_char as *const _ as usize },
11686        40usize,
11687        concat!(
11688            "Offset of field: ",
11689            stringify!(XFontStruct),
11690            "::",
11691            stringify!(default_char)
11692        )
11693    );
11694    assert_eq!(
11695        unsafe { &(*(::std::ptr::null::<XFontStruct>())).n_properties as *const _ as usize },
11696        44usize,
11697        concat!(
11698            "Offset of field: ",
11699            stringify!(XFontStruct),
11700            "::",
11701            stringify!(n_properties)
11702        )
11703    );
11704    assert_eq!(
11705        unsafe { &(*(::std::ptr::null::<XFontStruct>())).properties as *const _ as usize },
11706        48usize,
11707        concat!(
11708            "Offset of field: ",
11709            stringify!(XFontStruct),
11710            "::",
11711            stringify!(properties)
11712        )
11713    );
11714    assert_eq!(
11715        unsafe { &(*(::std::ptr::null::<XFontStruct>())).min_bounds as *const _ as usize },
11716        56usize,
11717        concat!(
11718            "Offset of field: ",
11719            stringify!(XFontStruct),
11720            "::",
11721            stringify!(min_bounds)
11722        )
11723    );
11724    assert_eq!(
11725        unsafe { &(*(::std::ptr::null::<XFontStruct>())).max_bounds as *const _ as usize },
11726        68usize,
11727        concat!(
11728            "Offset of field: ",
11729            stringify!(XFontStruct),
11730            "::",
11731            stringify!(max_bounds)
11732        )
11733    );
11734    assert_eq!(
11735        unsafe { &(*(::std::ptr::null::<XFontStruct>())).per_char as *const _ as usize },
11736        80usize,
11737        concat!(
11738            "Offset of field: ",
11739            stringify!(XFontStruct),
11740            "::",
11741            stringify!(per_char)
11742        )
11743    );
11744    assert_eq!(
11745        unsafe { &(*(::std::ptr::null::<XFontStruct>())).ascent as *const _ as usize },
11746        88usize,
11747        concat!(
11748            "Offset of field: ",
11749            stringify!(XFontStruct),
11750            "::",
11751            stringify!(ascent)
11752        )
11753    );
11754    assert_eq!(
11755        unsafe { &(*(::std::ptr::null::<XFontStruct>())).descent as *const _ as usize },
11756        92usize,
11757        concat!(
11758            "Offset of field: ",
11759            stringify!(XFontStruct),
11760            "::",
11761            stringify!(descent)
11762        )
11763    );
11764}
11765#[repr(C)]
11766#[derive(Debug, Copy, Clone)]
11767pub struct XTextItem {
11768    pub chars: *mut ::std::os::raw::c_char,
11769    pub nchars: ::std::os::raw::c_int,
11770    pub delta: ::std::os::raw::c_int,
11771    pub font: Font,
11772}
11773#[test]
11774fn bindgen_test_layout_XTextItem() {
11775    assert_eq!(
11776        ::std::mem::size_of::<XTextItem>(),
11777        24usize,
11778        concat!("Size of: ", stringify!(XTextItem))
11779    );
11780    assert_eq!(
11781        ::std::mem::align_of::<XTextItem>(),
11782        8usize,
11783        concat!("Alignment of ", stringify!(XTextItem))
11784    );
11785    assert_eq!(
11786        unsafe { &(*(::std::ptr::null::<XTextItem>())).chars as *const _ as usize },
11787        0usize,
11788        concat!(
11789            "Offset of field: ",
11790            stringify!(XTextItem),
11791            "::",
11792            stringify!(chars)
11793        )
11794    );
11795    assert_eq!(
11796        unsafe { &(*(::std::ptr::null::<XTextItem>())).nchars as *const _ as usize },
11797        8usize,
11798        concat!(
11799            "Offset of field: ",
11800            stringify!(XTextItem),
11801            "::",
11802            stringify!(nchars)
11803        )
11804    );
11805    assert_eq!(
11806        unsafe { &(*(::std::ptr::null::<XTextItem>())).delta as *const _ as usize },
11807        12usize,
11808        concat!(
11809            "Offset of field: ",
11810            stringify!(XTextItem),
11811            "::",
11812            stringify!(delta)
11813        )
11814    );
11815    assert_eq!(
11816        unsafe { &(*(::std::ptr::null::<XTextItem>())).font as *const _ as usize },
11817        16usize,
11818        concat!(
11819            "Offset of field: ",
11820            stringify!(XTextItem),
11821            "::",
11822            stringify!(font)
11823        )
11824    );
11825}
11826#[repr(C)]
11827#[derive(Debug, Copy, Clone)]
11828pub struct XChar2b {
11829    pub byte1: ::std::os::raw::c_uchar,
11830    pub byte2: ::std::os::raw::c_uchar,
11831}
11832#[test]
11833fn bindgen_test_layout_XChar2b() {
11834    assert_eq!(
11835        ::std::mem::size_of::<XChar2b>(),
11836        2usize,
11837        concat!("Size of: ", stringify!(XChar2b))
11838    );
11839    assert_eq!(
11840        ::std::mem::align_of::<XChar2b>(),
11841        1usize,
11842        concat!("Alignment of ", stringify!(XChar2b))
11843    );
11844    assert_eq!(
11845        unsafe { &(*(::std::ptr::null::<XChar2b>())).byte1 as *const _ as usize },
11846        0usize,
11847        concat!(
11848            "Offset of field: ",
11849            stringify!(XChar2b),
11850            "::",
11851            stringify!(byte1)
11852        )
11853    );
11854    assert_eq!(
11855        unsafe { &(*(::std::ptr::null::<XChar2b>())).byte2 as *const _ as usize },
11856        1usize,
11857        concat!(
11858            "Offset of field: ",
11859            stringify!(XChar2b),
11860            "::",
11861            stringify!(byte2)
11862        )
11863    );
11864}
11865#[repr(C)]
11866#[derive(Debug, Copy, Clone)]
11867pub struct XTextItem16 {
11868    pub chars: *mut XChar2b,
11869    pub nchars: ::std::os::raw::c_int,
11870    pub delta: ::std::os::raw::c_int,
11871    pub font: Font,
11872}
11873#[test]
11874fn bindgen_test_layout_XTextItem16() {
11875    assert_eq!(
11876        ::std::mem::size_of::<XTextItem16>(),
11877        24usize,
11878        concat!("Size of: ", stringify!(XTextItem16))
11879    );
11880    assert_eq!(
11881        ::std::mem::align_of::<XTextItem16>(),
11882        8usize,
11883        concat!("Alignment of ", stringify!(XTextItem16))
11884    );
11885    assert_eq!(
11886        unsafe { &(*(::std::ptr::null::<XTextItem16>())).chars as *const _ as usize },
11887        0usize,
11888        concat!(
11889            "Offset of field: ",
11890            stringify!(XTextItem16),
11891            "::",
11892            stringify!(chars)
11893        )
11894    );
11895    assert_eq!(
11896        unsafe { &(*(::std::ptr::null::<XTextItem16>())).nchars as *const _ as usize },
11897        8usize,
11898        concat!(
11899            "Offset of field: ",
11900            stringify!(XTextItem16),
11901            "::",
11902            stringify!(nchars)
11903        )
11904    );
11905    assert_eq!(
11906        unsafe { &(*(::std::ptr::null::<XTextItem16>())).delta as *const _ as usize },
11907        12usize,
11908        concat!(
11909            "Offset of field: ",
11910            stringify!(XTextItem16),
11911            "::",
11912            stringify!(delta)
11913        )
11914    );
11915    assert_eq!(
11916        unsafe { &(*(::std::ptr::null::<XTextItem16>())).font as *const _ as usize },
11917        16usize,
11918        concat!(
11919            "Offset of field: ",
11920            stringify!(XTextItem16),
11921            "::",
11922            stringify!(font)
11923        )
11924    );
11925}
11926#[repr(C)]
11927#[derive(Copy, Clone)]
11928pub union XEDataObject {
11929    pub display: *mut Display,
11930    pub gc: GC,
11931    pub visual: *mut Visual,
11932    pub screen: *mut Screen,
11933    pub pixmap_format: *mut ScreenFormat,
11934    pub font: *mut XFontStruct,
11935    _bindgen_union_align: u64,
11936}
11937#[test]
11938fn bindgen_test_layout_XEDataObject() {
11939    assert_eq!(
11940        ::std::mem::size_of::<XEDataObject>(),
11941        8usize,
11942        concat!("Size of: ", stringify!(XEDataObject))
11943    );
11944    assert_eq!(
11945        ::std::mem::align_of::<XEDataObject>(),
11946        8usize,
11947        concat!("Alignment of ", stringify!(XEDataObject))
11948    );
11949    assert_eq!(
11950        unsafe { &(*(::std::ptr::null::<XEDataObject>())).display as *const _ as usize },
11951        0usize,
11952        concat!(
11953            "Offset of field: ",
11954            stringify!(XEDataObject),
11955            "::",
11956            stringify!(display)
11957        )
11958    );
11959    assert_eq!(
11960        unsafe { &(*(::std::ptr::null::<XEDataObject>())).gc as *const _ as usize },
11961        0usize,
11962        concat!(
11963            "Offset of field: ",
11964            stringify!(XEDataObject),
11965            "::",
11966            stringify!(gc)
11967        )
11968    );
11969    assert_eq!(
11970        unsafe { &(*(::std::ptr::null::<XEDataObject>())).visual as *const _ as usize },
11971        0usize,
11972        concat!(
11973            "Offset of field: ",
11974            stringify!(XEDataObject),
11975            "::",
11976            stringify!(visual)
11977        )
11978    );
11979    assert_eq!(
11980        unsafe { &(*(::std::ptr::null::<XEDataObject>())).screen as *const _ as usize },
11981        0usize,
11982        concat!(
11983            "Offset of field: ",
11984            stringify!(XEDataObject),
11985            "::",
11986            stringify!(screen)
11987        )
11988    );
11989    assert_eq!(
11990        unsafe { &(*(::std::ptr::null::<XEDataObject>())).pixmap_format as *const _ as usize },
11991        0usize,
11992        concat!(
11993            "Offset of field: ",
11994            stringify!(XEDataObject),
11995            "::",
11996            stringify!(pixmap_format)
11997        )
11998    );
11999    assert_eq!(
12000        unsafe { &(*(::std::ptr::null::<XEDataObject>())).font as *const _ as usize },
12001        0usize,
12002        concat!(
12003            "Offset of field: ",
12004            stringify!(XEDataObject),
12005            "::",
12006            stringify!(font)
12007        )
12008    );
12009}
12010#[repr(C)]
12011#[derive(Debug, Copy, Clone)]
12012pub struct XFontSetExtents {
12013    pub max_ink_extent: XRectangle,
12014    pub max_logical_extent: XRectangle,
12015}
12016#[test]
12017fn bindgen_test_layout_XFontSetExtents() {
12018    assert_eq!(
12019        ::std::mem::size_of::<XFontSetExtents>(),
12020        16usize,
12021        concat!("Size of: ", stringify!(XFontSetExtents))
12022    );
12023    assert_eq!(
12024        ::std::mem::align_of::<XFontSetExtents>(),
12025        2usize,
12026        concat!("Alignment of ", stringify!(XFontSetExtents))
12027    );
12028    assert_eq!(
12029        unsafe { &(*(::std::ptr::null::<XFontSetExtents>())).max_ink_extent as *const _ as usize },
12030        0usize,
12031        concat!(
12032            "Offset of field: ",
12033            stringify!(XFontSetExtents),
12034            "::",
12035            stringify!(max_ink_extent)
12036        )
12037    );
12038    assert_eq!(
12039        unsafe {
12040            &(*(::std::ptr::null::<XFontSetExtents>())).max_logical_extent as *const _ as usize
12041        },
12042        8usize,
12043        concat!(
12044            "Offset of field: ",
12045            stringify!(XFontSetExtents),
12046            "::",
12047            stringify!(max_logical_extent)
12048        )
12049    );
12050}
12051#[repr(C)]
12052#[derive(Debug, Copy, Clone)]
12053pub struct _XOM {
12054    _unused: [u8; 0],
12055}
12056pub type XOM = *mut _XOM;
12057#[repr(C)]
12058#[derive(Debug, Copy, Clone)]
12059pub struct _XOC {
12060    _unused: [u8; 0],
12061}
12062pub type XOC = *mut _XOC;
12063pub type XFontSet = *mut _XOC;
12064#[repr(C)]
12065#[derive(Debug, Copy, Clone)]
12066pub struct XmbTextItem {
12067    pub chars: *mut ::std::os::raw::c_char,
12068    pub nchars: ::std::os::raw::c_int,
12069    pub delta: ::std::os::raw::c_int,
12070    pub font_set: XFontSet,
12071}
12072#[test]
12073fn bindgen_test_layout_XmbTextItem() {
12074    assert_eq!(
12075        ::std::mem::size_of::<XmbTextItem>(),
12076        24usize,
12077        concat!("Size of: ", stringify!(XmbTextItem))
12078    );
12079    assert_eq!(
12080        ::std::mem::align_of::<XmbTextItem>(),
12081        8usize,
12082        concat!("Alignment of ", stringify!(XmbTextItem))
12083    );
12084    assert_eq!(
12085        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).chars as *const _ as usize },
12086        0usize,
12087        concat!(
12088            "Offset of field: ",
12089            stringify!(XmbTextItem),
12090            "::",
12091            stringify!(chars)
12092        )
12093    );
12094    assert_eq!(
12095        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).nchars as *const _ as usize },
12096        8usize,
12097        concat!(
12098            "Offset of field: ",
12099            stringify!(XmbTextItem),
12100            "::",
12101            stringify!(nchars)
12102        )
12103    );
12104    assert_eq!(
12105        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).delta as *const _ as usize },
12106        12usize,
12107        concat!(
12108            "Offset of field: ",
12109            stringify!(XmbTextItem),
12110            "::",
12111            stringify!(delta)
12112        )
12113    );
12114    assert_eq!(
12115        unsafe { &(*(::std::ptr::null::<XmbTextItem>())).font_set as *const _ as usize },
12116        16usize,
12117        concat!(
12118            "Offset of field: ",
12119            stringify!(XmbTextItem),
12120            "::",
12121            stringify!(font_set)
12122        )
12123    );
12124}
12125#[repr(C)]
12126#[derive(Debug, Copy, Clone)]
12127pub struct XwcTextItem {
12128    pub chars: *mut wchar_t,
12129    pub nchars: ::std::os::raw::c_int,
12130    pub delta: ::std::os::raw::c_int,
12131    pub font_set: XFontSet,
12132}
12133#[test]
12134fn bindgen_test_layout_XwcTextItem() {
12135    assert_eq!(
12136        ::std::mem::size_of::<XwcTextItem>(),
12137        24usize,
12138        concat!("Size of: ", stringify!(XwcTextItem))
12139    );
12140    assert_eq!(
12141        ::std::mem::align_of::<XwcTextItem>(),
12142        8usize,
12143        concat!("Alignment of ", stringify!(XwcTextItem))
12144    );
12145    assert_eq!(
12146        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).chars as *const _ as usize },
12147        0usize,
12148        concat!(
12149            "Offset of field: ",
12150            stringify!(XwcTextItem),
12151            "::",
12152            stringify!(chars)
12153        )
12154    );
12155    assert_eq!(
12156        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).nchars as *const _ as usize },
12157        8usize,
12158        concat!(
12159            "Offset of field: ",
12160            stringify!(XwcTextItem),
12161            "::",
12162            stringify!(nchars)
12163        )
12164    );
12165    assert_eq!(
12166        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).delta as *const _ as usize },
12167        12usize,
12168        concat!(
12169            "Offset of field: ",
12170            stringify!(XwcTextItem),
12171            "::",
12172            stringify!(delta)
12173        )
12174    );
12175    assert_eq!(
12176        unsafe { &(*(::std::ptr::null::<XwcTextItem>())).font_set as *const _ as usize },
12177        16usize,
12178        concat!(
12179            "Offset of field: ",
12180            stringify!(XwcTextItem),
12181            "::",
12182            stringify!(font_set)
12183        )
12184    );
12185}
12186#[repr(C)]
12187#[derive(Debug, Copy, Clone)]
12188pub struct XOMCharSetList {
12189    pub charset_count: ::std::os::raw::c_int,
12190    pub charset_list: *mut *mut ::std::os::raw::c_char,
12191}
12192#[test]
12193fn bindgen_test_layout_XOMCharSetList() {
12194    assert_eq!(
12195        ::std::mem::size_of::<XOMCharSetList>(),
12196        16usize,
12197        concat!("Size of: ", stringify!(XOMCharSetList))
12198    );
12199    assert_eq!(
12200        ::std::mem::align_of::<XOMCharSetList>(),
12201        8usize,
12202        concat!("Alignment of ", stringify!(XOMCharSetList))
12203    );
12204    assert_eq!(
12205        unsafe { &(*(::std::ptr::null::<XOMCharSetList>())).charset_count as *const _ as usize },
12206        0usize,
12207        concat!(
12208            "Offset of field: ",
12209            stringify!(XOMCharSetList),
12210            "::",
12211            stringify!(charset_count)
12212        )
12213    );
12214    assert_eq!(
12215        unsafe { &(*(::std::ptr::null::<XOMCharSetList>())).charset_list as *const _ as usize },
12216        8usize,
12217        concat!(
12218            "Offset of field: ",
12219            stringify!(XOMCharSetList),
12220            "::",
12221            stringify!(charset_list)
12222        )
12223    );
12224}
12225pub const XOrientation_XOMOrientation_LTR_TTB: XOrientation = 0;
12226pub const XOrientation_XOMOrientation_RTL_TTB: XOrientation = 1;
12227pub const XOrientation_XOMOrientation_TTB_LTR: XOrientation = 2;
12228pub const XOrientation_XOMOrientation_TTB_RTL: XOrientation = 3;
12229pub const XOrientation_XOMOrientation_Context: XOrientation = 4;
12230pub type XOrientation = u32;
12231#[repr(C)]
12232#[derive(Debug, Copy, Clone)]
12233pub struct XOMOrientation {
12234    pub num_orientation: ::std::os::raw::c_int,
12235    pub orientation: *mut XOrientation,
12236}
12237#[test]
12238fn bindgen_test_layout_XOMOrientation() {
12239    assert_eq!(
12240        ::std::mem::size_of::<XOMOrientation>(),
12241        16usize,
12242        concat!("Size of: ", stringify!(XOMOrientation))
12243    );
12244    assert_eq!(
12245        ::std::mem::align_of::<XOMOrientation>(),
12246        8usize,
12247        concat!("Alignment of ", stringify!(XOMOrientation))
12248    );
12249    assert_eq!(
12250        unsafe { &(*(::std::ptr::null::<XOMOrientation>())).num_orientation as *const _ as usize },
12251        0usize,
12252        concat!(
12253            "Offset of field: ",
12254            stringify!(XOMOrientation),
12255            "::",
12256            stringify!(num_orientation)
12257        )
12258    );
12259    assert_eq!(
12260        unsafe { &(*(::std::ptr::null::<XOMOrientation>())).orientation as *const _ as usize },
12261        8usize,
12262        concat!(
12263            "Offset of field: ",
12264            stringify!(XOMOrientation),
12265            "::",
12266            stringify!(orientation)
12267        )
12268    );
12269}
12270#[repr(C)]
12271#[derive(Debug, Copy, Clone)]
12272pub struct XOMFontInfo {
12273    pub num_font: ::std::os::raw::c_int,
12274    pub font_struct_list: *mut *mut XFontStruct,
12275    pub font_name_list: *mut *mut ::std::os::raw::c_char,
12276}
12277#[test]
12278fn bindgen_test_layout_XOMFontInfo() {
12279    assert_eq!(
12280        ::std::mem::size_of::<XOMFontInfo>(),
12281        24usize,
12282        concat!("Size of: ", stringify!(XOMFontInfo))
12283    );
12284    assert_eq!(
12285        ::std::mem::align_of::<XOMFontInfo>(),
12286        8usize,
12287        concat!("Alignment of ", stringify!(XOMFontInfo))
12288    );
12289    assert_eq!(
12290        unsafe { &(*(::std::ptr::null::<XOMFontInfo>())).num_font as *const _ as usize },
12291        0usize,
12292        concat!(
12293            "Offset of field: ",
12294            stringify!(XOMFontInfo),
12295            "::",
12296            stringify!(num_font)
12297        )
12298    );
12299    assert_eq!(
12300        unsafe { &(*(::std::ptr::null::<XOMFontInfo>())).font_struct_list as *const _ as usize },
12301        8usize,
12302        concat!(
12303            "Offset of field: ",
12304            stringify!(XOMFontInfo),
12305            "::",
12306            stringify!(font_struct_list)
12307        )
12308    );
12309    assert_eq!(
12310        unsafe { &(*(::std::ptr::null::<XOMFontInfo>())).font_name_list as *const _ as usize },
12311        16usize,
12312        concat!(
12313            "Offset of field: ",
12314            stringify!(XOMFontInfo),
12315            "::",
12316            stringify!(font_name_list)
12317        )
12318    );
12319}
12320#[repr(C)]
12321#[derive(Debug, Copy, Clone)]
12322pub struct _XIM {
12323    _unused: [u8; 0],
12324}
12325pub type XIM = *mut _XIM;
12326#[repr(C)]
12327#[derive(Debug, Copy, Clone)]
12328pub struct _XIC {
12329    _unused: [u8; 0],
12330}
12331pub type XIC = *mut _XIC;
12332pub type XIMProc =
12333    ::std::option::Option<unsafe extern "C" fn(arg1: XIM, arg2: XPointer, arg3: XPointer)>;
12334pub type XICProc = ::std::option::Option<
12335    unsafe extern "C" fn(arg1: XIC, arg2: XPointer, arg3: XPointer) -> ::std::os::raw::c_int,
12336>;
12337pub type XIDProc =
12338    ::std::option::Option<unsafe extern "C" fn(arg1: *mut Display, arg2: XPointer, arg3: XPointer)>;
12339pub type XIMStyle = ::std::os::raw::c_ulong;
12340#[repr(C)]
12341#[derive(Debug, Copy, Clone)]
12342pub struct XIMStyles {
12343    pub count_styles: ::std::os::raw::c_ushort,
12344    pub supported_styles: *mut XIMStyle,
12345}
12346#[test]
12347fn bindgen_test_layout_XIMStyles() {
12348    assert_eq!(
12349        ::std::mem::size_of::<XIMStyles>(),
12350        16usize,
12351        concat!("Size of: ", stringify!(XIMStyles))
12352    );
12353    assert_eq!(
12354        ::std::mem::align_of::<XIMStyles>(),
12355        8usize,
12356        concat!("Alignment of ", stringify!(XIMStyles))
12357    );
12358    assert_eq!(
12359        unsafe { &(*(::std::ptr::null::<XIMStyles>())).count_styles as *const _ as usize },
12360        0usize,
12361        concat!(
12362            "Offset of field: ",
12363            stringify!(XIMStyles),
12364            "::",
12365            stringify!(count_styles)
12366        )
12367    );
12368    assert_eq!(
12369        unsafe { &(*(::std::ptr::null::<XIMStyles>())).supported_styles as *const _ as usize },
12370        8usize,
12371        concat!(
12372            "Offset of field: ",
12373            stringify!(XIMStyles),
12374            "::",
12375            stringify!(supported_styles)
12376        )
12377    );
12378}
12379pub type XVaNestedList = *mut ::std::os::raw::c_void;
12380#[repr(C)]
12381#[derive(Debug, Copy, Clone)]
12382pub struct XIMCallback {
12383    pub client_data: XPointer,
12384    pub callback: XIMProc,
12385}
12386#[test]
12387fn bindgen_test_layout_XIMCallback() {
12388    assert_eq!(
12389        ::std::mem::size_of::<XIMCallback>(),
12390        16usize,
12391        concat!("Size of: ", stringify!(XIMCallback))
12392    );
12393    assert_eq!(
12394        ::std::mem::align_of::<XIMCallback>(),
12395        8usize,
12396        concat!("Alignment of ", stringify!(XIMCallback))
12397    );
12398    assert_eq!(
12399        unsafe { &(*(::std::ptr::null::<XIMCallback>())).client_data as *const _ as usize },
12400        0usize,
12401        concat!(
12402            "Offset of field: ",
12403            stringify!(XIMCallback),
12404            "::",
12405            stringify!(client_data)
12406        )
12407    );
12408    assert_eq!(
12409        unsafe { &(*(::std::ptr::null::<XIMCallback>())).callback as *const _ as usize },
12410        8usize,
12411        concat!(
12412            "Offset of field: ",
12413            stringify!(XIMCallback),
12414            "::",
12415            stringify!(callback)
12416        )
12417    );
12418}
12419#[repr(C)]
12420#[derive(Debug, Copy, Clone)]
12421pub struct XICCallback {
12422    pub client_data: XPointer,
12423    pub callback: XICProc,
12424}
12425#[test]
12426fn bindgen_test_layout_XICCallback() {
12427    assert_eq!(
12428        ::std::mem::size_of::<XICCallback>(),
12429        16usize,
12430        concat!("Size of: ", stringify!(XICCallback))
12431    );
12432    assert_eq!(
12433        ::std::mem::align_of::<XICCallback>(),
12434        8usize,
12435        concat!("Alignment of ", stringify!(XICCallback))
12436    );
12437    assert_eq!(
12438        unsafe { &(*(::std::ptr::null::<XICCallback>())).client_data as *const _ as usize },
12439        0usize,
12440        concat!(
12441            "Offset of field: ",
12442            stringify!(XICCallback),
12443            "::",
12444            stringify!(client_data)
12445        )
12446    );
12447    assert_eq!(
12448        unsafe { &(*(::std::ptr::null::<XICCallback>())).callback as *const _ as usize },
12449        8usize,
12450        concat!(
12451            "Offset of field: ",
12452            stringify!(XICCallback),
12453            "::",
12454            stringify!(callback)
12455        )
12456    );
12457}
12458pub type XIMFeedback = ::std::os::raw::c_ulong;
12459#[repr(C)]
12460#[derive(Copy, Clone)]
12461pub struct _XIMText {
12462    pub length: ::std::os::raw::c_ushort,
12463    pub feedback: *mut XIMFeedback,
12464    pub encoding_is_wchar: ::std::os::raw::c_int,
12465    pub string: _XIMText__bindgen_ty_1,
12466}
12467#[repr(C)]
12468#[derive(Copy, Clone)]
12469pub union _XIMText__bindgen_ty_1 {
12470    pub multi_byte: *mut ::std::os::raw::c_char,
12471    pub wide_char: *mut wchar_t,
12472    _bindgen_union_align: u64,
12473}
12474#[test]
12475fn bindgen_test_layout__XIMText__bindgen_ty_1() {
12476    assert_eq!(
12477        ::std::mem::size_of::<_XIMText__bindgen_ty_1>(),
12478        8usize,
12479        concat!("Size of: ", stringify!(_XIMText__bindgen_ty_1))
12480    );
12481    assert_eq!(
12482        ::std::mem::align_of::<_XIMText__bindgen_ty_1>(),
12483        8usize,
12484        concat!("Alignment of ", stringify!(_XIMText__bindgen_ty_1))
12485    );
12486    assert_eq!(
12487        unsafe {
12488            &(*(::std::ptr::null::<_XIMText__bindgen_ty_1>())).multi_byte as *const _ as usize
12489        },
12490        0usize,
12491        concat!(
12492            "Offset of field: ",
12493            stringify!(_XIMText__bindgen_ty_1),
12494            "::",
12495            stringify!(multi_byte)
12496        )
12497    );
12498    assert_eq!(
12499        unsafe {
12500            &(*(::std::ptr::null::<_XIMText__bindgen_ty_1>())).wide_char as *const _ as usize
12501        },
12502        0usize,
12503        concat!(
12504            "Offset of field: ",
12505            stringify!(_XIMText__bindgen_ty_1),
12506            "::",
12507            stringify!(wide_char)
12508        )
12509    );
12510}
12511#[test]
12512fn bindgen_test_layout__XIMText() {
12513    assert_eq!(
12514        ::std::mem::size_of::<_XIMText>(),
12515        32usize,
12516        concat!("Size of: ", stringify!(_XIMText))
12517    );
12518    assert_eq!(
12519        ::std::mem::align_of::<_XIMText>(),
12520        8usize,
12521        concat!("Alignment of ", stringify!(_XIMText))
12522    );
12523    assert_eq!(
12524        unsafe { &(*(::std::ptr::null::<_XIMText>())).length as *const _ as usize },
12525        0usize,
12526        concat!(
12527            "Offset of field: ",
12528            stringify!(_XIMText),
12529            "::",
12530            stringify!(length)
12531        )
12532    );
12533    assert_eq!(
12534        unsafe { &(*(::std::ptr::null::<_XIMText>())).feedback as *const _ as usize },
12535        8usize,
12536        concat!(
12537            "Offset of field: ",
12538            stringify!(_XIMText),
12539            "::",
12540            stringify!(feedback)
12541        )
12542    );
12543    assert_eq!(
12544        unsafe { &(*(::std::ptr::null::<_XIMText>())).encoding_is_wchar as *const _ as usize },
12545        16usize,
12546        concat!(
12547            "Offset of field: ",
12548            stringify!(_XIMText),
12549            "::",
12550            stringify!(encoding_is_wchar)
12551        )
12552    );
12553    assert_eq!(
12554        unsafe { &(*(::std::ptr::null::<_XIMText>())).string as *const _ as usize },
12555        24usize,
12556        concat!(
12557            "Offset of field: ",
12558            stringify!(_XIMText),
12559            "::",
12560            stringify!(string)
12561        )
12562    );
12563}
12564pub type XIMText = _XIMText;
12565pub type XIMPreeditState = ::std::os::raw::c_ulong;
12566#[repr(C)]
12567#[derive(Debug, Copy, Clone)]
12568pub struct _XIMPreeditStateNotifyCallbackStruct {
12569    pub state: XIMPreeditState,
12570}
12571#[test]
12572fn bindgen_test_layout__XIMPreeditStateNotifyCallbackStruct() {
12573    assert_eq!(
12574        ::std::mem::size_of::<_XIMPreeditStateNotifyCallbackStruct>(),
12575        8usize,
12576        concat!(
12577            "Size of: ",
12578            stringify!(_XIMPreeditStateNotifyCallbackStruct)
12579        )
12580    );
12581    assert_eq!(
12582        ::std::mem::align_of::<_XIMPreeditStateNotifyCallbackStruct>(),
12583        8usize,
12584        concat!(
12585            "Alignment of ",
12586            stringify!(_XIMPreeditStateNotifyCallbackStruct)
12587        )
12588    );
12589    assert_eq!(
12590        unsafe {
12591            &(*(::std::ptr::null::<_XIMPreeditStateNotifyCallbackStruct>())).state as *const _
12592                as usize
12593        },
12594        0usize,
12595        concat!(
12596            "Offset of field: ",
12597            stringify!(_XIMPreeditStateNotifyCallbackStruct),
12598            "::",
12599            stringify!(state)
12600        )
12601    );
12602}
12603pub type XIMPreeditStateNotifyCallbackStruct = _XIMPreeditStateNotifyCallbackStruct;
12604pub type XIMResetState = ::std::os::raw::c_ulong;
12605pub type XIMStringConversionFeedback = ::std::os::raw::c_ulong;
12606#[repr(C)]
12607#[derive(Copy, Clone)]
12608pub struct _XIMStringConversionText {
12609    pub length: ::std::os::raw::c_ushort,
12610    pub feedback: *mut XIMStringConversionFeedback,
12611    pub encoding_is_wchar: ::std::os::raw::c_int,
12612    pub string: _XIMStringConversionText__bindgen_ty_1,
12613}
12614#[repr(C)]
12615#[derive(Copy, Clone)]
12616pub union _XIMStringConversionText__bindgen_ty_1 {
12617    pub mbs: *mut ::std::os::raw::c_char,
12618    pub wcs: *mut wchar_t,
12619    _bindgen_union_align: u64,
12620}
12621#[test]
12622fn bindgen_test_layout__XIMStringConversionText__bindgen_ty_1() {
12623    assert_eq!(
12624        ::std::mem::size_of::<_XIMStringConversionText__bindgen_ty_1>(),
12625        8usize,
12626        concat!(
12627            "Size of: ",
12628            stringify!(_XIMStringConversionText__bindgen_ty_1)
12629        )
12630    );
12631    assert_eq!(
12632        ::std::mem::align_of::<_XIMStringConversionText__bindgen_ty_1>(),
12633        8usize,
12634        concat!(
12635            "Alignment of ",
12636            stringify!(_XIMStringConversionText__bindgen_ty_1)
12637        )
12638    );
12639    assert_eq!(
12640        unsafe {
12641            &(*(::std::ptr::null::<_XIMStringConversionText__bindgen_ty_1>())).mbs as *const _
12642                as usize
12643        },
12644        0usize,
12645        concat!(
12646            "Offset of field: ",
12647            stringify!(_XIMStringConversionText__bindgen_ty_1),
12648            "::",
12649            stringify!(mbs)
12650        )
12651    );
12652    assert_eq!(
12653        unsafe {
12654            &(*(::std::ptr::null::<_XIMStringConversionText__bindgen_ty_1>())).wcs as *const _
12655                as usize
12656        },
12657        0usize,
12658        concat!(
12659            "Offset of field: ",
12660            stringify!(_XIMStringConversionText__bindgen_ty_1),
12661            "::",
12662            stringify!(wcs)
12663        )
12664    );
12665}
12666#[test]
12667fn bindgen_test_layout__XIMStringConversionText() {
12668    assert_eq!(
12669        ::std::mem::size_of::<_XIMStringConversionText>(),
12670        32usize,
12671        concat!("Size of: ", stringify!(_XIMStringConversionText))
12672    );
12673    assert_eq!(
12674        ::std::mem::align_of::<_XIMStringConversionText>(),
12675        8usize,
12676        concat!("Alignment of ", stringify!(_XIMStringConversionText))
12677    );
12678    assert_eq!(
12679        unsafe { &(*(::std::ptr::null::<_XIMStringConversionText>())).length as *const _ as usize },
12680        0usize,
12681        concat!(
12682            "Offset of field: ",
12683            stringify!(_XIMStringConversionText),
12684            "::",
12685            stringify!(length)
12686        )
12687    );
12688    assert_eq!(
12689        unsafe {
12690            &(*(::std::ptr::null::<_XIMStringConversionText>())).feedback as *const _ as usize
12691        },
12692        8usize,
12693        concat!(
12694            "Offset of field: ",
12695            stringify!(_XIMStringConversionText),
12696            "::",
12697            stringify!(feedback)
12698        )
12699    );
12700    assert_eq!(
12701        unsafe {
12702            &(*(::std::ptr::null::<_XIMStringConversionText>())).encoding_is_wchar as *const _
12703                as usize
12704        },
12705        16usize,
12706        concat!(
12707            "Offset of field: ",
12708            stringify!(_XIMStringConversionText),
12709            "::",
12710            stringify!(encoding_is_wchar)
12711        )
12712    );
12713    assert_eq!(
12714        unsafe { &(*(::std::ptr::null::<_XIMStringConversionText>())).string as *const _ as usize },
12715        24usize,
12716        concat!(
12717            "Offset of field: ",
12718            stringify!(_XIMStringConversionText),
12719            "::",
12720            stringify!(string)
12721        )
12722    );
12723}
12724pub type XIMStringConversionText = _XIMStringConversionText;
12725pub type XIMStringConversionPosition = ::std::os::raw::c_ushort;
12726pub type XIMStringConversionType = ::std::os::raw::c_ushort;
12727pub type XIMStringConversionOperation = ::std::os::raw::c_ushort;
12728pub const XIMCaretDirection_XIMForwardChar: XIMCaretDirection = 0;
12729pub const XIMCaretDirection_XIMBackwardChar: XIMCaretDirection = 1;
12730pub const XIMCaretDirection_XIMForwardWord: XIMCaretDirection = 2;
12731pub const XIMCaretDirection_XIMBackwardWord: XIMCaretDirection = 3;
12732pub const XIMCaretDirection_XIMCaretUp: XIMCaretDirection = 4;
12733pub const XIMCaretDirection_XIMCaretDown: XIMCaretDirection = 5;
12734pub const XIMCaretDirection_XIMNextLine: XIMCaretDirection = 6;
12735pub const XIMCaretDirection_XIMPreviousLine: XIMCaretDirection = 7;
12736pub const XIMCaretDirection_XIMLineStart: XIMCaretDirection = 8;
12737pub const XIMCaretDirection_XIMLineEnd: XIMCaretDirection = 9;
12738pub const XIMCaretDirection_XIMAbsolutePosition: XIMCaretDirection = 10;
12739pub const XIMCaretDirection_XIMDontChange: XIMCaretDirection = 11;
12740pub type XIMCaretDirection = u32;
12741#[repr(C)]
12742#[derive(Debug, Copy, Clone)]
12743pub struct _XIMStringConversionCallbackStruct {
12744    pub position: XIMStringConversionPosition,
12745    pub direction: XIMCaretDirection,
12746    pub operation: XIMStringConversionOperation,
12747    pub factor: ::std::os::raw::c_ushort,
12748    pub text: *mut XIMStringConversionText,
12749}
12750#[test]
12751fn bindgen_test_layout__XIMStringConversionCallbackStruct() {
12752    assert_eq!(
12753        ::std::mem::size_of::<_XIMStringConversionCallbackStruct>(),
12754        24usize,
12755        concat!("Size of: ", stringify!(_XIMStringConversionCallbackStruct))
12756    );
12757    assert_eq!(
12758        ::std::mem::align_of::<_XIMStringConversionCallbackStruct>(),
12759        8usize,
12760        concat!(
12761            "Alignment of ",
12762            stringify!(_XIMStringConversionCallbackStruct)
12763        )
12764    );
12765    assert_eq!(
12766        unsafe {
12767            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).position as *const _
12768                as usize
12769        },
12770        0usize,
12771        concat!(
12772            "Offset of field: ",
12773            stringify!(_XIMStringConversionCallbackStruct),
12774            "::",
12775            stringify!(position)
12776        )
12777    );
12778    assert_eq!(
12779        unsafe {
12780            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).direction as *const _
12781                as usize
12782        },
12783        4usize,
12784        concat!(
12785            "Offset of field: ",
12786            stringify!(_XIMStringConversionCallbackStruct),
12787            "::",
12788            stringify!(direction)
12789        )
12790    );
12791    assert_eq!(
12792        unsafe {
12793            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).operation as *const _
12794                as usize
12795        },
12796        8usize,
12797        concat!(
12798            "Offset of field: ",
12799            stringify!(_XIMStringConversionCallbackStruct),
12800            "::",
12801            stringify!(operation)
12802        )
12803    );
12804    assert_eq!(
12805        unsafe {
12806            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).factor as *const _
12807                as usize
12808        },
12809        10usize,
12810        concat!(
12811            "Offset of field: ",
12812            stringify!(_XIMStringConversionCallbackStruct),
12813            "::",
12814            stringify!(factor)
12815        )
12816    );
12817    assert_eq!(
12818        unsafe {
12819            &(*(::std::ptr::null::<_XIMStringConversionCallbackStruct>())).text as *const _ as usize
12820        },
12821        16usize,
12822        concat!(
12823            "Offset of field: ",
12824            stringify!(_XIMStringConversionCallbackStruct),
12825            "::",
12826            stringify!(text)
12827        )
12828    );
12829}
12830pub type XIMStringConversionCallbackStruct = _XIMStringConversionCallbackStruct;
12831#[repr(C)]
12832#[derive(Debug, Copy, Clone)]
12833pub struct _XIMPreeditDrawCallbackStruct {
12834    pub caret: ::std::os::raw::c_int,
12835    pub chg_first: ::std::os::raw::c_int,
12836    pub chg_length: ::std::os::raw::c_int,
12837    pub text: *mut XIMText,
12838}
12839#[test]
12840fn bindgen_test_layout__XIMPreeditDrawCallbackStruct() {
12841    assert_eq!(
12842        ::std::mem::size_of::<_XIMPreeditDrawCallbackStruct>(),
12843        24usize,
12844        concat!("Size of: ", stringify!(_XIMPreeditDrawCallbackStruct))
12845    );
12846    assert_eq!(
12847        ::std::mem::align_of::<_XIMPreeditDrawCallbackStruct>(),
12848        8usize,
12849        concat!("Alignment of ", stringify!(_XIMPreeditDrawCallbackStruct))
12850    );
12851    assert_eq!(
12852        unsafe {
12853            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).caret as *const _ as usize
12854        },
12855        0usize,
12856        concat!(
12857            "Offset of field: ",
12858            stringify!(_XIMPreeditDrawCallbackStruct),
12859            "::",
12860            stringify!(caret)
12861        )
12862    );
12863    assert_eq!(
12864        unsafe {
12865            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).chg_first as *const _ as usize
12866        },
12867        4usize,
12868        concat!(
12869            "Offset of field: ",
12870            stringify!(_XIMPreeditDrawCallbackStruct),
12871            "::",
12872            stringify!(chg_first)
12873        )
12874    );
12875    assert_eq!(
12876        unsafe {
12877            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).chg_length as *const _
12878                as usize
12879        },
12880        8usize,
12881        concat!(
12882            "Offset of field: ",
12883            stringify!(_XIMPreeditDrawCallbackStruct),
12884            "::",
12885            stringify!(chg_length)
12886        )
12887    );
12888    assert_eq!(
12889        unsafe {
12890            &(*(::std::ptr::null::<_XIMPreeditDrawCallbackStruct>())).text as *const _ as usize
12891        },
12892        16usize,
12893        concat!(
12894            "Offset of field: ",
12895            stringify!(_XIMPreeditDrawCallbackStruct),
12896            "::",
12897            stringify!(text)
12898        )
12899    );
12900}
12901pub type XIMPreeditDrawCallbackStruct = _XIMPreeditDrawCallbackStruct;
12902pub const XIMCaretStyle_XIMIsInvisible: XIMCaretStyle = 0;
12903pub const XIMCaretStyle_XIMIsPrimary: XIMCaretStyle = 1;
12904pub const XIMCaretStyle_XIMIsSecondary: XIMCaretStyle = 2;
12905pub type XIMCaretStyle = u32;
12906#[repr(C)]
12907#[derive(Debug, Copy, Clone)]
12908pub struct _XIMPreeditCaretCallbackStruct {
12909    pub position: ::std::os::raw::c_int,
12910    pub direction: XIMCaretDirection,
12911    pub style: XIMCaretStyle,
12912}
12913#[test]
12914fn bindgen_test_layout__XIMPreeditCaretCallbackStruct() {
12915    assert_eq!(
12916        ::std::mem::size_of::<_XIMPreeditCaretCallbackStruct>(),
12917        12usize,
12918        concat!("Size of: ", stringify!(_XIMPreeditCaretCallbackStruct))
12919    );
12920    assert_eq!(
12921        ::std::mem::align_of::<_XIMPreeditCaretCallbackStruct>(),
12922        4usize,
12923        concat!("Alignment of ", stringify!(_XIMPreeditCaretCallbackStruct))
12924    );
12925    assert_eq!(
12926        unsafe {
12927            &(*(::std::ptr::null::<_XIMPreeditCaretCallbackStruct>())).position as *const _ as usize
12928        },
12929        0usize,
12930        concat!(
12931            "Offset of field: ",
12932            stringify!(_XIMPreeditCaretCallbackStruct),
12933            "::",
12934            stringify!(position)
12935        )
12936    );
12937    assert_eq!(
12938        unsafe {
12939            &(*(::std::ptr::null::<_XIMPreeditCaretCallbackStruct>())).direction as *const _
12940                as usize
12941        },
12942        4usize,
12943        concat!(
12944            "Offset of field: ",
12945            stringify!(_XIMPreeditCaretCallbackStruct),
12946            "::",
12947            stringify!(direction)
12948        )
12949    );
12950    assert_eq!(
12951        unsafe {
12952            &(*(::std::ptr::null::<_XIMPreeditCaretCallbackStruct>())).style as *const _ as usize
12953        },
12954        8usize,
12955        concat!(
12956            "Offset of field: ",
12957            stringify!(_XIMPreeditCaretCallbackStruct),
12958            "::",
12959            stringify!(style)
12960        )
12961    );
12962}
12963pub type XIMPreeditCaretCallbackStruct = _XIMPreeditCaretCallbackStruct;
12964pub const XIMStatusDataType_XIMTextType: XIMStatusDataType = 0;
12965pub const XIMStatusDataType_XIMBitmapType: XIMStatusDataType = 1;
12966pub type XIMStatusDataType = u32;
12967#[repr(C)]
12968#[derive(Copy, Clone)]
12969pub struct _XIMStatusDrawCallbackStruct {
12970    pub type_: XIMStatusDataType,
12971    pub data: _XIMStatusDrawCallbackStruct__bindgen_ty_1,
12972}
12973#[repr(C)]
12974#[derive(Copy, Clone)]
12975pub union _XIMStatusDrawCallbackStruct__bindgen_ty_1 {
12976    pub text: *mut XIMText,
12977    pub bitmap: Pixmap,
12978    _bindgen_union_align: u64,
12979}
12980#[test]
12981fn bindgen_test_layout__XIMStatusDrawCallbackStruct__bindgen_ty_1() {
12982    assert_eq!(
12983        ::std::mem::size_of::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>(),
12984        8usize,
12985        concat!(
12986            "Size of: ",
12987            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1)
12988        )
12989    );
12990    assert_eq!(
12991        ::std::mem::align_of::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>(),
12992        8usize,
12993        concat!(
12994            "Alignment of ",
12995            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1)
12996        )
12997    );
12998    assert_eq!(
12999        unsafe {
13000            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>())).text as *const _
13001                as usize
13002        },
13003        0usize,
13004        concat!(
13005            "Offset of field: ",
13006            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1),
13007            "::",
13008            stringify!(text)
13009        )
13010    );
13011    assert_eq!(
13012        unsafe {
13013            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct__bindgen_ty_1>())).bitmap
13014                as *const _ as usize
13015        },
13016        0usize,
13017        concat!(
13018            "Offset of field: ",
13019            stringify!(_XIMStatusDrawCallbackStruct__bindgen_ty_1),
13020            "::",
13021            stringify!(bitmap)
13022        )
13023    );
13024}
13025#[test]
13026fn bindgen_test_layout__XIMStatusDrawCallbackStruct() {
13027    assert_eq!(
13028        ::std::mem::size_of::<_XIMStatusDrawCallbackStruct>(),
13029        16usize,
13030        concat!("Size of: ", stringify!(_XIMStatusDrawCallbackStruct))
13031    );
13032    assert_eq!(
13033        ::std::mem::align_of::<_XIMStatusDrawCallbackStruct>(),
13034        8usize,
13035        concat!("Alignment of ", stringify!(_XIMStatusDrawCallbackStruct))
13036    );
13037    assert_eq!(
13038        unsafe {
13039            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct>())).type_ as *const _ as usize
13040        },
13041        0usize,
13042        concat!(
13043            "Offset of field: ",
13044            stringify!(_XIMStatusDrawCallbackStruct),
13045            "::",
13046            stringify!(type_)
13047        )
13048    );
13049    assert_eq!(
13050        unsafe {
13051            &(*(::std::ptr::null::<_XIMStatusDrawCallbackStruct>())).data as *const _ as usize
13052        },
13053        8usize,
13054        concat!(
13055            "Offset of field: ",
13056            stringify!(_XIMStatusDrawCallbackStruct),
13057            "::",
13058            stringify!(data)
13059        )
13060    );
13061}
13062pub type XIMStatusDrawCallbackStruct = _XIMStatusDrawCallbackStruct;
13063#[repr(C)]
13064#[derive(Debug, Copy, Clone)]
13065pub struct _XIMHotKeyTrigger {
13066    pub keysym: KeySym,
13067    pub modifier: ::std::os::raw::c_int,
13068    pub modifier_mask: ::std::os::raw::c_int,
13069}
13070#[test]
13071fn bindgen_test_layout__XIMHotKeyTrigger() {
13072    assert_eq!(
13073        ::std::mem::size_of::<_XIMHotKeyTrigger>(),
13074        16usize,
13075        concat!("Size of: ", stringify!(_XIMHotKeyTrigger))
13076    );
13077    assert_eq!(
13078        ::std::mem::align_of::<_XIMHotKeyTrigger>(),
13079        8usize,
13080        concat!("Alignment of ", stringify!(_XIMHotKeyTrigger))
13081    );
13082    assert_eq!(
13083        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTrigger>())).keysym as *const _ as usize },
13084        0usize,
13085        concat!(
13086            "Offset of field: ",
13087            stringify!(_XIMHotKeyTrigger),
13088            "::",
13089            stringify!(keysym)
13090        )
13091    );
13092    assert_eq!(
13093        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTrigger>())).modifier as *const _ as usize },
13094        8usize,
13095        concat!(
13096            "Offset of field: ",
13097            stringify!(_XIMHotKeyTrigger),
13098            "::",
13099            stringify!(modifier)
13100        )
13101    );
13102    assert_eq!(
13103        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTrigger>())).modifier_mask as *const _ as usize },
13104        12usize,
13105        concat!(
13106            "Offset of field: ",
13107            stringify!(_XIMHotKeyTrigger),
13108            "::",
13109            stringify!(modifier_mask)
13110        )
13111    );
13112}
13113pub type XIMHotKeyTrigger = _XIMHotKeyTrigger;
13114#[repr(C)]
13115#[derive(Debug, Copy, Clone)]
13116pub struct _XIMHotKeyTriggers {
13117    pub num_hot_key: ::std::os::raw::c_int,
13118    pub key: *mut XIMHotKeyTrigger,
13119}
13120#[test]
13121fn bindgen_test_layout__XIMHotKeyTriggers() {
13122    assert_eq!(
13123        ::std::mem::size_of::<_XIMHotKeyTriggers>(),
13124        16usize,
13125        concat!("Size of: ", stringify!(_XIMHotKeyTriggers))
13126    );
13127    assert_eq!(
13128        ::std::mem::align_of::<_XIMHotKeyTriggers>(),
13129        8usize,
13130        concat!("Alignment of ", stringify!(_XIMHotKeyTriggers))
13131    );
13132    assert_eq!(
13133        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTriggers>())).num_hot_key as *const _ as usize },
13134        0usize,
13135        concat!(
13136            "Offset of field: ",
13137            stringify!(_XIMHotKeyTriggers),
13138            "::",
13139            stringify!(num_hot_key)
13140        )
13141    );
13142    assert_eq!(
13143        unsafe { &(*(::std::ptr::null::<_XIMHotKeyTriggers>())).key as *const _ as usize },
13144        8usize,
13145        concat!(
13146            "Offset of field: ",
13147            stringify!(_XIMHotKeyTriggers),
13148            "::",
13149            stringify!(key)
13150        )
13151    );
13152}
13153pub type XIMHotKeyTriggers = _XIMHotKeyTriggers;
13154pub type XIMHotKeyState = ::std::os::raw::c_ulong;
13155#[repr(C)]
13156#[derive(Debug, Copy, Clone)]
13157pub struct XIMValuesList {
13158    pub count_values: ::std::os::raw::c_ushort,
13159    pub supported_values: *mut *mut ::std::os::raw::c_char,
13160}
13161#[test]
13162fn bindgen_test_layout_XIMValuesList() {
13163    assert_eq!(
13164        ::std::mem::size_of::<XIMValuesList>(),
13165        16usize,
13166        concat!("Size of: ", stringify!(XIMValuesList))
13167    );
13168    assert_eq!(
13169        ::std::mem::align_of::<XIMValuesList>(),
13170        8usize,
13171        concat!("Alignment of ", stringify!(XIMValuesList))
13172    );
13173    assert_eq!(
13174        unsafe { &(*(::std::ptr::null::<XIMValuesList>())).count_values as *const _ as usize },
13175        0usize,
13176        concat!(
13177            "Offset of field: ",
13178            stringify!(XIMValuesList),
13179            "::",
13180            stringify!(count_values)
13181        )
13182    );
13183    assert_eq!(
13184        unsafe { &(*(::std::ptr::null::<XIMValuesList>())).supported_values as *const _ as usize },
13185        8usize,
13186        concat!(
13187            "Offset of field: ",
13188            stringify!(XIMValuesList),
13189            "::",
13190            stringify!(supported_values)
13191        )
13192    );
13193}
13194extern "C" {
13195    pub static mut _Xdebug: ::std::os::raw::c_int;
13196}
13197extern "C" {
13198    pub fn XLoadQueryFont(
13199        arg1: *mut Display,
13200        arg2: *const ::std::os::raw::c_char,
13201    ) -> *mut XFontStruct;
13202}
13203extern "C" {
13204    pub fn XQueryFont(arg1: *mut Display, arg2: XID) -> *mut XFontStruct;
13205}
13206extern "C" {
13207    pub fn XGetMotionEvents(
13208        arg1: *mut Display,
13209        arg2: Window,
13210        arg3: Time,
13211        arg4: Time,
13212        arg5: *mut ::std::os::raw::c_int,
13213    ) -> *mut XTimeCoord;
13214}
13215extern "C" {
13216    pub fn XDeleteModifiermapEntry(
13217        arg1: *mut XModifierKeymap,
13218        arg2: KeyCode,
13219        arg3: ::std::os::raw::c_int,
13220    ) -> *mut XModifierKeymap;
13221}
13222extern "C" {
13223    pub fn XGetModifierMapping(arg1: *mut Display) -> *mut XModifierKeymap;
13224}
13225extern "C" {
13226    pub fn XInsertModifiermapEntry(
13227        arg1: *mut XModifierKeymap,
13228        arg2: KeyCode,
13229        arg3: ::std::os::raw::c_int,
13230    ) -> *mut XModifierKeymap;
13231}
13232extern "C" {
13233    pub fn XNewModifiermap(arg1: ::std::os::raw::c_int) -> *mut XModifierKeymap;
13234}
13235extern "C" {
13236    pub fn XCreateImage(
13237        arg1: *mut Display,
13238        arg2: *mut Visual,
13239        arg3: ::std::os::raw::c_uint,
13240        arg4: ::std::os::raw::c_int,
13241        arg5: ::std::os::raw::c_int,
13242        arg6: *mut ::std::os::raw::c_char,
13243        arg7: ::std::os::raw::c_uint,
13244        arg8: ::std::os::raw::c_uint,
13245        arg9: ::std::os::raw::c_int,
13246        arg10: ::std::os::raw::c_int,
13247    ) -> *mut XImage;
13248}
13249extern "C" {
13250    pub fn XInitImage(arg1: *mut XImage) -> ::std::os::raw::c_int;
13251}
13252extern "C" {
13253    pub fn XGetImage(
13254        arg1: *mut Display,
13255        arg2: Drawable,
13256        arg3: ::std::os::raw::c_int,
13257        arg4: ::std::os::raw::c_int,
13258        arg5: ::std::os::raw::c_uint,
13259        arg6: ::std::os::raw::c_uint,
13260        arg7: ::std::os::raw::c_ulong,
13261        arg8: ::std::os::raw::c_int,
13262    ) -> *mut XImage;
13263}
13264extern "C" {
13265    pub fn XGetSubImage(
13266        arg1: *mut Display,
13267        arg2: Drawable,
13268        arg3: ::std::os::raw::c_int,
13269        arg4: ::std::os::raw::c_int,
13270        arg5: ::std::os::raw::c_uint,
13271        arg6: ::std::os::raw::c_uint,
13272        arg7: ::std::os::raw::c_ulong,
13273        arg8: ::std::os::raw::c_int,
13274        arg9: *mut XImage,
13275        arg10: ::std::os::raw::c_int,
13276        arg11: ::std::os::raw::c_int,
13277    ) -> *mut XImage;
13278}
13279extern "C" {
13280    pub fn XOpenDisplay(arg1: *const ::std::os::raw::c_char) -> *mut Display;
13281}
13282extern "C" {
13283    pub fn XrmInitialize();
13284}
13285extern "C" {
13286    pub fn XFetchBytes(
13287        arg1: *mut Display,
13288        arg2: *mut ::std::os::raw::c_int,
13289    ) -> *mut ::std::os::raw::c_char;
13290}
13291extern "C" {
13292    pub fn XFetchBuffer(
13293        arg1: *mut Display,
13294        arg2: *mut ::std::os::raw::c_int,
13295        arg3: ::std::os::raw::c_int,
13296    ) -> *mut ::std::os::raw::c_char;
13297}
13298extern "C" {
13299    pub fn XGetAtomName(arg1: *mut Display, arg2: Atom) -> *mut ::std::os::raw::c_char;
13300}
13301extern "C" {
13302    pub fn XGetAtomNames(
13303        arg1: *mut Display,
13304        arg2: *mut Atom,
13305        arg3: ::std::os::raw::c_int,
13306        arg4: *mut *mut ::std::os::raw::c_char,
13307    ) -> ::std::os::raw::c_int;
13308}
13309extern "C" {
13310    pub fn XGetDefault(
13311        arg1: *mut Display,
13312        arg2: *const ::std::os::raw::c_char,
13313        arg3: *const ::std::os::raw::c_char,
13314    ) -> *mut ::std::os::raw::c_char;
13315}
13316extern "C" {
13317    pub fn XDisplayName(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
13318}
13319extern "C" {
13320    pub fn XKeysymToString(arg1: KeySym) -> *mut ::std::os::raw::c_char;
13321}
13322extern "C" {
13323    pub fn XSynchronize(
13324        arg1: *mut Display,
13325        arg2: ::std::os::raw::c_int,
13326    ) -> ::std::option::Option<
13327        unsafe extern "C" fn(
13328            arg1: *mut Display,
13329            arg2: ::std::os::raw::c_int,
13330        ) -> ::std::os::raw::c_int,
13331    >;
13332}
13333extern "C" {
13334    pub fn XSetAfterFunction(
13335        arg1: *mut Display,
13336        arg2: ::std::option::Option<
13337            unsafe extern "C" fn(arg1: *mut Display) -> ::std::os::raw::c_int,
13338        >,
13339    ) -> ::std::option::Option<
13340        unsafe extern "C" fn(
13341            arg1: *mut Display,
13342            arg2: ::std::option::Option<
13343                unsafe extern "C" fn(arg1: *mut Display) -> ::std::os::raw::c_int,
13344            >,
13345        ) -> ::std::os::raw::c_int,
13346    >;
13347}
13348extern "C" {
13349    pub fn XInternAtom(
13350        arg1: *mut Display,
13351        arg2: *const ::std::os::raw::c_char,
13352        arg3: ::std::os::raw::c_int,
13353    ) -> Atom;
13354}
13355extern "C" {
13356    pub fn XInternAtoms(
13357        arg1: *mut Display,
13358        arg2: *mut *mut ::std::os::raw::c_char,
13359        arg3: ::std::os::raw::c_int,
13360        arg4: ::std::os::raw::c_int,
13361        arg5: *mut Atom,
13362    ) -> ::std::os::raw::c_int;
13363}
13364extern "C" {
13365    pub fn XCopyColormapAndFree(arg1: *mut Display, arg2: Colormap) -> Colormap;
13366}
13367extern "C" {
13368    pub fn XCreateColormap(
13369        arg1: *mut Display,
13370        arg2: Window,
13371        arg3: *mut Visual,
13372        arg4: ::std::os::raw::c_int,
13373    ) -> Colormap;
13374}
13375extern "C" {
13376    pub fn XCreatePixmapCursor(
13377        arg1: *mut Display,
13378        arg2: Pixmap,
13379        arg3: Pixmap,
13380        arg4: *mut XColor,
13381        arg5: *mut XColor,
13382        arg6: ::std::os::raw::c_uint,
13383        arg7: ::std::os::raw::c_uint,
13384    ) -> Cursor;
13385}
13386extern "C" {
13387    pub fn XCreateGlyphCursor(
13388        arg1: *mut Display,
13389        arg2: Font,
13390        arg3: Font,
13391        arg4: ::std::os::raw::c_uint,
13392        arg5: ::std::os::raw::c_uint,
13393        arg6: *const XColor,
13394        arg7: *const XColor,
13395    ) -> Cursor;
13396}
13397extern "C" {
13398    pub fn XCreateFontCursor(arg1: *mut Display, arg2: ::std::os::raw::c_uint) -> Cursor;
13399}
13400extern "C" {
13401    pub fn XLoadFont(arg1: *mut Display, arg2: *const ::std::os::raw::c_char) -> Font;
13402}
13403extern "C" {
13404    pub fn XCreateGC(
13405        arg1: *mut Display,
13406        arg2: Drawable,
13407        arg3: ::std::os::raw::c_ulong,
13408        arg4: *mut XGCValues,
13409    ) -> GC;
13410}
13411extern "C" {
13412    pub fn XGContextFromGC(arg1: GC) -> GContext;
13413}
13414extern "C" {
13415    pub fn XFlushGC(arg1: *mut Display, arg2: GC);
13416}
13417extern "C" {
13418    pub fn XCreatePixmap(
13419        arg1: *mut Display,
13420        arg2: Drawable,
13421        arg3: ::std::os::raw::c_uint,
13422        arg4: ::std::os::raw::c_uint,
13423        arg5: ::std::os::raw::c_uint,
13424    ) -> Pixmap;
13425}
13426extern "C" {
13427    pub fn XCreateBitmapFromData(
13428        arg1: *mut Display,
13429        arg2: Drawable,
13430        arg3: *const ::std::os::raw::c_char,
13431        arg4: ::std::os::raw::c_uint,
13432        arg5: ::std::os::raw::c_uint,
13433    ) -> Pixmap;
13434}
13435extern "C" {
13436    pub fn XCreatePixmapFromBitmapData(
13437        arg1: *mut Display,
13438        arg2: Drawable,
13439        arg3: *mut ::std::os::raw::c_char,
13440        arg4: ::std::os::raw::c_uint,
13441        arg5: ::std::os::raw::c_uint,
13442        arg6: ::std::os::raw::c_ulong,
13443        arg7: ::std::os::raw::c_ulong,
13444        arg8: ::std::os::raw::c_uint,
13445    ) -> Pixmap;
13446}
13447extern "C" {
13448    pub fn XCreateSimpleWindow(
13449        arg1: *mut Display,
13450        arg2: Window,
13451        arg3: ::std::os::raw::c_int,
13452        arg4: ::std::os::raw::c_int,
13453        arg5: ::std::os::raw::c_uint,
13454        arg6: ::std::os::raw::c_uint,
13455        arg7: ::std::os::raw::c_uint,
13456        arg8: ::std::os::raw::c_ulong,
13457        arg9: ::std::os::raw::c_ulong,
13458    ) -> Window;
13459}
13460extern "C" {
13461    pub fn XGetSelectionOwner(arg1: *mut Display, arg2: Atom) -> Window;
13462}
13463extern "C" {
13464    pub fn XCreateWindow(
13465        arg1: *mut Display,
13466        arg2: Window,
13467        arg3: ::std::os::raw::c_int,
13468        arg4: ::std::os::raw::c_int,
13469        arg5: ::std::os::raw::c_uint,
13470        arg6: ::std::os::raw::c_uint,
13471        arg7: ::std::os::raw::c_uint,
13472        arg8: ::std::os::raw::c_int,
13473        arg9: ::std::os::raw::c_uint,
13474        arg10: *mut Visual,
13475        arg11: ::std::os::raw::c_ulong,
13476        arg12: *mut XSetWindowAttributes,
13477    ) -> Window;
13478}
13479extern "C" {
13480    pub fn XListInstalledColormaps(
13481        arg1: *mut Display,
13482        arg2: Window,
13483        arg3: *mut ::std::os::raw::c_int,
13484    ) -> *mut Colormap;
13485}
13486extern "C" {
13487    pub fn XListFonts(
13488        arg1: *mut Display,
13489        arg2: *const ::std::os::raw::c_char,
13490        arg3: ::std::os::raw::c_int,
13491        arg4: *mut ::std::os::raw::c_int,
13492    ) -> *mut *mut ::std::os::raw::c_char;
13493}
13494extern "C" {
13495    pub fn XListFontsWithInfo(
13496        arg1: *mut Display,
13497        arg2: *const ::std::os::raw::c_char,
13498        arg3: ::std::os::raw::c_int,
13499        arg4: *mut ::std::os::raw::c_int,
13500        arg5: *mut *mut XFontStruct,
13501    ) -> *mut *mut ::std::os::raw::c_char;
13502}
13503extern "C" {
13504    pub fn XGetFontPath(
13505        arg1: *mut Display,
13506        arg2: *mut ::std::os::raw::c_int,
13507    ) -> *mut *mut ::std::os::raw::c_char;
13508}
13509extern "C" {
13510    pub fn XListExtensions(
13511        arg1: *mut Display,
13512        arg2: *mut ::std::os::raw::c_int,
13513    ) -> *mut *mut ::std::os::raw::c_char;
13514}
13515extern "C" {
13516    pub fn XListProperties(
13517        arg1: *mut Display,
13518        arg2: Window,
13519        arg3: *mut ::std::os::raw::c_int,
13520    ) -> *mut Atom;
13521}
13522extern "C" {
13523    pub fn XListHosts(
13524        arg1: *mut Display,
13525        arg2: *mut ::std::os::raw::c_int,
13526        arg3: *mut ::std::os::raw::c_int,
13527    ) -> *mut XHostAddress;
13528}
13529extern "C" {
13530    pub fn XKeycodeToKeysym(
13531        arg1: *mut Display,
13532        arg2: KeyCode,
13533        arg3: ::std::os::raw::c_int,
13534    ) -> KeySym;
13535}
13536extern "C" {
13537    pub fn XLookupKeysym(arg1: *mut XKeyEvent, arg2: ::std::os::raw::c_int) -> KeySym;
13538}
13539extern "C" {
13540    pub fn XGetKeyboardMapping(
13541        arg1: *mut Display,
13542        arg2: KeyCode,
13543        arg3: ::std::os::raw::c_int,
13544        arg4: *mut ::std::os::raw::c_int,
13545    ) -> *mut KeySym;
13546}
13547extern "C" {
13548    pub fn XStringToKeysym(arg1: *const ::std::os::raw::c_char) -> KeySym;
13549}
13550extern "C" {
13551    pub fn XMaxRequestSize(arg1: *mut Display) -> ::std::os::raw::c_long;
13552}
13553extern "C" {
13554    pub fn XExtendedMaxRequestSize(arg1: *mut Display) -> ::std::os::raw::c_long;
13555}
13556extern "C" {
13557    pub fn XResourceManagerString(arg1: *mut Display) -> *mut ::std::os::raw::c_char;
13558}
13559extern "C" {
13560    pub fn XScreenResourceString(arg1: *mut Screen) -> *mut ::std::os::raw::c_char;
13561}
13562extern "C" {
13563    pub fn XDisplayMotionBufferSize(arg1: *mut Display) -> ::std::os::raw::c_ulong;
13564}
13565extern "C" {
13566    pub fn XVisualIDFromVisual(arg1: *mut Visual) -> VisualID;
13567}
13568extern "C" {
13569    pub fn XInitThreads() -> ::std::os::raw::c_int;
13570}
13571extern "C" {
13572    pub fn XLockDisplay(arg1: *mut Display);
13573}
13574extern "C" {
13575    pub fn XUnlockDisplay(arg1: *mut Display);
13576}
13577extern "C" {
13578    pub fn XInitExtension(
13579        arg1: *mut Display,
13580        arg2: *const ::std::os::raw::c_char,
13581    ) -> *mut XExtCodes;
13582}
13583extern "C" {
13584    pub fn XAddExtension(arg1: *mut Display) -> *mut XExtCodes;
13585}
13586extern "C" {
13587    pub fn XFindOnExtensionList(
13588        arg1: *mut *mut XExtData,
13589        arg2: ::std::os::raw::c_int,
13590    ) -> *mut XExtData;
13591}
13592extern "C" {
13593    pub fn XEHeadOfExtensionList(arg1: XEDataObject) -> *mut *mut XExtData;
13594}
13595extern "C" {
13596    pub fn XRootWindow(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> Window;
13597}
13598extern "C" {
13599    pub fn XDefaultRootWindow(arg1: *mut Display) -> Window;
13600}
13601extern "C" {
13602    pub fn XRootWindowOfScreen(arg1: *mut Screen) -> Window;
13603}
13604extern "C" {
13605    pub fn XDefaultVisual(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> *mut Visual;
13606}
13607extern "C" {
13608    pub fn XDefaultVisualOfScreen(arg1: *mut Screen) -> *mut Visual;
13609}
13610extern "C" {
13611    pub fn XDefaultGC(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> GC;
13612}
13613extern "C" {
13614    pub fn XDefaultGCOfScreen(arg1: *mut Screen) -> GC;
13615}
13616extern "C" {
13617    pub fn XBlackPixel(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
13618}
13619extern "C" {
13620    pub fn XWhitePixel(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
13621}
13622extern "C" {
13623    pub fn XAllPlanes() -> ::std::os::raw::c_ulong;
13624}
13625extern "C" {
13626    pub fn XBlackPixelOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_ulong;
13627}
13628extern "C" {
13629    pub fn XWhitePixelOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_ulong;
13630}
13631extern "C" {
13632    pub fn XNextRequest(arg1: *mut Display) -> ::std::os::raw::c_ulong;
13633}
13634extern "C" {
13635    pub fn XLastKnownRequestProcessed(arg1: *mut Display) -> ::std::os::raw::c_ulong;
13636}
13637extern "C" {
13638    pub fn XServerVendor(arg1: *mut Display) -> *mut ::std::os::raw::c_char;
13639}
13640extern "C" {
13641    pub fn XDisplayString(arg1: *mut Display) -> *mut ::std::os::raw::c_char;
13642}
13643extern "C" {
13644    pub fn XDefaultColormap(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> Colormap;
13645}
13646extern "C" {
13647    pub fn XDefaultColormapOfScreen(arg1: *mut Screen) -> Colormap;
13648}
13649extern "C" {
13650    pub fn XDisplayOfScreen(arg1: *mut Screen) -> *mut Display;
13651}
13652extern "C" {
13653    pub fn XScreenOfDisplay(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> *mut Screen;
13654}
13655extern "C" {
13656    pub fn XDefaultScreenOfDisplay(arg1: *mut Display) -> *mut Screen;
13657}
13658extern "C" {
13659    pub fn XEventMaskOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_long;
13660}
13661extern "C" {
13662    pub fn XScreenNumberOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
13663}
13664pub type XErrorHandler = ::std::option::Option<
13665    unsafe extern "C" fn(arg1: *mut Display, arg2: *mut XErrorEvent) -> ::std::os::raw::c_int,
13666>;
13667extern "C" {
13668    pub fn XSetErrorHandler(arg1: XErrorHandler) -> XErrorHandler;
13669}
13670pub type XIOErrorHandler =
13671    ::std::option::Option<unsafe extern "C" fn(arg1: *mut Display) -> ::std::os::raw::c_int>;
13672extern "C" {
13673    pub fn XSetIOErrorHandler(arg1: XIOErrorHandler) -> XIOErrorHandler;
13674}
13675extern "C" {
13676    pub fn XListPixmapFormats(
13677        arg1: *mut Display,
13678        arg2: *mut ::std::os::raw::c_int,
13679    ) -> *mut XPixmapFormatValues;
13680}
13681extern "C" {
13682    pub fn XListDepths(
13683        arg1: *mut Display,
13684        arg2: ::std::os::raw::c_int,
13685        arg3: *mut ::std::os::raw::c_int,
13686    ) -> *mut ::std::os::raw::c_int;
13687}
13688extern "C" {
13689    pub fn XReconfigureWMWindow(
13690        arg1: *mut Display,
13691        arg2: Window,
13692        arg3: ::std::os::raw::c_int,
13693        arg4: ::std::os::raw::c_uint,
13694        arg5: *mut XWindowChanges,
13695    ) -> ::std::os::raw::c_int;
13696}
13697extern "C" {
13698    pub fn XGetWMProtocols(
13699        arg1: *mut Display,
13700        arg2: Window,
13701        arg3: *mut *mut Atom,
13702        arg4: *mut ::std::os::raw::c_int,
13703    ) -> ::std::os::raw::c_int;
13704}
13705extern "C" {
13706    pub fn XSetWMProtocols(
13707        arg1: *mut Display,
13708        arg2: Window,
13709        arg3: *mut Atom,
13710        arg4: ::std::os::raw::c_int,
13711    ) -> ::std::os::raw::c_int;
13712}
13713extern "C" {
13714    pub fn XIconifyWindow(
13715        arg1: *mut Display,
13716        arg2: Window,
13717        arg3: ::std::os::raw::c_int,
13718    ) -> ::std::os::raw::c_int;
13719}
13720extern "C" {
13721    pub fn XWithdrawWindow(
13722        arg1: *mut Display,
13723        arg2: Window,
13724        arg3: ::std::os::raw::c_int,
13725    ) -> ::std::os::raw::c_int;
13726}
13727extern "C" {
13728    pub fn XGetCommand(
13729        arg1: *mut Display,
13730        arg2: Window,
13731        arg3: *mut *mut *mut ::std::os::raw::c_char,
13732        arg4: *mut ::std::os::raw::c_int,
13733    ) -> ::std::os::raw::c_int;
13734}
13735extern "C" {
13736    pub fn XGetWMColormapWindows(
13737        arg1: *mut Display,
13738        arg2: Window,
13739        arg3: *mut *mut Window,
13740        arg4: *mut ::std::os::raw::c_int,
13741    ) -> ::std::os::raw::c_int;
13742}
13743extern "C" {
13744    pub fn XSetWMColormapWindows(
13745        arg1: *mut Display,
13746        arg2: Window,
13747        arg3: *mut Window,
13748        arg4: ::std::os::raw::c_int,
13749    ) -> ::std::os::raw::c_int;
13750}
13751extern "C" {
13752    pub fn XFreeStringList(arg1: *mut *mut ::std::os::raw::c_char);
13753}
13754extern "C" {
13755    pub fn XSetTransientForHint(
13756        arg1: *mut Display,
13757        arg2: Window,
13758        arg3: Window,
13759    ) -> ::std::os::raw::c_int;
13760}
13761extern "C" {
13762    pub fn XActivateScreenSaver(arg1: *mut Display) -> ::std::os::raw::c_int;
13763}
13764extern "C" {
13765    pub fn XAddHost(arg1: *mut Display, arg2: *mut XHostAddress) -> ::std::os::raw::c_int;
13766}
13767extern "C" {
13768    pub fn XAddHosts(
13769        arg1: *mut Display,
13770        arg2: *mut XHostAddress,
13771        arg3: ::std::os::raw::c_int,
13772    ) -> ::std::os::raw::c_int;
13773}
13774extern "C" {
13775    pub fn XAddToExtensionList(
13776        arg1: *mut *mut _XExtData,
13777        arg2: *mut XExtData,
13778    ) -> ::std::os::raw::c_int;
13779}
13780extern "C" {
13781    pub fn XAddToSaveSet(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13782}
13783extern "C" {
13784    pub fn XAllocColor(
13785        arg1: *mut Display,
13786        arg2: Colormap,
13787        arg3: *mut XColor,
13788    ) -> ::std::os::raw::c_int;
13789}
13790extern "C" {
13791    pub fn XAllocColorCells(
13792        arg1: *mut Display,
13793        arg2: Colormap,
13794        arg3: ::std::os::raw::c_int,
13795        arg4: *mut ::std::os::raw::c_ulong,
13796        arg5: ::std::os::raw::c_uint,
13797        arg6: *mut ::std::os::raw::c_ulong,
13798        arg7: ::std::os::raw::c_uint,
13799    ) -> ::std::os::raw::c_int;
13800}
13801extern "C" {
13802    pub fn XAllocColorPlanes(
13803        arg1: *mut Display,
13804        arg2: Colormap,
13805        arg3: ::std::os::raw::c_int,
13806        arg4: *mut ::std::os::raw::c_ulong,
13807        arg5: ::std::os::raw::c_int,
13808        arg6: ::std::os::raw::c_int,
13809        arg7: ::std::os::raw::c_int,
13810        arg8: ::std::os::raw::c_int,
13811        arg9: *mut ::std::os::raw::c_ulong,
13812        arg10: *mut ::std::os::raw::c_ulong,
13813        arg11: *mut ::std::os::raw::c_ulong,
13814    ) -> ::std::os::raw::c_int;
13815}
13816extern "C" {
13817    pub fn XAllocNamedColor(
13818        arg1: *mut Display,
13819        arg2: Colormap,
13820        arg3: *const ::std::os::raw::c_char,
13821        arg4: *mut XColor,
13822        arg5: *mut XColor,
13823    ) -> ::std::os::raw::c_int;
13824}
13825extern "C" {
13826    pub fn XAllowEvents(
13827        arg1: *mut Display,
13828        arg2: ::std::os::raw::c_int,
13829        arg3: Time,
13830    ) -> ::std::os::raw::c_int;
13831}
13832extern "C" {
13833    pub fn XAutoRepeatOff(arg1: *mut Display) -> ::std::os::raw::c_int;
13834}
13835extern "C" {
13836    pub fn XAutoRepeatOn(arg1: *mut Display) -> ::std::os::raw::c_int;
13837}
13838extern "C" {
13839    pub fn XBell(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
13840}
13841extern "C" {
13842    pub fn XBitmapBitOrder(arg1: *mut Display) -> ::std::os::raw::c_int;
13843}
13844extern "C" {
13845    pub fn XBitmapPad(arg1: *mut Display) -> ::std::os::raw::c_int;
13846}
13847extern "C" {
13848    pub fn XBitmapUnit(arg1: *mut Display) -> ::std::os::raw::c_int;
13849}
13850extern "C" {
13851    pub fn XCellsOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
13852}
13853extern "C" {
13854    pub fn XChangeActivePointerGrab(
13855        arg1: *mut Display,
13856        arg2: ::std::os::raw::c_uint,
13857        arg3: Cursor,
13858        arg4: Time,
13859    ) -> ::std::os::raw::c_int;
13860}
13861extern "C" {
13862    pub fn XChangeGC(
13863        arg1: *mut Display,
13864        arg2: GC,
13865        arg3: ::std::os::raw::c_ulong,
13866        arg4: *mut XGCValues,
13867    ) -> ::std::os::raw::c_int;
13868}
13869extern "C" {
13870    pub fn XChangeKeyboardControl(
13871        arg1: *mut Display,
13872        arg2: ::std::os::raw::c_ulong,
13873        arg3: *mut XKeyboardControl,
13874    ) -> ::std::os::raw::c_int;
13875}
13876extern "C" {
13877    pub fn XChangeKeyboardMapping(
13878        arg1: *mut Display,
13879        arg2: ::std::os::raw::c_int,
13880        arg3: ::std::os::raw::c_int,
13881        arg4: *mut KeySym,
13882        arg5: ::std::os::raw::c_int,
13883    ) -> ::std::os::raw::c_int;
13884}
13885extern "C" {
13886    pub fn XChangePointerControl(
13887        arg1: *mut Display,
13888        arg2: ::std::os::raw::c_int,
13889        arg3: ::std::os::raw::c_int,
13890        arg4: ::std::os::raw::c_int,
13891        arg5: ::std::os::raw::c_int,
13892        arg6: ::std::os::raw::c_int,
13893    ) -> ::std::os::raw::c_int;
13894}
13895extern "C" {
13896    pub fn XChangeProperty(
13897        arg1: *mut Display,
13898        arg2: Window,
13899        arg3: Atom,
13900        arg4: Atom,
13901        arg5: ::std::os::raw::c_int,
13902        arg6: ::std::os::raw::c_int,
13903        arg7: *const ::std::os::raw::c_uchar,
13904        arg8: ::std::os::raw::c_int,
13905    ) -> ::std::os::raw::c_int;
13906}
13907extern "C" {
13908    pub fn XChangeSaveSet(
13909        arg1: *mut Display,
13910        arg2: Window,
13911        arg3: ::std::os::raw::c_int,
13912    ) -> ::std::os::raw::c_int;
13913}
13914extern "C" {
13915    pub fn XChangeWindowAttributes(
13916        arg1: *mut Display,
13917        arg2: Window,
13918        arg3: ::std::os::raw::c_ulong,
13919        arg4: *mut XSetWindowAttributes,
13920    ) -> ::std::os::raw::c_int;
13921}
13922extern "C" {
13923    pub fn XCheckIfEvent(
13924        arg1: *mut Display,
13925        arg2: *mut XEvent,
13926        arg3: ::std::option::Option<
13927            unsafe extern "C" fn(
13928                arg1: *mut Display,
13929                arg2: *mut XEvent,
13930                arg3: XPointer,
13931            ) -> ::std::os::raw::c_int,
13932        >,
13933        arg4: XPointer,
13934    ) -> ::std::os::raw::c_int;
13935}
13936extern "C" {
13937    pub fn XCheckMaskEvent(
13938        arg1: *mut Display,
13939        arg2: ::std::os::raw::c_long,
13940        arg3: *mut XEvent,
13941    ) -> ::std::os::raw::c_int;
13942}
13943extern "C" {
13944    pub fn XCheckTypedEvent(
13945        arg1: *mut Display,
13946        arg2: ::std::os::raw::c_int,
13947        arg3: *mut XEvent,
13948    ) -> ::std::os::raw::c_int;
13949}
13950extern "C" {
13951    pub fn XCheckTypedWindowEvent(
13952        arg1: *mut Display,
13953        arg2: Window,
13954        arg3: ::std::os::raw::c_int,
13955        arg4: *mut XEvent,
13956    ) -> ::std::os::raw::c_int;
13957}
13958extern "C" {
13959    pub fn XCheckWindowEvent(
13960        arg1: *mut Display,
13961        arg2: Window,
13962        arg3: ::std::os::raw::c_long,
13963        arg4: *mut XEvent,
13964    ) -> ::std::os::raw::c_int;
13965}
13966extern "C" {
13967    pub fn XCirculateSubwindows(
13968        arg1: *mut Display,
13969        arg2: Window,
13970        arg3: ::std::os::raw::c_int,
13971    ) -> ::std::os::raw::c_int;
13972}
13973extern "C" {
13974    pub fn XCirculateSubwindowsDown(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13975}
13976extern "C" {
13977    pub fn XCirculateSubwindowsUp(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13978}
13979extern "C" {
13980    pub fn XClearArea(
13981        arg1: *mut Display,
13982        arg2: Window,
13983        arg3: ::std::os::raw::c_int,
13984        arg4: ::std::os::raw::c_int,
13985        arg5: ::std::os::raw::c_uint,
13986        arg6: ::std::os::raw::c_uint,
13987        arg7: ::std::os::raw::c_int,
13988    ) -> ::std::os::raw::c_int;
13989}
13990extern "C" {
13991    pub fn XClearWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
13992}
13993extern "C" {
13994    pub fn XCloseDisplay(arg1: *mut Display) -> ::std::os::raw::c_int;
13995}
13996extern "C" {
13997    pub fn XConfigureWindow(
13998        arg1: *mut Display,
13999        arg2: Window,
14000        arg3: ::std::os::raw::c_uint,
14001        arg4: *mut XWindowChanges,
14002    ) -> ::std::os::raw::c_int;
14003}
14004extern "C" {
14005    pub fn XConnectionNumber(arg1: *mut Display) -> ::std::os::raw::c_int;
14006}
14007extern "C" {
14008    pub fn XConvertSelection(
14009        arg1: *mut Display,
14010        arg2: Atom,
14011        arg3: Atom,
14012        arg4: Atom,
14013        arg5: Window,
14014        arg6: Time,
14015    ) -> ::std::os::raw::c_int;
14016}
14017extern "C" {
14018    pub fn XCopyArea(
14019        arg1: *mut Display,
14020        arg2: Drawable,
14021        arg3: Drawable,
14022        arg4: GC,
14023        arg5: ::std::os::raw::c_int,
14024        arg6: ::std::os::raw::c_int,
14025        arg7: ::std::os::raw::c_uint,
14026        arg8: ::std::os::raw::c_uint,
14027        arg9: ::std::os::raw::c_int,
14028        arg10: ::std::os::raw::c_int,
14029    ) -> ::std::os::raw::c_int;
14030}
14031extern "C" {
14032    pub fn XCopyGC(
14033        arg1: *mut Display,
14034        arg2: GC,
14035        arg3: ::std::os::raw::c_ulong,
14036        arg4: GC,
14037    ) -> ::std::os::raw::c_int;
14038}
14039extern "C" {
14040    pub fn XCopyPlane(
14041        arg1: *mut Display,
14042        arg2: Drawable,
14043        arg3: Drawable,
14044        arg4: GC,
14045        arg5: ::std::os::raw::c_int,
14046        arg6: ::std::os::raw::c_int,
14047        arg7: ::std::os::raw::c_uint,
14048        arg8: ::std::os::raw::c_uint,
14049        arg9: ::std::os::raw::c_int,
14050        arg10: ::std::os::raw::c_int,
14051        arg11: ::std::os::raw::c_ulong,
14052    ) -> ::std::os::raw::c_int;
14053}
14054extern "C" {
14055    pub fn XDefaultDepth(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
14056}
14057extern "C" {
14058    pub fn XDefaultDepthOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14059}
14060extern "C" {
14061    pub fn XDefaultScreen(arg1: *mut Display) -> ::std::os::raw::c_int;
14062}
14063extern "C" {
14064    pub fn XDefineCursor(arg1: *mut Display, arg2: Window, arg3: Cursor) -> ::std::os::raw::c_int;
14065}
14066extern "C" {
14067    pub fn XDeleteProperty(arg1: *mut Display, arg2: Window, arg3: Atom) -> ::std::os::raw::c_int;
14068}
14069extern "C" {
14070    pub fn XDestroyWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14071}
14072extern "C" {
14073    pub fn XDestroySubwindows(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14074}
14075extern "C" {
14076    pub fn XDoesBackingStore(arg1: *mut Screen) -> ::std::os::raw::c_int;
14077}
14078extern "C" {
14079    pub fn XDoesSaveUnders(arg1: *mut Screen) -> ::std::os::raw::c_int;
14080}
14081extern "C" {
14082    pub fn XDisableAccessControl(arg1: *mut Display) -> ::std::os::raw::c_int;
14083}
14084extern "C" {
14085    pub fn XDisplayCells(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
14086}
14087extern "C" {
14088    pub fn XDisplayHeight(arg1: *mut Display, arg2: ::std::os::raw::c_int)
14089        -> ::std::os::raw::c_int;
14090}
14091extern "C" {
14092    pub fn XDisplayHeightMM(
14093        arg1: *mut Display,
14094        arg2: ::std::os::raw::c_int,
14095    ) -> ::std::os::raw::c_int;
14096}
14097extern "C" {
14098    pub fn XDisplayKeycodes(
14099        arg1: *mut Display,
14100        arg2: *mut ::std::os::raw::c_int,
14101        arg3: *mut ::std::os::raw::c_int,
14102    ) -> ::std::os::raw::c_int;
14103}
14104extern "C" {
14105    pub fn XDisplayPlanes(arg1: *mut Display, arg2: ::std::os::raw::c_int)
14106        -> ::std::os::raw::c_int;
14107}
14108extern "C" {
14109    pub fn XDisplayWidth(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
14110}
14111extern "C" {
14112    pub fn XDisplayWidthMM(
14113        arg1: *mut Display,
14114        arg2: ::std::os::raw::c_int,
14115    ) -> ::std::os::raw::c_int;
14116}
14117extern "C" {
14118    pub fn XDrawArc(
14119        arg1: *mut Display,
14120        arg2: Drawable,
14121        arg3: GC,
14122        arg4: ::std::os::raw::c_int,
14123        arg5: ::std::os::raw::c_int,
14124        arg6: ::std::os::raw::c_uint,
14125        arg7: ::std::os::raw::c_uint,
14126        arg8: ::std::os::raw::c_int,
14127        arg9: ::std::os::raw::c_int,
14128    ) -> ::std::os::raw::c_int;
14129}
14130extern "C" {
14131    pub fn XDrawArcs(
14132        arg1: *mut Display,
14133        arg2: Drawable,
14134        arg3: GC,
14135        arg4: *mut XArc,
14136        arg5: ::std::os::raw::c_int,
14137    ) -> ::std::os::raw::c_int;
14138}
14139extern "C" {
14140    pub fn XDrawImageString(
14141        arg1: *mut Display,
14142        arg2: Drawable,
14143        arg3: GC,
14144        arg4: ::std::os::raw::c_int,
14145        arg5: ::std::os::raw::c_int,
14146        arg6: *const ::std::os::raw::c_char,
14147        arg7: ::std::os::raw::c_int,
14148    ) -> ::std::os::raw::c_int;
14149}
14150extern "C" {
14151    pub fn XDrawImageString16(
14152        arg1: *mut Display,
14153        arg2: Drawable,
14154        arg3: GC,
14155        arg4: ::std::os::raw::c_int,
14156        arg5: ::std::os::raw::c_int,
14157        arg6: *const XChar2b,
14158        arg7: ::std::os::raw::c_int,
14159    ) -> ::std::os::raw::c_int;
14160}
14161extern "C" {
14162    pub fn XDrawLine(
14163        arg1: *mut Display,
14164        arg2: Drawable,
14165        arg3: GC,
14166        arg4: ::std::os::raw::c_int,
14167        arg5: ::std::os::raw::c_int,
14168        arg6: ::std::os::raw::c_int,
14169        arg7: ::std::os::raw::c_int,
14170    ) -> ::std::os::raw::c_int;
14171}
14172extern "C" {
14173    pub fn XDrawLines(
14174        arg1: *mut Display,
14175        arg2: Drawable,
14176        arg3: GC,
14177        arg4: *mut XPoint,
14178        arg5: ::std::os::raw::c_int,
14179        arg6: ::std::os::raw::c_int,
14180    ) -> ::std::os::raw::c_int;
14181}
14182extern "C" {
14183    pub fn XDrawPoint(
14184        arg1: *mut Display,
14185        arg2: Drawable,
14186        arg3: GC,
14187        arg4: ::std::os::raw::c_int,
14188        arg5: ::std::os::raw::c_int,
14189    ) -> ::std::os::raw::c_int;
14190}
14191extern "C" {
14192    pub fn XDrawPoints(
14193        arg1: *mut Display,
14194        arg2: Drawable,
14195        arg3: GC,
14196        arg4: *mut XPoint,
14197        arg5: ::std::os::raw::c_int,
14198        arg6: ::std::os::raw::c_int,
14199    ) -> ::std::os::raw::c_int;
14200}
14201extern "C" {
14202    pub fn XDrawRectangle(
14203        arg1: *mut Display,
14204        arg2: Drawable,
14205        arg3: GC,
14206        arg4: ::std::os::raw::c_int,
14207        arg5: ::std::os::raw::c_int,
14208        arg6: ::std::os::raw::c_uint,
14209        arg7: ::std::os::raw::c_uint,
14210    ) -> ::std::os::raw::c_int;
14211}
14212extern "C" {
14213    pub fn XDrawRectangles(
14214        arg1: *mut Display,
14215        arg2: Drawable,
14216        arg3: GC,
14217        arg4: *mut XRectangle,
14218        arg5: ::std::os::raw::c_int,
14219    ) -> ::std::os::raw::c_int;
14220}
14221extern "C" {
14222    pub fn XDrawSegments(
14223        arg1: *mut Display,
14224        arg2: Drawable,
14225        arg3: GC,
14226        arg4: *mut XSegment,
14227        arg5: ::std::os::raw::c_int,
14228    ) -> ::std::os::raw::c_int;
14229}
14230extern "C" {
14231    pub fn XDrawString(
14232        arg1: *mut Display,
14233        arg2: Drawable,
14234        arg3: GC,
14235        arg4: ::std::os::raw::c_int,
14236        arg5: ::std::os::raw::c_int,
14237        arg6: *const ::std::os::raw::c_char,
14238        arg7: ::std::os::raw::c_int,
14239    ) -> ::std::os::raw::c_int;
14240}
14241extern "C" {
14242    pub fn XDrawString16(
14243        arg1: *mut Display,
14244        arg2: Drawable,
14245        arg3: GC,
14246        arg4: ::std::os::raw::c_int,
14247        arg5: ::std::os::raw::c_int,
14248        arg6: *const XChar2b,
14249        arg7: ::std::os::raw::c_int,
14250    ) -> ::std::os::raw::c_int;
14251}
14252extern "C" {
14253    pub fn XDrawText(
14254        arg1: *mut Display,
14255        arg2: Drawable,
14256        arg3: GC,
14257        arg4: ::std::os::raw::c_int,
14258        arg5: ::std::os::raw::c_int,
14259        arg6: *mut XTextItem,
14260        arg7: ::std::os::raw::c_int,
14261    ) -> ::std::os::raw::c_int;
14262}
14263extern "C" {
14264    pub fn XDrawText16(
14265        arg1: *mut Display,
14266        arg2: Drawable,
14267        arg3: GC,
14268        arg4: ::std::os::raw::c_int,
14269        arg5: ::std::os::raw::c_int,
14270        arg6: *mut XTextItem16,
14271        arg7: ::std::os::raw::c_int,
14272    ) -> ::std::os::raw::c_int;
14273}
14274extern "C" {
14275    pub fn XEnableAccessControl(arg1: *mut Display) -> ::std::os::raw::c_int;
14276}
14277extern "C" {
14278    pub fn XEventsQueued(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
14279}
14280extern "C" {
14281    pub fn XFetchName(
14282        arg1: *mut Display,
14283        arg2: Window,
14284        arg3: *mut *mut ::std::os::raw::c_char,
14285    ) -> ::std::os::raw::c_int;
14286}
14287extern "C" {
14288    pub fn XFillArc(
14289        arg1: *mut Display,
14290        arg2: Drawable,
14291        arg3: GC,
14292        arg4: ::std::os::raw::c_int,
14293        arg5: ::std::os::raw::c_int,
14294        arg6: ::std::os::raw::c_uint,
14295        arg7: ::std::os::raw::c_uint,
14296        arg8: ::std::os::raw::c_int,
14297        arg9: ::std::os::raw::c_int,
14298    ) -> ::std::os::raw::c_int;
14299}
14300extern "C" {
14301    pub fn XFillArcs(
14302        arg1: *mut Display,
14303        arg2: Drawable,
14304        arg3: GC,
14305        arg4: *mut XArc,
14306        arg5: ::std::os::raw::c_int,
14307    ) -> ::std::os::raw::c_int;
14308}
14309extern "C" {
14310    pub fn XFillPolygon(
14311        arg1: *mut Display,
14312        arg2: Drawable,
14313        arg3: GC,
14314        arg4: *mut XPoint,
14315        arg5: ::std::os::raw::c_int,
14316        arg6: ::std::os::raw::c_int,
14317        arg7: ::std::os::raw::c_int,
14318    ) -> ::std::os::raw::c_int;
14319}
14320extern "C" {
14321    pub fn XFillRectangle(
14322        arg1: *mut Display,
14323        arg2: Drawable,
14324        arg3: GC,
14325        arg4: ::std::os::raw::c_int,
14326        arg5: ::std::os::raw::c_int,
14327        arg6: ::std::os::raw::c_uint,
14328        arg7: ::std::os::raw::c_uint,
14329    ) -> ::std::os::raw::c_int;
14330}
14331extern "C" {
14332    pub fn XFillRectangles(
14333        arg1: *mut Display,
14334        arg2: Drawable,
14335        arg3: GC,
14336        arg4: *mut XRectangle,
14337        arg5: ::std::os::raw::c_int,
14338    ) -> ::std::os::raw::c_int;
14339}
14340extern "C" {
14341    pub fn XFlush(arg1: *mut Display) -> ::std::os::raw::c_int;
14342}
14343extern "C" {
14344    pub fn XForceScreenSaver(
14345        arg1: *mut Display,
14346        arg2: ::std::os::raw::c_int,
14347    ) -> ::std::os::raw::c_int;
14348}
14349extern "C" {
14350    pub fn XFree(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
14351}
14352extern "C" {
14353    pub fn XFreeColormap(arg1: *mut Display, arg2: Colormap) -> ::std::os::raw::c_int;
14354}
14355extern "C" {
14356    pub fn XFreeColors(
14357        arg1: *mut Display,
14358        arg2: Colormap,
14359        arg3: *mut ::std::os::raw::c_ulong,
14360        arg4: ::std::os::raw::c_int,
14361        arg5: ::std::os::raw::c_ulong,
14362    ) -> ::std::os::raw::c_int;
14363}
14364extern "C" {
14365    pub fn XFreeCursor(arg1: *mut Display, arg2: Cursor) -> ::std::os::raw::c_int;
14366}
14367extern "C" {
14368    pub fn XFreeExtensionList(arg1: *mut *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
14369}
14370extern "C" {
14371    pub fn XFreeFont(arg1: *mut Display, arg2: *mut XFontStruct) -> ::std::os::raw::c_int;
14372}
14373extern "C" {
14374    pub fn XFreeFontInfo(
14375        arg1: *mut *mut ::std::os::raw::c_char,
14376        arg2: *mut XFontStruct,
14377        arg3: ::std::os::raw::c_int,
14378    ) -> ::std::os::raw::c_int;
14379}
14380extern "C" {
14381    pub fn XFreeFontNames(arg1: *mut *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
14382}
14383extern "C" {
14384    pub fn XFreeFontPath(arg1: *mut *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
14385}
14386extern "C" {
14387    pub fn XFreeGC(arg1: *mut Display, arg2: GC) -> ::std::os::raw::c_int;
14388}
14389extern "C" {
14390    pub fn XFreeModifiermap(arg1: *mut XModifierKeymap) -> ::std::os::raw::c_int;
14391}
14392extern "C" {
14393    pub fn XFreePixmap(arg1: *mut Display, arg2: Pixmap) -> ::std::os::raw::c_int;
14394}
14395extern "C" {
14396    pub fn XGeometry(
14397        arg1: *mut Display,
14398        arg2: ::std::os::raw::c_int,
14399        arg3: *const ::std::os::raw::c_char,
14400        arg4: *const ::std::os::raw::c_char,
14401        arg5: ::std::os::raw::c_uint,
14402        arg6: ::std::os::raw::c_uint,
14403        arg7: ::std::os::raw::c_uint,
14404        arg8: ::std::os::raw::c_int,
14405        arg9: ::std::os::raw::c_int,
14406        arg10: *mut ::std::os::raw::c_int,
14407        arg11: *mut ::std::os::raw::c_int,
14408        arg12: *mut ::std::os::raw::c_int,
14409        arg13: *mut ::std::os::raw::c_int,
14410    ) -> ::std::os::raw::c_int;
14411}
14412extern "C" {
14413    pub fn XGetErrorDatabaseText(
14414        arg1: *mut Display,
14415        arg2: *const ::std::os::raw::c_char,
14416        arg3: *const ::std::os::raw::c_char,
14417        arg4: *const ::std::os::raw::c_char,
14418        arg5: *mut ::std::os::raw::c_char,
14419        arg6: ::std::os::raw::c_int,
14420    ) -> ::std::os::raw::c_int;
14421}
14422extern "C" {
14423    pub fn XGetErrorText(
14424        arg1: *mut Display,
14425        arg2: ::std::os::raw::c_int,
14426        arg3: *mut ::std::os::raw::c_char,
14427        arg4: ::std::os::raw::c_int,
14428    ) -> ::std::os::raw::c_int;
14429}
14430extern "C" {
14431    pub fn XGetFontProperty(
14432        arg1: *mut XFontStruct,
14433        arg2: Atom,
14434        arg3: *mut ::std::os::raw::c_ulong,
14435    ) -> ::std::os::raw::c_int;
14436}
14437extern "C" {
14438    pub fn XGetGCValues(
14439        arg1: *mut Display,
14440        arg2: GC,
14441        arg3: ::std::os::raw::c_ulong,
14442        arg4: *mut XGCValues,
14443    ) -> ::std::os::raw::c_int;
14444}
14445extern "C" {
14446    pub fn XGetGeometry(
14447        arg1: *mut Display,
14448        arg2: Drawable,
14449        arg3: *mut Window,
14450        arg4: *mut ::std::os::raw::c_int,
14451        arg5: *mut ::std::os::raw::c_int,
14452        arg6: *mut ::std::os::raw::c_uint,
14453        arg7: *mut ::std::os::raw::c_uint,
14454        arg8: *mut ::std::os::raw::c_uint,
14455        arg9: *mut ::std::os::raw::c_uint,
14456    ) -> ::std::os::raw::c_int;
14457}
14458extern "C" {
14459    pub fn XGetIconName(
14460        arg1: *mut Display,
14461        arg2: Window,
14462        arg3: *mut *mut ::std::os::raw::c_char,
14463    ) -> ::std::os::raw::c_int;
14464}
14465extern "C" {
14466    pub fn XGetInputFocus(
14467        arg1: *mut Display,
14468        arg2: *mut Window,
14469        arg3: *mut ::std::os::raw::c_int,
14470    ) -> ::std::os::raw::c_int;
14471}
14472extern "C" {
14473    pub fn XGetKeyboardControl(
14474        arg1: *mut Display,
14475        arg2: *mut XKeyboardState,
14476    ) -> ::std::os::raw::c_int;
14477}
14478extern "C" {
14479    pub fn XGetPointerControl(
14480        arg1: *mut Display,
14481        arg2: *mut ::std::os::raw::c_int,
14482        arg3: *mut ::std::os::raw::c_int,
14483        arg4: *mut ::std::os::raw::c_int,
14484    ) -> ::std::os::raw::c_int;
14485}
14486extern "C" {
14487    pub fn XGetPointerMapping(
14488        arg1: *mut Display,
14489        arg2: *mut ::std::os::raw::c_uchar,
14490        arg3: ::std::os::raw::c_int,
14491    ) -> ::std::os::raw::c_int;
14492}
14493extern "C" {
14494    pub fn XGetScreenSaver(
14495        arg1: *mut Display,
14496        arg2: *mut ::std::os::raw::c_int,
14497        arg3: *mut ::std::os::raw::c_int,
14498        arg4: *mut ::std::os::raw::c_int,
14499        arg5: *mut ::std::os::raw::c_int,
14500    ) -> ::std::os::raw::c_int;
14501}
14502extern "C" {
14503    pub fn XGetTransientForHint(
14504        arg1: *mut Display,
14505        arg2: Window,
14506        arg3: *mut Window,
14507    ) -> ::std::os::raw::c_int;
14508}
14509extern "C" {
14510    pub fn XGetWindowProperty(
14511        arg1: *mut Display,
14512        arg2: Window,
14513        arg3: Atom,
14514        arg4: ::std::os::raw::c_long,
14515        arg5: ::std::os::raw::c_long,
14516        arg6: ::std::os::raw::c_int,
14517        arg7: Atom,
14518        arg8: *mut Atom,
14519        arg9: *mut ::std::os::raw::c_int,
14520        arg10: *mut ::std::os::raw::c_ulong,
14521        arg11: *mut ::std::os::raw::c_ulong,
14522        arg12: *mut *mut ::std::os::raw::c_uchar,
14523    ) -> ::std::os::raw::c_int;
14524}
14525extern "C" {
14526    pub fn XGetWindowAttributes(
14527        arg1: *mut Display,
14528        arg2: Window,
14529        arg3: *mut XWindowAttributes,
14530    ) -> ::std::os::raw::c_int;
14531}
14532extern "C" {
14533    pub fn XGrabButton(
14534        arg1: *mut Display,
14535        arg2: ::std::os::raw::c_uint,
14536        arg3: ::std::os::raw::c_uint,
14537        arg4: Window,
14538        arg5: ::std::os::raw::c_int,
14539        arg6: ::std::os::raw::c_uint,
14540        arg7: ::std::os::raw::c_int,
14541        arg8: ::std::os::raw::c_int,
14542        arg9: Window,
14543        arg10: Cursor,
14544    ) -> ::std::os::raw::c_int;
14545}
14546extern "C" {
14547    pub fn XGrabKey(
14548        arg1: *mut Display,
14549        arg2: ::std::os::raw::c_int,
14550        arg3: ::std::os::raw::c_uint,
14551        arg4: Window,
14552        arg5: ::std::os::raw::c_int,
14553        arg6: ::std::os::raw::c_int,
14554        arg7: ::std::os::raw::c_int,
14555    ) -> ::std::os::raw::c_int;
14556}
14557extern "C" {
14558    pub fn XGrabKeyboard(
14559        arg1: *mut Display,
14560        arg2: Window,
14561        arg3: ::std::os::raw::c_int,
14562        arg4: ::std::os::raw::c_int,
14563        arg5: ::std::os::raw::c_int,
14564        arg6: Time,
14565    ) -> ::std::os::raw::c_int;
14566}
14567extern "C" {
14568    pub fn XGrabPointer(
14569        arg1: *mut Display,
14570        arg2: Window,
14571        arg3: ::std::os::raw::c_int,
14572        arg4: ::std::os::raw::c_uint,
14573        arg5: ::std::os::raw::c_int,
14574        arg6: ::std::os::raw::c_int,
14575        arg7: Window,
14576        arg8: Cursor,
14577        arg9: Time,
14578    ) -> ::std::os::raw::c_int;
14579}
14580extern "C" {
14581    pub fn XGrabServer(arg1: *mut Display) -> ::std::os::raw::c_int;
14582}
14583extern "C" {
14584    pub fn XHeightMMOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14585}
14586extern "C" {
14587    pub fn XHeightOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14588}
14589extern "C" {
14590    pub fn XIfEvent(
14591        arg1: *mut Display,
14592        arg2: *mut XEvent,
14593        arg3: ::std::option::Option<
14594            unsafe extern "C" fn(
14595                arg1: *mut Display,
14596                arg2: *mut XEvent,
14597                arg3: XPointer,
14598            ) -> ::std::os::raw::c_int,
14599        >,
14600        arg4: XPointer,
14601    ) -> ::std::os::raw::c_int;
14602}
14603extern "C" {
14604    pub fn XImageByteOrder(arg1: *mut Display) -> ::std::os::raw::c_int;
14605}
14606extern "C" {
14607    pub fn XInstallColormap(arg1: *mut Display, arg2: Colormap) -> ::std::os::raw::c_int;
14608}
14609extern "C" {
14610    pub fn XKeysymToKeycode(arg1: *mut Display, arg2: KeySym) -> KeyCode;
14611}
14612extern "C" {
14613    pub fn XKillClient(arg1: *mut Display, arg2: XID) -> ::std::os::raw::c_int;
14614}
14615extern "C" {
14616    pub fn XLookupColor(
14617        arg1: *mut Display,
14618        arg2: Colormap,
14619        arg3: *const ::std::os::raw::c_char,
14620        arg4: *mut XColor,
14621        arg5: *mut XColor,
14622    ) -> ::std::os::raw::c_int;
14623}
14624extern "C" {
14625    pub fn XLowerWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14626}
14627extern "C" {
14628    pub fn XMapRaised(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14629}
14630extern "C" {
14631    pub fn XMapSubwindows(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14632}
14633extern "C" {
14634    pub fn XMapWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14635}
14636extern "C" {
14637    pub fn XMaskEvent(
14638        arg1: *mut Display,
14639        arg2: ::std::os::raw::c_long,
14640        arg3: *mut XEvent,
14641    ) -> ::std::os::raw::c_int;
14642}
14643extern "C" {
14644    pub fn XMaxCmapsOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14645}
14646extern "C" {
14647    pub fn XMinCmapsOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14648}
14649extern "C" {
14650    pub fn XMoveResizeWindow(
14651        arg1: *mut Display,
14652        arg2: Window,
14653        arg3: ::std::os::raw::c_int,
14654        arg4: ::std::os::raw::c_int,
14655        arg5: ::std::os::raw::c_uint,
14656        arg6: ::std::os::raw::c_uint,
14657    ) -> ::std::os::raw::c_int;
14658}
14659extern "C" {
14660    pub fn XMoveWindow(
14661        arg1: *mut Display,
14662        arg2: Window,
14663        arg3: ::std::os::raw::c_int,
14664        arg4: ::std::os::raw::c_int,
14665    ) -> ::std::os::raw::c_int;
14666}
14667extern "C" {
14668    pub fn XNextEvent(arg1: *mut Display, arg2: *mut XEvent) -> ::std::os::raw::c_int;
14669}
14670extern "C" {
14671    pub fn XNoOp(arg1: *mut Display) -> ::std::os::raw::c_int;
14672}
14673extern "C" {
14674    pub fn XParseColor(
14675        arg1: *mut Display,
14676        arg2: Colormap,
14677        arg3: *const ::std::os::raw::c_char,
14678        arg4: *mut XColor,
14679    ) -> ::std::os::raw::c_int;
14680}
14681extern "C" {
14682    pub fn XParseGeometry(
14683        arg1: *const ::std::os::raw::c_char,
14684        arg2: *mut ::std::os::raw::c_int,
14685        arg3: *mut ::std::os::raw::c_int,
14686        arg4: *mut ::std::os::raw::c_uint,
14687        arg5: *mut ::std::os::raw::c_uint,
14688    ) -> ::std::os::raw::c_int;
14689}
14690extern "C" {
14691    pub fn XPeekEvent(arg1: *mut Display, arg2: *mut XEvent) -> ::std::os::raw::c_int;
14692}
14693extern "C" {
14694    pub fn XPeekIfEvent(
14695        arg1: *mut Display,
14696        arg2: *mut XEvent,
14697        arg3: ::std::option::Option<
14698            unsafe extern "C" fn(
14699                arg1: *mut Display,
14700                arg2: *mut XEvent,
14701                arg3: XPointer,
14702            ) -> ::std::os::raw::c_int,
14703        >,
14704        arg4: XPointer,
14705    ) -> ::std::os::raw::c_int;
14706}
14707extern "C" {
14708    pub fn XPending(arg1: *mut Display) -> ::std::os::raw::c_int;
14709}
14710extern "C" {
14711    pub fn XPlanesOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
14712}
14713extern "C" {
14714    pub fn XProtocolRevision(arg1: *mut Display) -> ::std::os::raw::c_int;
14715}
14716extern "C" {
14717    pub fn XProtocolVersion(arg1: *mut Display) -> ::std::os::raw::c_int;
14718}
14719extern "C" {
14720    pub fn XPutBackEvent(arg1: *mut Display, arg2: *mut XEvent) -> ::std::os::raw::c_int;
14721}
14722extern "C" {
14723    pub fn XPutImage(
14724        arg1: *mut Display,
14725        arg2: Drawable,
14726        arg3: GC,
14727        arg4: *mut XImage,
14728        arg5: ::std::os::raw::c_int,
14729        arg6: ::std::os::raw::c_int,
14730        arg7: ::std::os::raw::c_int,
14731        arg8: ::std::os::raw::c_int,
14732        arg9: ::std::os::raw::c_uint,
14733        arg10: ::std::os::raw::c_uint,
14734    ) -> ::std::os::raw::c_int;
14735}
14736extern "C" {
14737    pub fn XQLength(arg1: *mut Display) -> ::std::os::raw::c_int;
14738}
14739extern "C" {
14740    pub fn XQueryBestCursor(
14741        arg1: *mut Display,
14742        arg2: Drawable,
14743        arg3: ::std::os::raw::c_uint,
14744        arg4: ::std::os::raw::c_uint,
14745        arg5: *mut ::std::os::raw::c_uint,
14746        arg6: *mut ::std::os::raw::c_uint,
14747    ) -> ::std::os::raw::c_int;
14748}
14749extern "C" {
14750    pub fn XQueryBestSize(
14751        arg1: *mut Display,
14752        arg2: ::std::os::raw::c_int,
14753        arg3: Drawable,
14754        arg4: ::std::os::raw::c_uint,
14755        arg5: ::std::os::raw::c_uint,
14756        arg6: *mut ::std::os::raw::c_uint,
14757        arg7: *mut ::std::os::raw::c_uint,
14758    ) -> ::std::os::raw::c_int;
14759}
14760extern "C" {
14761    pub fn XQueryBestStipple(
14762        arg1: *mut Display,
14763        arg2: Drawable,
14764        arg3: ::std::os::raw::c_uint,
14765        arg4: ::std::os::raw::c_uint,
14766        arg5: *mut ::std::os::raw::c_uint,
14767        arg6: *mut ::std::os::raw::c_uint,
14768    ) -> ::std::os::raw::c_int;
14769}
14770extern "C" {
14771    pub fn XQueryBestTile(
14772        arg1: *mut Display,
14773        arg2: Drawable,
14774        arg3: ::std::os::raw::c_uint,
14775        arg4: ::std::os::raw::c_uint,
14776        arg5: *mut ::std::os::raw::c_uint,
14777        arg6: *mut ::std::os::raw::c_uint,
14778    ) -> ::std::os::raw::c_int;
14779}
14780extern "C" {
14781    pub fn XQueryColor(
14782        arg1: *mut Display,
14783        arg2: Colormap,
14784        arg3: *mut XColor,
14785    ) -> ::std::os::raw::c_int;
14786}
14787extern "C" {
14788    pub fn XQueryColors(
14789        arg1: *mut Display,
14790        arg2: Colormap,
14791        arg3: *mut XColor,
14792        arg4: ::std::os::raw::c_int,
14793    ) -> ::std::os::raw::c_int;
14794}
14795extern "C" {
14796    pub fn XQueryExtension(
14797        arg1: *mut Display,
14798        arg2: *const ::std::os::raw::c_char,
14799        arg3: *mut ::std::os::raw::c_int,
14800        arg4: *mut ::std::os::raw::c_int,
14801        arg5: *mut ::std::os::raw::c_int,
14802    ) -> ::std::os::raw::c_int;
14803}
14804extern "C" {
14805    pub fn XQueryKeymap(
14806        arg1: *mut Display,
14807        arg2: *mut ::std::os::raw::c_char,
14808    ) -> ::std::os::raw::c_int;
14809}
14810extern "C" {
14811    pub fn XQueryPointer(
14812        arg1: *mut Display,
14813        arg2: Window,
14814        arg3: *mut Window,
14815        arg4: *mut Window,
14816        arg5: *mut ::std::os::raw::c_int,
14817        arg6: *mut ::std::os::raw::c_int,
14818        arg7: *mut ::std::os::raw::c_int,
14819        arg8: *mut ::std::os::raw::c_int,
14820        arg9: *mut ::std::os::raw::c_uint,
14821    ) -> ::std::os::raw::c_int;
14822}
14823extern "C" {
14824    pub fn XQueryTextExtents(
14825        arg1: *mut Display,
14826        arg2: XID,
14827        arg3: *const ::std::os::raw::c_char,
14828        arg4: ::std::os::raw::c_int,
14829        arg5: *mut ::std::os::raw::c_int,
14830        arg6: *mut ::std::os::raw::c_int,
14831        arg7: *mut ::std::os::raw::c_int,
14832        arg8: *mut XCharStruct,
14833    ) -> ::std::os::raw::c_int;
14834}
14835extern "C" {
14836    pub fn XQueryTextExtents16(
14837        arg1: *mut Display,
14838        arg2: XID,
14839        arg3: *const XChar2b,
14840        arg4: ::std::os::raw::c_int,
14841        arg5: *mut ::std::os::raw::c_int,
14842        arg6: *mut ::std::os::raw::c_int,
14843        arg7: *mut ::std::os::raw::c_int,
14844        arg8: *mut XCharStruct,
14845    ) -> ::std::os::raw::c_int;
14846}
14847extern "C" {
14848    pub fn XQueryTree(
14849        arg1: *mut Display,
14850        arg2: Window,
14851        arg3: *mut Window,
14852        arg4: *mut Window,
14853        arg5: *mut *mut Window,
14854        arg6: *mut ::std::os::raw::c_uint,
14855    ) -> ::std::os::raw::c_int;
14856}
14857extern "C" {
14858    pub fn XRaiseWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14859}
14860extern "C" {
14861    pub fn XReadBitmapFile(
14862        arg1: *mut Display,
14863        arg2: Drawable,
14864        arg3: *const ::std::os::raw::c_char,
14865        arg4: *mut ::std::os::raw::c_uint,
14866        arg5: *mut ::std::os::raw::c_uint,
14867        arg6: *mut Pixmap,
14868        arg7: *mut ::std::os::raw::c_int,
14869        arg8: *mut ::std::os::raw::c_int,
14870    ) -> ::std::os::raw::c_int;
14871}
14872extern "C" {
14873    pub fn XReadBitmapFileData(
14874        arg1: *const ::std::os::raw::c_char,
14875        arg2: *mut ::std::os::raw::c_uint,
14876        arg3: *mut ::std::os::raw::c_uint,
14877        arg4: *mut *mut ::std::os::raw::c_uchar,
14878        arg5: *mut ::std::os::raw::c_int,
14879        arg6: *mut ::std::os::raw::c_int,
14880    ) -> ::std::os::raw::c_int;
14881}
14882extern "C" {
14883    pub fn XRebindKeysym(
14884        arg1: *mut Display,
14885        arg2: KeySym,
14886        arg3: *mut KeySym,
14887        arg4: ::std::os::raw::c_int,
14888        arg5: *const ::std::os::raw::c_uchar,
14889        arg6: ::std::os::raw::c_int,
14890    ) -> ::std::os::raw::c_int;
14891}
14892extern "C" {
14893    pub fn XRecolorCursor(
14894        arg1: *mut Display,
14895        arg2: Cursor,
14896        arg3: *mut XColor,
14897        arg4: *mut XColor,
14898    ) -> ::std::os::raw::c_int;
14899}
14900extern "C" {
14901    pub fn XRefreshKeyboardMapping(arg1: *mut XMappingEvent) -> ::std::os::raw::c_int;
14902}
14903extern "C" {
14904    pub fn XRemoveFromSaveSet(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
14905}
14906extern "C" {
14907    pub fn XRemoveHost(arg1: *mut Display, arg2: *mut XHostAddress) -> ::std::os::raw::c_int;
14908}
14909extern "C" {
14910    pub fn XRemoveHosts(
14911        arg1: *mut Display,
14912        arg2: *mut XHostAddress,
14913        arg3: ::std::os::raw::c_int,
14914    ) -> ::std::os::raw::c_int;
14915}
14916extern "C" {
14917    pub fn XReparentWindow(
14918        arg1: *mut Display,
14919        arg2: Window,
14920        arg3: Window,
14921        arg4: ::std::os::raw::c_int,
14922        arg5: ::std::os::raw::c_int,
14923    ) -> ::std::os::raw::c_int;
14924}
14925extern "C" {
14926    pub fn XResetScreenSaver(arg1: *mut Display) -> ::std::os::raw::c_int;
14927}
14928extern "C" {
14929    pub fn XResizeWindow(
14930        arg1: *mut Display,
14931        arg2: Window,
14932        arg3: ::std::os::raw::c_uint,
14933        arg4: ::std::os::raw::c_uint,
14934    ) -> ::std::os::raw::c_int;
14935}
14936extern "C" {
14937    pub fn XRestackWindows(
14938        arg1: *mut Display,
14939        arg2: *mut Window,
14940        arg3: ::std::os::raw::c_int,
14941    ) -> ::std::os::raw::c_int;
14942}
14943extern "C" {
14944    pub fn XRotateBuffers(arg1: *mut Display, arg2: ::std::os::raw::c_int)
14945        -> ::std::os::raw::c_int;
14946}
14947extern "C" {
14948    pub fn XRotateWindowProperties(
14949        arg1: *mut Display,
14950        arg2: Window,
14951        arg3: *mut Atom,
14952        arg4: ::std::os::raw::c_int,
14953        arg5: ::std::os::raw::c_int,
14954    ) -> ::std::os::raw::c_int;
14955}
14956extern "C" {
14957    pub fn XScreenCount(arg1: *mut Display) -> ::std::os::raw::c_int;
14958}
14959extern "C" {
14960    pub fn XSelectInput(
14961        arg1: *mut Display,
14962        arg2: Window,
14963        arg3: ::std::os::raw::c_long,
14964    ) -> ::std::os::raw::c_int;
14965}
14966extern "C" {
14967    pub fn XSendEvent(
14968        arg1: *mut Display,
14969        arg2: Window,
14970        arg3: ::std::os::raw::c_int,
14971        arg4: ::std::os::raw::c_long,
14972        arg5: *mut XEvent,
14973    ) -> ::std::os::raw::c_int;
14974}
14975extern "C" {
14976    pub fn XSetAccessControl(
14977        arg1: *mut Display,
14978        arg2: ::std::os::raw::c_int,
14979    ) -> ::std::os::raw::c_int;
14980}
14981extern "C" {
14982    pub fn XSetArcMode(
14983        arg1: *mut Display,
14984        arg2: GC,
14985        arg3: ::std::os::raw::c_int,
14986    ) -> ::std::os::raw::c_int;
14987}
14988extern "C" {
14989    pub fn XSetBackground(
14990        arg1: *mut Display,
14991        arg2: GC,
14992        arg3: ::std::os::raw::c_ulong,
14993    ) -> ::std::os::raw::c_int;
14994}
14995extern "C" {
14996    pub fn XSetClipMask(arg1: *mut Display, arg2: GC, arg3: Pixmap) -> ::std::os::raw::c_int;
14997}
14998extern "C" {
14999    pub fn XSetClipOrigin(
15000        arg1: *mut Display,
15001        arg2: GC,
15002        arg3: ::std::os::raw::c_int,
15003        arg4: ::std::os::raw::c_int,
15004    ) -> ::std::os::raw::c_int;
15005}
15006extern "C" {
15007    pub fn XSetClipRectangles(
15008        arg1: *mut Display,
15009        arg2: GC,
15010        arg3: ::std::os::raw::c_int,
15011        arg4: ::std::os::raw::c_int,
15012        arg5: *mut XRectangle,
15013        arg6: ::std::os::raw::c_int,
15014        arg7: ::std::os::raw::c_int,
15015    ) -> ::std::os::raw::c_int;
15016}
15017extern "C" {
15018    pub fn XSetCloseDownMode(
15019        arg1: *mut Display,
15020        arg2: ::std::os::raw::c_int,
15021    ) -> ::std::os::raw::c_int;
15022}
15023extern "C" {
15024    pub fn XSetCommand(
15025        arg1: *mut Display,
15026        arg2: Window,
15027        arg3: *mut *mut ::std::os::raw::c_char,
15028        arg4: ::std::os::raw::c_int,
15029    ) -> ::std::os::raw::c_int;
15030}
15031extern "C" {
15032    pub fn XSetDashes(
15033        arg1: *mut Display,
15034        arg2: GC,
15035        arg3: ::std::os::raw::c_int,
15036        arg4: *const ::std::os::raw::c_char,
15037        arg5: ::std::os::raw::c_int,
15038    ) -> ::std::os::raw::c_int;
15039}
15040extern "C" {
15041    pub fn XSetFillRule(
15042        arg1: *mut Display,
15043        arg2: GC,
15044        arg3: ::std::os::raw::c_int,
15045    ) -> ::std::os::raw::c_int;
15046}
15047extern "C" {
15048    pub fn XSetFillStyle(
15049        arg1: *mut Display,
15050        arg2: GC,
15051        arg3: ::std::os::raw::c_int,
15052    ) -> ::std::os::raw::c_int;
15053}
15054extern "C" {
15055    pub fn XSetFont(arg1: *mut Display, arg2: GC, arg3: Font) -> ::std::os::raw::c_int;
15056}
15057extern "C" {
15058    pub fn XSetFontPath(
15059        arg1: *mut Display,
15060        arg2: *mut *mut ::std::os::raw::c_char,
15061        arg3: ::std::os::raw::c_int,
15062    ) -> ::std::os::raw::c_int;
15063}
15064extern "C" {
15065    pub fn XSetForeground(
15066        arg1: *mut Display,
15067        arg2: GC,
15068        arg3: ::std::os::raw::c_ulong,
15069    ) -> ::std::os::raw::c_int;
15070}
15071extern "C" {
15072    pub fn XSetFunction(
15073        arg1: *mut Display,
15074        arg2: GC,
15075        arg3: ::std::os::raw::c_int,
15076    ) -> ::std::os::raw::c_int;
15077}
15078extern "C" {
15079    pub fn XSetGraphicsExposures(
15080        arg1: *mut Display,
15081        arg2: GC,
15082        arg3: ::std::os::raw::c_int,
15083    ) -> ::std::os::raw::c_int;
15084}
15085extern "C" {
15086    pub fn XSetIconName(
15087        arg1: *mut Display,
15088        arg2: Window,
15089        arg3: *const ::std::os::raw::c_char,
15090    ) -> ::std::os::raw::c_int;
15091}
15092extern "C" {
15093    pub fn XSetInputFocus(
15094        arg1: *mut Display,
15095        arg2: Window,
15096        arg3: ::std::os::raw::c_int,
15097        arg4: Time,
15098    ) -> ::std::os::raw::c_int;
15099}
15100extern "C" {
15101    pub fn XSetLineAttributes(
15102        arg1: *mut Display,
15103        arg2: GC,
15104        arg3: ::std::os::raw::c_uint,
15105        arg4: ::std::os::raw::c_int,
15106        arg5: ::std::os::raw::c_int,
15107        arg6: ::std::os::raw::c_int,
15108    ) -> ::std::os::raw::c_int;
15109}
15110extern "C" {
15111    pub fn XSetModifierMapping(
15112        arg1: *mut Display,
15113        arg2: *mut XModifierKeymap,
15114    ) -> ::std::os::raw::c_int;
15115}
15116extern "C" {
15117    pub fn XSetPlaneMask(
15118        arg1: *mut Display,
15119        arg2: GC,
15120        arg3: ::std::os::raw::c_ulong,
15121    ) -> ::std::os::raw::c_int;
15122}
15123extern "C" {
15124    pub fn XSetPointerMapping(
15125        arg1: *mut Display,
15126        arg2: *const ::std::os::raw::c_uchar,
15127        arg3: ::std::os::raw::c_int,
15128    ) -> ::std::os::raw::c_int;
15129}
15130extern "C" {
15131    pub fn XSetScreenSaver(
15132        arg1: *mut Display,
15133        arg2: ::std::os::raw::c_int,
15134        arg3: ::std::os::raw::c_int,
15135        arg4: ::std::os::raw::c_int,
15136        arg5: ::std::os::raw::c_int,
15137    ) -> ::std::os::raw::c_int;
15138}
15139extern "C" {
15140    pub fn XSetSelectionOwner(
15141        arg1: *mut Display,
15142        arg2: Atom,
15143        arg3: Window,
15144        arg4: Time,
15145    ) -> ::std::os::raw::c_int;
15146}
15147extern "C" {
15148    pub fn XSetState(
15149        arg1: *mut Display,
15150        arg2: GC,
15151        arg3: ::std::os::raw::c_ulong,
15152        arg4: ::std::os::raw::c_ulong,
15153        arg5: ::std::os::raw::c_int,
15154        arg6: ::std::os::raw::c_ulong,
15155    ) -> ::std::os::raw::c_int;
15156}
15157extern "C" {
15158    pub fn XSetStipple(arg1: *mut Display, arg2: GC, arg3: Pixmap) -> ::std::os::raw::c_int;
15159}
15160extern "C" {
15161    pub fn XSetSubwindowMode(
15162        arg1: *mut Display,
15163        arg2: GC,
15164        arg3: ::std::os::raw::c_int,
15165    ) -> ::std::os::raw::c_int;
15166}
15167extern "C" {
15168    pub fn XSetTSOrigin(
15169        arg1: *mut Display,
15170        arg2: GC,
15171        arg3: ::std::os::raw::c_int,
15172        arg4: ::std::os::raw::c_int,
15173    ) -> ::std::os::raw::c_int;
15174}
15175extern "C" {
15176    pub fn XSetTile(arg1: *mut Display, arg2: GC, arg3: Pixmap) -> ::std::os::raw::c_int;
15177}
15178extern "C" {
15179    pub fn XSetWindowBackground(
15180        arg1: *mut Display,
15181        arg2: Window,
15182        arg3: ::std::os::raw::c_ulong,
15183    ) -> ::std::os::raw::c_int;
15184}
15185extern "C" {
15186    pub fn XSetWindowBackgroundPixmap(
15187        arg1: *mut Display,
15188        arg2: Window,
15189        arg3: Pixmap,
15190    ) -> ::std::os::raw::c_int;
15191}
15192extern "C" {
15193    pub fn XSetWindowBorder(
15194        arg1: *mut Display,
15195        arg2: Window,
15196        arg3: ::std::os::raw::c_ulong,
15197    ) -> ::std::os::raw::c_int;
15198}
15199extern "C" {
15200    pub fn XSetWindowBorderPixmap(
15201        arg1: *mut Display,
15202        arg2: Window,
15203        arg3: Pixmap,
15204    ) -> ::std::os::raw::c_int;
15205}
15206extern "C" {
15207    pub fn XSetWindowBorderWidth(
15208        arg1: *mut Display,
15209        arg2: Window,
15210        arg3: ::std::os::raw::c_uint,
15211    ) -> ::std::os::raw::c_int;
15212}
15213extern "C" {
15214    pub fn XSetWindowColormap(
15215        arg1: *mut Display,
15216        arg2: Window,
15217        arg3: Colormap,
15218    ) -> ::std::os::raw::c_int;
15219}
15220extern "C" {
15221    pub fn XStoreBuffer(
15222        arg1: *mut Display,
15223        arg2: *const ::std::os::raw::c_char,
15224        arg3: ::std::os::raw::c_int,
15225        arg4: ::std::os::raw::c_int,
15226    ) -> ::std::os::raw::c_int;
15227}
15228extern "C" {
15229    pub fn XStoreBytes(
15230        arg1: *mut Display,
15231        arg2: *const ::std::os::raw::c_char,
15232        arg3: ::std::os::raw::c_int,
15233    ) -> ::std::os::raw::c_int;
15234}
15235extern "C" {
15236    pub fn XStoreColor(
15237        arg1: *mut Display,
15238        arg2: Colormap,
15239        arg3: *mut XColor,
15240    ) -> ::std::os::raw::c_int;
15241}
15242extern "C" {
15243    pub fn XStoreColors(
15244        arg1: *mut Display,
15245        arg2: Colormap,
15246        arg3: *mut XColor,
15247        arg4: ::std::os::raw::c_int,
15248    ) -> ::std::os::raw::c_int;
15249}
15250extern "C" {
15251    pub fn XStoreName(
15252        arg1: *mut Display,
15253        arg2: Window,
15254        arg3: *const ::std::os::raw::c_char,
15255    ) -> ::std::os::raw::c_int;
15256}
15257extern "C" {
15258    pub fn XStoreNamedColor(
15259        arg1: *mut Display,
15260        arg2: Colormap,
15261        arg3: *const ::std::os::raw::c_char,
15262        arg4: ::std::os::raw::c_ulong,
15263        arg5: ::std::os::raw::c_int,
15264    ) -> ::std::os::raw::c_int;
15265}
15266extern "C" {
15267    pub fn XSync(arg1: *mut Display, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
15268}
15269extern "C" {
15270    pub fn XTextExtents(
15271        arg1: *mut XFontStruct,
15272        arg2: *const ::std::os::raw::c_char,
15273        arg3: ::std::os::raw::c_int,
15274        arg4: *mut ::std::os::raw::c_int,
15275        arg5: *mut ::std::os::raw::c_int,
15276        arg6: *mut ::std::os::raw::c_int,
15277        arg7: *mut XCharStruct,
15278    ) -> ::std::os::raw::c_int;
15279}
15280extern "C" {
15281    pub fn XTextExtents16(
15282        arg1: *mut XFontStruct,
15283        arg2: *const XChar2b,
15284        arg3: ::std::os::raw::c_int,
15285        arg4: *mut ::std::os::raw::c_int,
15286        arg5: *mut ::std::os::raw::c_int,
15287        arg6: *mut ::std::os::raw::c_int,
15288        arg7: *mut XCharStruct,
15289    ) -> ::std::os::raw::c_int;
15290}
15291extern "C" {
15292    pub fn XTextWidth(
15293        arg1: *mut XFontStruct,
15294        arg2: *const ::std::os::raw::c_char,
15295        arg3: ::std::os::raw::c_int,
15296    ) -> ::std::os::raw::c_int;
15297}
15298extern "C" {
15299    pub fn XTextWidth16(
15300        arg1: *mut XFontStruct,
15301        arg2: *const XChar2b,
15302        arg3: ::std::os::raw::c_int,
15303    ) -> ::std::os::raw::c_int;
15304}
15305extern "C" {
15306    pub fn XTranslateCoordinates(
15307        arg1: *mut Display,
15308        arg2: Window,
15309        arg3: Window,
15310        arg4: ::std::os::raw::c_int,
15311        arg5: ::std::os::raw::c_int,
15312        arg6: *mut ::std::os::raw::c_int,
15313        arg7: *mut ::std::os::raw::c_int,
15314        arg8: *mut Window,
15315    ) -> ::std::os::raw::c_int;
15316}
15317extern "C" {
15318    pub fn XUndefineCursor(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
15319}
15320extern "C" {
15321    pub fn XUngrabButton(
15322        arg1: *mut Display,
15323        arg2: ::std::os::raw::c_uint,
15324        arg3: ::std::os::raw::c_uint,
15325        arg4: Window,
15326    ) -> ::std::os::raw::c_int;
15327}
15328extern "C" {
15329    pub fn XUngrabKey(
15330        arg1: *mut Display,
15331        arg2: ::std::os::raw::c_int,
15332        arg3: ::std::os::raw::c_uint,
15333        arg4: Window,
15334    ) -> ::std::os::raw::c_int;
15335}
15336extern "C" {
15337    pub fn XUngrabKeyboard(arg1: *mut Display, arg2: Time) -> ::std::os::raw::c_int;
15338}
15339extern "C" {
15340    pub fn XUngrabPointer(arg1: *mut Display, arg2: Time) -> ::std::os::raw::c_int;
15341}
15342extern "C" {
15343    pub fn XUngrabServer(arg1: *mut Display) -> ::std::os::raw::c_int;
15344}
15345extern "C" {
15346    pub fn XUninstallColormap(arg1: *mut Display, arg2: Colormap) -> ::std::os::raw::c_int;
15347}
15348extern "C" {
15349    pub fn XUnloadFont(arg1: *mut Display, arg2: Font) -> ::std::os::raw::c_int;
15350}
15351extern "C" {
15352    pub fn XUnmapSubwindows(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
15353}
15354extern "C" {
15355    pub fn XUnmapWindow(arg1: *mut Display, arg2: Window) -> ::std::os::raw::c_int;
15356}
15357extern "C" {
15358    pub fn XVendorRelease(arg1: *mut Display) -> ::std::os::raw::c_int;
15359}
15360extern "C" {
15361    pub fn XWarpPointer(
15362        arg1: *mut Display,
15363        arg2: Window,
15364        arg3: Window,
15365        arg4: ::std::os::raw::c_int,
15366        arg5: ::std::os::raw::c_int,
15367        arg6: ::std::os::raw::c_uint,
15368        arg7: ::std::os::raw::c_uint,
15369        arg8: ::std::os::raw::c_int,
15370        arg9: ::std::os::raw::c_int,
15371    ) -> ::std::os::raw::c_int;
15372}
15373extern "C" {
15374    pub fn XWidthMMOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
15375}
15376extern "C" {
15377    pub fn XWidthOfScreen(arg1: *mut Screen) -> ::std::os::raw::c_int;
15378}
15379extern "C" {
15380    pub fn XWindowEvent(
15381        arg1: *mut Display,
15382        arg2: Window,
15383        arg3: ::std::os::raw::c_long,
15384        arg4: *mut XEvent,
15385    ) -> ::std::os::raw::c_int;
15386}
15387extern "C" {
15388    pub fn XWriteBitmapFile(
15389        arg1: *mut Display,
15390        arg2: *const ::std::os::raw::c_char,
15391        arg3: Pixmap,
15392        arg4: ::std::os::raw::c_uint,
15393        arg5: ::std::os::raw::c_uint,
15394        arg6: ::std::os::raw::c_int,
15395        arg7: ::std::os::raw::c_int,
15396    ) -> ::std::os::raw::c_int;
15397}
15398extern "C" {
15399    pub fn XSupportsLocale() -> ::std::os::raw::c_int;
15400}
15401extern "C" {
15402    pub fn XSetLocaleModifiers(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
15403}
15404extern "C" {
15405    pub fn XOpenOM(
15406        arg1: *mut Display,
15407        arg2: *mut _XrmHashBucketRec,
15408        arg3: *const ::std::os::raw::c_char,
15409        arg4: *const ::std::os::raw::c_char,
15410    ) -> XOM;
15411}
15412extern "C" {
15413    pub fn XCloseOM(arg1: XOM) -> ::std::os::raw::c_int;
15414}
15415extern "C" {
15416    pub fn XSetOMValues(arg1: XOM, ...) -> *mut ::std::os::raw::c_char;
15417}
15418extern "C" {
15419    pub fn XGetOMValues(arg1: XOM, ...) -> *mut ::std::os::raw::c_char;
15420}
15421extern "C" {
15422    pub fn XDisplayOfOM(arg1: XOM) -> *mut Display;
15423}
15424extern "C" {
15425    pub fn XLocaleOfOM(arg1: XOM) -> *mut ::std::os::raw::c_char;
15426}
15427extern "C" {
15428    pub fn XCreateOC(arg1: XOM, ...) -> XOC;
15429}
15430extern "C" {
15431    pub fn XDestroyOC(arg1: XOC);
15432}
15433extern "C" {
15434    pub fn XOMOfOC(arg1: XOC) -> XOM;
15435}
15436extern "C" {
15437    pub fn XSetOCValues(arg1: XOC, ...) -> *mut ::std::os::raw::c_char;
15438}
15439extern "C" {
15440    pub fn XGetOCValues(arg1: XOC, ...) -> *mut ::std::os::raw::c_char;
15441}
15442extern "C" {
15443    pub fn XCreateFontSet(
15444        arg1: *mut Display,
15445        arg2: *const ::std::os::raw::c_char,
15446        arg3: *mut *mut *mut ::std::os::raw::c_char,
15447        arg4: *mut ::std::os::raw::c_int,
15448        arg5: *mut *mut ::std::os::raw::c_char,
15449    ) -> XFontSet;
15450}
15451extern "C" {
15452    pub fn XFreeFontSet(arg1: *mut Display, arg2: XFontSet);
15453}
15454extern "C" {
15455    pub fn XFontsOfFontSet(
15456        arg1: XFontSet,
15457        arg2: *mut *mut *mut XFontStruct,
15458        arg3: *mut *mut *mut ::std::os::raw::c_char,
15459    ) -> ::std::os::raw::c_int;
15460}
15461extern "C" {
15462    pub fn XBaseFontNameListOfFontSet(arg1: XFontSet) -> *mut ::std::os::raw::c_char;
15463}
15464extern "C" {
15465    pub fn XLocaleOfFontSet(arg1: XFontSet) -> *mut ::std::os::raw::c_char;
15466}
15467extern "C" {
15468    pub fn XContextDependentDrawing(arg1: XFontSet) -> ::std::os::raw::c_int;
15469}
15470extern "C" {
15471    pub fn XDirectionalDependentDrawing(arg1: XFontSet) -> ::std::os::raw::c_int;
15472}
15473extern "C" {
15474    pub fn XContextualDrawing(arg1: XFontSet) -> ::std::os::raw::c_int;
15475}
15476extern "C" {
15477    pub fn XExtentsOfFontSet(arg1: XFontSet) -> *mut XFontSetExtents;
15478}
15479extern "C" {
15480    pub fn XmbTextEscapement(
15481        arg1: XFontSet,
15482        arg2: *const ::std::os::raw::c_char,
15483        arg3: ::std::os::raw::c_int,
15484    ) -> ::std::os::raw::c_int;
15485}
15486extern "C" {
15487    pub fn XwcTextEscapement(
15488        arg1: XFontSet,
15489        arg2: *const wchar_t,
15490        arg3: ::std::os::raw::c_int,
15491    ) -> ::std::os::raw::c_int;
15492}
15493extern "C" {
15494    pub fn Xutf8TextEscapement(
15495        arg1: XFontSet,
15496        arg2: *const ::std::os::raw::c_char,
15497        arg3: ::std::os::raw::c_int,
15498    ) -> ::std::os::raw::c_int;
15499}
15500extern "C" {
15501    pub fn XmbTextExtents(
15502        arg1: XFontSet,
15503        arg2: *const ::std::os::raw::c_char,
15504        arg3: ::std::os::raw::c_int,
15505        arg4: *mut XRectangle,
15506        arg5: *mut XRectangle,
15507    ) -> ::std::os::raw::c_int;
15508}
15509extern "C" {
15510    pub fn XwcTextExtents(
15511        arg1: XFontSet,
15512        arg2: *const wchar_t,
15513        arg3: ::std::os::raw::c_int,
15514        arg4: *mut XRectangle,
15515        arg5: *mut XRectangle,
15516    ) -> ::std::os::raw::c_int;
15517}
15518extern "C" {
15519    pub fn Xutf8TextExtents(
15520        arg1: XFontSet,
15521        arg2: *const ::std::os::raw::c_char,
15522        arg3: ::std::os::raw::c_int,
15523        arg4: *mut XRectangle,
15524        arg5: *mut XRectangle,
15525    ) -> ::std::os::raw::c_int;
15526}
15527extern "C" {
15528    pub fn XmbTextPerCharExtents(
15529        arg1: XFontSet,
15530        arg2: *const ::std::os::raw::c_char,
15531        arg3: ::std::os::raw::c_int,
15532        arg4: *mut XRectangle,
15533        arg5: *mut XRectangle,
15534        arg6: ::std::os::raw::c_int,
15535        arg7: *mut ::std::os::raw::c_int,
15536        arg8: *mut XRectangle,
15537        arg9: *mut XRectangle,
15538    ) -> ::std::os::raw::c_int;
15539}
15540extern "C" {
15541    pub fn XwcTextPerCharExtents(
15542        arg1: XFontSet,
15543        arg2: *const wchar_t,
15544        arg3: ::std::os::raw::c_int,
15545        arg4: *mut XRectangle,
15546        arg5: *mut XRectangle,
15547        arg6: ::std::os::raw::c_int,
15548        arg7: *mut ::std::os::raw::c_int,
15549        arg8: *mut XRectangle,
15550        arg9: *mut XRectangle,
15551    ) -> ::std::os::raw::c_int;
15552}
15553extern "C" {
15554    pub fn Xutf8TextPerCharExtents(
15555        arg1: XFontSet,
15556        arg2: *const ::std::os::raw::c_char,
15557        arg3: ::std::os::raw::c_int,
15558        arg4: *mut XRectangle,
15559        arg5: *mut XRectangle,
15560        arg6: ::std::os::raw::c_int,
15561        arg7: *mut ::std::os::raw::c_int,
15562        arg8: *mut XRectangle,
15563        arg9: *mut XRectangle,
15564    ) -> ::std::os::raw::c_int;
15565}
15566extern "C" {
15567    pub fn XmbDrawText(
15568        arg1: *mut Display,
15569        arg2: Drawable,
15570        arg3: GC,
15571        arg4: ::std::os::raw::c_int,
15572        arg5: ::std::os::raw::c_int,
15573        arg6: *mut XmbTextItem,
15574        arg7: ::std::os::raw::c_int,
15575    );
15576}
15577extern "C" {
15578    pub fn XwcDrawText(
15579        arg1: *mut Display,
15580        arg2: Drawable,
15581        arg3: GC,
15582        arg4: ::std::os::raw::c_int,
15583        arg5: ::std::os::raw::c_int,
15584        arg6: *mut XwcTextItem,
15585        arg7: ::std::os::raw::c_int,
15586    );
15587}
15588extern "C" {
15589    pub fn Xutf8DrawText(
15590        arg1: *mut Display,
15591        arg2: Drawable,
15592        arg3: GC,
15593        arg4: ::std::os::raw::c_int,
15594        arg5: ::std::os::raw::c_int,
15595        arg6: *mut XmbTextItem,
15596        arg7: ::std::os::raw::c_int,
15597    );
15598}
15599extern "C" {
15600    pub fn XmbDrawString(
15601        arg1: *mut Display,
15602        arg2: Drawable,
15603        arg3: XFontSet,
15604        arg4: GC,
15605        arg5: ::std::os::raw::c_int,
15606        arg6: ::std::os::raw::c_int,
15607        arg7: *const ::std::os::raw::c_char,
15608        arg8: ::std::os::raw::c_int,
15609    );
15610}
15611extern "C" {
15612    pub fn XwcDrawString(
15613        arg1: *mut Display,
15614        arg2: Drawable,
15615        arg3: XFontSet,
15616        arg4: GC,
15617        arg5: ::std::os::raw::c_int,
15618        arg6: ::std::os::raw::c_int,
15619        arg7: *const wchar_t,
15620        arg8: ::std::os::raw::c_int,
15621    );
15622}
15623extern "C" {
15624    pub fn Xutf8DrawString(
15625        arg1: *mut Display,
15626        arg2: Drawable,
15627        arg3: XFontSet,
15628        arg4: GC,
15629        arg5: ::std::os::raw::c_int,
15630        arg6: ::std::os::raw::c_int,
15631        arg7: *const ::std::os::raw::c_char,
15632        arg8: ::std::os::raw::c_int,
15633    );
15634}
15635extern "C" {
15636    pub fn XmbDrawImageString(
15637        arg1: *mut Display,
15638        arg2: Drawable,
15639        arg3: XFontSet,
15640        arg4: GC,
15641        arg5: ::std::os::raw::c_int,
15642        arg6: ::std::os::raw::c_int,
15643        arg7: *const ::std::os::raw::c_char,
15644        arg8: ::std::os::raw::c_int,
15645    );
15646}
15647extern "C" {
15648    pub fn XwcDrawImageString(
15649        arg1: *mut Display,
15650        arg2: Drawable,
15651        arg3: XFontSet,
15652        arg4: GC,
15653        arg5: ::std::os::raw::c_int,
15654        arg6: ::std::os::raw::c_int,
15655        arg7: *const wchar_t,
15656        arg8: ::std::os::raw::c_int,
15657    );
15658}
15659extern "C" {
15660    pub fn Xutf8DrawImageString(
15661        arg1: *mut Display,
15662        arg2: Drawable,
15663        arg3: XFontSet,
15664        arg4: GC,
15665        arg5: ::std::os::raw::c_int,
15666        arg6: ::std::os::raw::c_int,
15667        arg7: *const ::std::os::raw::c_char,
15668        arg8: ::std::os::raw::c_int,
15669    );
15670}
15671extern "C" {
15672    pub fn XOpenIM(
15673        arg1: *mut Display,
15674        arg2: *mut _XrmHashBucketRec,
15675        arg3: *mut ::std::os::raw::c_char,
15676        arg4: *mut ::std::os::raw::c_char,
15677    ) -> XIM;
15678}
15679extern "C" {
15680    pub fn XCloseIM(arg1: XIM) -> ::std::os::raw::c_int;
15681}
15682extern "C" {
15683    pub fn XGetIMValues(arg1: XIM, ...) -> *mut ::std::os::raw::c_char;
15684}
15685extern "C" {
15686    pub fn XSetIMValues(arg1: XIM, ...) -> *mut ::std::os::raw::c_char;
15687}
15688extern "C" {
15689    pub fn XDisplayOfIM(arg1: XIM) -> *mut Display;
15690}
15691extern "C" {
15692    pub fn XLocaleOfIM(arg1: XIM) -> *mut ::std::os::raw::c_char;
15693}
15694extern "C" {
15695    pub fn XCreateIC(arg1: XIM, ...) -> XIC;
15696}
15697extern "C" {
15698    pub fn XDestroyIC(arg1: XIC);
15699}
15700extern "C" {
15701    pub fn XSetICFocus(arg1: XIC);
15702}
15703extern "C" {
15704    pub fn XUnsetICFocus(arg1: XIC);
15705}
15706extern "C" {
15707    pub fn XwcResetIC(arg1: XIC) -> *mut wchar_t;
15708}
15709extern "C" {
15710    pub fn XmbResetIC(arg1: XIC) -> *mut ::std::os::raw::c_char;
15711}
15712extern "C" {
15713    pub fn Xutf8ResetIC(arg1: XIC) -> *mut ::std::os::raw::c_char;
15714}
15715extern "C" {
15716    pub fn XSetICValues(arg1: XIC, ...) -> *mut ::std::os::raw::c_char;
15717}
15718extern "C" {
15719    pub fn XGetICValues(arg1: XIC, ...) -> *mut ::std::os::raw::c_char;
15720}
15721extern "C" {
15722    pub fn XIMOfIC(arg1: XIC) -> XIM;
15723}
15724extern "C" {
15725    pub fn XFilterEvent(arg1: *mut XEvent, arg2: Window) -> ::std::os::raw::c_int;
15726}
15727extern "C" {
15728    pub fn XmbLookupString(
15729        arg1: XIC,
15730        arg2: *mut XKeyPressedEvent,
15731        arg3: *mut ::std::os::raw::c_char,
15732        arg4: ::std::os::raw::c_int,
15733        arg5: *mut KeySym,
15734        arg6: *mut ::std::os::raw::c_int,
15735    ) -> ::std::os::raw::c_int;
15736}
15737extern "C" {
15738    pub fn XwcLookupString(
15739        arg1: XIC,
15740        arg2: *mut XKeyPressedEvent,
15741        arg3: *mut wchar_t,
15742        arg4: ::std::os::raw::c_int,
15743        arg5: *mut KeySym,
15744        arg6: *mut ::std::os::raw::c_int,
15745    ) -> ::std::os::raw::c_int;
15746}
15747extern "C" {
15748    pub fn Xutf8LookupString(
15749        arg1: XIC,
15750        arg2: *mut XKeyPressedEvent,
15751        arg3: *mut ::std::os::raw::c_char,
15752        arg4: ::std::os::raw::c_int,
15753        arg5: *mut KeySym,
15754        arg6: *mut ::std::os::raw::c_int,
15755    ) -> ::std::os::raw::c_int;
15756}
15757extern "C" {
15758    pub fn XVaCreateNestedList(arg1: ::std::os::raw::c_int, ...) -> XVaNestedList;
15759}
15760extern "C" {
15761    pub fn XRegisterIMInstantiateCallback(
15762        arg1: *mut Display,
15763        arg2: *mut _XrmHashBucketRec,
15764        arg3: *mut ::std::os::raw::c_char,
15765        arg4: *mut ::std::os::raw::c_char,
15766        arg5: XIDProc,
15767        arg6: XPointer,
15768    ) -> ::std::os::raw::c_int;
15769}
15770extern "C" {
15771    pub fn XUnregisterIMInstantiateCallback(
15772        arg1: *mut Display,
15773        arg2: *mut _XrmHashBucketRec,
15774        arg3: *mut ::std::os::raw::c_char,
15775        arg4: *mut ::std::os::raw::c_char,
15776        arg5: XIDProc,
15777        arg6: XPointer,
15778    ) -> ::std::os::raw::c_int;
15779}
15780pub type XConnectionWatchProc = ::std::option::Option<
15781    unsafe extern "C" fn(
15782        arg1: *mut Display,
15783        arg2: XPointer,
15784        arg3: ::std::os::raw::c_int,
15785        arg4: ::std::os::raw::c_int,
15786        arg5: *mut XPointer,
15787    ),
15788>;
15789extern "C" {
15790    pub fn XInternalConnectionNumbers(
15791        arg1: *mut Display,
15792        arg2: *mut *mut ::std::os::raw::c_int,
15793        arg3: *mut ::std::os::raw::c_int,
15794    ) -> ::std::os::raw::c_int;
15795}
15796extern "C" {
15797    pub fn XProcessInternalConnection(arg1: *mut Display, arg2: ::std::os::raw::c_int);
15798}
15799extern "C" {
15800    pub fn XAddConnectionWatch(
15801        arg1: *mut Display,
15802        arg2: XConnectionWatchProc,
15803        arg3: XPointer,
15804    ) -> ::std::os::raw::c_int;
15805}
15806extern "C" {
15807    pub fn XRemoveConnectionWatch(arg1: *mut Display, arg2: XConnectionWatchProc, arg3: XPointer);
15808}
15809extern "C" {
15810    pub fn XSetAuthorization(
15811        arg1: *mut ::std::os::raw::c_char,
15812        arg2: ::std::os::raw::c_int,
15813        arg3: *mut ::std::os::raw::c_char,
15814        arg4: ::std::os::raw::c_int,
15815    );
15816}
15817extern "C" {
15818    pub fn _Xmbtowc(
15819        arg1: *mut wchar_t,
15820        arg2: *mut ::std::os::raw::c_char,
15821        arg3: ::std::os::raw::c_int,
15822    ) -> ::std::os::raw::c_int;
15823}
15824extern "C" {
15825    pub fn _Xwctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int;
15826}
15827extern "C" {
15828    pub fn XGetEventData(
15829        arg1: *mut Display,
15830        arg2: *mut XGenericEventCookie,
15831    ) -> ::std::os::raw::c_int;
15832}
15833extern "C" {
15834    pub fn XFreeEventData(arg1: *mut Display, arg2: *mut XGenericEventCookie);
15835}
15836#[repr(C)]
15837#[derive(Debug, Copy, Clone)]
15838pub struct XSizeHints {
15839    pub flags: ::std::os::raw::c_long,
15840    pub x: ::std::os::raw::c_int,
15841    pub y: ::std::os::raw::c_int,
15842    pub width: ::std::os::raw::c_int,
15843    pub height: ::std::os::raw::c_int,
15844    pub min_width: ::std::os::raw::c_int,
15845    pub min_height: ::std::os::raw::c_int,
15846    pub max_width: ::std::os::raw::c_int,
15847    pub max_height: ::std::os::raw::c_int,
15848    pub width_inc: ::std::os::raw::c_int,
15849    pub height_inc: ::std::os::raw::c_int,
15850    pub min_aspect: XSizeHints__bindgen_ty_1,
15851    pub max_aspect: XSizeHints__bindgen_ty_1,
15852    pub base_width: ::std::os::raw::c_int,
15853    pub base_height: ::std::os::raw::c_int,
15854    pub win_gravity: ::std::os::raw::c_int,
15855}
15856#[repr(C)]
15857#[derive(Debug, Copy, Clone)]
15858pub struct XSizeHints__bindgen_ty_1 {
15859    pub x: ::std::os::raw::c_int,
15860    pub y: ::std::os::raw::c_int,
15861}
15862#[test]
15863fn bindgen_test_layout_XSizeHints__bindgen_ty_1() {
15864    assert_eq!(
15865        ::std::mem::size_of::<XSizeHints__bindgen_ty_1>(),
15866        8usize,
15867        concat!("Size of: ", stringify!(XSizeHints__bindgen_ty_1))
15868    );
15869    assert_eq!(
15870        ::std::mem::align_of::<XSizeHints__bindgen_ty_1>(),
15871        4usize,
15872        concat!("Alignment of ", stringify!(XSizeHints__bindgen_ty_1))
15873    );
15874    assert_eq!(
15875        unsafe { &(*(::std::ptr::null::<XSizeHints__bindgen_ty_1>())).x as *const _ as usize },
15876        0usize,
15877        concat!(
15878            "Offset of field: ",
15879            stringify!(XSizeHints__bindgen_ty_1),
15880            "::",
15881            stringify!(x)
15882        )
15883    );
15884    assert_eq!(
15885        unsafe { &(*(::std::ptr::null::<XSizeHints__bindgen_ty_1>())).y as *const _ as usize },
15886        4usize,
15887        concat!(
15888            "Offset of field: ",
15889            stringify!(XSizeHints__bindgen_ty_1),
15890            "::",
15891            stringify!(y)
15892        )
15893    );
15894}
15895#[test]
15896fn bindgen_test_layout_XSizeHints() {
15897    assert_eq!(
15898        ::std::mem::size_of::<XSizeHints>(),
15899        80usize,
15900        concat!("Size of: ", stringify!(XSizeHints))
15901    );
15902    assert_eq!(
15903        ::std::mem::align_of::<XSizeHints>(),
15904        8usize,
15905        concat!("Alignment of ", stringify!(XSizeHints))
15906    );
15907    assert_eq!(
15908        unsafe { &(*(::std::ptr::null::<XSizeHints>())).flags as *const _ as usize },
15909        0usize,
15910        concat!(
15911            "Offset of field: ",
15912            stringify!(XSizeHints),
15913            "::",
15914            stringify!(flags)
15915        )
15916    );
15917    assert_eq!(
15918        unsafe { &(*(::std::ptr::null::<XSizeHints>())).x as *const _ as usize },
15919        8usize,
15920        concat!(
15921            "Offset of field: ",
15922            stringify!(XSizeHints),
15923            "::",
15924            stringify!(x)
15925        )
15926    );
15927    assert_eq!(
15928        unsafe { &(*(::std::ptr::null::<XSizeHints>())).y as *const _ as usize },
15929        12usize,
15930        concat!(
15931            "Offset of field: ",
15932            stringify!(XSizeHints),
15933            "::",
15934            stringify!(y)
15935        )
15936    );
15937    assert_eq!(
15938        unsafe { &(*(::std::ptr::null::<XSizeHints>())).width as *const _ as usize },
15939        16usize,
15940        concat!(
15941            "Offset of field: ",
15942            stringify!(XSizeHints),
15943            "::",
15944            stringify!(width)
15945        )
15946    );
15947    assert_eq!(
15948        unsafe { &(*(::std::ptr::null::<XSizeHints>())).height as *const _ as usize },
15949        20usize,
15950        concat!(
15951            "Offset of field: ",
15952            stringify!(XSizeHints),
15953            "::",
15954            stringify!(height)
15955        )
15956    );
15957    assert_eq!(
15958        unsafe { &(*(::std::ptr::null::<XSizeHints>())).min_width as *const _ as usize },
15959        24usize,
15960        concat!(
15961            "Offset of field: ",
15962            stringify!(XSizeHints),
15963            "::",
15964            stringify!(min_width)
15965        )
15966    );
15967    assert_eq!(
15968        unsafe { &(*(::std::ptr::null::<XSizeHints>())).min_height as *const _ as usize },
15969        28usize,
15970        concat!(
15971            "Offset of field: ",
15972            stringify!(XSizeHints),
15973            "::",
15974            stringify!(min_height)
15975        )
15976    );
15977    assert_eq!(
15978        unsafe { &(*(::std::ptr::null::<XSizeHints>())).max_width as *const _ as usize },
15979        32usize,
15980        concat!(
15981            "Offset of field: ",
15982            stringify!(XSizeHints),
15983            "::",
15984            stringify!(max_width)
15985        )
15986    );
15987    assert_eq!(
15988        unsafe { &(*(::std::ptr::null::<XSizeHints>())).max_height as *const _ as usize },
15989        36usize,
15990        concat!(
15991            "Offset of field: ",
15992            stringify!(XSizeHints),
15993            "::",
15994            stringify!(max_height)
15995        )
15996    );
15997    assert_eq!(
15998        unsafe { &(*(::std::ptr::null::<XSizeHints>())).width_inc as *const _ as usize },
15999        40usize,
16000        concat!(
16001            "Offset of field: ",
16002            stringify!(XSizeHints),
16003            "::",
16004            stringify!(width_inc)
16005        )
16006    );
16007    assert_eq!(
16008        unsafe { &(*(::std::ptr::null::<XSizeHints>())).height_inc as *const _ as usize },
16009        44usize,
16010        concat!(
16011            "Offset of field: ",
16012            stringify!(XSizeHints),
16013            "::",
16014            stringify!(height_inc)
16015        )
16016    );
16017    assert_eq!(
16018        unsafe { &(*(::std::ptr::null::<XSizeHints>())).min_aspect as *const _ as usize },
16019        48usize,
16020        concat!(
16021            "Offset of field: ",
16022            stringify!(XSizeHints),
16023            "::",
16024            stringify!(min_aspect)
16025        )
16026    );
16027    assert_eq!(
16028        unsafe { &(*(::std::ptr::null::<XSizeHints>())).max_aspect as *const _ as usize },
16029        56usize,
16030        concat!(
16031            "Offset of field: ",
16032            stringify!(XSizeHints),
16033            "::",
16034            stringify!(max_aspect)
16035        )
16036    );
16037    assert_eq!(
16038        unsafe { &(*(::std::ptr::null::<XSizeHints>())).base_width as *const _ as usize },
16039        64usize,
16040        concat!(
16041            "Offset of field: ",
16042            stringify!(XSizeHints),
16043            "::",
16044            stringify!(base_width)
16045        )
16046    );
16047    assert_eq!(
16048        unsafe { &(*(::std::ptr::null::<XSizeHints>())).base_height as *const _ as usize },
16049        68usize,
16050        concat!(
16051            "Offset of field: ",
16052            stringify!(XSizeHints),
16053            "::",
16054            stringify!(base_height)
16055        )
16056    );
16057    assert_eq!(
16058        unsafe { &(*(::std::ptr::null::<XSizeHints>())).win_gravity as *const _ as usize },
16059        72usize,
16060        concat!(
16061            "Offset of field: ",
16062            stringify!(XSizeHints),
16063            "::",
16064            stringify!(win_gravity)
16065        )
16066    );
16067}
16068#[repr(C)]
16069#[derive(Debug, Copy, Clone)]
16070pub struct XWMHints {
16071    pub flags: ::std::os::raw::c_long,
16072    pub input: ::std::os::raw::c_int,
16073    pub initial_state: ::std::os::raw::c_int,
16074    pub icon_pixmap: Pixmap,
16075    pub icon_window: Window,
16076    pub icon_x: ::std::os::raw::c_int,
16077    pub icon_y: ::std::os::raw::c_int,
16078    pub icon_mask: Pixmap,
16079    pub window_group: XID,
16080}
16081#[test]
16082fn bindgen_test_layout_XWMHints() {
16083    assert_eq!(
16084        ::std::mem::size_of::<XWMHints>(),
16085        56usize,
16086        concat!("Size of: ", stringify!(XWMHints))
16087    );
16088    assert_eq!(
16089        ::std::mem::align_of::<XWMHints>(),
16090        8usize,
16091        concat!("Alignment of ", stringify!(XWMHints))
16092    );
16093    assert_eq!(
16094        unsafe { &(*(::std::ptr::null::<XWMHints>())).flags as *const _ as usize },
16095        0usize,
16096        concat!(
16097            "Offset of field: ",
16098            stringify!(XWMHints),
16099            "::",
16100            stringify!(flags)
16101        )
16102    );
16103    assert_eq!(
16104        unsafe { &(*(::std::ptr::null::<XWMHints>())).input as *const _ as usize },
16105        8usize,
16106        concat!(
16107            "Offset of field: ",
16108            stringify!(XWMHints),
16109            "::",
16110            stringify!(input)
16111        )
16112    );
16113    assert_eq!(
16114        unsafe { &(*(::std::ptr::null::<XWMHints>())).initial_state as *const _ as usize },
16115        12usize,
16116        concat!(
16117            "Offset of field: ",
16118            stringify!(XWMHints),
16119            "::",
16120            stringify!(initial_state)
16121        )
16122    );
16123    assert_eq!(
16124        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_pixmap as *const _ as usize },
16125        16usize,
16126        concat!(
16127            "Offset of field: ",
16128            stringify!(XWMHints),
16129            "::",
16130            stringify!(icon_pixmap)
16131        )
16132    );
16133    assert_eq!(
16134        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_window as *const _ as usize },
16135        24usize,
16136        concat!(
16137            "Offset of field: ",
16138            stringify!(XWMHints),
16139            "::",
16140            stringify!(icon_window)
16141        )
16142    );
16143    assert_eq!(
16144        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_x as *const _ as usize },
16145        32usize,
16146        concat!(
16147            "Offset of field: ",
16148            stringify!(XWMHints),
16149            "::",
16150            stringify!(icon_x)
16151        )
16152    );
16153    assert_eq!(
16154        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_y as *const _ as usize },
16155        36usize,
16156        concat!(
16157            "Offset of field: ",
16158            stringify!(XWMHints),
16159            "::",
16160            stringify!(icon_y)
16161        )
16162    );
16163    assert_eq!(
16164        unsafe { &(*(::std::ptr::null::<XWMHints>())).icon_mask as *const _ as usize },
16165        40usize,
16166        concat!(
16167            "Offset of field: ",
16168            stringify!(XWMHints),
16169            "::",
16170            stringify!(icon_mask)
16171        )
16172    );
16173    assert_eq!(
16174        unsafe { &(*(::std::ptr::null::<XWMHints>())).window_group as *const _ as usize },
16175        48usize,
16176        concat!(
16177            "Offset of field: ",
16178            stringify!(XWMHints),
16179            "::",
16180            stringify!(window_group)
16181        )
16182    );
16183}
16184#[repr(C)]
16185#[derive(Debug, Copy, Clone)]
16186pub struct XTextProperty {
16187    pub value: *mut ::std::os::raw::c_uchar,
16188    pub encoding: Atom,
16189    pub format: ::std::os::raw::c_int,
16190    pub nitems: ::std::os::raw::c_ulong,
16191}
16192#[test]
16193fn bindgen_test_layout_XTextProperty() {
16194    assert_eq!(
16195        ::std::mem::size_of::<XTextProperty>(),
16196        32usize,
16197        concat!("Size of: ", stringify!(XTextProperty))
16198    );
16199    assert_eq!(
16200        ::std::mem::align_of::<XTextProperty>(),
16201        8usize,
16202        concat!("Alignment of ", stringify!(XTextProperty))
16203    );
16204    assert_eq!(
16205        unsafe { &(*(::std::ptr::null::<XTextProperty>())).value as *const _ as usize },
16206        0usize,
16207        concat!(
16208            "Offset of field: ",
16209            stringify!(XTextProperty),
16210            "::",
16211            stringify!(value)
16212        )
16213    );
16214    assert_eq!(
16215        unsafe { &(*(::std::ptr::null::<XTextProperty>())).encoding as *const _ as usize },
16216        8usize,
16217        concat!(
16218            "Offset of field: ",
16219            stringify!(XTextProperty),
16220            "::",
16221            stringify!(encoding)
16222        )
16223    );
16224    assert_eq!(
16225        unsafe { &(*(::std::ptr::null::<XTextProperty>())).format as *const _ as usize },
16226        16usize,
16227        concat!(
16228            "Offset of field: ",
16229            stringify!(XTextProperty),
16230            "::",
16231            stringify!(format)
16232        )
16233    );
16234    assert_eq!(
16235        unsafe { &(*(::std::ptr::null::<XTextProperty>())).nitems as *const _ as usize },
16236        24usize,
16237        concat!(
16238            "Offset of field: ",
16239            stringify!(XTextProperty),
16240            "::",
16241            stringify!(nitems)
16242        )
16243    );
16244}
16245pub const XICCEncodingStyle_XStringStyle: XICCEncodingStyle = 0;
16246pub const XICCEncodingStyle_XCompoundTextStyle: XICCEncodingStyle = 1;
16247pub const XICCEncodingStyle_XTextStyle: XICCEncodingStyle = 2;
16248pub const XICCEncodingStyle_XStdICCTextStyle: XICCEncodingStyle = 3;
16249pub const XICCEncodingStyle_XUTF8StringStyle: XICCEncodingStyle = 4;
16250pub type XICCEncodingStyle = u32;
16251#[repr(C)]
16252#[derive(Debug, Copy, Clone)]
16253pub struct XIconSize {
16254    pub min_width: ::std::os::raw::c_int,
16255    pub min_height: ::std::os::raw::c_int,
16256    pub max_width: ::std::os::raw::c_int,
16257    pub max_height: ::std::os::raw::c_int,
16258    pub width_inc: ::std::os::raw::c_int,
16259    pub height_inc: ::std::os::raw::c_int,
16260}
16261#[test]
16262fn bindgen_test_layout_XIconSize() {
16263    assert_eq!(
16264        ::std::mem::size_of::<XIconSize>(),
16265        24usize,
16266        concat!("Size of: ", stringify!(XIconSize))
16267    );
16268    assert_eq!(
16269        ::std::mem::align_of::<XIconSize>(),
16270        4usize,
16271        concat!("Alignment of ", stringify!(XIconSize))
16272    );
16273    assert_eq!(
16274        unsafe { &(*(::std::ptr::null::<XIconSize>())).min_width as *const _ as usize },
16275        0usize,
16276        concat!(
16277            "Offset of field: ",
16278            stringify!(XIconSize),
16279            "::",
16280            stringify!(min_width)
16281        )
16282    );
16283    assert_eq!(
16284        unsafe { &(*(::std::ptr::null::<XIconSize>())).min_height as *const _ as usize },
16285        4usize,
16286        concat!(
16287            "Offset of field: ",
16288            stringify!(XIconSize),
16289            "::",
16290            stringify!(min_height)
16291        )
16292    );
16293    assert_eq!(
16294        unsafe { &(*(::std::ptr::null::<XIconSize>())).max_width as *const _ as usize },
16295        8usize,
16296        concat!(
16297            "Offset of field: ",
16298            stringify!(XIconSize),
16299            "::",
16300            stringify!(max_width)
16301        )
16302    );
16303    assert_eq!(
16304        unsafe { &(*(::std::ptr::null::<XIconSize>())).max_height as *const _ as usize },
16305        12usize,
16306        concat!(
16307            "Offset of field: ",
16308            stringify!(XIconSize),
16309            "::",
16310            stringify!(max_height)
16311        )
16312    );
16313    assert_eq!(
16314        unsafe { &(*(::std::ptr::null::<XIconSize>())).width_inc as *const _ as usize },
16315        16usize,
16316        concat!(
16317            "Offset of field: ",
16318            stringify!(XIconSize),
16319            "::",
16320            stringify!(width_inc)
16321        )
16322    );
16323    assert_eq!(
16324        unsafe { &(*(::std::ptr::null::<XIconSize>())).height_inc as *const _ as usize },
16325        20usize,
16326        concat!(
16327            "Offset of field: ",
16328            stringify!(XIconSize),
16329            "::",
16330            stringify!(height_inc)
16331        )
16332    );
16333}
16334#[repr(C)]
16335#[derive(Debug, Copy, Clone)]
16336pub struct XClassHint {
16337    pub res_name: *mut ::std::os::raw::c_char,
16338    pub res_class: *mut ::std::os::raw::c_char,
16339}
16340#[test]
16341fn bindgen_test_layout_XClassHint() {
16342    assert_eq!(
16343        ::std::mem::size_of::<XClassHint>(),
16344        16usize,
16345        concat!("Size of: ", stringify!(XClassHint))
16346    );
16347    assert_eq!(
16348        ::std::mem::align_of::<XClassHint>(),
16349        8usize,
16350        concat!("Alignment of ", stringify!(XClassHint))
16351    );
16352    assert_eq!(
16353        unsafe { &(*(::std::ptr::null::<XClassHint>())).res_name as *const _ as usize },
16354        0usize,
16355        concat!(
16356            "Offset of field: ",
16357            stringify!(XClassHint),
16358            "::",
16359            stringify!(res_name)
16360        )
16361    );
16362    assert_eq!(
16363        unsafe { &(*(::std::ptr::null::<XClassHint>())).res_class as *const _ as usize },
16364        8usize,
16365        concat!(
16366            "Offset of field: ",
16367            stringify!(XClassHint),
16368            "::",
16369            stringify!(res_class)
16370        )
16371    );
16372}
16373#[repr(C)]
16374#[derive(Debug, Copy, Clone)]
16375pub struct _XComposeStatus {
16376    pub compose_ptr: XPointer,
16377    pub chars_matched: ::std::os::raw::c_int,
16378}
16379#[test]
16380fn bindgen_test_layout__XComposeStatus() {
16381    assert_eq!(
16382        ::std::mem::size_of::<_XComposeStatus>(),
16383        16usize,
16384        concat!("Size of: ", stringify!(_XComposeStatus))
16385    );
16386    assert_eq!(
16387        ::std::mem::align_of::<_XComposeStatus>(),
16388        8usize,
16389        concat!("Alignment of ", stringify!(_XComposeStatus))
16390    );
16391    assert_eq!(
16392        unsafe { &(*(::std::ptr::null::<_XComposeStatus>())).compose_ptr as *const _ as usize },
16393        0usize,
16394        concat!(
16395            "Offset of field: ",
16396            stringify!(_XComposeStatus),
16397            "::",
16398            stringify!(compose_ptr)
16399        )
16400    );
16401    assert_eq!(
16402        unsafe { &(*(::std::ptr::null::<_XComposeStatus>())).chars_matched as *const _ as usize },
16403        8usize,
16404        concat!(
16405            "Offset of field: ",
16406            stringify!(_XComposeStatus),
16407            "::",
16408            stringify!(chars_matched)
16409        )
16410    );
16411}
16412pub type XComposeStatus = _XComposeStatus;
16413#[repr(C)]
16414#[derive(Debug, Copy, Clone)]
16415pub struct _XRegion {
16416    _unused: [u8; 0],
16417}
16418pub type Region = *mut _XRegion;
16419#[repr(C)]
16420#[derive(Debug, Copy, Clone)]
16421pub struct XVisualInfo {
16422    pub visual: *mut Visual,
16423    pub visualid: VisualID,
16424    pub screen: ::std::os::raw::c_int,
16425    pub depth: ::std::os::raw::c_int,
16426    pub class: ::std::os::raw::c_int,
16427    pub red_mask: ::std::os::raw::c_ulong,
16428    pub green_mask: ::std::os::raw::c_ulong,
16429    pub blue_mask: ::std::os::raw::c_ulong,
16430    pub colormap_size: ::std::os::raw::c_int,
16431    pub bits_per_rgb: ::std::os::raw::c_int,
16432}
16433#[test]
16434fn bindgen_test_layout_XVisualInfo() {
16435    assert_eq!(
16436        ::std::mem::size_of::<XVisualInfo>(),
16437        64usize,
16438        concat!("Size of: ", stringify!(XVisualInfo))
16439    );
16440    assert_eq!(
16441        ::std::mem::align_of::<XVisualInfo>(),
16442        8usize,
16443        concat!("Alignment of ", stringify!(XVisualInfo))
16444    );
16445    assert_eq!(
16446        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).visual as *const _ as usize },
16447        0usize,
16448        concat!(
16449            "Offset of field: ",
16450            stringify!(XVisualInfo),
16451            "::",
16452            stringify!(visual)
16453        )
16454    );
16455    assert_eq!(
16456        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).visualid as *const _ as usize },
16457        8usize,
16458        concat!(
16459            "Offset of field: ",
16460            stringify!(XVisualInfo),
16461            "::",
16462            stringify!(visualid)
16463        )
16464    );
16465    assert_eq!(
16466        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).screen as *const _ as usize },
16467        16usize,
16468        concat!(
16469            "Offset of field: ",
16470            stringify!(XVisualInfo),
16471            "::",
16472            stringify!(screen)
16473        )
16474    );
16475    assert_eq!(
16476        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).depth as *const _ as usize },
16477        20usize,
16478        concat!(
16479            "Offset of field: ",
16480            stringify!(XVisualInfo),
16481            "::",
16482            stringify!(depth)
16483        )
16484    );
16485    assert_eq!(
16486        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).class as *const _ as usize },
16487        24usize,
16488        concat!(
16489            "Offset of field: ",
16490            stringify!(XVisualInfo),
16491            "::",
16492            stringify!(class)
16493        )
16494    );
16495    assert_eq!(
16496        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).red_mask as *const _ as usize },
16497        32usize,
16498        concat!(
16499            "Offset of field: ",
16500            stringify!(XVisualInfo),
16501            "::",
16502            stringify!(red_mask)
16503        )
16504    );
16505    assert_eq!(
16506        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).green_mask as *const _ as usize },
16507        40usize,
16508        concat!(
16509            "Offset of field: ",
16510            stringify!(XVisualInfo),
16511            "::",
16512            stringify!(green_mask)
16513        )
16514    );
16515    assert_eq!(
16516        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).blue_mask as *const _ as usize },
16517        48usize,
16518        concat!(
16519            "Offset of field: ",
16520            stringify!(XVisualInfo),
16521            "::",
16522            stringify!(blue_mask)
16523        )
16524    );
16525    assert_eq!(
16526        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).colormap_size as *const _ as usize },
16527        56usize,
16528        concat!(
16529            "Offset of field: ",
16530            stringify!(XVisualInfo),
16531            "::",
16532            stringify!(colormap_size)
16533        )
16534    );
16535    assert_eq!(
16536        unsafe { &(*(::std::ptr::null::<XVisualInfo>())).bits_per_rgb as *const _ as usize },
16537        60usize,
16538        concat!(
16539            "Offset of field: ",
16540            stringify!(XVisualInfo),
16541            "::",
16542            stringify!(bits_per_rgb)
16543        )
16544    );
16545}
16546#[repr(C)]
16547#[derive(Debug, Copy, Clone)]
16548pub struct XStandardColormap {
16549    pub colormap: Colormap,
16550    pub red_max: ::std::os::raw::c_ulong,
16551    pub red_mult: ::std::os::raw::c_ulong,
16552    pub green_max: ::std::os::raw::c_ulong,
16553    pub green_mult: ::std::os::raw::c_ulong,
16554    pub blue_max: ::std::os::raw::c_ulong,
16555    pub blue_mult: ::std::os::raw::c_ulong,
16556    pub base_pixel: ::std::os::raw::c_ulong,
16557    pub visualid: VisualID,
16558    pub killid: XID,
16559}
16560#[test]
16561fn bindgen_test_layout_XStandardColormap() {
16562    assert_eq!(
16563        ::std::mem::size_of::<XStandardColormap>(),
16564        80usize,
16565        concat!("Size of: ", stringify!(XStandardColormap))
16566    );
16567    assert_eq!(
16568        ::std::mem::align_of::<XStandardColormap>(),
16569        8usize,
16570        concat!("Alignment of ", stringify!(XStandardColormap))
16571    );
16572    assert_eq!(
16573        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).colormap as *const _ as usize },
16574        0usize,
16575        concat!(
16576            "Offset of field: ",
16577            stringify!(XStandardColormap),
16578            "::",
16579            stringify!(colormap)
16580        )
16581    );
16582    assert_eq!(
16583        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).red_max as *const _ as usize },
16584        8usize,
16585        concat!(
16586            "Offset of field: ",
16587            stringify!(XStandardColormap),
16588            "::",
16589            stringify!(red_max)
16590        )
16591    );
16592    assert_eq!(
16593        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).red_mult as *const _ as usize },
16594        16usize,
16595        concat!(
16596            "Offset of field: ",
16597            stringify!(XStandardColormap),
16598            "::",
16599            stringify!(red_mult)
16600        )
16601    );
16602    assert_eq!(
16603        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).green_max as *const _ as usize },
16604        24usize,
16605        concat!(
16606            "Offset of field: ",
16607            stringify!(XStandardColormap),
16608            "::",
16609            stringify!(green_max)
16610        )
16611    );
16612    assert_eq!(
16613        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).green_mult as *const _ as usize },
16614        32usize,
16615        concat!(
16616            "Offset of field: ",
16617            stringify!(XStandardColormap),
16618            "::",
16619            stringify!(green_mult)
16620        )
16621    );
16622    assert_eq!(
16623        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).blue_max as *const _ as usize },
16624        40usize,
16625        concat!(
16626            "Offset of field: ",
16627            stringify!(XStandardColormap),
16628            "::",
16629            stringify!(blue_max)
16630        )
16631    );
16632    assert_eq!(
16633        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).blue_mult as *const _ as usize },
16634        48usize,
16635        concat!(
16636            "Offset of field: ",
16637            stringify!(XStandardColormap),
16638            "::",
16639            stringify!(blue_mult)
16640        )
16641    );
16642    assert_eq!(
16643        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).base_pixel as *const _ as usize },
16644        56usize,
16645        concat!(
16646            "Offset of field: ",
16647            stringify!(XStandardColormap),
16648            "::",
16649            stringify!(base_pixel)
16650        )
16651    );
16652    assert_eq!(
16653        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).visualid as *const _ as usize },
16654        64usize,
16655        concat!(
16656            "Offset of field: ",
16657            stringify!(XStandardColormap),
16658            "::",
16659            stringify!(visualid)
16660        )
16661    );
16662    assert_eq!(
16663        unsafe { &(*(::std::ptr::null::<XStandardColormap>())).killid as *const _ as usize },
16664        72usize,
16665        concat!(
16666            "Offset of field: ",
16667            stringify!(XStandardColormap),
16668            "::",
16669            stringify!(killid)
16670        )
16671    );
16672}
16673pub type XContext = ::std::os::raw::c_int;
16674extern "C" {
16675    pub fn XAllocClassHint() -> *mut XClassHint;
16676}
16677extern "C" {
16678    pub fn XAllocIconSize() -> *mut XIconSize;
16679}
16680extern "C" {
16681    pub fn XAllocSizeHints() -> *mut XSizeHints;
16682}
16683extern "C" {
16684    pub fn XAllocStandardColormap() -> *mut XStandardColormap;
16685}
16686extern "C" {
16687    pub fn XAllocWMHints() -> *mut XWMHints;
16688}
16689extern "C" {
16690    pub fn XClipBox(arg1: Region, arg2: *mut XRectangle) -> ::std::os::raw::c_int;
16691}
16692extern "C" {
16693    pub fn XCreateRegion() -> Region;
16694}
16695extern "C" {
16696    pub fn XDefaultString() -> *const ::std::os::raw::c_char;
16697}
16698extern "C" {
16699    pub fn XDeleteContext(arg1: *mut Display, arg2: XID, arg3: XContext) -> ::std::os::raw::c_int;
16700}
16701extern "C" {
16702    pub fn XDestroyRegion(arg1: Region) -> ::std::os::raw::c_int;
16703}
16704extern "C" {
16705    pub fn XEmptyRegion(arg1: Region) -> ::std::os::raw::c_int;
16706}
16707extern "C" {
16708    pub fn XEqualRegion(arg1: Region, arg2: Region) -> ::std::os::raw::c_int;
16709}
16710extern "C" {
16711    pub fn XFindContext(
16712        arg1: *mut Display,
16713        arg2: XID,
16714        arg3: XContext,
16715        arg4: *mut XPointer,
16716    ) -> ::std::os::raw::c_int;
16717}
16718extern "C" {
16719    pub fn XGetClassHint(
16720        arg1: *mut Display,
16721        arg2: Window,
16722        arg3: *mut XClassHint,
16723    ) -> ::std::os::raw::c_int;
16724}
16725extern "C" {
16726    pub fn XGetIconSizes(
16727        arg1: *mut Display,
16728        arg2: Window,
16729        arg3: *mut *mut XIconSize,
16730        arg4: *mut ::std::os::raw::c_int,
16731    ) -> ::std::os::raw::c_int;
16732}
16733extern "C" {
16734    pub fn XGetNormalHints(
16735        arg1: *mut Display,
16736        arg2: Window,
16737        arg3: *mut XSizeHints,
16738    ) -> ::std::os::raw::c_int;
16739}
16740extern "C" {
16741    pub fn XGetRGBColormaps(
16742        arg1: *mut Display,
16743        arg2: Window,
16744        arg3: *mut *mut XStandardColormap,
16745        arg4: *mut ::std::os::raw::c_int,
16746        arg5: Atom,
16747    ) -> ::std::os::raw::c_int;
16748}
16749extern "C" {
16750    pub fn XGetSizeHints(
16751        arg1: *mut Display,
16752        arg2: Window,
16753        arg3: *mut XSizeHints,
16754        arg4: Atom,
16755    ) -> ::std::os::raw::c_int;
16756}
16757extern "C" {
16758    pub fn XGetStandardColormap(
16759        arg1: *mut Display,
16760        arg2: Window,
16761        arg3: *mut XStandardColormap,
16762        arg4: Atom,
16763    ) -> ::std::os::raw::c_int;
16764}
16765extern "C" {
16766    pub fn XGetTextProperty(
16767        arg1: *mut Display,
16768        arg2: Window,
16769        arg3: *mut XTextProperty,
16770        arg4: Atom,
16771    ) -> ::std::os::raw::c_int;
16772}
16773extern "C" {
16774    pub fn XGetVisualInfo(
16775        arg1: *mut Display,
16776        arg2: ::std::os::raw::c_long,
16777        arg3: *mut XVisualInfo,
16778        arg4: *mut ::std::os::raw::c_int,
16779    ) -> *mut XVisualInfo;
16780}
16781extern "C" {
16782    pub fn XGetWMClientMachine(
16783        arg1: *mut Display,
16784        arg2: Window,
16785        arg3: *mut XTextProperty,
16786    ) -> ::std::os::raw::c_int;
16787}
16788extern "C" {
16789    pub fn XGetWMHints(arg1: *mut Display, arg2: Window) -> *mut XWMHints;
16790}
16791extern "C" {
16792    pub fn XGetWMIconName(
16793        arg1: *mut Display,
16794        arg2: Window,
16795        arg3: *mut XTextProperty,
16796    ) -> ::std::os::raw::c_int;
16797}
16798extern "C" {
16799    pub fn XGetWMName(
16800        arg1: *mut Display,
16801        arg2: Window,
16802        arg3: *mut XTextProperty,
16803    ) -> ::std::os::raw::c_int;
16804}
16805extern "C" {
16806    pub fn XGetWMNormalHints(
16807        arg1: *mut Display,
16808        arg2: Window,
16809        arg3: *mut XSizeHints,
16810        arg4: *mut ::std::os::raw::c_long,
16811    ) -> ::std::os::raw::c_int;
16812}
16813extern "C" {
16814    pub fn XGetWMSizeHints(
16815        arg1: *mut Display,
16816        arg2: Window,
16817        arg3: *mut XSizeHints,
16818        arg4: *mut ::std::os::raw::c_long,
16819        arg5: Atom,
16820    ) -> ::std::os::raw::c_int;
16821}
16822extern "C" {
16823    pub fn XGetZoomHints(
16824        arg1: *mut Display,
16825        arg2: Window,
16826        arg3: *mut XSizeHints,
16827    ) -> ::std::os::raw::c_int;
16828}
16829extern "C" {
16830    pub fn XIntersectRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
16831}
16832extern "C" {
16833    pub fn XConvertCase(arg1: KeySym, arg2: *mut KeySym, arg3: *mut KeySym);
16834}
16835extern "C" {
16836    pub fn XLookupString(
16837        arg1: *mut XKeyEvent,
16838        arg2: *mut ::std::os::raw::c_char,
16839        arg3: ::std::os::raw::c_int,
16840        arg4: *mut KeySym,
16841        arg5: *mut XComposeStatus,
16842    ) -> ::std::os::raw::c_int;
16843}
16844extern "C" {
16845    pub fn XMatchVisualInfo(
16846        arg1: *mut Display,
16847        arg2: ::std::os::raw::c_int,
16848        arg3: ::std::os::raw::c_int,
16849        arg4: ::std::os::raw::c_int,
16850        arg5: *mut XVisualInfo,
16851    ) -> ::std::os::raw::c_int;
16852}
16853extern "C" {
16854    pub fn XOffsetRegion(
16855        arg1: Region,
16856        arg2: ::std::os::raw::c_int,
16857        arg3: ::std::os::raw::c_int,
16858    ) -> ::std::os::raw::c_int;
16859}
16860extern "C" {
16861    pub fn XPointInRegion(
16862        arg1: Region,
16863        arg2: ::std::os::raw::c_int,
16864        arg3: ::std::os::raw::c_int,
16865    ) -> ::std::os::raw::c_int;
16866}
16867extern "C" {
16868    pub fn XPolygonRegion(
16869        arg1: *mut XPoint,
16870        arg2: ::std::os::raw::c_int,
16871        arg3: ::std::os::raw::c_int,
16872    ) -> Region;
16873}
16874extern "C" {
16875    pub fn XRectInRegion(
16876        arg1: Region,
16877        arg2: ::std::os::raw::c_int,
16878        arg3: ::std::os::raw::c_int,
16879        arg4: ::std::os::raw::c_uint,
16880        arg5: ::std::os::raw::c_uint,
16881    ) -> ::std::os::raw::c_int;
16882}
16883extern "C" {
16884    pub fn XSaveContext(
16885        arg1: *mut Display,
16886        arg2: XID,
16887        arg3: XContext,
16888        arg4: *const ::std::os::raw::c_char,
16889    ) -> ::std::os::raw::c_int;
16890}
16891extern "C" {
16892    pub fn XSetClassHint(
16893        arg1: *mut Display,
16894        arg2: Window,
16895        arg3: *mut XClassHint,
16896    ) -> ::std::os::raw::c_int;
16897}
16898extern "C" {
16899    pub fn XSetIconSizes(
16900        arg1: *mut Display,
16901        arg2: Window,
16902        arg3: *mut XIconSize,
16903        arg4: ::std::os::raw::c_int,
16904    ) -> ::std::os::raw::c_int;
16905}
16906extern "C" {
16907    pub fn XSetNormalHints(
16908        arg1: *mut Display,
16909        arg2: Window,
16910        arg3: *mut XSizeHints,
16911    ) -> ::std::os::raw::c_int;
16912}
16913extern "C" {
16914    pub fn XSetRGBColormaps(
16915        arg1: *mut Display,
16916        arg2: Window,
16917        arg3: *mut XStandardColormap,
16918        arg4: ::std::os::raw::c_int,
16919        arg5: Atom,
16920    );
16921}
16922extern "C" {
16923    pub fn XSetSizeHints(
16924        arg1: *mut Display,
16925        arg2: Window,
16926        arg3: *mut XSizeHints,
16927        arg4: Atom,
16928    ) -> ::std::os::raw::c_int;
16929}
16930extern "C" {
16931    pub fn XSetStandardProperties(
16932        arg1: *mut Display,
16933        arg2: Window,
16934        arg3: *const ::std::os::raw::c_char,
16935        arg4: *const ::std::os::raw::c_char,
16936        arg5: Pixmap,
16937        arg6: *mut *mut ::std::os::raw::c_char,
16938        arg7: ::std::os::raw::c_int,
16939        arg8: *mut XSizeHints,
16940    ) -> ::std::os::raw::c_int;
16941}
16942extern "C" {
16943    pub fn XSetTextProperty(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty, arg4: Atom);
16944}
16945extern "C" {
16946    pub fn XSetWMClientMachine(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty);
16947}
16948extern "C" {
16949    pub fn XSetWMHints(
16950        arg1: *mut Display,
16951        arg2: Window,
16952        arg3: *mut XWMHints,
16953    ) -> ::std::os::raw::c_int;
16954}
16955extern "C" {
16956    pub fn XSetWMIconName(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty);
16957}
16958extern "C" {
16959    pub fn XSetWMName(arg1: *mut Display, arg2: Window, arg3: *mut XTextProperty);
16960}
16961extern "C" {
16962    pub fn XSetWMNormalHints(arg1: *mut Display, arg2: Window, arg3: *mut XSizeHints);
16963}
16964extern "C" {
16965    pub fn XSetWMProperties(
16966        arg1: *mut Display,
16967        arg2: Window,
16968        arg3: *mut XTextProperty,
16969        arg4: *mut XTextProperty,
16970        arg5: *mut *mut ::std::os::raw::c_char,
16971        arg6: ::std::os::raw::c_int,
16972        arg7: *mut XSizeHints,
16973        arg8: *mut XWMHints,
16974        arg9: *mut XClassHint,
16975    );
16976}
16977extern "C" {
16978    pub fn XmbSetWMProperties(
16979        arg1: *mut Display,
16980        arg2: Window,
16981        arg3: *const ::std::os::raw::c_char,
16982        arg4: *const ::std::os::raw::c_char,
16983        arg5: *mut *mut ::std::os::raw::c_char,
16984        arg6: ::std::os::raw::c_int,
16985        arg7: *mut XSizeHints,
16986        arg8: *mut XWMHints,
16987        arg9: *mut XClassHint,
16988    );
16989}
16990extern "C" {
16991    pub fn Xutf8SetWMProperties(
16992        arg1: *mut Display,
16993        arg2: Window,
16994        arg3: *const ::std::os::raw::c_char,
16995        arg4: *const ::std::os::raw::c_char,
16996        arg5: *mut *mut ::std::os::raw::c_char,
16997        arg6: ::std::os::raw::c_int,
16998        arg7: *mut XSizeHints,
16999        arg8: *mut XWMHints,
17000        arg9: *mut XClassHint,
17001    );
17002}
17003extern "C" {
17004    pub fn XSetWMSizeHints(arg1: *mut Display, arg2: Window, arg3: *mut XSizeHints, arg4: Atom);
17005}
17006extern "C" {
17007    pub fn XSetRegion(arg1: *mut Display, arg2: GC, arg3: Region) -> ::std::os::raw::c_int;
17008}
17009extern "C" {
17010    pub fn XSetStandardColormap(
17011        arg1: *mut Display,
17012        arg2: Window,
17013        arg3: *mut XStandardColormap,
17014        arg4: Atom,
17015    );
17016}
17017extern "C" {
17018    pub fn XSetZoomHints(
17019        arg1: *mut Display,
17020        arg2: Window,
17021        arg3: *mut XSizeHints,
17022    ) -> ::std::os::raw::c_int;
17023}
17024extern "C" {
17025    pub fn XShrinkRegion(
17026        arg1: Region,
17027        arg2: ::std::os::raw::c_int,
17028        arg3: ::std::os::raw::c_int,
17029    ) -> ::std::os::raw::c_int;
17030}
17031extern "C" {
17032    pub fn XStringListToTextProperty(
17033        arg1: *mut *mut ::std::os::raw::c_char,
17034        arg2: ::std::os::raw::c_int,
17035        arg3: *mut XTextProperty,
17036    ) -> ::std::os::raw::c_int;
17037}
17038extern "C" {
17039    pub fn XSubtractRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
17040}
17041extern "C" {
17042    pub fn XmbTextListToTextProperty(
17043        display: *mut Display,
17044        list: *mut *mut ::std::os::raw::c_char,
17045        count: ::std::os::raw::c_int,
17046        style: XICCEncodingStyle,
17047        text_prop_return: *mut XTextProperty,
17048    ) -> ::std::os::raw::c_int;
17049}
17050extern "C" {
17051    pub fn XwcTextListToTextProperty(
17052        display: *mut Display,
17053        list: *mut *mut wchar_t,
17054        count: ::std::os::raw::c_int,
17055        style: XICCEncodingStyle,
17056        text_prop_return: *mut XTextProperty,
17057    ) -> ::std::os::raw::c_int;
17058}
17059extern "C" {
17060    pub fn Xutf8TextListToTextProperty(
17061        display: *mut Display,
17062        list: *mut *mut ::std::os::raw::c_char,
17063        count: ::std::os::raw::c_int,
17064        style: XICCEncodingStyle,
17065        text_prop_return: *mut XTextProperty,
17066    ) -> ::std::os::raw::c_int;
17067}
17068extern "C" {
17069    pub fn XwcFreeStringList(list: *mut *mut wchar_t);
17070}
17071extern "C" {
17072    pub fn XTextPropertyToStringList(
17073        arg1: *mut XTextProperty,
17074        arg2: *mut *mut *mut ::std::os::raw::c_char,
17075        arg3: *mut ::std::os::raw::c_int,
17076    ) -> ::std::os::raw::c_int;
17077}
17078extern "C" {
17079    pub fn XmbTextPropertyToTextList(
17080        display: *mut Display,
17081        text_prop: *const XTextProperty,
17082        list_return: *mut *mut *mut ::std::os::raw::c_char,
17083        count_return: *mut ::std::os::raw::c_int,
17084    ) -> ::std::os::raw::c_int;
17085}
17086extern "C" {
17087    pub fn XwcTextPropertyToTextList(
17088        display: *mut Display,
17089        text_prop: *const XTextProperty,
17090        list_return: *mut *mut *mut wchar_t,
17091        count_return: *mut ::std::os::raw::c_int,
17092    ) -> ::std::os::raw::c_int;
17093}
17094extern "C" {
17095    pub fn Xutf8TextPropertyToTextList(
17096        display: *mut Display,
17097        text_prop: *const XTextProperty,
17098        list_return: *mut *mut *mut ::std::os::raw::c_char,
17099        count_return: *mut ::std::os::raw::c_int,
17100    ) -> ::std::os::raw::c_int;
17101}
17102extern "C" {
17103    pub fn XUnionRectWithRegion(
17104        arg1: *mut XRectangle,
17105        arg2: Region,
17106        arg3: Region,
17107    ) -> ::std::os::raw::c_int;
17108}
17109extern "C" {
17110    pub fn XUnionRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
17111}
17112extern "C" {
17113    pub fn XWMGeometry(
17114        arg1: *mut Display,
17115        arg2: ::std::os::raw::c_int,
17116        arg3: *const ::std::os::raw::c_char,
17117        arg4: *const ::std::os::raw::c_char,
17118        arg5: ::std::os::raw::c_uint,
17119        arg6: *mut XSizeHints,
17120        arg7: *mut ::std::os::raw::c_int,
17121        arg8: *mut ::std::os::raw::c_int,
17122        arg9: *mut ::std::os::raw::c_int,
17123        arg10: *mut ::std::os::raw::c_int,
17124        arg11: *mut ::std::os::raw::c_int,
17125    ) -> ::std::os::raw::c_int;
17126}
17127extern "C" {
17128    pub fn XXorRegion(arg1: Region, arg2: Region, arg3: Region) -> ::std::os::raw::c_int;
17129}
17130pub type EGLNativeDisplayType = *mut Display;
17131pub type EGLNativePixmapType = Pixmap;
17132pub type EGLNativeWindowType = Window;
17133pub type NativeDisplayType = EGLNativeDisplayType;
17134pub type NativePixmapType = EGLNativePixmapType;
17135pub type NativeWindowType = EGLNativeWindowType;
17136pub type EGLint = khronos_int32_t;
17137pub type EGLBoolean = ::std::os::raw::c_uint;
17138pub type EGLDisplay = *mut ::std::os::raw::c_void;
17139pub type EGLConfig = *mut ::std::os::raw::c_void;
17140pub type EGLSurface = *mut ::std::os::raw::c_void;
17141pub type EGLContext = *mut ::std::os::raw::c_void;
17142pub type __eglMustCastToProperFunctionPointerType = ::std::option::Option<unsafe extern "C" fn()>;
17143pub type PFNEGLCHOOSECONFIGPROC = ::std::option::Option<
17144    unsafe extern "C" fn(
17145        dpy: EGLDisplay,
17146        attrib_list: *const EGLint,
17147        configs: *mut EGLConfig,
17148        config_size: EGLint,
17149        num_config: *mut EGLint,
17150    ) -> EGLBoolean,
17151>;
17152pub type PFNEGLCOPYBUFFERSPROC = ::std::option::Option<
17153    unsafe extern "C" fn(
17154        dpy: EGLDisplay,
17155        surface: EGLSurface,
17156        target: EGLNativePixmapType,
17157    ) -> EGLBoolean,
17158>;
17159pub type PFNEGLCREATECONTEXTPROC = ::std::option::Option<
17160    unsafe extern "C" fn(
17161        dpy: EGLDisplay,
17162        config: EGLConfig,
17163        share_context: EGLContext,
17164        attrib_list: *const EGLint,
17165    ) -> EGLContext,
17166>;
17167pub type PFNEGLCREATEPBUFFERSURFACEPROC = ::std::option::Option<
17168    unsafe extern "C" fn(
17169        dpy: EGLDisplay,
17170        config: EGLConfig,
17171        attrib_list: *const EGLint,
17172    ) -> EGLSurface,
17173>;
17174pub type PFNEGLCREATEPIXMAPSURFACEPROC = ::std::option::Option<
17175    unsafe extern "C" fn(
17176        dpy: EGLDisplay,
17177        config: EGLConfig,
17178        pixmap: EGLNativePixmapType,
17179        attrib_list: *const EGLint,
17180    ) -> EGLSurface,
17181>;
17182pub type PFNEGLCREATEWINDOWSURFACEPROC = ::std::option::Option<
17183    unsafe extern "C" fn(
17184        dpy: EGLDisplay,
17185        config: EGLConfig,
17186        win: EGLNativeWindowType,
17187        attrib_list: *const EGLint,
17188    ) -> EGLSurface,
17189>;
17190pub type PFNEGLDESTROYCONTEXTPROC =
17191    ::std::option::Option<unsafe extern "C" fn(dpy: EGLDisplay, ctx: EGLContext) -> EGLBoolean>;
17192pub type PFNEGLDESTROYSURFACEPROC =
17193    ::std::option::Option<unsafe extern "C" fn(dpy: EGLDisplay, surface: EGLSurface) -> EGLBoolean>;
17194pub type PFNEGLGETCONFIGATTRIBPROC = ::std::option::Option<
17195    unsafe extern "C" fn(
17196        dpy: EGLDisplay,
17197        config: EGLConfig,
17198        attribute: EGLint,
17199        value: *mut EGLint,
17200    ) -> EGLBoolean,
17201>;
17202pub type PFNEGLGETCONFIGSPROC = ::std::option::Option<
17203    unsafe extern "C" fn(
17204        dpy: EGLDisplay,
17205        configs: *mut EGLConfig,
17206        config_size: EGLint,
17207        num_config: *mut EGLint,
17208    ) -> EGLBoolean,
17209>;
17210pub type PFNEGLGETCURRENTDISPLAYPROC = ::std::option::Option<unsafe extern "C" fn() -> EGLDisplay>;
17211pub type PFNEGLGETCURRENTSURFACEPROC =
17212    ::std::option::Option<unsafe extern "C" fn(readdraw: EGLint) -> EGLSurface>;
17213pub type PFNEGLGETDISPLAYPROC =
17214    ::std::option::Option<unsafe extern "C" fn(display_id: EGLNativeDisplayType) -> EGLDisplay>;
17215pub type PFNEGLGETERRORPROC = ::std::option::Option<unsafe extern "C" fn() -> EGLint>;
17216pub type PFNEGLGETPROCADDRESSPROC = ::std::option::Option<
17217    unsafe extern "C" fn(
17218        procname: *const ::std::os::raw::c_char,
17219    ) -> __eglMustCastToProperFunctionPointerType,
17220>;
17221pub type PFNEGLINITIALIZEPROC = ::std::option::Option<
17222    unsafe extern "C" fn(dpy: EGLDisplay, major: *mut EGLint, minor: *mut EGLint) -> EGLBoolean,
17223>;
17224pub type PFNEGLMAKECURRENTPROC = ::std::option::Option<
17225    unsafe extern "C" fn(
17226        dpy: EGLDisplay,
17227        draw: EGLSurface,
17228        read: EGLSurface,
17229        ctx: EGLContext,
17230    ) -> EGLBoolean,
17231>;
17232pub type PFNEGLQUERYCONTEXTPROC = ::std::option::Option<
17233    unsafe extern "C" fn(
17234        dpy: EGLDisplay,
17235        ctx: EGLContext,
17236        attribute: EGLint,
17237        value: *mut EGLint,
17238    ) -> EGLBoolean,
17239>;
17240pub type PFNEGLQUERYSTRINGPROC = ::std::option::Option<
17241    unsafe extern "C" fn(dpy: EGLDisplay, name: EGLint) -> *const ::std::os::raw::c_char,
17242>;
17243pub type PFNEGLQUERYSURFACEPROC = ::std::option::Option<
17244    unsafe extern "C" fn(
17245        dpy: EGLDisplay,
17246        surface: EGLSurface,
17247        attribute: EGLint,
17248        value: *mut EGLint,
17249    ) -> EGLBoolean,
17250>;
17251pub type PFNEGLSWAPBUFFERSPROC =
17252    ::std::option::Option<unsafe extern "C" fn(dpy: EGLDisplay, surface: EGLSurface) -> EGLBoolean>;
17253pub type PFNEGLTERMINATEPROC =
17254    ::std::option::Option<unsafe extern "C" fn(dpy: EGLDisplay) -> EGLBoolean>;
17255pub type PFNEGLWAITGLPROC = ::std::option::Option<unsafe extern "C" fn() -> EGLBoolean>;
17256pub type PFNEGLWAITNATIVEPROC =
17257    ::std::option::Option<unsafe extern "C" fn(engine: EGLint) -> EGLBoolean>;
17258extern "C" {
17259    pub fn eglChooseConfig(
17260        dpy: EGLDisplay,
17261        attrib_list: *const EGLint,
17262        configs: *mut EGLConfig,
17263        config_size: EGLint,
17264        num_config: *mut EGLint,
17265    ) -> EGLBoolean;
17266}
17267extern "C" {
17268    pub fn eglCopyBuffers(
17269        dpy: EGLDisplay,
17270        surface: EGLSurface,
17271        target: EGLNativePixmapType,
17272    ) -> EGLBoolean;
17273}
17274extern "C" {
17275    pub fn eglCreateContext(
17276        dpy: EGLDisplay,
17277        config: EGLConfig,
17278        share_context: EGLContext,
17279        attrib_list: *const EGLint,
17280    ) -> EGLContext;
17281}
17282extern "C" {
17283    pub fn eglCreatePbufferSurface(
17284        dpy: EGLDisplay,
17285        config: EGLConfig,
17286        attrib_list: *const EGLint,
17287    ) -> EGLSurface;
17288}
17289extern "C" {
17290    pub fn eglCreatePixmapSurface(
17291        dpy: EGLDisplay,
17292        config: EGLConfig,
17293        pixmap: EGLNativePixmapType,
17294        attrib_list: *const EGLint,
17295    ) -> EGLSurface;
17296}
17297extern "C" {
17298    pub fn eglCreateWindowSurface(
17299        dpy: EGLDisplay,
17300        config: EGLConfig,
17301        win: EGLNativeWindowType,
17302        attrib_list: *const EGLint,
17303    ) -> EGLSurface;
17304}
17305extern "C" {
17306    pub fn eglDestroyContext(dpy: EGLDisplay, ctx: EGLContext) -> EGLBoolean;
17307}
17308extern "C" {
17309    pub fn eglDestroySurface(dpy: EGLDisplay, surface: EGLSurface) -> EGLBoolean;
17310}
17311extern "C" {
17312    pub fn eglGetConfigAttrib(
17313        dpy: EGLDisplay,
17314        config: EGLConfig,
17315        attribute: EGLint,
17316        value: *mut EGLint,
17317    ) -> EGLBoolean;
17318}
17319extern "C" {
17320    pub fn eglGetConfigs(
17321        dpy: EGLDisplay,
17322        configs: *mut EGLConfig,
17323        config_size: EGLint,
17324        num_config: *mut EGLint,
17325    ) -> EGLBoolean;
17326}
17327extern "C" {
17328    pub fn eglGetCurrentDisplay() -> EGLDisplay;
17329}
17330extern "C" {
17331    pub fn eglGetCurrentSurface(readdraw: EGLint) -> EGLSurface;
17332}
17333extern "C" {
17334    pub fn eglGetDisplay(display_id: EGLNativeDisplayType) -> EGLDisplay;
17335}
17336extern "C" {
17337    pub fn eglGetError() -> EGLint;
17338}
17339extern "C" {
17340    pub fn eglGetProcAddress(
17341        procname: *const ::std::os::raw::c_char,
17342    ) -> __eglMustCastToProperFunctionPointerType;
17343}
17344extern "C" {
17345    pub fn eglInitialize(dpy: EGLDisplay, major: *mut EGLint, minor: *mut EGLint) -> EGLBoolean;
17346}
17347extern "C" {
17348    pub fn eglMakeCurrent(
17349        dpy: EGLDisplay,
17350        draw: EGLSurface,
17351        read: EGLSurface,
17352        ctx: EGLContext,
17353    ) -> EGLBoolean;
17354}
17355extern "C" {
17356    pub fn eglQueryContext(
17357        dpy: EGLDisplay,
17358        ctx: EGLContext,
17359        attribute: EGLint,
17360        value: *mut EGLint,
17361    ) -> EGLBoolean;
17362}
17363extern "C" {
17364    pub fn eglQueryString(dpy: EGLDisplay, name: EGLint) -> *const ::std::os::raw::c_char;
17365}
17366extern "C" {
17367    pub fn eglQuerySurface(
17368        dpy: EGLDisplay,
17369        surface: EGLSurface,
17370        attribute: EGLint,
17371        value: *mut EGLint,
17372    ) -> EGLBoolean;
17373}
17374extern "C" {
17375    pub fn eglSwapBuffers(dpy: EGLDisplay, surface: EGLSurface) -> EGLBoolean;
17376}
17377extern "C" {
17378    pub fn eglTerminate(dpy: EGLDisplay) -> EGLBoolean;
17379}
17380extern "C" {
17381    pub fn eglWaitGL() -> EGLBoolean;
17382}
17383extern "C" {
17384    pub fn eglWaitNative(engine: EGLint) -> EGLBoolean;
17385}
17386pub type PFNEGLBINDTEXIMAGEPROC = ::std::option::Option<
17387    unsafe extern "C" fn(dpy: EGLDisplay, surface: EGLSurface, buffer: EGLint) -> EGLBoolean,
17388>;
17389pub type PFNEGLRELEASETEXIMAGEPROC = ::std::option::Option<
17390    unsafe extern "C" fn(dpy: EGLDisplay, surface: EGLSurface, buffer: EGLint) -> EGLBoolean,
17391>;
17392pub type PFNEGLSURFACEATTRIBPROC = ::std::option::Option<
17393    unsafe extern "C" fn(
17394        dpy: EGLDisplay,
17395        surface: EGLSurface,
17396        attribute: EGLint,
17397        value: EGLint,
17398    ) -> EGLBoolean,
17399>;
17400pub type PFNEGLSWAPINTERVALPROC =
17401    ::std::option::Option<unsafe extern "C" fn(dpy: EGLDisplay, interval: EGLint) -> EGLBoolean>;
17402extern "C" {
17403    pub fn eglBindTexImage(dpy: EGLDisplay, surface: EGLSurface, buffer: EGLint) -> EGLBoolean;
17404}
17405extern "C" {
17406    pub fn eglReleaseTexImage(dpy: EGLDisplay, surface: EGLSurface, buffer: EGLint) -> EGLBoolean;
17407}
17408extern "C" {
17409    pub fn eglSurfaceAttrib(
17410        dpy: EGLDisplay,
17411        surface: EGLSurface,
17412        attribute: EGLint,
17413        value: EGLint,
17414    ) -> EGLBoolean;
17415}
17416extern "C" {
17417    pub fn eglSwapInterval(dpy: EGLDisplay, interval: EGLint) -> EGLBoolean;
17418}
17419pub type EGLenum = ::std::os::raw::c_uint;
17420pub type EGLClientBuffer = *mut ::std::os::raw::c_void;
17421pub type PFNEGLBINDAPIPROC =
17422    ::std::option::Option<unsafe extern "C" fn(api: EGLenum) -> EGLBoolean>;
17423pub type PFNEGLQUERYAPIPROC = ::std::option::Option<unsafe extern "C" fn() -> EGLenum>;
17424pub type PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC = ::std::option::Option<
17425    unsafe extern "C" fn(
17426        dpy: EGLDisplay,
17427        buftype: EGLenum,
17428        buffer: EGLClientBuffer,
17429        config: EGLConfig,
17430        attrib_list: *const EGLint,
17431    ) -> EGLSurface,
17432>;
17433pub type PFNEGLRELEASETHREADPROC = ::std::option::Option<unsafe extern "C" fn() -> EGLBoolean>;
17434pub type PFNEGLWAITCLIENTPROC = ::std::option::Option<unsafe extern "C" fn() -> EGLBoolean>;
17435extern "C" {
17436    pub fn eglBindAPI(api: EGLenum) -> EGLBoolean;
17437}
17438extern "C" {
17439    pub fn eglQueryAPI() -> EGLenum;
17440}
17441extern "C" {
17442    pub fn eglCreatePbufferFromClientBuffer(
17443        dpy: EGLDisplay,
17444        buftype: EGLenum,
17445        buffer: EGLClientBuffer,
17446        config: EGLConfig,
17447        attrib_list: *const EGLint,
17448    ) -> EGLSurface;
17449}
17450extern "C" {
17451    pub fn eglReleaseThread() -> EGLBoolean;
17452}
17453extern "C" {
17454    pub fn eglWaitClient() -> EGLBoolean;
17455}
17456pub type PFNEGLGETCURRENTCONTEXTPROC = ::std::option::Option<unsafe extern "C" fn() -> EGLContext>;
17457extern "C" {
17458    pub fn eglGetCurrentContext() -> EGLContext;
17459}
17460pub type EGLSync = *mut ::std::os::raw::c_void;
17461pub type EGLAttrib = isize;
17462pub type EGLTime = khronos_utime_nanoseconds_t;
17463pub type EGLImage = *mut ::std::os::raw::c_void;
17464pub type PFNEGLCREATESYNCPROC = ::std::option::Option<
17465    unsafe extern "C" fn(dpy: EGLDisplay, type_: EGLenum, attrib_list: *const EGLAttrib) -> EGLSync,
17466>;
17467pub type PFNEGLDESTROYSYNCPROC =
17468    ::std::option::Option<unsafe extern "C" fn(dpy: EGLDisplay, sync: EGLSync) -> EGLBoolean>;
17469pub type PFNEGLCLIENTWAITSYNCPROC = ::std::option::Option<
17470    unsafe extern "C" fn(dpy: EGLDisplay, sync: EGLSync, flags: EGLint, timeout: EGLTime) -> EGLint,
17471>;
17472pub type PFNEGLGETSYNCATTRIBPROC = ::std::option::Option<
17473    unsafe extern "C" fn(
17474        dpy: EGLDisplay,
17475        sync: EGLSync,
17476        attribute: EGLint,
17477        value: *mut EGLAttrib,
17478    ) -> EGLBoolean,
17479>;
17480pub type PFNEGLCREATEIMAGEPROC = ::std::option::Option<
17481    unsafe extern "C" fn(
17482        dpy: EGLDisplay,
17483        ctx: EGLContext,
17484        target: EGLenum,
17485        buffer: EGLClientBuffer,
17486        attrib_list: *const EGLAttrib,
17487    ) -> EGLImage,
17488>;
17489pub type PFNEGLDESTROYIMAGEPROC =
17490    ::std::option::Option<unsafe extern "C" fn(dpy: EGLDisplay, image: EGLImage) -> EGLBoolean>;
17491pub type PFNEGLGETPLATFORMDISPLAYPROC = ::std::option::Option<
17492    unsafe extern "C" fn(
17493        platform: EGLenum,
17494        native_display: *mut ::std::os::raw::c_void,
17495        attrib_list: *const EGLAttrib,
17496    ) -> EGLDisplay,
17497>;
17498pub type PFNEGLCREATEPLATFORMWINDOWSURFACEPROC = ::std::option::Option<
17499    unsafe extern "C" fn(
17500        dpy: EGLDisplay,
17501        config: EGLConfig,
17502        native_window: *mut ::std::os::raw::c_void,
17503        attrib_list: *const EGLAttrib,
17504    ) -> EGLSurface,
17505>;
17506pub type PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC = ::std::option::Option<
17507    unsafe extern "C" fn(
17508        dpy: EGLDisplay,
17509        config: EGLConfig,
17510        native_pixmap: *mut ::std::os::raw::c_void,
17511        attrib_list: *const EGLAttrib,
17512    ) -> EGLSurface,
17513>;
17514pub type PFNEGLWAITSYNCPROC = ::std::option::Option<
17515    unsafe extern "C" fn(dpy: EGLDisplay, sync: EGLSync, flags: EGLint) -> EGLBoolean,
17516>;
17517extern "C" {
17518    pub fn eglCreateSync(dpy: EGLDisplay, type_: EGLenum, attrib_list: *const EGLAttrib)
17519        -> EGLSync;
17520}
17521extern "C" {
17522    pub fn eglDestroySync(dpy: EGLDisplay, sync: EGLSync) -> EGLBoolean;
17523}
17524extern "C" {
17525    pub fn eglClientWaitSync(
17526        dpy: EGLDisplay,
17527        sync: EGLSync,
17528        flags: EGLint,
17529        timeout: EGLTime,
17530    ) -> EGLint;
17531}
17532extern "C" {
17533    pub fn eglGetSyncAttrib(
17534        dpy: EGLDisplay,
17535        sync: EGLSync,
17536        attribute: EGLint,
17537        value: *mut EGLAttrib,
17538    ) -> EGLBoolean;
17539}
17540extern "C" {
17541    pub fn eglCreateImage(
17542        dpy: EGLDisplay,
17543        ctx: EGLContext,
17544        target: EGLenum,
17545        buffer: EGLClientBuffer,
17546        attrib_list: *const EGLAttrib,
17547    ) -> EGLImage;
17548}
17549extern "C" {
17550    pub fn eglDestroyImage(dpy: EGLDisplay, image: EGLImage) -> EGLBoolean;
17551}
17552extern "C" {
17553    pub fn eglGetPlatformDisplay(
17554        platform: EGLenum,
17555        native_display: *mut ::std::os::raw::c_void,
17556        attrib_list: *const EGLAttrib,
17557    ) -> EGLDisplay;
17558}
17559extern "C" {
17560    pub fn eglCreatePlatformWindowSurface(
17561        dpy: EGLDisplay,
17562        config: EGLConfig,
17563        native_window: *mut ::std::os::raw::c_void,
17564        attrib_list: *const EGLAttrib,
17565    ) -> EGLSurface;
17566}
17567extern "C" {
17568    pub fn eglCreatePlatformPixmapSurface(
17569        dpy: EGLDisplay,
17570        config: EGLConfig,
17571        native_pixmap: *mut ::std::os::raw::c_void,
17572        attrib_list: *const EGLAttrib,
17573    ) -> EGLSurface;
17574}
17575extern "C" {
17576    pub fn eglWaitSync(dpy: EGLDisplay, sync: EGLSync, flags: EGLint) -> EGLBoolean;
17577}