modernc.org/xcb@v1.0.15/examples/drawingprimitives/drawingprimitives_linux_amd64.go (about)

     1  // Code generated by 'ccgo -export-fields F -lmodernc.org/xcb/lib -o examples/drawingprimitives/drawingprimitives_linux_amd64.go examples/drawingprimitives/drawingprimitives.c', DO NOT EDIT.
     2  
     3  package main
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  
    11  	"modernc.org/libc"
    12  	"modernc.org/libc/sys/types"
    13  	"modernc.org/xcb/lib"
    14  )
    15  
    16  var _ = math.Pi
    17  var _ reflect.Kind
    18  var _ atomic.Value
    19  var _ unsafe.Pointer
    20  var _ types.Size_t
    21  
    22  func main() { libc.Start(main1) }
    23  
    24  // Read-write lock types.
    25  const ( /* pthread.h:100:1: */
    26  	PTHREAD_RWLOCK_PREFER_READER_NP              = 0
    27  	PTHREAD_RWLOCK_PREFER_WRITER_NP              = 1
    28  	PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2
    29  	PTHREAD_RWLOCK_DEFAULT_NP                    = 0
    30  )
    31  
    32  // Read-write lock initializers.
    33  
    34  // Scheduler inheritance.
    35  const ( /* pthread.h:120:1: */
    36  	PTHREAD_INHERIT_SCHED  = 0
    37  	PTHREAD_EXPLICIT_SCHED = 1
    38  )
    39  
    40  // Scope handling.
    41  const ( /* pthread.h:130:1: */
    42  	PTHREAD_SCOPE_SYSTEM  = 0
    43  	PTHREAD_SCOPE_PROCESS = 1
    44  )
    45  
    46  // Process shared or private flag.
    47  const ( /* pthread.h:140:1: */
    48  	PTHREAD_PROCESS_PRIVATE = 0
    49  	PTHREAD_PROCESS_SHARED  = 1
    50  )
    51  
    52  // Cancellation
    53  const ( /* pthread.h:164:1: */
    54  	PTHREAD_CANCEL_ENABLE  = 0
    55  	PTHREAD_CANCEL_DISABLE = 1
    56  )
    57  const ( /* pthread.h:171:1: */
    58  	PTHREAD_CANCEL_DEFERRED     = 0
    59  	PTHREAD_CANCEL_ASYNCHRONOUS = 1
    60  )
    61  
    62  // Determine the wordsize from the preprocessor defines.
    63  
    64  // Both x86-64 and x32 use the 64-bit system call interface.
    65  // NB: Include guard matches what <linux/time.h> uses.
    66  
    67  // Detach state.
    68  const ( /* pthread.h:33:1: */
    69  	PTHREAD_CREATE_JOINABLE = 0
    70  	PTHREAD_CREATE_DETACHED = 1
    71  )
    72  
    73  // Mutex types.
    74  const ( /* pthread.h:43:1: */
    75  	PTHREAD_MUTEX_TIMED_NP      = 0
    76  	PTHREAD_MUTEX_RECURSIVE_NP  = 1
    77  	PTHREAD_MUTEX_ERRORCHECK_NP = 2
    78  	PTHREAD_MUTEX_ADAPTIVE_NP   = 3
    79  	PTHREAD_MUTEX_NORMAL        = 0
    80  	PTHREAD_MUTEX_RECURSIVE     = 1
    81  	PTHREAD_MUTEX_ERRORCHECK    = 2
    82  	PTHREAD_MUTEX_DEFAULT       = 0
    83  )
    84  
    85  // Robust mutex or not flags.
    86  const ( /* pthread.h:65:1: */
    87  	PTHREAD_MUTEX_STALLED    = 0
    88  	PTHREAD_MUTEX_STALLED_NP = 0
    89  	PTHREAD_MUTEX_ROBUST     = 1
    90  	PTHREAD_MUTEX_ROBUST_NP  = 1
    91  )
    92  
    93  // Mutex protocols.
    94  const ( /* pthread.h:77:1: */
    95  	PTHREAD_PRIO_NONE    = 0
    96  	PTHREAD_PRIO_INHERIT = 1
    97  	PTHREAD_PRIO_PROTECT = 2
    98  )
    99  
   100  // A null pointer constant.
   101  
   102  // XPG requires a few symbols from <sys/wait.h> being defined.
   103  // Definitions of flag bits for `waitpid' et al.
   104  //    Copyright (C) 1992-2020 Free Software Foundation, Inc.
   105  //    This file is part of the GNU C Library.
   106  //
   107  //    The GNU C Library is free software; you can redistribute it and/or
   108  //    modify it under the terms of the GNU Lesser General Public
   109  //    License as published by the Free Software Foundation; either
   110  //    version 2.1 of the License, or (at your option) any later version.
   111  //
   112  //    The GNU C Library is distributed in the hope that it will be useful,
   113  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   114  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   115  //    Lesser General Public License for more details.
   116  //
   117  //    You should have received a copy of the GNU Lesser General Public
   118  //    License along with the GNU C Library; if not, see
   119  //    <https://www.gnu.org/licenses/>.
   120  
   121  // Bits in the third argument to `waitpid'.
   122  
   123  // Bits in the fourth argument to `waitid'.
   124  
   125  // The following values are used by the `waitid' function.
   126  
   127  // The Linux kernel defines these bare, rather than an enum,
   128  //    which causes a conflict if the include order is reversed.
   129  
   130  const ( /* waitflags.h:52:1: */
   131  	P_ALL  = 0 // Wait for any child.
   132  	P_PID  = 1 // Wait for specified process.
   133  	P_PGID = 2
   134  )
   135  
   136  const ( /* xproto.h:1028:1: */
   137  	XCB_TIME_CURRENT_TIME = 0
   138  )
   139  
   140  const ( /* xproto.h:1032:1: */
   141  	XCB_ATOM_NONE                = 0
   142  	XCB_ATOM_ANY                 = 0
   143  	XCB_ATOM_PRIMARY             = 1
   144  	XCB_ATOM_SECONDARY           = 2
   145  	XCB_ATOM_ARC                 = 3
   146  	XCB_ATOM_ATOM                = 4
   147  	XCB_ATOM_BITMAP              = 5
   148  	XCB_ATOM_CARDINAL            = 6
   149  	XCB_ATOM_COLORMAP            = 7
   150  	XCB_ATOM_CURSOR              = 8
   151  	XCB_ATOM_CUT_BUFFER0         = 9
   152  	XCB_ATOM_CUT_BUFFER1         = 10
   153  	XCB_ATOM_CUT_BUFFER2         = 11
   154  	XCB_ATOM_CUT_BUFFER3         = 12
   155  	XCB_ATOM_CUT_BUFFER4         = 13
   156  	XCB_ATOM_CUT_BUFFER5         = 14
   157  	XCB_ATOM_CUT_BUFFER6         = 15
   158  	XCB_ATOM_CUT_BUFFER7         = 16
   159  	XCB_ATOM_DRAWABLE            = 17
   160  	XCB_ATOM_FONT                = 18
   161  	XCB_ATOM_INTEGER             = 19
   162  	XCB_ATOM_PIXMAP              = 20
   163  	XCB_ATOM_POINT               = 21
   164  	XCB_ATOM_RECTANGLE           = 22
   165  	XCB_ATOM_RESOURCE_MANAGER    = 23
   166  	XCB_ATOM_RGB_COLOR_MAP       = 24
   167  	XCB_ATOM_RGB_BEST_MAP        = 25
   168  	XCB_ATOM_RGB_BLUE_MAP        = 26
   169  	XCB_ATOM_RGB_DEFAULT_MAP     = 27
   170  	XCB_ATOM_RGB_GRAY_MAP        = 28
   171  	XCB_ATOM_RGB_GREEN_MAP       = 29
   172  	XCB_ATOM_RGB_RED_MAP         = 30
   173  	XCB_ATOM_STRING              = 31
   174  	XCB_ATOM_VISUALID            = 32
   175  	XCB_ATOM_WINDOW              = 33
   176  	XCB_ATOM_WM_COMMAND          = 34
   177  	XCB_ATOM_WM_HINTS            = 35
   178  	XCB_ATOM_WM_CLIENT_MACHINE   = 36
   179  	XCB_ATOM_WM_ICON_NAME        = 37
   180  	XCB_ATOM_WM_ICON_SIZE        = 38
   181  	XCB_ATOM_WM_NAME             = 39
   182  	XCB_ATOM_WM_NORMAL_HINTS     = 40
   183  	XCB_ATOM_WM_SIZE_HINTS       = 41
   184  	XCB_ATOM_WM_ZOOM_HINTS       = 42
   185  	XCB_ATOM_MIN_SPACE           = 43
   186  	XCB_ATOM_NORM_SPACE          = 44
   187  	XCB_ATOM_MAX_SPACE           = 45
   188  	XCB_ATOM_END_SPACE           = 46
   189  	XCB_ATOM_SUPERSCRIPT_X       = 47
   190  	XCB_ATOM_SUPERSCRIPT_Y       = 48
   191  	XCB_ATOM_SUBSCRIPT_X         = 49
   192  	XCB_ATOM_SUBSCRIPT_Y         = 50
   193  	XCB_ATOM_UNDERLINE_POSITION  = 51
   194  	XCB_ATOM_UNDERLINE_THICKNESS = 52
   195  	XCB_ATOM_STRIKEOUT_ASCENT    = 53
   196  	XCB_ATOM_STRIKEOUT_DESCENT   = 54
   197  	XCB_ATOM_ITALIC_ANGLE        = 55
   198  	XCB_ATOM_X_HEIGHT            = 56
   199  	XCB_ATOM_QUAD_WIDTH          = 57
   200  	XCB_ATOM_WEIGHT              = 58
   201  	XCB_ATOM_POINT_SIZE          = 59
   202  	XCB_ATOM_RESOLUTION          = 60
   203  	XCB_ATOM_COPYRIGHT           = 61
   204  	XCB_ATOM_NOTICE              = 62
   205  	XCB_ATOM_FONT_NAME           = 63
   206  	XCB_ATOM_FAMILY_NAME         = 64
   207  	XCB_ATOM_FULL_NAME           = 65
   208  	XCB_ATOM_CAP_HEIGHT          = 66
   209  	XCB_ATOM_WM_CLASS            = 67
   210  	XCB_ATOM_WM_TRANSIENT_FOR    = 68
   211  )
   212  
   213  const ( /* xproto.h:1140:1: */
   214  	XCB_COLORMAP_STATE_UNINSTALLED = 0
   215  	//*< The colormap was uninstalled.
   216  
   217  	XCB_COLORMAP_STATE_INSTALLED = 1
   218  )
   219  
   220  const ( /* xproto.h:1149:1: */
   221  	XCB_COLORMAP_NONE = 0
   222  )
   223  
   224  const ( /* xproto.h:1203:1: */
   225  	XCB_MAPPING_MODIFIER = 0
   226  	XCB_MAPPING_KEYBOARD = 1
   227  	XCB_MAPPING_POINTER  = 2
   228  )
   229  
   230  const ( /* xproto.h:1348:1: */
   231  	XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0
   232  	XCB_WINDOW_CLASS_INPUT_OUTPUT     = 1
   233  	XCB_WINDOW_CLASS_INPUT_ONLY       = 2
   234  )
   235  
   236  const ( /* xproto.h:1354:1: */
   237  	XCB_CW_BACK_PIXMAP = 1
   238  	//*< Overrides the default background-pixmap. The background pixmap and window must
   239  	// have the same root and same depth. Any size pixmap can be used, although some
   240  	// sizes may be faster than others.
   241  	//
   242  	// If `XCB_BACK_PIXMAP_NONE` is specified, the window has no defined background.
   243  	// The server may fill the contents with the previous screen contents or with
   244  	// contents of its own choosing.
   245  	//
   246  	// If `XCB_BACK_PIXMAP_PARENT_RELATIVE` is specified, the parent's background is
   247  	// used, but the window must have the same depth as the parent (or a Match error
   248  	// results).   The parent's background is tracked, and the current version is
   249  	// used each time the window background is required.
   250  
   251  	XCB_CW_BACK_PIXEL = 2
   252  	//*< Overrides `BackPixmap`. A pixmap of undefined size filled with the specified
   253  	// background pixel is used for the background. Range-checking is not performed,
   254  	// the background pixel is truncated to the appropriate number of bits.
   255  
   256  	XCB_CW_BORDER_PIXMAP = 4
   257  	//*< Overrides the default border-pixmap. The border pixmap and window must have the
   258  	// same root and the same depth. Any size pixmap can be used, although some sizes
   259  	// may be faster than others.
   260  	//
   261  	// The special value `XCB_COPY_FROM_PARENT` means the parent's border pixmap is
   262  	// copied (subsequent changes to the parent's border attribute do not affect the
   263  	// child), but the window must have the same depth as the parent.
   264  
   265  	XCB_CW_BORDER_PIXEL = 8
   266  	//*< Overrides `BorderPixmap`. A pixmap of undefined size filled with the specified
   267  	// border pixel is used for the border. Range checking is not performed on the
   268  	// border-pixel value, it is truncated to the appropriate number of bits.
   269  
   270  	XCB_CW_BIT_GRAVITY = 16
   271  	//*< Defines which region of the window should be retained if the window is resized.
   272  
   273  	XCB_CW_WIN_GRAVITY = 32
   274  	//*< Defines how the window should be repositioned if the parent is resized (see
   275  	// `ConfigureWindow`).
   276  
   277  	XCB_CW_BACKING_STORE = 64
   278  	//*< A backing-store of `WhenMapped` advises the server that maintaining contents of
   279  	// obscured regions when the window is mapped would be beneficial. A backing-store
   280  	// of `Always` advises the server that maintaining contents even when the window
   281  	// is unmapped would be beneficial. In this case, the server may generate an
   282  	// exposure event when the window is created. A value of `NotUseful` advises the
   283  	// server that maintaining contents is unnecessary, although a server may still
   284  	// choose to maintain contents while the window is mapped. Note that if the server
   285  	// maintains contents, then the server should maintain complete contents not just
   286  	// the region within the parent boundaries, even if the window is larger than its
   287  	// parent. While the server maintains contents, exposure events will not normally
   288  	// be generated, but the server may stop maintaining contents at any time.
   289  
   290  	XCB_CW_BACKING_PLANES = 128
   291  	//*< The backing-planes indicates (with bits set to 1) which bit planes of the
   292  	// window hold dynamic data that must be preserved in backing-stores and during
   293  	// save-unders.
   294  
   295  	XCB_CW_BACKING_PIXEL = 256
   296  	//*< The backing-pixel specifies what value to use in planes not covered by
   297  	// backing-planes. The server is free to save only the specified bit planes in the
   298  	// backing-store or save-under and regenerate the remaining planes with the
   299  	// specified pixel value. Any bits beyond the specified depth of the window in
   300  	// these values are simply ignored.
   301  
   302  	XCB_CW_OVERRIDE_REDIRECT = 512
   303  	//*< The override-redirect specifies whether map and configure requests on this
   304  	// window should override a SubstructureRedirect on the parent, typically to
   305  	// inform a window manager not to tamper with the window.
   306  
   307  	XCB_CW_SAVE_UNDER = 1024
   308  	//*< If 1, the server is advised that when this window is mapped, saving the
   309  	// contents of windows it obscures would be beneficial.
   310  
   311  	XCB_CW_EVENT_MASK = 2048
   312  	//*< The event-mask defines which events the client is interested in for this window
   313  	// (or for some event types, inferiors of the window).
   314  
   315  	XCB_CW_DONT_PROPAGATE = 4096
   316  	//*< The do-not-propagate-mask defines which events should not be propagated to
   317  	// ancestor windows when no client has the event type selected in this window.
   318  
   319  	XCB_CW_COLORMAP = 8192
   320  	//*< The colormap specifies the colormap that best reflects the true colors of the window. Servers
   321  	// capable of supporting multiple hardware colormaps may use this information, and window man-
   322  	// agers may use it for InstallColormap requests. The colormap must have the same visual type
   323  	// and root as the window (or a Match error results). If CopyFromParent is specified, the parent's
   324  	// colormap is copied (subsequent changes to the parent's colormap attribute do not affect the child).
   325  	// However, the window must have the same visual type as the parent (or a Match error results),
   326  	// and the parent must not have a colormap of None (or a Match error results). For an explanation
   327  	// of None, see FreeColormap request. The colormap is copied by sharing the colormap object
   328  	// between the child and the parent, not by making a complete copy of the colormap contents.
   329  
   330  	XCB_CW_CURSOR = 16384
   331  )
   332  
   333  const ( /* xproto.h:1455:1: */
   334  	XCB_BACK_PIXMAP_NONE            = 0
   335  	XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
   336  )
   337  
   338  const ( /* xproto.h:1460:1: */
   339  	XCB_GRAVITY_BIT_FORGET = 0
   340  	XCB_GRAVITY_WIN_UNMAP  = 0
   341  	XCB_GRAVITY_NORTH_WEST = 1
   342  	XCB_GRAVITY_NORTH      = 2
   343  	XCB_GRAVITY_NORTH_EAST = 3
   344  	XCB_GRAVITY_WEST       = 4
   345  	XCB_GRAVITY_CENTER     = 5
   346  	XCB_GRAVITY_EAST       = 6
   347  	XCB_GRAVITY_SOUTH_WEST = 7
   348  	XCB_GRAVITY_SOUTH      = 8
   349  	XCB_GRAVITY_SOUTH_EAST = 9
   350  	XCB_GRAVITY_STATIC     = 10
   351  )
   352  
   353  const ( /* xproto.h:1553:1: */
   354  	XCB_MAP_STATE_UNMAPPED   = 0
   355  	XCB_MAP_STATE_UNVIEWABLE = 1
   356  	XCB_MAP_STATE_VIEWABLE   = 2
   357  )
   358  
   359  const ( /* xproto.h:1630:1: */
   360  	XCB_SET_MODE_INSERT = 0
   361  	XCB_SET_MODE_DELETE = 1
   362  )
   363  
   364  const ( /* xproto.h:1716:1: */
   365  	XCB_CONFIG_WINDOW_X            = 1
   366  	XCB_CONFIG_WINDOW_Y            = 2
   367  	XCB_CONFIG_WINDOW_WIDTH        = 4
   368  	XCB_CONFIG_WINDOW_HEIGHT       = 8
   369  	XCB_CONFIG_WINDOW_BORDER_WIDTH = 16
   370  	XCB_CONFIG_WINDOW_SIBLING      = 32
   371  	XCB_CONFIG_WINDOW_STACK_MODE   = 64
   372  )
   373  
   374  const ( /* xproto.h:1726:1: */
   375  	XCB_STACK_MODE_ABOVE     = 0
   376  	XCB_STACK_MODE_BELOW     = 1
   377  	XCB_STACK_MODE_TOP_IF    = 2
   378  	XCB_STACK_MODE_BOTTOM_IF = 3
   379  	XCB_STACK_MODE_OPPOSITE  = 4
   380  )
   381  
   382  const ( /* xproto.h:1762:1: */
   383  	XCB_CIRCULATE_RAISE_LOWEST  = 0
   384  	XCB_CIRCULATE_LOWER_HIGHEST = 1
   385  )
   386  
   387  const ( /* xproto.h:1915:1: */
   388  	XCB_PROP_MODE_REPLACE = 0
   389  	//*< Discard the previous property value and store the new data.
   390  
   391  	XCB_PROP_MODE_PREPEND = 1
   392  	//*< Insert the new data before the beginning of existing data. The `format` must
   393  	// match existing property value. If the property is undefined, it is treated as
   394  	// defined with the correct type and format with zero-length data.
   395  
   396  	XCB_PROP_MODE_APPEND = 2
   397  )
   398  
   399  const ( /* xproto.h:1963:1: */
   400  	XCB_GET_PROPERTY_TYPE_ANY = 0
   401  )
   402  
   403  const ( /* xproto.h:2100:1: */
   404  	XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0
   405  	XCB_SEND_EVENT_DEST_ITEM_FOCUS     = 1
   406  )
   407  
   408  const ( /* xproto.h:2120:1: */
   409  	XCB_GRAB_MODE_SYNC = 0
   410  	//*< The state of the keyboard appears to freeze: No further keyboard events are
   411  	// generated by the server until the grabbing client issues a releasing
   412  	// `AllowEvents` request or until the keyboard grab is released.
   413  
   414  	XCB_GRAB_MODE_ASYNC = 1
   415  )
   416  
   417  const ( /* xproto.h:2131:1: */
   418  	XCB_GRAB_STATUS_SUCCESS         = 0
   419  	XCB_GRAB_STATUS_ALREADY_GRABBED = 1
   420  	XCB_GRAB_STATUS_INVALID_TIME    = 2
   421  	XCB_GRAB_STATUS_NOT_VIEWABLE    = 3
   422  	XCB_GRAB_STATUS_FROZEN          = 4
   423  )
   424  
   425  const ( /* xproto.h:2139:1: */
   426  	XCB_CURSOR_NONE = 0
   427  )
   428  
   429  const ( /* xproto.h:2192:1: */
   430  	XCB_BUTTON_INDEX_ANY = 0
   431  	//*< Any of the following (or none):
   432  
   433  	XCB_BUTTON_INDEX_1 = 1
   434  	//*< The left mouse button.
   435  
   436  	XCB_BUTTON_INDEX_2 = 2
   437  	//*< The right mouse button.
   438  
   439  	XCB_BUTTON_INDEX_3 = 3
   440  	//*< The middle mouse button.
   441  
   442  	XCB_BUTTON_INDEX_4 = 4
   443  	//*< Scroll wheel. TODO: direction?
   444  
   445  	XCB_BUTTON_INDEX_5 = 5
   446  )
   447  
   448  const ( /* xproto.h:2312:1: */
   449  	XCB_GRAB_ANY = 0
   450  )
   451  
   452  const ( /* xproto.h:2349:1: */
   453  	XCB_ALLOW_ASYNC_POINTER = 0
   454  	//*< For AsyncPointer, if the pointer is frozen by the client, pointer event
   455  	// processing continues normally. If the pointer is frozen twice by the client on
   456  	// behalf of two separate grabs, AsyncPointer thaws for both. AsyncPointer has no
   457  	// effect if the pointer is not frozen by the client, but the pointer need not be
   458  	// grabbed by the client.
   459  	//
   460  	// TODO: rewrite this in more understandable terms.
   461  
   462  	XCB_ALLOW_SYNC_POINTER = 1
   463  	//*< For SyncPointer, if the pointer is frozen and actively grabbed by the client,
   464  	// pointer event processing continues normally until the next ButtonPress or
   465  	// ButtonRelease event is reported to the client, at which time the pointer again
   466  	// appears to freeze. However, if the reported event causes the pointer grab to be
   467  	// released, then the pointer does not freeze. SyncPointer has no effect if the
   468  	// pointer is not frozen by the client or if the pointer is not grabbed by the
   469  	// client.
   470  
   471  	XCB_ALLOW_REPLAY_POINTER = 2
   472  	//*< For ReplayPointer, if the pointer is actively grabbed by the client and is
   473  	// frozen as the result of an event having been sent to the client (either from
   474  	// the activation of a GrabButton or from a previous AllowEvents with mode
   475  	// SyncPointer but not from a GrabPointer), then the pointer grab is released and
   476  	// that event is completely reprocessed, this time ignoring any passive grabs at
   477  	// or above (towards the root) the grab-window of the grab just released. The
   478  	// request has no effect if the pointer is not grabbed by the client or if the
   479  	// pointer is not frozen as the result of an event.
   480  
   481  	XCB_ALLOW_ASYNC_KEYBOARD = 3
   482  	//*< For AsyncKeyboard, if the keyboard is frozen by the client, keyboard event
   483  	// processing continues normally. If the keyboard is frozen twice by the client on
   484  	// behalf of two separate grabs, AsyncKeyboard thaws for both. AsyncKeyboard has
   485  	// no effect if the keyboard is not frozen by the client, but the keyboard need
   486  	// not be grabbed by the client.
   487  
   488  	XCB_ALLOW_SYNC_KEYBOARD = 4
   489  	//*< For SyncKeyboard, if the keyboard is frozen and actively grabbed by the client,
   490  	// keyboard event processing continues normally until the next KeyPress or
   491  	// KeyRelease event is reported to the client, at which time the keyboard again
   492  	// appears to freeze. However, if the reported event causes the keyboard grab to
   493  	// be released, then the keyboard does not freeze. SyncKeyboard has no effect if
   494  	// the keyboard is not frozen by the client or if the keyboard is not grabbed by
   495  	// the client.
   496  
   497  	XCB_ALLOW_REPLAY_KEYBOARD = 5
   498  	//*< For ReplayKeyboard, if the keyboard is actively grabbed by the client and is
   499  	// frozen as the result of an event having been sent to the client (either from
   500  	// the activation of a GrabKey or from a previous AllowEvents with mode
   501  	// SyncKeyboard but not from a GrabKeyboard), then the keyboard grab is released
   502  	// and that event is completely reprocessed, this time ignoring any passive grabs
   503  	// at or above (towards the root) the grab-window of the grab just released. The
   504  	// request has no effect if the keyboard is not grabbed by the client or if the
   505  	// keyboard is not frozen as the result of an event.
   506  
   507  	XCB_ALLOW_ASYNC_BOTH = 6
   508  	//*< For AsyncBoth, if the pointer and the keyboard are frozen by the client, event
   509  	// processing for both devices continues normally. If a device is frozen twice by
   510  	// the client on behalf of two separate grabs, AsyncBoth thaws for both. AsyncBoth
   511  	// has no effect unless both pointer and keyboard are frozen by the client.
   512  
   513  	XCB_ALLOW_SYNC_BOTH = 7
   514  )
   515  
   516  const ( /* xproto.h:2608:1: */
   517  	XCB_INPUT_FOCUS_NONE = 0
   518  	//*< The focus reverts to `XCB_NONE`, so no window will have the input focus.
   519  
   520  	XCB_INPUT_FOCUS_POINTER_ROOT = 1
   521  	//*< The focus reverts to `XCB_POINTER_ROOT` respectively. When the focus reverts,
   522  	// FocusIn and FocusOut events are generated, but the last-focus-change time is
   523  	// not changed.
   524  
   525  	XCB_INPUT_FOCUS_PARENT = 2
   526  	//*< The focus reverts to the parent (or closest viewable ancestor) and the new
   527  	// revert_to value is `XCB_INPUT_FOCUS_NONE`.
   528  
   529  	XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3
   530  )
   531  
   532  const ( /* xproto.h:2728:1: */
   533  	XCB_FONT_DRAW_LEFT_TO_RIGHT = 0
   534  	XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
   535  )
   536  
   537  const ( /* xproto.h:290:1: */
   538  	XCB_VISUAL_CLASS_STATIC_GRAY  = 0
   539  	XCB_VISUAL_CLASS_GRAY_SCALE   = 1
   540  	XCB_VISUAL_CLASS_STATIC_COLOR = 2
   541  	XCB_VISUAL_CLASS_PSEUDO_COLOR = 3
   542  	XCB_VISUAL_CLASS_TRUE_COLOR   = 4
   543  	XCB_VISUAL_CLASS_DIRECT_COLOR = 5
   544  )
   545  
   546  const ( /* xproto.h:3022:1: */
   547  	XCB_GC_FUNCTION = 1
   548  	//*< TODO: Refer to GX
   549  
   550  	XCB_GC_PLANE_MASK = 2
   551  	//*< In graphics operations, given a source and destination pixel, the result is
   552  	// computed bitwise on corresponding bits of the pixels; that is, a Boolean
   553  	// operation is performed in each bit plane. The plane-mask restricts the
   554  	// operation to a subset of planes, so the result is:
   555  	//
   556  	//         ((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask))
   557  
   558  	XCB_GC_FOREGROUND = 4
   559  	//*< Foreground colorpixel.
   560  
   561  	XCB_GC_BACKGROUND = 8
   562  	//*< Background colorpixel.
   563  
   564  	XCB_GC_LINE_WIDTH = 16
   565  	//*< The line-width is measured in pixels and can be greater than or equal to one, a wide line, or the
   566  	// special value zero, a thin line.
   567  
   568  	XCB_GC_LINE_STYLE = 32
   569  	//*< The line-style defines which sections of a line are drawn:
   570  	// Solid                The full path of the line is drawn.
   571  	// DoubleDash           The full path of the line is drawn, but the even dashes are filled differently
   572  	//                      than the odd dashes (see fill-style), with Butt cap-style used where even and
   573  	//                      odd dashes meet.
   574  	// OnOffDash            Only the even dashes are drawn, and cap-style applies to all internal ends of
   575  	//                      the individual dashes (except NotLast is treated as Butt).
   576  
   577  	XCB_GC_CAP_STYLE = 64
   578  	//*< The cap-style defines how the endpoints of a path are drawn:
   579  	// NotLast    The result is equivalent to Butt, except that for a line-width of zero the final
   580  	//            endpoint is not drawn.
   581  	// Butt       The result is square at the endpoint (perpendicular to the slope of the line)
   582  	//            with no projection beyond.
   583  	// Round      The result is a circular arc with its diameter equal to the line-width, centered
   584  	//            on the endpoint; it is equivalent to Butt for line-width zero.
   585  	// Projecting The result is square at the end, but the path continues beyond the endpoint for
   586  	//            a distance equal to half the line-width; it is equivalent to Butt for line-width
   587  	//            zero.
   588  
   589  	XCB_GC_JOIN_STYLE = 128
   590  	//*< The join-style defines how corners are drawn for wide lines:
   591  	// Miter               The outer edges of the two lines extend to meet at an angle. However, if the
   592  	//                     angle is less than 11 degrees, a Bevel join-style is used instead.
   593  	// Round               The result is a circular arc with a diameter equal to the line-width, centered
   594  	//                     on the joinpoint.
   595  	// Bevel               The result is Butt endpoint styles, and then the triangular notch is filled.
   596  
   597  	XCB_GC_FILL_STYLE = 256
   598  	//*< The fill-style defines the contents of the source for line, text, and fill requests. For all text and fill
   599  	// requests (for example, PolyText8, PolyText16, PolyFillRectangle, FillPoly, and PolyFillArc)
   600  	// as well as for line requests with line-style Solid, (for example, PolyLine, PolySegment,
   601  	// PolyRectangle, PolyArc) and for the even dashes for line requests with line-style OnOffDash
   602  	// or DoubleDash:
   603  	// Solid                     Foreground
   604  	// Tiled                     Tile
   605  	// OpaqueStippled            A tile with the same width and height as stipple but with background
   606  	//                           everywhere stipple has a zero and with foreground everywhere stipple
   607  	//                           has a one
   608  	// Stippled                  Foreground masked by stipple
   609  	// For the odd dashes for line requests with line-style DoubleDash:
   610  	// Solid                     Background
   611  	// Tiled                     Same as for even dashes
   612  	// OpaqueStippled            Same as for even dashes
   613  	// Stippled                  Background masked by stipple
   614  
   615  	XCB_GC_FILL_RULE = 512
   616  	//*<
   617  
   618  	XCB_GC_TILE = 1024
   619  	//*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all
   620  	// dimensions. When that plane is superimposed on the drawable for use in a graphics operation,
   621  	// the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable
   622  	// specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the
   623  	// origin of whatever destination drawable is specified in a graphics request.
   624  	// The tile pixmap must have the same root and depth as the gcontext (or a Match error results).
   625  	// The stipple pixmap must have depth one and must have the same root as the gcontext (or a
   626  	// Match error results). For fill-style Stippled (but not fill-style
   627  	// OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an
   628  	// additional clip mask to be ANDed with the clip-mask.
   629  	// Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than
   630  	// others.
   631  
   632  	XCB_GC_STIPPLE = 2048
   633  	//*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all
   634  	// dimensions. When that plane is superimposed on the drawable for use in a graphics operation,
   635  	// the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable
   636  	// specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the
   637  	// origin of whatever destination drawable is specified in a graphics request.
   638  	// The tile pixmap must have the same root and depth as the gcontext (or a Match error results).
   639  	// The stipple pixmap must have depth one and must have the same root as the gcontext (or a
   640  	// Match error results). For fill-style Stippled (but not fill-style
   641  	// OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an
   642  	// additional clip mask to be ANDed with the clip-mask.
   643  	// Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than
   644  	// others.
   645  
   646  	XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096
   647  	//*< TODO
   648  
   649  	XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192
   650  	//*< TODO
   651  
   652  	XCB_GC_FONT = 16384
   653  	//*< Which font to use for the `ImageText8` and `ImageText16` requests.
   654  
   655  	XCB_GC_SUBWINDOW_MODE = 32768
   656  	//*< For ClipByChildren, both source and destination windows are additionally
   657  	// clipped by all viewable InputOutput children. For IncludeInferiors, neither
   658  	// source nor destination window is
   659  	// clipped by inferiors. This will result in including subwindow contents in the source and drawing
   660  	// through subwindow boundaries of the destination. The use of IncludeInferiors with a source or
   661  	// destination window of one depth with mapped inferiors of differing depth is not illegal, but the
   662  	// semantics is undefined by the core protocol.
   663  
   664  	XCB_GC_GRAPHICS_EXPOSURES = 65536
   665  	//*< Whether ExposureEvents should be generated (1) or not (0).
   666  	//
   667  	// The default is 1.
   668  
   669  	XCB_GC_CLIP_ORIGIN_X = 131072
   670  	//*< TODO
   671  
   672  	XCB_GC_CLIP_ORIGIN_Y = 262144
   673  	//*< TODO
   674  
   675  	XCB_GC_CLIP_MASK = 524288
   676  	//*< The clip-mask restricts writes to the destination drawable. Only pixels where the clip-mask has
   677  	// bits set to 1 are drawn. Pixels are not drawn outside the area covered by the clip-mask or where
   678  	// the clip-mask has bits set to 0. The clip-mask affects all graphics requests, but it does not clip
   679  	// sources. The clip-mask origin is interpreted relative to the origin of whatever destination drawable is specified in a graphics request. If a pixmap is specified as the clip-mask, it must have
   680  	// depth 1 and have the same root as the gcontext (or a Match error results). If clip-mask is None,
   681  	// then pixels are always drawn, regardless of the clip origin. The clip-mask can also be set with the
   682  	// SetClipRectangles request.
   683  
   684  	XCB_GC_DASH_OFFSET = 1048576
   685  	//*< TODO
   686  
   687  	XCB_GC_DASH_LIST = 2097152
   688  	//*< TODO
   689  
   690  	XCB_GC_ARC_MODE = 4194304
   691  )
   692  
   693  const ( /* xproto.h:3171:1: */
   694  	XCB_GX_CLEAR         = 0
   695  	XCB_GX_AND           = 1
   696  	XCB_GX_AND_REVERSE   = 2
   697  	XCB_GX_COPY          = 3
   698  	XCB_GX_AND_INVERTED  = 4
   699  	XCB_GX_NOOP          = 5
   700  	XCB_GX_XOR           = 6
   701  	XCB_GX_OR            = 7
   702  	XCB_GX_NOR           = 8
   703  	XCB_GX_EQUIV         = 9
   704  	XCB_GX_INVERT        = 10
   705  	XCB_GX_OR_REVERSE    = 11
   706  	XCB_GX_COPY_INVERTED = 12
   707  	XCB_GX_OR_INVERTED   = 13
   708  	XCB_GX_NAND          = 14
   709  	XCB_GX_SET           = 15
   710  )
   711  
   712  const ( /* xproto.h:3190:1: */
   713  	XCB_LINE_STYLE_SOLID       = 0
   714  	XCB_LINE_STYLE_ON_OFF_DASH = 1
   715  	XCB_LINE_STYLE_DOUBLE_DASH = 2
   716  )
   717  
   718  const ( /* xproto.h:3196:1: */
   719  	XCB_CAP_STYLE_NOT_LAST   = 0
   720  	XCB_CAP_STYLE_BUTT       = 1
   721  	XCB_CAP_STYLE_ROUND      = 2
   722  	XCB_CAP_STYLE_PROJECTING = 3
   723  )
   724  
   725  const ( /* xproto.h:3203:1: */
   726  	XCB_JOIN_STYLE_MITER = 0
   727  	XCB_JOIN_STYLE_ROUND = 1
   728  	XCB_JOIN_STYLE_BEVEL = 2
   729  )
   730  
   731  const ( /* xproto.h:3209:1: */
   732  	XCB_FILL_STYLE_SOLID           = 0
   733  	XCB_FILL_STYLE_TILED           = 1
   734  	XCB_FILL_STYLE_STIPPLED        = 2
   735  	XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
   736  )
   737  
   738  const ( /* xproto.h:3216:1: */
   739  	XCB_FILL_RULE_EVEN_ODD = 0
   740  	XCB_FILL_RULE_WINDING  = 1
   741  )
   742  
   743  const ( /* xproto.h:3221:1: */
   744  	XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN  = 0
   745  	XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
   746  )
   747  
   748  const ( /* xproto.h:3226:1: */
   749  	XCB_ARC_MODE_CHORD     = 0
   750  	XCB_ARC_MODE_PIE_SLICE = 1
   751  )
   752  
   753  const ( /* xproto.h:3348:1: */
   754  	XCB_CLIP_ORDERING_UNSORTED  = 0
   755  	XCB_CLIP_ORDERING_Y_SORTED  = 1
   756  	XCB_CLIP_ORDERING_YX_SORTED = 2
   757  	XCB_CLIP_ORDERING_YX_BANDED = 3
   758  )
   759  
   760  const ( /* xproto.h:341:1: */
   761  	XCB_EVENT_MASK_NO_EVENT              = 0
   762  	XCB_EVENT_MASK_KEY_PRESS             = 1
   763  	XCB_EVENT_MASK_KEY_RELEASE           = 2
   764  	XCB_EVENT_MASK_BUTTON_PRESS          = 4
   765  	XCB_EVENT_MASK_BUTTON_RELEASE        = 8
   766  	XCB_EVENT_MASK_ENTER_WINDOW          = 16
   767  	XCB_EVENT_MASK_LEAVE_WINDOW          = 32
   768  	XCB_EVENT_MASK_POINTER_MOTION        = 64
   769  	XCB_EVENT_MASK_POINTER_MOTION_HINT   = 128
   770  	XCB_EVENT_MASK_BUTTON_1_MOTION       = 256
   771  	XCB_EVENT_MASK_BUTTON_2_MOTION       = 512
   772  	XCB_EVENT_MASK_BUTTON_3_MOTION       = 1024
   773  	XCB_EVENT_MASK_BUTTON_4_MOTION       = 2048
   774  	XCB_EVENT_MASK_BUTTON_5_MOTION       = 4096
   775  	XCB_EVENT_MASK_BUTTON_MOTION         = 8192
   776  	XCB_EVENT_MASK_KEYMAP_STATE          = 16384
   777  	XCB_EVENT_MASK_EXPOSURE              = 32768
   778  	XCB_EVENT_MASK_VISIBILITY_CHANGE     = 65536
   779  	XCB_EVENT_MASK_STRUCTURE_NOTIFY      = 131072
   780  	XCB_EVENT_MASK_RESIZE_REDIRECT       = 262144
   781  	XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY   = 524288
   782  	XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576
   783  	XCB_EVENT_MASK_FOCUS_CHANGE          = 2097152
   784  	XCB_EVENT_MASK_PROPERTY_CHANGE       = 4194304
   785  	XCB_EVENT_MASK_COLOR_MAP_CHANGE      = 8388608
   786  	XCB_EVENT_MASK_OWNER_GRAB_BUTTON     = 16777216
   787  )
   788  
   789  const ( /* xproto.h:3443:1: */
   790  	XCB_COORD_MODE_ORIGIN = 0
   791  	//*< Treats all coordinates as relative to the origin.
   792  
   793  	XCB_COORD_MODE_PREVIOUS = 1
   794  )
   795  
   796  const ( /* xproto.h:3541:1: */
   797  	XCB_POLY_SHAPE_COMPLEX   = 0
   798  	XCB_POLY_SHAPE_NONCONVEX = 1
   799  	XCB_POLY_SHAPE_CONVEX    = 2
   800  )
   801  
   802  const ( /* xproto.h:3592:1: */
   803  	XCB_IMAGE_FORMAT_XY_BITMAP = 0
   804  	XCB_IMAGE_FORMAT_XY_PIXMAP = 1
   805  	XCB_IMAGE_FORMAT_Z_PIXMAP  = 2
   806  )
   807  
   808  const ( /* xproto.h:370:1: */
   809  	XCB_BACKING_STORE_NOT_USEFUL  = 0
   810  	XCB_BACKING_STORE_WHEN_MAPPED = 1
   811  	XCB_BACKING_STORE_ALWAYS      = 2
   812  )
   813  
   814  const ( /* xproto.h:3720:1: */
   815  	XCB_COLORMAP_ALLOC_NONE = 0
   816  	XCB_COLORMAP_ALLOC_ALL  = 1
   817  )
   818  
   819  const ( /* xproto.h:3992:1: */
   820  	XCB_COLOR_FLAG_RED   = 1
   821  	XCB_COLOR_FLAG_GREEN = 2
   822  	XCB_COLOR_FLAG_BLUE  = 4
   823  )
   824  
   825  const ( /* xproto.h:4137:1: */
   826  	XCB_PIXMAP_NONE = 0
   827  )
   828  
   829  const ( /* xproto.h:4164:1: */
   830  	XCB_FONT_NONE = 0
   831  )
   832  
   833  const ( /* xproto.h:4223:1: */
   834  	XCB_QUERY_SHAPE_OF_LARGEST_CURSOR  = 0
   835  	XCB_QUERY_SHAPE_OF_FASTEST_TILE    = 1
   836  	XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
   837  )
   838  
   839  const ( /* xproto.h:4375:1: */
   840  	XCB_KB_KEY_CLICK_PERCENT = 1
   841  	XCB_KB_BELL_PERCENT      = 2
   842  	XCB_KB_BELL_PITCH        = 4
   843  	XCB_KB_BELL_DURATION     = 8
   844  	XCB_KB_LED               = 16
   845  	XCB_KB_LED_MODE          = 32
   846  	XCB_KB_KEY               = 64
   847  	XCB_KB_AUTO_REPEAT_MODE  = 128
   848  )
   849  
   850  const ( /* xproto.h:4386:1: */
   851  	XCB_LED_MODE_OFF = 0
   852  	XCB_LED_MODE_ON  = 1
   853  )
   854  
   855  const ( /* xproto.h:4391:1: */
   856  	XCB_AUTO_REPEAT_MODE_OFF     = 0
   857  	XCB_AUTO_REPEAT_MODE_ON      = 1
   858  	XCB_AUTO_REPEAT_MODE_DEFAULT = 2
   859  )
   860  
   861  const ( /* xproto.h:4522:1: */
   862  	XCB_BLANKING_NOT_PREFERRED = 0
   863  	XCB_BLANKING_PREFERRED     = 1
   864  	XCB_BLANKING_DEFAULT       = 2
   865  )
   866  
   867  const ( /* xproto.h:4528:1: */
   868  	XCB_EXPOSURES_NOT_ALLOWED = 0
   869  	XCB_EXPOSURES_ALLOWED     = 1
   870  	XCB_EXPOSURES_DEFAULT     = 2
   871  )
   872  
   873  const ( /* xproto.h:4584:1: */
   874  	XCB_HOST_MODE_INSERT = 0
   875  	XCB_HOST_MODE_DELETE = 1
   876  )
   877  
   878  const ( /* xproto.h:4589:1: */
   879  	XCB_FAMILY_INTERNET           = 0
   880  	XCB_FAMILY_DECNET             = 1
   881  	XCB_FAMILY_CHAOS              = 2
   882  	XCB_FAMILY_SERVER_INTERPRETED = 5
   883  	XCB_FAMILY_INTERNET_6         = 6
   884  )
   885  
   886  const ( /* xproto.h:4661:1: */
   887  	XCB_ACCESS_CONTROL_DISABLE = 0
   888  	XCB_ACCESS_CONTROL_ENABLE  = 1
   889  )
   890  
   891  const ( /* xproto.h:4678:1: */
   892  	XCB_CLOSE_DOWN_DESTROY_ALL      = 0
   893  	XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1
   894  	XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
   895  )
   896  
   897  const ( /* xproto.h:467:1: */
   898  	XCB_IMAGE_ORDER_LSB_FIRST = 0
   899  	XCB_IMAGE_ORDER_MSB_FIRST = 1
   900  )
   901  
   902  const ( /* xproto.h:4696:1: */
   903  	XCB_KILL_ALL_TEMPORARY = 0
   904  )
   905  
   906  const ( /* xproto.h:4728:1: */
   907  	XCB_SCREEN_SAVER_RESET  = 0
   908  	XCB_SCREEN_SAVER_ACTIVE = 1
   909  )
   910  
   911  const ( /* xproto.h:4745:1: */
   912  	XCB_MAPPING_STATUS_SUCCESS = 0
   913  	XCB_MAPPING_STATUS_BUSY    = 1
   914  	XCB_MAPPING_STATUS_FAILURE = 2
   915  )
   916  
   917  const ( /* xproto.h:4810:1: */
   918  	XCB_MAP_INDEX_SHIFT   = 0
   919  	XCB_MAP_INDEX_LOCK    = 1
   920  	XCB_MAP_INDEX_CONTROL = 2
   921  	XCB_MAP_INDEX_1       = 3
   922  	XCB_MAP_INDEX_2       = 4
   923  	XCB_MAP_INDEX_3       = 5
   924  	XCB_MAP_INDEX_4       = 6
   925  	XCB_MAP_INDEX_5       = 7
   926  )
   927  
   928  const ( /* xproto.h:507:1: */
   929  	XCB_MOD_MASK_SHIFT   = 1
   930  	XCB_MOD_MASK_LOCK    = 2
   931  	XCB_MOD_MASK_CONTROL = 4
   932  	XCB_MOD_MASK_1       = 8
   933  	XCB_MOD_MASK_2       = 16
   934  	XCB_MOD_MASK_3       = 32
   935  	XCB_MOD_MASK_4       = 64
   936  	XCB_MOD_MASK_5       = 128
   937  	XCB_MOD_MASK_ANY     = 32768
   938  )
   939  
   940  const ( /* xproto.h:519:1: */
   941  	XCB_KEY_BUT_MASK_SHIFT    = 1
   942  	XCB_KEY_BUT_MASK_LOCK     = 2
   943  	XCB_KEY_BUT_MASK_CONTROL  = 4
   944  	XCB_KEY_BUT_MASK_MOD_1    = 8
   945  	XCB_KEY_BUT_MASK_MOD_2    = 16
   946  	XCB_KEY_BUT_MASK_MOD_3    = 32
   947  	XCB_KEY_BUT_MASK_MOD_4    = 64
   948  	XCB_KEY_BUT_MASK_MOD_5    = 128
   949  	XCB_KEY_BUT_MASK_BUTTON_1 = 256
   950  	XCB_KEY_BUT_MASK_BUTTON_2 = 512
   951  	XCB_KEY_BUT_MASK_BUTTON_3 = 1024
   952  	XCB_KEY_BUT_MASK_BUTTON_4 = 2048
   953  	XCB_KEY_BUT_MASK_BUTTON_5 = 4096
   954  )
   955  
   956  const ( /* xproto.h:535:1: */
   957  	XCB_WINDOW_NONE = 0
   958  )
   959  
   960  const ( /* xproto.h:567:1: */
   961  	XCB_BUTTON_MASK_1   = 256
   962  	XCB_BUTTON_MASK_2   = 512
   963  	XCB_BUTTON_MASK_3   = 1024
   964  	XCB_BUTTON_MASK_4   = 2048
   965  	XCB_BUTTON_MASK_5   = 4096
   966  	XCB_BUTTON_MASK_ANY = 32768
   967  )
   968  
   969  const ( /* xproto.h:604:1: */
   970  	XCB_MOTION_NORMAL = 0
   971  	XCB_MOTION_HINT   = 1
   972  )
   973  
   974  const ( /* xproto.h:632:1: */
   975  	XCB_NOTIFY_DETAIL_ANCESTOR          = 0
   976  	XCB_NOTIFY_DETAIL_VIRTUAL           = 1
   977  	XCB_NOTIFY_DETAIL_INFERIOR          = 2
   978  	XCB_NOTIFY_DETAIL_NONLINEAR         = 3
   979  	XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4
   980  	XCB_NOTIFY_DETAIL_POINTER           = 5
   981  	XCB_NOTIFY_DETAIL_POINTER_ROOT      = 6
   982  	XCB_NOTIFY_DETAIL_NONE              = 7
   983  )
   984  
   985  const ( /* xproto.h:643:1: */
   986  	XCB_NOTIFY_MODE_NORMAL        = 0
   987  	XCB_NOTIFY_MODE_GRAB          = 1
   988  	XCB_NOTIFY_MODE_UNGRAB        = 2
   989  	XCB_NOTIFY_MODE_WHILE_GRABBED = 3
   990  )
   991  
   992  const ( /* xproto.h:765:1: */
   993  	XCB_VISIBILITY_UNOBSCURED         = 0
   994  	XCB_VISIBILITY_PARTIALLY_OBSCURED = 1
   995  	XCB_VISIBILITY_FULLY_OBSCURED     = 2
   996  )
   997  
   998  const ( /* xproto.h:960:1: */
   999  	XCB_PLACE_ON_TOP = 0
  1000  	//*< The window is now on top of all siblings.
  1001  
  1002  	XCB_PLACE_ON_BOTTOM = 1
  1003  )
  1004  
  1005  const ( /* xproto.h:991:1: */
  1006  	XCB_PROPERTY_NEW_VALUE = 0
  1007  	XCB_PROPERTY_DELETE    = 1
  1008  )
  1009  
  1010  type ptrdiff_t = int64 /* <builtin>:3:26 */
  1011  
  1012  type size_t = uint64 /* <builtin>:9:23 */
  1013  
  1014  type wchar_t = int32 /* <builtin>:15:24 */
  1015  
  1016  // A null pointer constant.
  1017  
  1018  // XPG requires a few symbols from <sys/wait.h> being defined.
  1019  // Definitions of flag bits for `waitpid' et al.
  1020  //    Copyright (C) 1992-2020 Free Software Foundation, Inc.
  1021  //    This file is part of the GNU C Library.
  1022  //
  1023  //    The GNU C Library is free software; you can redistribute it and/or
  1024  //    modify it under the terms of the GNU Lesser General Public
  1025  //    License as published by the Free Software Foundation; either
  1026  //    version 2.1 of the License, or (at your option) any later version.
  1027  //
  1028  //    The GNU C Library is distributed in the hope that it will be useful,
  1029  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1030  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1031  //    Lesser General Public License for more details.
  1032  //
  1033  //    You should have received a copy of the GNU Lesser General Public
  1034  //    License along with the GNU C Library; if not, see
  1035  //    <https://www.gnu.org/licenses/>.
  1036  
  1037  // Bits in the third argument to `waitpid'.
  1038  
  1039  // Bits in the fourth argument to `waitid'.
  1040  
  1041  // The following values are used by the `waitid' function.
  1042  
  1043  // The Linux kernel defines these bare, rather than an enum,
  1044  //    which causes a conflict if the include order is reversed.
  1045  
  1046  type idtype_t = uint32 /* waitflags.h:57:3 */
  1047  // Definitions of status bits for `wait' et al.
  1048  //    Copyright (C) 1992-2020 Free Software Foundation, Inc.
  1049  //    This file is part of the GNU C Library.
  1050  //
  1051  //    The GNU C Library is free software; you can redistribute it and/or
  1052  //    modify it under the terms of the GNU Lesser General Public
  1053  //    License as published by the Free Software Foundation; either
  1054  //    version 2.1 of the License, or (at your option) any later version.
  1055  //
  1056  //    The GNU C Library is distributed in the hope that it will be useful,
  1057  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1058  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1059  //    Lesser General Public License for more details.
  1060  //
  1061  //    You should have received a copy of the GNU Lesser General Public
  1062  //    License along with the GNU C Library; if not, see
  1063  //    <https://www.gnu.org/licenses/>.
  1064  
  1065  // Everything extant so far uses these same bits.
  1066  
  1067  // If WIFEXITED(STATUS), the low-order 8 bits of the status.
  1068  
  1069  // If WIFSIGNALED(STATUS), the terminating signal.
  1070  
  1071  // If WIFSTOPPED(STATUS), the signal that stopped the child.
  1072  
  1073  // Nonzero if STATUS indicates normal termination.
  1074  
  1075  // Nonzero if STATUS indicates termination by a signal.
  1076  
  1077  // Nonzero if STATUS indicates the child is stopped.
  1078  
  1079  // Nonzero if STATUS indicates the child continued after a stop.  We only
  1080  //    define this if <bits/waitflags.h> provides the WCONTINUED flag bit.
  1081  
  1082  // Nonzero if STATUS indicates the child dumped core.
  1083  
  1084  // Macros for constructing status values.
  1085  
  1086  // Define the macros <sys/wait.h> also would define this way.
  1087  
  1088  // _FloatN API tests for enablement.
  1089  // Macros to control TS 18661-3 glibc features on x86.
  1090  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  1091  //    This file is part of the GNU C Library.
  1092  //
  1093  //    The GNU C Library is free software; you can redistribute it and/or
  1094  //    modify it under the terms of the GNU Lesser General Public
  1095  //    License as published by the Free Software Foundation; either
  1096  //    version 2.1 of the License, or (at your option) any later version.
  1097  //
  1098  //    The GNU C Library is distributed in the hope that it will be useful,
  1099  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1100  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1101  //    Lesser General Public License for more details.
  1102  //
  1103  //    You should have received a copy of the GNU Lesser General Public
  1104  //    License along with the GNU C Library; if not, see
  1105  //    <https://www.gnu.org/licenses/>.
  1106  
  1107  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  1108  //    This file is part of the GNU C Library.
  1109  //
  1110  //    The GNU C Library is free software; you can redistribute it and/or
  1111  //    modify it under the terms of the GNU Lesser General Public
  1112  //    License as published by the Free Software Foundation; either
  1113  //    version 2.1 of the License, or (at your option) any later version.
  1114  //
  1115  //    The GNU C Library is distributed in the hope that it will be useful,
  1116  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1117  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1118  //    Lesser General Public License for more details.
  1119  //
  1120  //    You should have received a copy of the GNU Lesser General Public
  1121  //    License along with the GNU C Library; if not, see
  1122  //    <https://www.gnu.org/licenses/>.
  1123  
  1124  // Defined to 1 if the current compiler invocation provides a
  1125  //    floating-point type with the IEEE 754 binary128 format, and this
  1126  //    glibc includes corresponding *f128 interfaces for it.  The required
  1127  //    libgcc support was added some time after the basic compiler
  1128  //    support, for x86_64 and x86.
  1129  
  1130  // Defined to 1 if __HAVE_FLOAT128 is 1 and the type is ABI-distinct
  1131  //    from the default float, double and long double types in this glibc.
  1132  
  1133  // Defined to 1 if the current compiler invocation provides a
  1134  //    floating-point type with the right format for _Float64x, and this
  1135  //    glibc includes corresponding *f64x interfaces for it.
  1136  
  1137  // Defined to 1 if __HAVE_FLOAT64X is 1 and _Float64x has the format
  1138  //    of long double.  Otherwise, if __HAVE_FLOAT64X is 1, _Float64x has
  1139  //    the format of _Float128, which must be different from that of long
  1140  //    double.
  1141  
  1142  // Defined to concatenate the literal suffix to be used with _Float128
  1143  //    types, if __HAVE_FLOAT128 is 1.
  1144  
  1145  // Defined to a complex binary128 type if __HAVE_FLOAT128 is 1.
  1146  
  1147  // The remaining of this file provides support for older compilers.
  1148  
  1149  // The type _Float128 exists only since GCC 7.0.
  1150  
  1151  // __builtin_huge_valf128 doesn't exist before GCC 7.0.
  1152  
  1153  // Older GCC has only a subset of built-in functions for _Float128 on
  1154  //    x86, and __builtin_infq is not usable in static initializers.
  1155  //    Converting a narrower sNaN to _Float128 produces a quiet NaN, so
  1156  //    attempts to use _Float128 sNaNs will not work properly with older
  1157  //    compilers.
  1158  
  1159  // In math/math.h, __MATH_TG will expand signbit to __builtin_signbit*,
  1160  //    e.g.: __builtin_signbitf128, before GCC 6.  However, there has never
  1161  //    been a __builtin_signbitf128 in GCC and the type-generic builtin is
  1162  //    only available since GCC 6.
  1163  
  1164  // Macros to control TS 18661-3 glibc features where the same
  1165  //    definitions are appropriate for all platforms.
  1166  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  1167  //    This file is part of the GNU C Library.
  1168  //
  1169  //    The GNU C Library is free software; you can redistribute it and/or
  1170  //    modify it under the terms of the GNU Lesser General Public
  1171  //    License as published by the Free Software Foundation; either
  1172  //    version 2.1 of the License, or (at your option) any later version.
  1173  //
  1174  //    The GNU C Library is distributed in the hope that it will be useful,
  1175  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1176  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1177  //    Lesser General Public License for more details.
  1178  //
  1179  //    You should have received a copy of the GNU Lesser General Public
  1180  //    License along with the GNU C Library; if not, see
  1181  //    <https://www.gnu.org/licenses/>.
  1182  
  1183  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  1184  //    This file is part of the GNU C Library.
  1185  //
  1186  //    The GNU C Library is free software; you can redistribute it and/or
  1187  //    modify it under the terms of the GNU Lesser General Public
  1188  //    License as published by the Free Software Foundation; either
  1189  //    version 2.1 of the License, or (at your option) any later version.
  1190  //
  1191  //    The GNU C Library is distributed in the hope that it will be useful,
  1192  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1193  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1194  //    Lesser General Public License for more details.
  1195  //
  1196  //    You should have received a copy of the GNU Lesser General Public
  1197  //    License along with the GNU C Library; if not, see
  1198  //    <https://www.gnu.org/licenses/>.
  1199  
  1200  // Properties of long double type.  ldbl-96 version.
  1201  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
  1202  //    This file is part of the GNU C Library.
  1203  //
  1204  //    The GNU C Library is free software; you can redistribute it and/or
  1205  //    modify it under the terms of the GNU Lesser General Public
  1206  //    License  published by the Free Software Foundation; either
  1207  //    version 2.1 of the License, or (at your option) any later version.
  1208  //
  1209  //    The GNU C Library is distributed in the hope that it will be useful,
  1210  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1211  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1212  //    Lesser General Public License for more details.
  1213  //
  1214  //    You should have received a copy of the GNU Lesser General Public
  1215  //    License along with the GNU C Library; if not, see
  1216  //    <https://www.gnu.org/licenses/>.
  1217  
  1218  // long double is distinct from double, so there is nothing to
  1219  //    define here.
  1220  
  1221  // This header should be included at the bottom of each bits/floatn.h.
  1222  //    It defines the following macros for each _FloatN and _FloatNx type,
  1223  //    where the same definitions, or definitions based only on the macros
  1224  //    in bits/floatn.h, are appropriate for all glibc configurations.
  1225  
  1226  // Defined to 1 if the current compiler invocation provides a
  1227  //    floating-point type with the right format for this type, and this
  1228  //    glibc includes corresponding *fN or *fNx interfaces for it.
  1229  
  1230  // Defined to 1 if the corresponding __HAVE_<type> macro is 1 and the
  1231  //    type is the first with its format in the sequence of (the default
  1232  //    choices for) float, double, long double, _Float16, _Float32,
  1233  //    _Float64, _Float128, _Float32x, _Float64x, _Float128x for this
  1234  //    glibc; that is, if functions present once per floating-point format
  1235  //    rather than once per type are present for this type.
  1236  //
  1237  //    All configurations supported by glibc have _Float32 the same format
  1238  //    as float, _Float64 and _Float32x the same format as double, the
  1239  //    _Float64x the same format as either long double or _Float128.  No
  1240  //    configurations support _Float128x or, as of GCC 7, have compiler
  1241  //    support for a type meeting the requirements for _Float128x.
  1242  
  1243  // Defined to 1 if the corresponding _FloatN type is not binary compatible
  1244  //    with the corresponding ISO C type in the current compilation unit as
  1245  //    opposed to __HAVE_DISTINCT_FLOATN, which indicates the default types built
  1246  //    in glibc.
  1247  
  1248  // Defined to 1 if any _FloatN or _FloatNx types that are not
  1249  //    ABI-distinct are however distinct types at the C language level (so
  1250  //    for the purposes of __builtin_types_compatible_p and _Generic).
  1251  
  1252  // Defined to concatenate the literal suffix to be used with _FloatN
  1253  //    or _FloatNx types, if __HAVE_<type> is 1.  The corresponding
  1254  //    literal suffixes exist since GCC 7, for C only.
  1255  
  1256  // Defined to a complex type if __HAVE_<type> is 1.
  1257  
  1258  // The remaining of this file provides support for older compilers.
  1259  
  1260  // If double, long double and _Float64 all have the same set of
  1261  //    values, TS 18661-3 requires the usual arithmetic conversions on
  1262  //    long double and _Float64 to produce _Float64.  For this to be the
  1263  //    case when building with a compiler without a distinct _Float64
  1264  //    type, _Float64 must be a typedef for long double, not for
  1265  //    double.
  1266  
  1267  // Returned by `div'.
  1268  type div_t = struct {
  1269  	Fquot int32
  1270  	Frem  int32
  1271  } /* stdlib.h:62:5 */
  1272  
  1273  // Returned by `ldiv'.
  1274  type ldiv_t = struct {
  1275  	Fquot int64
  1276  	Frem  int64
  1277  } /* stdlib.h:70:5 */
  1278  
  1279  // Returned by `lldiv'.
  1280  type lldiv_t = struct {
  1281  	Fquot int64
  1282  	Frem  int64
  1283  } /* stdlib.h:80:5 */
  1284  
  1285  // Seconds since the Epoch, visible to user code when time_t is too
  1286  //    narrow only for consistency with the old way of widening too-narrow
  1287  //    types.  User code should never use __time64_t.
  1288  
  1289  type u_char = uint8                     /* types.h:33:18 */
  1290  type u_short = uint16                   /* types.h:34:19 */
  1291  type u_int = uint32                     /* types.h:35:17 */
  1292  type u_long = uint64                    /* types.h:36:18 */
  1293  type quad_t = int64                     /* types.h:37:18 */
  1294  type u_quad_t = uint64                  /* types.h:38:20 */
  1295  type fsid_t = struct{ F__val [2]int32 } /* types.h:39:18 */
  1296  type loff_t = int64                     /* types.h:42:18 */
  1297  
  1298  type ino_t = uint64 /* types.h:49:19 */
  1299  
  1300  type dev_t = uint64 /* types.h:59:17 */
  1301  
  1302  type gid_t = uint32 /* types.h:64:17 */
  1303  
  1304  type mode_t = uint32 /* types.h:69:18 */
  1305  
  1306  type nlink_t = uint64 /* types.h:74:19 */
  1307  
  1308  type uid_t = uint32 /* types.h:79:17 */
  1309  
  1310  type off_t = int64 /* types.h:87:19 */
  1311  
  1312  type pid_t = int32 /* types.h:97:17 */
  1313  
  1314  type id_t = uint32 /* types.h:103:16 */
  1315  
  1316  type ssize_t = int64 /* types.h:108:19 */
  1317  
  1318  type daddr_t = int32   /* types.h:114:19 */
  1319  type caddr_t = uintptr /* types.h:115:19 */
  1320  
  1321  type key_t = int32 /* types.h:121:17 */
  1322  
  1323  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1324  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1325  //    This file is part of the GNU C Library.
  1326  //
  1327  //    The GNU C Library is free software; you can redistribute it and/or
  1328  //    modify it under the terms of the GNU Lesser General Public
  1329  //    License as published by the Free Software Foundation; either
  1330  //    version 2.1 of the License, or (at your option) any later version.
  1331  //
  1332  //    The GNU C Library is distributed in the hope that it will be useful,
  1333  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1334  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1335  //    Lesser General Public License for more details.
  1336  //
  1337  //    You should have received a copy of the GNU Lesser General Public
  1338  //    License along with the GNU C Library; if not, see
  1339  //    <https://www.gnu.org/licenses/>.
  1340  
  1341  // Never include this file directly; use <sys/types.h> instead.
  1342  
  1343  // Returned by `clock'.
  1344  type clock_t = int64 /* clock_t.h:7:19 */
  1345  
  1346  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1347  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1348  //    This file is part of the GNU C Library.
  1349  //
  1350  //    The GNU C Library is free software; you can redistribute it and/or
  1351  //    modify it under the terms of the GNU Lesser General Public
  1352  //    License as published by the Free Software Foundation; either
  1353  //    version 2.1 of the License, or (at your option) any later version.
  1354  //
  1355  //    The GNU C Library is distributed in the hope that it will be useful,
  1356  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1357  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1358  //    Lesser General Public License for more details.
  1359  //
  1360  //    You should have received a copy of the GNU Lesser General Public
  1361  //    License along with the GNU C Library; if not, see
  1362  //    <https://www.gnu.org/licenses/>.
  1363  
  1364  // Never include this file directly; use <sys/types.h> instead.
  1365  
  1366  // Clock ID used in clock and timer functions.
  1367  type clockid_t = int32 /* clockid_t.h:7:21 */
  1368  
  1369  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1370  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1371  //    This file is part of the GNU C Library.
  1372  //
  1373  //    The GNU C Library is free software; you can redistribute it and/or
  1374  //    modify it under the terms of the GNU Lesser General Public
  1375  //    License as published by the Free Software Foundation; either
  1376  //    version 2.1 of the License, or (at your option) any later version.
  1377  //
  1378  //    The GNU C Library is distributed in the hope that it will be useful,
  1379  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1380  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1381  //    Lesser General Public License for more details.
  1382  //
  1383  //    You should have received a copy of the GNU Lesser General Public
  1384  //    License along with the GNU C Library; if not, see
  1385  //    <https://www.gnu.org/licenses/>.
  1386  
  1387  // Never include this file directly; use <sys/types.h> instead.
  1388  
  1389  // Returned by `time'.
  1390  type time_t = int64 /* time_t.h:7:18 */
  1391  
  1392  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1393  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1394  //    This file is part of the GNU C Library.
  1395  //
  1396  //    The GNU C Library is free software; you can redistribute it and/or
  1397  //    modify it under the terms of the GNU Lesser General Public
  1398  //    License as published by the Free Software Foundation; either
  1399  //    version 2.1 of the License, or (at your option) any later version.
  1400  //
  1401  //    The GNU C Library is distributed in the hope that it will be useful,
  1402  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1403  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1404  //    Lesser General Public License for more details.
  1405  //
  1406  //    You should have received a copy of the GNU Lesser General Public
  1407  //    License along with the GNU C Library; if not, see
  1408  //    <https://www.gnu.org/licenses/>.
  1409  
  1410  // Never include this file directly; use <sys/types.h> instead.
  1411  
  1412  // Timer ID returned by `timer_create'.
  1413  type timer_t = uintptr /* timer_t.h:7:19 */
  1414  
  1415  // Copyright (C) 1989-2020 Free Software Foundation, Inc.
  1416  //
  1417  // This file is part of GCC.
  1418  //
  1419  // GCC is free software; you can redistribute it and/or modify
  1420  // it under the terms of the GNU General Public License as published by
  1421  // the Free Software Foundation; either version 3, or (at your option)
  1422  // any later version.
  1423  //
  1424  // GCC is distributed in the hope that it will be useful,
  1425  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  1426  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  1427  // GNU General Public License for more details.
  1428  //
  1429  // Under Section 7 of GPL version 3, you are granted additional
  1430  // permissions described in the GCC Runtime Library Exception, version
  1431  // 3.1, as published by the Free Software Foundation.
  1432  //
  1433  // You should have received a copy of the GNU General Public License and
  1434  // a copy of the GCC Runtime Library Exception along with this program;
  1435  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  1436  // <http://www.gnu.org/licenses/>.
  1437  
  1438  // ISO C Standard:  7.17  Common definitions  <stddef.h>
  1439  
  1440  // Any one of these symbols __need_* means that GNU libc
  1441  //    wants us just to define one data type.  So don't define
  1442  //    the symbols that indicate this file's entire job has been done.
  1443  
  1444  // This avoids lossage on SunOS but only if stdtypes.h comes first.
  1445  //    There's no way to win with the other order!  Sun lossage.
  1446  
  1447  // Sequent's header files use _PTRDIFF_T_ in some conflicting way.
  1448  //    Just ignore it.
  1449  
  1450  // On VxWorks, <type/vxTypesBase.h> may have defined macros like
  1451  //    _TYPE_size_t which will typedef size_t.  fixincludes patched the
  1452  //    vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is
  1453  //    not defined, and so that defining this macro defines _GCC_SIZE_T.
  1454  //    If we find that the macros are still defined at this point, we must
  1455  //    invoke them so that the type is defined as expected.
  1456  
  1457  // In case nobody has defined these types, but we aren't running under
  1458  //    GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and
  1459  //    __WCHAR_TYPE__ have reasonable values.  This can happen if the
  1460  //    parts of GCC is compiled by an older compiler, that actually
  1461  //    include gstddef.h, such as collect2.
  1462  
  1463  // Signed type of difference of two pointers.
  1464  
  1465  // Define this type if we are doing the whole job,
  1466  //    or if we want this type in particular.
  1467  
  1468  // Unsigned type of `sizeof' something.
  1469  
  1470  // Define this type if we are doing the whole job,
  1471  //    or if we want this type in particular.
  1472  
  1473  // Wide character type.
  1474  //    Locale-writers should change this as necessary to
  1475  //    be big enough to hold unique values not between 0 and 127,
  1476  //    and not (wchar_t) -1, for each defined multibyte character.
  1477  
  1478  // Define this type if we are doing the whole job,
  1479  //    or if we want this type in particular.
  1480  
  1481  // A null pointer constant.
  1482  
  1483  // Old compatibility names for C types.
  1484  type ulong = uint64  /* types.h:148:27 */
  1485  type ushort = uint16 /* types.h:149:28 */
  1486  type uint = uint32   /* types.h:150:22 */
  1487  
  1488  // These size-specific names are used by some of the inet code.
  1489  
  1490  // Define intN_t types.
  1491  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  1492  //    This file is part of the GNU C Library.
  1493  //
  1494  //    The GNU C Library is free software; you can redistribute it and/or
  1495  //    modify it under the terms of the GNU Lesser General Public
  1496  //    License as published by the Free Software Foundation; either
  1497  //    version 2.1 of the License, or (at your option) any later version.
  1498  //
  1499  //    The GNU C Library is distributed in the hope that it will be useful,
  1500  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1501  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1502  //    Lesser General Public License for more details.
  1503  //
  1504  //    You should have received a copy of the GNU Lesser General Public
  1505  //    License along with the GNU C Library; if not, see
  1506  //    <https://www.gnu.org/licenses/>.
  1507  
  1508  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1509  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1510  //    This file is part of the GNU C Library.
  1511  //
  1512  //    The GNU C Library is free software; you can redistribute it and/or
  1513  //    modify it under the terms of the GNU Lesser General Public
  1514  //    License as published by the Free Software Foundation; either
  1515  //    version 2.1 of the License, or (at your option) any later version.
  1516  //
  1517  //    The GNU C Library is distributed in the hope that it will be useful,
  1518  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1519  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1520  //    Lesser General Public License for more details.
  1521  //
  1522  //    You should have received a copy of the GNU Lesser General Public
  1523  //    License along with the GNU C Library; if not, see
  1524  //    <https://www.gnu.org/licenses/>.
  1525  
  1526  // Never include this file directly; use <sys/types.h> instead.
  1527  
  1528  type int8_t = int8   /* stdint-intn.h:24:18 */
  1529  type int16_t = int16 /* stdint-intn.h:25:19 */
  1530  type int32_t = int32 /* stdint-intn.h:26:19 */
  1531  type int64_t = int64 /* stdint-intn.h:27:19 */
  1532  
  1533  // These were defined by ISO C without the first `_'.
  1534  type u_int8_t = uint8   /* types.h:158:19 */
  1535  type u_int16_t = uint16 /* types.h:159:20 */
  1536  type u_int32_t = uint32 /* types.h:160:20 */
  1537  type u_int64_t = uint64 /* types.h:161:20 */
  1538  
  1539  type register_t = int32 /* types.h:164:13 */
  1540  
  1541  // A set of signals to be blocked, unblocked, or waited for.
  1542  type sigset_t = struct{ F__val [16]uint64 } /* sigset_t.h:7:20 */
  1543  
  1544  // Get definition of timer specification structures.
  1545  
  1546  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1547  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1548  //    This file is part of the GNU C Library.
  1549  //
  1550  //    The GNU C Library is free software; you can redistribute it and/or
  1551  //    modify it under the terms of the GNU Lesser General Public
  1552  //    License as published by the Free Software Foundation; either
  1553  //    version 2.1 of the License, or (at your option) any later version.
  1554  //
  1555  //    The GNU C Library is distributed in the hope that it will be useful,
  1556  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1557  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1558  //    Lesser General Public License for more details.
  1559  //
  1560  //    You should have received a copy of the GNU Lesser General Public
  1561  //    License along with the GNU C Library; if not, see
  1562  //    <https://www.gnu.org/licenses/>.
  1563  
  1564  // Never include this file directly; use <sys/types.h> instead.
  1565  
  1566  // A time value that is accurate to the nearest
  1567  //    microsecond but also has a range of years.
  1568  type timeval = struct {
  1569  	Ftv_sec  int64
  1570  	Ftv_usec int64
  1571  } /* struct_timeval.h:8:1 */
  1572  
  1573  // NB: Include guard matches what <linux/time.h> uses.
  1574  
  1575  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1576  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1577  //    This file is part of the GNU C Library.
  1578  //
  1579  //    The GNU C Library is free software; you can redistribute it and/or
  1580  //    modify it under the terms of the GNU Lesser General Public
  1581  //    License as published by the Free Software Foundation; either
  1582  //    version 2.1 of the License, or (at your option) any later version.
  1583  //
  1584  //    The GNU C Library is distributed in the hope that it will be useful,
  1585  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1586  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1587  //    Lesser General Public License for more details.
  1588  //
  1589  //    You should have received a copy of the GNU Lesser General Public
  1590  //    License along with the GNU C Library; if not, see
  1591  //    <https://www.gnu.org/licenses/>.
  1592  
  1593  // Never include this file directly; use <sys/types.h> instead.
  1594  
  1595  // Endian macros for string.h functions
  1596  //    Copyright (C) 1992-2020 Free Software Foundation, Inc.
  1597  //    This file is part of the GNU C Library.
  1598  //
  1599  //    The GNU C Library is free software; you can redistribute it and/or
  1600  //    modify it under the terms of the GNU Lesser General Public
  1601  //    License as published by the Free Software Foundation; either
  1602  //    version 2.1 of the License, or (at your option) any later version.
  1603  //
  1604  //    The GNU C Library is distributed in the hope that it will be useful,
  1605  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1606  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1607  //    Lesser General Public License for more details.
  1608  //
  1609  //    You should have received a copy of the GNU Lesser General Public
  1610  //    License along with the GNU C Library; if not, see
  1611  //    <http://www.gnu.org/licenses/>.
  1612  
  1613  // POSIX.1b structure for a time value.  This is like a `struct timeval' but
  1614  //    has nanoseconds instead of microseconds.
  1615  type timespec = struct {
  1616  	Ftv_sec  int64
  1617  	Ftv_nsec int64
  1618  } /* struct_timespec.h:10:1 */
  1619  
  1620  type suseconds_t = int64 /* select.h:43:23 */
  1621  
  1622  // Some versions of <linux/posix_types.h> define this macros.
  1623  // It's easier to assume 8-bit bytes than to get CHAR_BIT.
  1624  
  1625  // fd_set for select and pselect.
  1626  type fd_set = struct{ F__fds_bits [16]int64 } /* select.h:70:5 */
  1627  
  1628  // Maximum number of file descriptors in `fd_set'.
  1629  
  1630  // Sometimes the fd_set member is assumed to have this type.
  1631  type fd_mask = int64 /* select.h:77:19 */
  1632  
  1633  // Define some inlines helping to catch common problems.
  1634  
  1635  type blksize_t = int64 /* types.h:185:21 */
  1636  
  1637  // Types from the Large File Support interface.
  1638  type blkcnt_t = int64    /* types.h:205:22 */ // Type to count number of disk blocks.
  1639  type fsblkcnt_t = uint64 /* types.h:209:24 */ // Type to count file system blocks.
  1640  type fsfilcnt_t = uint64 /* types.h:213:24 */ // Type to count file system inodes.
  1641  
  1642  // Now add the thread types.
  1643  // Declaration of common pthread types for all architectures.
  1644  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  1645  //    This file is part of the GNU C Library.
  1646  //
  1647  //    The GNU C Library is free software; you can redistribute it and/or
  1648  //    modify it under the terms of the GNU Lesser General Public
  1649  //    License as published by the Free Software Foundation; either
  1650  //    version 2.1 of the License, or (at your option) any later version.
  1651  //
  1652  //    The GNU C Library is distributed in the hope that it will be useful,
  1653  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1654  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1655  //    Lesser General Public License for more details.
  1656  //
  1657  //    You should have received a copy of the GNU Lesser General Public
  1658  //    License along with the GNU C Library; if not, see
  1659  //    <https://www.gnu.org/licenses/>.
  1660  
  1661  // For internal mutex and condition variable definitions.
  1662  // Common threading primitives definitions for both POSIX and C11.
  1663  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  1664  //    This file is part of the GNU C Library.
  1665  //
  1666  //    The GNU C Library is free software; you can redistribute it and/or
  1667  //    modify it under the terms of the GNU Lesser General Public
  1668  //    License as published by the Free Software Foundation; either
  1669  //    version 2.1 of the License, or (at your option) any later version.
  1670  //
  1671  //    The GNU C Library is distributed in the hope that it will be useful,
  1672  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1673  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1674  //    Lesser General Public License for more details.
  1675  //
  1676  //    You should have received a copy of the GNU Lesser General Public
  1677  //    License along with the GNU C Library; if not, see
  1678  //    <https://www.gnu.org/licenses/>.
  1679  
  1680  // Arch-specific definitions.  Each architecture must define the following
  1681  //    macros to define the expected sizes of pthread data types:
  1682  //
  1683  //    __SIZEOF_PTHREAD_ATTR_T        - size of pthread_attr_t.
  1684  //    __SIZEOF_PTHREAD_MUTEX_T       - size of pthread_mutex_t.
  1685  //    __SIZEOF_PTHREAD_MUTEXATTR_T   - size of pthread_mutexattr_t.
  1686  //    __SIZEOF_PTHREAD_COND_T        - size of pthread_cond_t.
  1687  //    __SIZEOF_PTHREAD_CONDATTR_T    - size of pthread_condattr_t.
  1688  //    __SIZEOF_PTHREAD_RWLOCK_T      - size of pthread_rwlock_t.
  1689  //    __SIZEOF_PTHREAD_RWLOCKATTR_T  - size of pthread_rwlockattr_t.
  1690  //    __SIZEOF_PTHREAD_BARRIER_T     - size of pthread_barrier_t.
  1691  //    __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t.
  1692  //
  1693  //    The additional macro defines any constraint for the lock alignment
  1694  //    inside the thread structures:
  1695  //
  1696  //    __LOCK_ALIGNMENT - for internal lock/futex usage.
  1697  //
  1698  //    Same idea but for the once locking primitive:
  1699  //
  1700  //    __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition.
  1701  
  1702  // Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1703  //    This file is part of the GNU C Library.
  1704  //
  1705  //    The GNU C Library is free software; you can redistribute it and/or
  1706  //    modify it under the terms of the GNU Lesser General Public
  1707  //    License as published by the Free Software Foundation; either
  1708  //    version 2.1 of the License, or (at your option) any later version.
  1709  //
  1710  //    The GNU C Library is distributed in the hope that it will be useful,
  1711  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1712  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1713  //    Lesser General Public License for more details.
  1714  //
  1715  //    You should have received a copy of the GNU Lesser General Public
  1716  //    License along with the GNU C Library; if not, see
  1717  //    <https://www.gnu.org/licenses/>.
  1718  
  1719  // Determine the wordsize from the preprocessor defines.
  1720  
  1721  // Both x86-64 and x32 use the 64-bit system call interface.
  1722  
  1723  // Common definition of pthread_mutex_t.
  1724  
  1725  type __pthread_internal_list = struct {
  1726  	F__prev uintptr
  1727  	F__next uintptr
  1728  } /* thread-shared-types.h:49:9 */
  1729  
  1730  type __pthread_internal_slist = struct{ F__next uintptr } /* thread-shared-types.h:55:9 */
  1731  
  1732  // Arch-specific mutex definitions.  A generic implementation is provided
  1733  //    by sysdeps/nptl/bits/struct_mutex.h.  If required, an architecture
  1734  //    can override it by defining:
  1735  //
  1736  //    1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t
  1737  //       definition).  It should contains at least the internal members
  1738  //       defined in the generic version.
  1739  //
  1740  //    2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with
  1741  //       atomic operations.
  1742  //
  1743  //    3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization.
  1744  //       It should initialize the mutex internal flag.
  1745  
  1746  // x86 internal mutex struct definitions.
  1747  //    Copyright (C) 2019-2020 Free Software Foundation, Inc.
  1748  //    This file is part of the GNU C Library.
  1749  //
  1750  //    The GNU C Library is free software; you can redistribute it and/or
  1751  //    modify it under the terms of the GNU Lesser General Public
  1752  //    License as published by the Free Software Foundation; either
  1753  //    version 2.1 of the License, or (at your option) any later version.
  1754  //
  1755  //    The GNU C Library is distributed in the hope that it will be useful,
  1756  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1757  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1758  //    Lesser General Public License for more details.
  1759  //
  1760  //    You should have received a copy of the GNU Lesser General Public
  1761  //    License along with the GNU C Library; if not, see
  1762  //    <http://www.gnu.org/licenses/>.
  1763  
  1764  type __pthread_mutex_s = struct {
  1765  	F__lock    int32
  1766  	F__count   uint32
  1767  	F__owner   int32
  1768  	F__nusers  uint32
  1769  	F__kind    int32
  1770  	F__spins   int16
  1771  	F__elision int16
  1772  	F__list    struct {
  1773  		F__prev uintptr
  1774  		F__next uintptr
  1775  	}
  1776  } /* struct_mutex.h:22:1 */
  1777  
  1778  // Arch-sepecific read-write lock definitions.  A generic implementation is
  1779  //    provided by struct_rwlock.h.  If required, an architecture can override it
  1780  //    by defining:
  1781  //
  1782  //    1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition).
  1783  //       It should contain at least the internal members defined in the
  1784  //       generic version.
  1785  //
  1786  //    2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization.
  1787  //       It should initialize the rwlock internal type.
  1788  
  1789  // x86 internal rwlock struct definitions.
  1790  //    Copyright (C) 2019-2020 Free Software Foundation, Inc.
  1791  //
  1792  //    This file is part of the GNU C Library.
  1793  //
  1794  //    The GNU C Library is free software; you can redistribute it and/or
  1795  //    modify it under the terms of the GNU Lesser General Public
  1796  //    License as published by the Free Software Foundation; either
  1797  //    version 2.1 of the License, or (at your option) any later version.
  1798  //
  1799  //    The GNU C Library is distributed in the hope that it will be useful,
  1800  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1801  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1802  //    Lesser General Public License for more details.
  1803  //
  1804  //    You should have received a copy of the GNU Lesser General Public
  1805  //    License along with the GNU C Library; if not, see
  1806  //    <http://www.gnu.org/licenses/>.
  1807  
  1808  type __pthread_rwlock_arch_t = struct {
  1809  	F__readers       uint32
  1810  	F__writers       uint32
  1811  	F__wrphase_futex uint32
  1812  	F__writers_futex uint32
  1813  	F__pad3          uint32
  1814  	F__pad4          uint32
  1815  	F__cur_writer    int32
  1816  	F__shared        int32
  1817  	F__rwelision     int8
  1818  	F__pad1          [7]uint8
  1819  	F__pad2          uint64
  1820  	F__flags         uint32
  1821  	F__ccgo_pad1     [4]byte
  1822  } /* struct_rwlock.h:23:1 */
  1823  
  1824  // Common definition of pthread_cond_t.
  1825  
  1826  type __pthread_cond_s = struct {
  1827  	F__0            struct{ F__wseq uint64 }
  1828  	F__8            struct{ F__g1_start uint64 }
  1829  	F__g_refs       [2]uint32
  1830  	F__g_size       [2]uint32
  1831  	F__g1_orig_size uint32
  1832  	F__wrefs        uint32
  1833  	F__g_signals    [2]uint32
  1834  } /* thread-shared-types.h:92:1 */
  1835  
  1836  // Thread identifiers.  The structure of the attribute type is not
  1837  //    exposed on purpose.
  1838  type pthread_t = uint64 /* pthreadtypes.h:27:27 */
  1839  
  1840  // Data structures for mutex handling.  The structure of the attribute
  1841  //    type is not exposed on purpose.
  1842  type pthread_mutexattr_t = struct {
  1843  	F__ccgo_pad1 [0]uint32
  1844  	F__size      [4]int8
  1845  } /* pthreadtypes.h:36:3 */
  1846  
  1847  // Data structure for condition variable handling.  The structure of
  1848  //    the attribute type is not exposed on purpose.
  1849  type pthread_condattr_t = struct {
  1850  	F__ccgo_pad1 [0]uint32
  1851  	F__size      [4]int8
  1852  } /* pthreadtypes.h:45:3 */
  1853  
  1854  // Keys for thread-specific data
  1855  type pthread_key_t = uint32 /* pthreadtypes.h:49:22 */
  1856  
  1857  // Once-only execution
  1858  type pthread_once_t = int32 /* pthreadtypes.h:53:30 */
  1859  
  1860  type pthread_attr_t1 = struct {
  1861  	F__ccgo_pad1 [0]uint64
  1862  	F__size      [56]int8
  1863  } /* pthreadtypes.h:56:1 */
  1864  
  1865  type pthread_attr_t = pthread_attr_t1 /* pthreadtypes.h:62:30 */
  1866  
  1867  type pthread_mutex_t = struct{ F__data __pthread_mutex_s } /* pthreadtypes.h:72:3 */
  1868  
  1869  type pthread_cond_t = struct{ F__data __pthread_cond_s } /* pthreadtypes.h:80:3 */
  1870  
  1871  // Data structure for reader-writer lock variable handling.  The
  1872  //    structure of the attribute type is deliberately not exposed.
  1873  type pthread_rwlock_t = struct{ F__data __pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
  1874  
  1875  type pthread_rwlockattr_t = struct {
  1876  	F__ccgo_pad1 [0]uint64
  1877  	F__size      [8]int8
  1878  } /* pthreadtypes.h:97:3 */
  1879  
  1880  // POSIX spinlock data type.
  1881  type pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
  1882  
  1883  // POSIX barriers data type.  The structure of the type is
  1884  //    deliberately not exposed.
  1885  type pthread_barrier_t = struct {
  1886  	F__ccgo_pad1 [0]uint64
  1887  	F__size      [32]int8
  1888  } /* pthreadtypes.h:112:3 */
  1889  
  1890  type pthread_barrierattr_t = struct {
  1891  	F__ccgo_pad1 [0]uint32
  1892  	F__size      [4]int8
  1893  } /* pthreadtypes.h:118:3 */
  1894  
  1895  // Reentrant versions of the `random' family of functions.
  1896  //    These functions all use the following data structure to contain
  1897  //    state, rather than global state variables.
  1898  
  1899  type random_data = struct {
  1900  	Ffptr        uintptr
  1901  	Frptr        uintptr
  1902  	Fstate       uintptr
  1903  	Frand_type   int32
  1904  	Frand_deg    int32
  1905  	Frand_sep    int32
  1906  	F__ccgo_pad1 [4]byte
  1907  	Fend_ptr     uintptr
  1908  } /* stdlib.h:423:1 */
  1909  
  1910  // Data structure for communication with thread safe versions.  This
  1911  //    type is to be regarded as opaque.  It's only exported because users
  1912  //    have to allocate objects of this type.
  1913  type drand48_data = struct {
  1914  	F__x     [3]uint16
  1915  	F__old_x [3]uint16
  1916  	F__c     uint16
  1917  	F__init  uint16
  1918  	F__a     uint64
  1919  } /* stdlib.h:490:1 */
  1920  
  1921  // The tag name of this struct is _G_fpos_t to preserve historic
  1922  //    C++ mangled names for functions taking fpos_t arguments.
  1923  //    That name should not be used in new code.
  1924  type _G_fpos_t = struct {
  1925  	F__pos   int64
  1926  	F__state struct {
  1927  		F__count int32
  1928  		F__value struct{ F__wch uint32 }
  1929  	}
  1930  } /* __fpos_t.h:10:9 */
  1931  
  1932  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1933  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1934  //    This file is part of the GNU C Library.
  1935  //
  1936  //    The GNU C Library is free software; you can redistribute it and/or
  1937  //    modify it under the terms of the GNU Lesser General Public
  1938  //    License as published by the Free Software Foundation; either
  1939  //    version 2.1 of the License, or (at your option) any later version.
  1940  //
  1941  //    The GNU C Library is distributed in the hope that it will be useful,
  1942  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1943  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1944  //    Lesser General Public License for more details.
  1945  //
  1946  //    You should have received a copy of the GNU Lesser General Public
  1947  //    License along with the GNU C Library; if not, see
  1948  //    <https://www.gnu.org/licenses/>.
  1949  
  1950  // Never include this file directly; use <sys/types.h> instead.
  1951  
  1952  // The tag name of this struct is _G_fpos64_t to preserve historic
  1953  //    C++ mangled names for functions taking fpos_t and/or fpos64_t
  1954  //    arguments.  That name should not be used in new code.
  1955  type _G_fpos64_t = struct {
  1956  	F__pos   int64
  1957  	F__state struct {
  1958  		F__count int32
  1959  		F__value struct{ F__wch uint32 }
  1960  	}
  1961  } /* __fpos64_t.h:10:9 */
  1962  
  1963  type _IO_FILE = struct {
  1964  	F_flags          int32
  1965  	F__ccgo_pad1     [4]byte
  1966  	F_IO_read_ptr    uintptr
  1967  	F_IO_read_end    uintptr
  1968  	F_IO_read_base   uintptr
  1969  	F_IO_write_base  uintptr
  1970  	F_IO_write_ptr   uintptr
  1971  	F_IO_write_end   uintptr
  1972  	F_IO_buf_base    uintptr
  1973  	F_IO_buf_end     uintptr
  1974  	F_IO_save_base   uintptr
  1975  	F_IO_backup_base uintptr
  1976  	F_IO_save_end    uintptr
  1977  	F_markers        uintptr
  1978  	F_chain          uintptr
  1979  	F_fileno         int32
  1980  	F_flags2         int32
  1981  	F_old_offset     int64
  1982  	F_cur_column     uint16
  1983  	F_vtable_offset  int8
  1984  	F_shortbuf       [1]int8
  1985  	F__ccgo_pad2     [4]byte
  1986  	F_lock           uintptr
  1987  	F_offset         int64
  1988  	F_codecvt        uintptr
  1989  	F_wide_data      uintptr
  1990  	F_freeres_list   uintptr
  1991  	F_freeres_buf    uintptr
  1992  	F__pad5          size_t
  1993  	F_mode           int32
  1994  	F_unused2        [20]int8
  1995  } /* __FILE.h:4:1 */
  1996  
  1997  // The opaque type of streams.  This is the definition used elsewhere.
  1998  type FILE = _IO_FILE /* FILE.h:7:25 */
  1999  
  2000  // These macros are used by bits/stdio.h and internal headers.
  2001  
  2002  // Many more flag bits are defined internally.
  2003  
  2004  type va_list = uintptr /* stdio.h:52:24 */
  2005  
  2006  // The type of the second argument to `fgetpos' and `fsetpos'.
  2007  type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
  2008  
  2009  // If we are compiling with optimizing read this file.  It contains
  2010  //    several optimizing inline functions and macros.
  2011  
  2012  // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
  2013  // All Rights Reserved.
  2014  //
  2015  // Permission is hereby granted, free of charge, to any person obtaining a
  2016  // copy of this software and associated documentation files (the "Software"),
  2017  // to deal in the Software without restriction, including without limitation
  2018  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
  2019  // and/or sell copies of the Software, and to permit persons to whom the
  2020  // Software is furnished to do so, subject to the following conditions:
  2021  //
  2022  // The above copyright notice and this permission notice shall be included in
  2023  // all copies or substantial portions of the Software.
  2024  //
  2025  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  2026  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  2027  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  2028  // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  2029  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  2030  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  2031  //
  2032  // Except as contained in this notice, the names of the authors or their
  2033  // institutions shall not be used in advertising or otherwise to promote the
  2034  // sale, use or other dealings in this Software without prior written
  2035  // authorization from the authors.
  2036  
  2037  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2038  //    This file is part of the GNU C Library.
  2039  //
  2040  //    The GNU C Library is free software; you can redistribute it and/or
  2041  //    modify it under the terms of the GNU Lesser General Public
  2042  //    License as published by the Free Software Foundation; either
  2043  //    version 2.1 of the License, or (at your option) any later version.
  2044  //
  2045  //    The GNU C Library is distributed in the hope that it will be useful,
  2046  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2047  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2048  //    Lesser General Public License for more details.
  2049  //
  2050  //    You should have received a copy of the GNU Lesser General Public
  2051  //    License along with the GNU C Library; if not, see
  2052  //    <https://www.gnu.org/licenses/>.
  2053  
  2054  //	POSIX Standard: 2.6 Primitive System Data Types	<sys/types.h>
  2055  
  2056  // Copyright (C) 1997-2020 Free Software Foundation, Inc.
  2057  //    This file is part of the GNU C Library.
  2058  //
  2059  //    The GNU C Library is free software; you can redistribute it and/or
  2060  //    modify it under the terms of the GNU Lesser General Public
  2061  //    License as published by the Free Software Foundation; either
  2062  //    version 2.1 of the License, or (at your option) any later version.
  2063  //
  2064  //    The GNU C Library is distributed in the hope that it will be useful,
  2065  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2066  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2067  //    Lesser General Public License for more details.
  2068  //
  2069  //    You should have received a copy of the GNU Lesser General Public
  2070  //    License along with the GNU C Library; if not, see
  2071  //    <https://www.gnu.org/licenses/>.
  2072  
  2073  //	ISO C99: 7.18 Integer types <stdint.h>
  2074  
  2075  // Handle feature test macros at the start of a header.
  2076  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
  2077  //    This file is part of the GNU C Library.
  2078  //
  2079  //    The GNU C Library is free software; you can redistribute it and/or
  2080  //    modify it under the terms of the GNU Lesser General Public
  2081  //    License as published by the Free Software Foundation; either
  2082  //    version 2.1 of the License, or (at your option) any later version.
  2083  //
  2084  //    The GNU C Library is distributed in the hope that it will be useful,
  2085  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2086  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2087  //    Lesser General Public License for more details.
  2088  //
  2089  //    You should have received a copy of the GNU Lesser General Public
  2090  //    License along with the GNU C Library; if not, see
  2091  //    <https://www.gnu.org/licenses/>.
  2092  
  2093  // This header is internal to glibc and should not be included outside
  2094  //    of glibc headers.  Headers including it must define
  2095  //    __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION first.  This header
  2096  //    cannot have multiple include guards because ISO C feature test
  2097  //    macros depend on the definition of the macro when an affected
  2098  //    header is included, not when the first system header is
  2099  //    included.
  2100  
  2101  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2102  //    This file is part of the GNU C Library.
  2103  //
  2104  //    The GNU C Library is free software; you can redistribute it and/or
  2105  //    modify it under the terms of the GNU Lesser General Public
  2106  //    License as published by the Free Software Foundation; either
  2107  //    version 2.1 of the License, or (at your option) any later version.
  2108  //
  2109  //    The GNU C Library is distributed in the hope that it will be useful,
  2110  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2111  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2112  //    Lesser General Public License for more details.
  2113  //
  2114  //    You should have received a copy of the GNU Lesser General Public
  2115  //    License along with the GNU C Library; if not, see
  2116  //    <https://www.gnu.org/licenses/>.
  2117  
  2118  // ISO/IEC TR 24731-2:2010 defines the __STDC_WANT_LIB_EXT2__
  2119  //    macro.
  2120  
  2121  // ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__
  2122  //    macro.  Most but not all symbols enabled by that macro in TS
  2123  //    18661-1 are enabled unconditionally in C2X; the symbols in Annex F
  2124  //    still require that macro in C2X.
  2125  
  2126  // ISO/IEC TS 18661-4:2015 defines the
  2127  //    __STDC_WANT_IEC_60559_FUNCS_EXT__ macro.  Other than the reduction
  2128  //    functions, the symbols from this TS are enabled unconditionally in
  2129  //    C2X.
  2130  
  2131  // ISO/IEC TS 18661-3:2015 defines the
  2132  //    __STDC_WANT_IEC_60559_TYPES_EXT__ macro.
  2133  // bits/types.h -- definitions of __*_t types underlying *_t types.
  2134  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  2135  //    This file is part of the GNU C Library.
  2136  //
  2137  //    The GNU C Library is free software; you can redistribute it and/or
  2138  //    modify it under the terms of the GNU Lesser General Public
  2139  //    License as published by the Free Software Foundation; either
  2140  //    version 2.1 of the License, or (at your option) any later version.
  2141  //
  2142  //    The GNU C Library is distributed in the hope that it will be useful,
  2143  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2144  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2145  //    Lesser General Public License for more details.
  2146  //
  2147  //    You should have received a copy of the GNU Lesser General Public
  2148  //    License along with the GNU C Library; if not, see
  2149  //    <https://www.gnu.org/licenses/>.
  2150  
  2151  // Never include this file directly; use <sys/types.h> instead.
  2152  
  2153  // wchar_t type related definitions.
  2154  //    Copyright (C) 2000-2020 Free Software Foundation, Inc.
  2155  //    This file is part of the GNU C Library.
  2156  //
  2157  //    The GNU C Library is free software; you can redistribute it and/or
  2158  //    modify it under the terms of the GNU Lesser General Public
  2159  //    License as published by the Free Software Foundation; either
  2160  //    version 2.1 of the License, or (at your option) any later version.
  2161  //
  2162  //    The GNU C Library is distributed in the hope that it will be useful,
  2163  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2164  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2165  //    Lesser General Public License for more details.
  2166  //
  2167  //    You should have received a copy of the GNU Lesser General Public
  2168  //    License along with the GNU C Library; if not, see
  2169  //    <https://www.gnu.org/licenses/>.
  2170  
  2171  // The fallback definitions, for when __WCHAR_MAX__ or __WCHAR_MIN__
  2172  //    are not defined, give the right value and type as long as both int
  2173  //    and wchar_t are 32-bit types.  Adding L'\0' to a constant value
  2174  //    ensures that the type is correct; it is necessary to use (L'\0' +
  2175  //    0) rather than just L'\0' so that the type in C++ is the promoted
  2176  //    version of wchar_t rather than the distinct wchar_t type itself.
  2177  //    Because wchar_t in preprocessor #if expressions is treated as
  2178  //    intmax_t or uintmax_t, the expression (L'\0' - 1) would have the
  2179  //    wrong value for WCHAR_MAX in such expressions and so cannot be used
  2180  //    to define __WCHAR_MAX in the unsigned case.
  2181  
  2182  // Determine the wordsize from the preprocessor defines.
  2183  
  2184  // Both x86-64 and x32 use the 64-bit system call interface.
  2185  
  2186  // Exact integral types.
  2187  
  2188  // Signed.
  2189  // Define intN_t types.
  2190  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  2191  //    This file is part of the GNU C Library.
  2192  //
  2193  //    The GNU C Library is free software; you can redistribute it and/or
  2194  //    modify it under the terms of the GNU Lesser General Public
  2195  //    License as published by the Free Software Foundation; either
  2196  //    version 2.1 of the License, or (at your option) any later version.
  2197  //
  2198  //    The GNU C Library is distributed in the hope that it will be useful,
  2199  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2200  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2201  //    Lesser General Public License for more details.
  2202  //
  2203  //    You should have received a copy of the GNU Lesser General Public
  2204  //    License along with the GNU C Library; if not, see
  2205  //    <https://www.gnu.org/licenses/>.
  2206  
  2207  // Unsigned.
  2208  // Define uintN_t types.
  2209  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  2210  //    This file is part of the GNU C Library.
  2211  //
  2212  //    The GNU C Library is free software; you can redistribute it and/or
  2213  //    modify it under the terms of the GNU Lesser General Public
  2214  //    License as published by the Free Software Foundation; either
  2215  //    version 2.1 of the License, or (at your option) any later version.
  2216  //
  2217  //    The GNU C Library is distributed in the hope that it will be useful,
  2218  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2219  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2220  //    Lesser General Public License for more details.
  2221  //
  2222  //    You should have received a copy of the GNU Lesser General Public
  2223  //    License along with the GNU C Library; if not, see
  2224  //    <https://www.gnu.org/licenses/>.
  2225  
  2226  // bits/types.h -- definitions of __*_t types underlying *_t types.
  2227  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  2228  //    This file is part of the GNU C Library.
  2229  //
  2230  //    The GNU C Library is free software; you can redistribute it and/or
  2231  //    modify it under the terms of the GNU Lesser General Public
  2232  //    License as published by the Free Software Foundation; either
  2233  //    version 2.1 of the License, or (at your option) any later version.
  2234  //
  2235  //    The GNU C Library is distributed in the hope that it will be useful,
  2236  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2237  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2238  //    Lesser General Public License for more details.
  2239  //
  2240  //    You should have received a copy of the GNU Lesser General Public
  2241  //    License along with the GNU C Library; if not, see
  2242  //    <https://www.gnu.org/licenses/>.
  2243  
  2244  // Never include this file directly; use <sys/types.h> instead.
  2245  
  2246  type uint8_t = uint8   /* stdint-uintn.h:24:19 */
  2247  type uint16_t = uint16 /* stdint-uintn.h:25:20 */
  2248  type uint32_t = uint32 /* stdint-uintn.h:26:20 */
  2249  type uint64_t = uint64 /* stdint-uintn.h:27:20 */
  2250  
  2251  // Small types.
  2252  
  2253  // Signed.
  2254  type int_least8_t = int8   /* stdint.h:43:24 */
  2255  type int_least16_t = int16 /* stdint.h:44:25 */
  2256  type int_least32_t = int32 /* stdint.h:45:25 */
  2257  type int_least64_t = int64 /* stdint.h:46:25 */
  2258  
  2259  // Unsigned.
  2260  type uint_least8_t = uint8   /* stdint.h:49:25 */
  2261  type uint_least16_t = uint16 /* stdint.h:50:26 */
  2262  type uint_least32_t = uint32 /* stdint.h:51:26 */
  2263  type uint_least64_t = uint64 /* stdint.h:52:26 */
  2264  
  2265  // Fast types.
  2266  
  2267  // Signed.
  2268  type int_fast8_t = int8   /* stdint.h:58:22 */
  2269  type int_fast16_t = int64 /* stdint.h:60:19 */
  2270  type int_fast32_t = int64 /* stdint.h:61:19 */
  2271  type int_fast64_t = int64 /* stdint.h:62:19 */
  2272  
  2273  // Unsigned.
  2274  type uint_fast8_t = uint8   /* stdint.h:71:24 */
  2275  type uint_fast16_t = uint64 /* stdint.h:73:27 */
  2276  type uint_fast32_t = uint64 /* stdint.h:74:27 */
  2277  type uint_fast64_t = uint64 /* stdint.h:75:27 */
  2278  
  2279  // Types for `void *' pointers.
  2280  type intptr_t = int64   /* stdint.h:87:19 */
  2281  type uintptr_t = uint64 /* stdint.h:90:27 */
  2282  
  2283  // Largest integral types.
  2284  type intmax_t = int64   /* stdint.h:101:21 */
  2285  type uintmax_t = uint64 /* stdint.h:102:22 */
  2286  
  2287  // Limits of integral types.
  2288  
  2289  // Minimum of signed integral types.
  2290  // Maximum of signed integral types.
  2291  
  2292  // Maximum of unsigned integral types.
  2293  
  2294  // Minimum of signed integral types having a minimum size.
  2295  // Maximum of signed integral types having a minimum size.
  2296  
  2297  // Maximum of unsigned integral types having a minimum size.
  2298  
  2299  // Minimum of fast signed integral types having a minimum size.
  2300  // Maximum of fast signed integral types having a minimum size.
  2301  
  2302  // Maximum of fast unsigned integral types having a minimum size.
  2303  
  2304  // Values to test for integral types holding `void *' pointer.
  2305  
  2306  // Minimum for largest signed integral type.
  2307  // Maximum for largest signed integral type.
  2308  
  2309  // Maximum for largest unsigned integral type.
  2310  
  2311  // Limits of other integer types.
  2312  
  2313  // Limits of `ptrdiff_t' type.
  2314  
  2315  // Limits of `sig_atomic_t'.
  2316  
  2317  // Limit of `size_t' type.
  2318  
  2319  // Limits of `wchar_t'.
  2320  // These constants might also be defined in <wchar.h>.
  2321  
  2322  // Limits of `wint_t'.
  2323  
  2324  // Signed.
  2325  
  2326  // Unsigned.
  2327  
  2328  // Maximal type.
  2329  
  2330  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2331  //    This file is part of the GNU C Library.
  2332  //
  2333  //    The GNU C Library is free software; you can redistribute it and/or
  2334  //    modify it under the terms of the GNU Lesser General Public
  2335  //    License as published by the Free Software Foundation; either
  2336  //    version 2.1 of the License, or (at your option) any later version.
  2337  //
  2338  //    The GNU C Library is distributed in the hope that it will be useful,
  2339  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2340  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2341  //    Lesser General Public License for more details.
  2342  //
  2343  //    You should have received a copy of the GNU Lesser General Public
  2344  //    License along with the GNU C Library; if not, see
  2345  //    <https://www.gnu.org/licenses/>.
  2346  
  2347  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2348  //    This file is part of the GNU C Library.
  2349  //
  2350  //    The GNU C Library is free software; you can redistribute it and/or
  2351  //    modify it under the terms of the GNU Lesser General Public
  2352  //    License as published by the Free Software Foundation; either
  2353  //    version 2.1 of the License, or (at your option) any later version.
  2354  //
  2355  //    The GNU C Library is distributed in the hope that it will be useful,
  2356  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2357  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2358  //    Lesser General Public License for more details.
  2359  //
  2360  //    You should have received a copy of the GNU Lesser General Public
  2361  //    License along with the GNU C Library; if not, see
  2362  //    <https://www.gnu.org/licenses/>.
  2363  
  2364  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2365  //    This file is part of the GNU C Library.
  2366  //
  2367  //    The GNU C Library is free software; you can redistribute it and/or
  2368  //    modify it under the terms of the GNU Lesser General Public
  2369  //    License as published by the Free Software Foundation; either
  2370  //    version 2.1 of the License, or (at your option) any later version.
  2371  //
  2372  //    The GNU C Library is distributed in the hope that it will be useful,
  2373  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2374  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2375  //    Lesser General Public License for more details.
  2376  //
  2377  //    You should have received a copy of the GNU Lesser General Public
  2378  //    License along with the GNU C Library; if not, see
  2379  //    <https://www.gnu.org/licenses/>.
  2380  
  2381  //	POSIX Standard: 2.6 Primitive System Data Types	<sys/types.h>
  2382  
  2383  // Define struct iovec.
  2384  //    Copyright (C) 1996-2020 Free Software Foundation, Inc.
  2385  //    This file is part of the GNU C Library.
  2386  //
  2387  //    The GNU C Library is free software; you can redistribute it and/or
  2388  //    modify it under the terms of the GNU Lesser General Public
  2389  //    License as published by the Free Software Foundation; either
  2390  //    version 2.1 of the License, or (at your option) any later version.
  2391  //
  2392  //    The GNU C Library is distributed in the hope that it will be useful,
  2393  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2394  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2395  //    Lesser General Public License for more details.
  2396  //
  2397  //    You should have received a copy of the GNU Lesser General Public
  2398  //    License along with the GNU C Library; if not, see
  2399  //    <https://www.gnu.org/licenses/>.
  2400  
  2401  // Copyright (C) 1989-2020 Free Software Foundation, Inc.
  2402  //
  2403  // This file is part of GCC.
  2404  //
  2405  // GCC is free software; you can redistribute it and/or modify
  2406  // it under the terms of the GNU General Public License as published by
  2407  // the Free Software Foundation; either version 3, or (at your option)
  2408  // any later version.
  2409  //
  2410  // GCC is distributed in the hope that it will be useful,
  2411  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  2412  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  2413  // GNU General Public License for more details.
  2414  //
  2415  // Under Section 7 of GPL version 3, you are granted additional
  2416  // permissions described in the GCC Runtime Library Exception, version
  2417  // 3.1, as published by the Free Software Foundation.
  2418  //
  2419  // You should have received a copy of the GNU General Public License and
  2420  // a copy of the GCC Runtime Library Exception along with this program;
  2421  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  2422  // <http://www.gnu.org/licenses/>.
  2423  
  2424  // ISO C Standard:  7.17  Common definitions  <stddef.h>
  2425  
  2426  // Any one of these symbols __need_* means that GNU libc
  2427  //    wants us just to define one data type.  So don't define
  2428  //    the symbols that indicate this file's entire job has been done.
  2429  
  2430  // This avoids lossage on SunOS but only if stdtypes.h comes first.
  2431  //    There's no way to win with the other order!  Sun lossage.
  2432  
  2433  // Sequent's header files use _PTRDIFF_T_ in some conflicting way.
  2434  //    Just ignore it.
  2435  
  2436  // On VxWorks, <type/vxTypesBase.h> may have defined macros like
  2437  //    _TYPE_size_t which will typedef size_t.  fixincludes patched the
  2438  //    vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is
  2439  //    not defined, and so that defining this macro defines _GCC_SIZE_T.
  2440  //    If we find that the macros are still defined at this point, we must
  2441  //    invoke them so that the type is defined as expected.
  2442  
  2443  // In case nobody has defined these types, but we aren't running under
  2444  //    GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and
  2445  //    __WCHAR_TYPE__ have reasonable values.  This can happen if the
  2446  //    parts of GCC is compiled by an older compiler, that actually
  2447  //    include gstddef.h, such as collect2.
  2448  
  2449  // Signed type of difference of two pointers.
  2450  
  2451  // Define this type if we are doing the whole job,
  2452  //    or if we want this type in particular.
  2453  
  2454  // Unsigned type of `sizeof' something.
  2455  
  2456  // Define this type if we are doing the whole job,
  2457  //    or if we want this type in particular.
  2458  
  2459  // Wide character type.
  2460  //    Locale-writers should change this as necessary to
  2461  //    be big enough to hold unique values not between 0 and 127,
  2462  //    and not (wchar_t) -1, for each defined multibyte character.
  2463  
  2464  // Define this type if we are doing the whole job,
  2465  //    or if we want this type in particular.
  2466  
  2467  // A null pointer constant.
  2468  
  2469  // Structure for scatter/gather I/O.
  2470  type iovec = struct {
  2471  	Fiov_base uintptr
  2472  	Fiov_len  size_t
  2473  } /* struct_iovec.h:26:1 */
  2474  
  2475  // Some operating systems provide system-specific extensions to this
  2476  //    header.
  2477  
  2478  // Copyright (C) 2002-2020 Free Software Foundation, Inc.
  2479  //    This file is part of the GNU C Library.
  2480  //
  2481  //    The GNU C Library is free software; you can redistribute it and/or
  2482  //    modify it under the terms of the GNU Lesser General Public
  2483  //    License as published by the Free Software Foundation; either
  2484  //    version 2.1 of the License, or (at your option) any later version.
  2485  //
  2486  //    The GNU C Library is distributed in the hope that it will be useful,
  2487  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2488  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2489  //    Lesser General Public License for more details.
  2490  //
  2491  //    You should have received a copy of the GNU Lesser General Public
  2492  //    License along with the GNU C Library; if not, see
  2493  //    <https://www.gnu.org/licenses/>.
  2494  
  2495  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2496  //    This file is part of the GNU C Library.
  2497  //
  2498  //    The GNU C Library is free software; you can redistribute it and/or
  2499  //    modify it under the terms of the GNU Lesser General Public
  2500  //    License as published by the Free Software Foundation; either
  2501  //    version 2.1 of the License, or (at your option) any later version.
  2502  //
  2503  //    The GNU C Library is distributed in the hope that it will be useful,
  2504  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2505  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2506  //    Lesser General Public License for more details.
  2507  //
  2508  //    You should have received a copy of the GNU Lesser General Public
  2509  //    License along with the GNU C Library; if not, see
  2510  //    <https://www.gnu.org/licenses/>.
  2511  
  2512  // Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface.
  2513  //    Copyright (C) 1996-2020 Free Software Foundation, Inc.
  2514  //    This file is part of the GNU C Library.
  2515  //
  2516  //    The GNU C Library is free software; you can redistribute it and/or
  2517  //    modify it under the terms of the GNU Lesser General Public
  2518  //    License as published by the Free Software Foundation; either
  2519  //    version 2.1 of the License, or (at your option) any later version.
  2520  //
  2521  //    The GNU C Library is distributed in the hope that it will be useful,
  2522  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2523  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2524  //    Lesser General Public License for more details.
  2525  //
  2526  //    You should have received a copy of the GNU Lesser General Public
  2527  //    License along with the GNU C Library; if not, see
  2528  //    <https://www.gnu.org/licenses/>.
  2529  
  2530  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2531  //    This file is part of the GNU C Library.
  2532  //
  2533  //    The GNU C Library is free software; you can redistribute it and/or
  2534  //    modify it under the terms of the GNU Lesser General Public
  2535  //    License as published by the Free Software Foundation; either
  2536  //    version 2.1 of the License, or (at your option) any later version.
  2537  //
  2538  //    The GNU C Library is distributed in the hope that it will be useful,
  2539  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2540  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2541  //    Lesser General Public License for more details.
  2542  //
  2543  //    You should have received a copy of the GNU Lesser General Public
  2544  //    License along with the GNU C Library; if not, see
  2545  //    <https://www.gnu.org/licenses/>.
  2546  
  2547  // Get type definitions.
  2548  // bits/types.h -- definitions of __*_t types underlying *_t types.
  2549  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  2550  //    This file is part of the GNU C Library.
  2551  //
  2552  //    The GNU C Library is free software; you can redistribute it and/or
  2553  //    modify it under the terms of the GNU Lesser General Public
  2554  //    License as published by the Free Software Foundation; either
  2555  //    version 2.1 of the License, or (at your option) any later version.
  2556  //
  2557  //    The GNU C Library is distributed in the hope that it will be useful,
  2558  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2559  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2560  //    Lesser General Public License for more details.
  2561  //
  2562  //    You should have received a copy of the GNU Lesser General Public
  2563  //    License along with the GNU C Library; if not, see
  2564  //    <https://www.gnu.org/licenses/>.
  2565  
  2566  // Never include this file directly; use <sys/types.h> instead.
  2567  
  2568  // Copyright (C) 1989-2020 Free Software Foundation, Inc.
  2569  //
  2570  // This file is part of GCC.
  2571  //
  2572  // GCC is free software; you can redistribute it and/or modify
  2573  // it under the terms of the GNU General Public License as published by
  2574  // the Free Software Foundation; either version 3, or (at your option)
  2575  // any later version.
  2576  //
  2577  // GCC is distributed in the hope that it will be useful,
  2578  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  2579  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  2580  // GNU General Public License for more details.
  2581  //
  2582  // Under Section 7 of GPL version 3, you are granted additional
  2583  // permissions described in the GCC Runtime Library Exception, version
  2584  // 3.1, as published by the Free Software Foundation.
  2585  //
  2586  // You should have received a copy of the GNU General Public License and
  2587  // a copy of the GCC Runtime Library Exception along with this program;
  2588  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  2589  // <http://www.gnu.org/licenses/>.
  2590  
  2591  // ISO C Standard:  7.17  Common definitions  <stddef.h>
  2592  
  2593  // Any one of these symbols __need_* means that GNU libc
  2594  //    wants us just to define one data type.  So don't define
  2595  //    the symbols that indicate this file's entire job has been done.
  2596  
  2597  // This avoids lossage on SunOS but only if stdtypes.h comes first.
  2598  //    There's no way to win with the other order!  Sun lossage.
  2599  
  2600  // Sequent's header files use _PTRDIFF_T_ in some conflicting way.
  2601  //    Just ignore it.
  2602  
  2603  // On VxWorks, <type/vxTypesBase.h> may have defined macros like
  2604  //    _TYPE_size_t which will typedef size_t.  fixincludes patched the
  2605  //    vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is
  2606  //    not defined, and so that defining this macro defines _GCC_SIZE_T.
  2607  //    If we find that the macros are still defined at this point, we must
  2608  //    invoke them so that the type is defined as expected.
  2609  
  2610  // In case nobody has defined these types, but we aren't running under
  2611  //    GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and
  2612  //    __WCHAR_TYPE__ have reasonable values.  This can happen if the
  2613  //    parts of GCC is compiled by an older compiler, that actually
  2614  //    include gstddef.h, such as collect2.
  2615  
  2616  // Signed type of difference of two pointers.
  2617  
  2618  // Define this type if we are doing the whole job,
  2619  //    or if we want this type in particular.
  2620  
  2621  // Unsigned type of `sizeof' something.
  2622  
  2623  // Define this type if we are doing the whole job,
  2624  //    or if we want this type in particular.
  2625  
  2626  // Wide character type.
  2627  //    Locale-writers should change this as necessary to
  2628  //    be big enough to hold unique values not between 0 and 127,
  2629  //    and not (wchar_t) -1, for each defined multibyte character.
  2630  
  2631  // Define this type if we are doing the whole job,
  2632  //    or if we want this type in particular.
  2633  
  2634  // A null pointer constant.
  2635  
  2636  // NB: Include guard matches what <linux/time.h> uses.
  2637  
  2638  // Get system specific constant and data structure definitions.
  2639  // Definitions of constants and data structure for POSIX 1003.1b-1993
  2640  //    scheduling interface.
  2641  //    Copyright (C) 1996-2020 Free Software Foundation, Inc.
  2642  //    This file is part of the GNU C Library.
  2643  //
  2644  //    The GNU C Library is free software; you can redistribute it and/or
  2645  //    modify it under the terms of the GNU Lesser General Public
  2646  //    License as published by the Free Software Foundation; either
  2647  //    version 2.1 of the License, or (at your option) any later version.
  2648  //
  2649  //    The GNU C Library is distributed in the hope that it will be useful,
  2650  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2651  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2652  //    Lesser General Public License for more details.
  2653  //
  2654  //    You should have received a copy of the GNU Lesser General Public
  2655  //    License along with the GNU C Library; if not, see
  2656  //    <https://www.gnu.org/licenses/>.
  2657  
  2658  // Scheduling algorithms.
  2659  
  2660  // Sched parameter structure.  Generic version.
  2661  //    Copyright (C) 1996-2020 Free Software Foundation, Inc.
  2662  //    This file is part of the GNU C Library.
  2663  //
  2664  //    The GNU C Library is free software; you can redistribute it and/or
  2665  //    modify it under the terms of the GNU Lesser General Public
  2666  //    License as published by the Free Software Foundation; either
  2667  //    version 2.1 of the License, or (at your option) any later version.
  2668  //
  2669  //    The GNU C Library is distributed in the hope that it will be useful,
  2670  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2671  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2672  //    Lesser General Public License for more details.
  2673  //
  2674  //    You should have received a copy of the GNU Lesser General Public
  2675  //    License along with the GNU C Library;  if not, see
  2676  //    <https://www.gnu.org/licenses/>.
  2677  
  2678  // Data structure to describe a process' schedulability.
  2679  type sched_param = struct{ Fsched_priority int32 } /* struct_sched_param.h:23:1 */
  2680  
  2681  // Basic access functions.
  2682  
  2683  // Data structure to describe CPU mask.
  2684  type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
  2685  
  2686  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2687  //    This file is part of the GNU C Library.
  2688  //
  2689  //    The GNU C Library is free software; you can redistribute it and/or
  2690  //    modify it under the terms of the GNU Lesser General Public
  2691  //    License as published by the Free Software Foundation; either
  2692  //    version 2.1 of the License, or (at your option) any later version.
  2693  //
  2694  //    The GNU C Library is distributed in the hope that it will be useful,
  2695  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2696  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2697  //    Lesser General Public License for more details.
  2698  //
  2699  //    You should have received a copy of the GNU Lesser General Public
  2700  //    License along with the GNU C Library; if not, see
  2701  //    <https://www.gnu.org/licenses/>.
  2702  
  2703  //	ISO C99 Standard: 7.23 Date and time	<time.h>
  2704  
  2705  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2706  //    This file is part of the GNU C Library.
  2707  //
  2708  //    The GNU C Library is free software; you can redistribute it and/or
  2709  //    modify it under the terms of the GNU Lesser General Public
  2710  //    License as published by the Free Software Foundation; either
  2711  //    version 2.1 of the License, or (at your option) any later version.
  2712  //
  2713  //    The GNU C Library is distributed in the hope that it will be useful,
  2714  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2715  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2716  //    Lesser General Public License for more details.
  2717  //
  2718  //    You should have received a copy of the GNU Lesser General Public
  2719  //    License along with the GNU C Library; if not, see
  2720  //    <https://www.gnu.org/licenses/>.
  2721  
  2722  // Copyright (C) 1989-2020 Free Software Foundation, Inc.
  2723  //
  2724  // This file is part of GCC.
  2725  //
  2726  // GCC is free software; you can redistribute it and/or modify
  2727  // it under the terms of the GNU General Public License as published by
  2728  // the Free Software Foundation; either version 3, or (at your option)
  2729  // any later version.
  2730  //
  2731  // GCC is distributed in the hope that it will be useful,
  2732  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  2733  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  2734  // GNU General Public License for more details.
  2735  //
  2736  // Under Section 7 of GPL version 3, you are granted additional
  2737  // permissions described in the GCC Runtime Library Exception, version
  2738  // 3.1, as published by the Free Software Foundation.
  2739  //
  2740  // You should have received a copy of the GNU General Public License and
  2741  // a copy of the GCC Runtime Library Exception along with this program;
  2742  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  2743  // <http://www.gnu.org/licenses/>.
  2744  
  2745  // ISO C Standard:  7.17  Common definitions  <stddef.h>
  2746  
  2747  // Any one of these symbols __need_* means that GNU libc
  2748  //    wants us just to define one data type.  So don't define
  2749  //    the symbols that indicate this file's entire job has been done.
  2750  
  2751  // This avoids lossage on SunOS but only if stdtypes.h comes first.
  2752  //    There's no way to win with the other order!  Sun lossage.
  2753  
  2754  // Sequent's header files use _PTRDIFF_T_ in some conflicting way.
  2755  //    Just ignore it.
  2756  
  2757  // On VxWorks, <type/vxTypesBase.h> may have defined macros like
  2758  //    _TYPE_size_t which will typedef size_t.  fixincludes patched the
  2759  //    vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is
  2760  //    not defined, and so that defining this macro defines _GCC_SIZE_T.
  2761  //    If we find that the macros are still defined at this point, we must
  2762  //    invoke them so that the type is defined as expected.
  2763  
  2764  // In case nobody has defined these types, but we aren't running under
  2765  //    GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and
  2766  //    __WCHAR_TYPE__ have reasonable values.  This can happen if the
  2767  //    parts of GCC is compiled by an older compiler, that actually
  2768  //    include gstddef.h, such as collect2.
  2769  
  2770  // Signed type of difference of two pointers.
  2771  
  2772  // Define this type if we are doing the whole job,
  2773  //    or if we want this type in particular.
  2774  
  2775  // Unsigned type of `sizeof' something.
  2776  
  2777  // Define this type if we are doing the whole job,
  2778  //    or if we want this type in particular.
  2779  
  2780  // Wide character type.
  2781  //    Locale-writers should change this as necessary to
  2782  //    be big enough to hold unique values not between 0 and 127,
  2783  //    and not (wchar_t) -1, for each defined multibyte character.
  2784  
  2785  // Define this type if we are doing the whole job,
  2786  //    or if we want this type in particular.
  2787  
  2788  // A null pointer constant.
  2789  
  2790  // This defines CLOCKS_PER_SEC, which is the number of processor clock
  2791  //    ticks per second, and possibly a number of other constants.
  2792  // System-dependent timing definitions.  Linux version.
  2793  //    Copyright (C) 1996-2020 Free Software Foundation, Inc.
  2794  //    This file is part of the GNU C Library.
  2795  //
  2796  //    The GNU C Library is free software; you can redistribute it and/or
  2797  //    modify it under the terms of the GNU Lesser General Public
  2798  //    License as published by the Free Software Foundation; either
  2799  //    version 2.1 of the License, or (at your option) any later version.
  2800  //
  2801  //    The GNU C Library is distributed in the hope that it will be useful,
  2802  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2803  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2804  //    Lesser General Public License for more details.
  2805  //
  2806  //    You should have received a copy of the GNU Lesser General Public
  2807  //    License along with the GNU C Library; if not, see
  2808  //    <https://www.gnu.org/licenses/>.
  2809  
  2810  // Never include this file directly; use <time.h> instead.
  2811  
  2812  // bits/types.h -- definitions of __*_t types underlying *_t types.
  2813  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  2814  //    This file is part of the GNU C Library.
  2815  //
  2816  //    The GNU C Library is free software; you can redistribute it and/or
  2817  //    modify it under the terms of the GNU Lesser General Public
  2818  //    License as published by the Free Software Foundation; either
  2819  //    version 2.1 of the License, or (at your option) any later version.
  2820  //
  2821  //    The GNU C Library is distributed in the hope that it will be useful,
  2822  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2823  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2824  //    Lesser General Public License for more details.
  2825  //
  2826  //    You should have received a copy of the GNU Lesser General Public
  2827  //    License along with the GNU C Library; if not, see
  2828  //    <https://www.gnu.org/licenses/>.
  2829  
  2830  // Never include this file directly; use <sys/types.h> instead.
  2831  
  2832  // ISO/IEC 9899:1999 7.23.1: Components of time
  2833  //    The macro `CLOCKS_PER_SEC' is an expression with type `clock_t' that is
  2834  //    the number per second of the value returned by the `clock' function.
  2835  // CAE XSH, Issue 4, Version 2: <time.h>
  2836  //    The value of CLOCKS_PER_SEC is required to be 1 million on all
  2837  //    XSI-conformant systems.
  2838  
  2839  // Identifier for system-wide realtime clock.
  2840  // Monotonic system-wide clock.
  2841  // High-resolution timer from the CPU.
  2842  // Thread-specific CPU-time clock.
  2843  // Monotonic system-wide clock, not adjusted for frequency scaling.
  2844  // Identifier for system-wide realtime clock, updated only on ticks.
  2845  // Monotonic system-wide clock, updated only on ticks.
  2846  // Monotonic system-wide clock that includes time spent in suspension.
  2847  // Like CLOCK_REALTIME but also wakes suspended system.
  2848  // Like CLOCK_BOOTTIME but also wakes suspended system.
  2849  // Like CLOCK_REALTIME but in International Atomic Time.
  2850  
  2851  // Flag to indicate time is absolute.
  2852  
  2853  // Many of the typedefs and structs whose official home is this header
  2854  //    may also need to be defined by other headers.
  2855  
  2856  // bits/types.h -- definitions of __*_t types underlying *_t types.
  2857  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  2858  //    This file is part of the GNU C Library.
  2859  //
  2860  //    The GNU C Library is free software; you can redistribute it and/or
  2861  //    modify it under the terms of the GNU Lesser General Public
  2862  //    License as published by the Free Software Foundation; either
  2863  //    version 2.1 of the License, or (at your option) any later version.
  2864  //
  2865  //    The GNU C Library is distributed in the hope that it will be useful,
  2866  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2867  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2868  //    Lesser General Public License for more details.
  2869  //
  2870  //    You should have received a copy of the GNU Lesser General Public
  2871  //    License along with the GNU C Library; if not, see
  2872  //    <https://www.gnu.org/licenses/>.
  2873  
  2874  // Never include this file directly; use <sys/types.h> instead.
  2875  
  2876  // ISO C `broken-down time' structure.
  2877  type tm = struct {
  2878  	Ftm_sec      int32
  2879  	Ftm_min      int32
  2880  	Ftm_hour     int32
  2881  	Ftm_mday     int32
  2882  	Ftm_mon      int32
  2883  	Ftm_year     int32
  2884  	Ftm_wday     int32
  2885  	Ftm_yday     int32
  2886  	Ftm_isdst    int32
  2887  	F__ccgo_pad1 [4]byte
  2888  	Ftm_gmtoff   int64
  2889  	Ftm_zone     uintptr
  2890  } /* struct_tm.h:7:1 */
  2891  
  2892  // NB: Include guard matches what <linux/time.h> uses.
  2893  
  2894  // bits/types.h -- definitions of __*_t types underlying *_t types.
  2895  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  2896  //    This file is part of the GNU C Library.
  2897  //
  2898  //    The GNU C Library is free software; you can redistribute it and/or
  2899  //    modify it under the terms of the GNU Lesser General Public
  2900  //    License as published by the Free Software Foundation; either
  2901  //    version 2.1 of the License, or (at your option) any later version.
  2902  //
  2903  //    The GNU C Library is distributed in the hope that it will be useful,
  2904  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2905  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2906  //    Lesser General Public License for more details.
  2907  //
  2908  //    You should have received a copy of the GNU Lesser General Public
  2909  //    License along with the GNU C Library; if not, see
  2910  //    <https://www.gnu.org/licenses/>.
  2911  
  2912  // Never include this file directly; use <sys/types.h> instead.
  2913  
  2914  // NB: Include guard matches what <linux/time.h> uses.
  2915  
  2916  // POSIX.1b structure for timer start values and intervals.
  2917  type itimerspec = struct {
  2918  	Fit_interval struct {
  2919  		Ftv_sec  int64
  2920  		Ftv_nsec int64
  2921  	}
  2922  	Fit_value struct {
  2923  		Ftv_sec  int64
  2924  		Ftv_nsec int64
  2925  	}
  2926  } /* struct_itimerspec.h:8:1 */
  2927  
  2928  // Definition of locale_t.
  2929  //    Copyright (C) 2017-2020 Free Software Foundation, Inc.
  2930  //    This file is part of the GNU C Library.
  2931  //
  2932  //    The GNU C Library is free software; you can redistribute it and/or
  2933  //    modify it under the terms of the GNU Lesser General Public
  2934  //    License as published by the Free Software Foundation; either
  2935  //    version 2.1 of the License, or (at your option) any later version.
  2936  //
  2937  //    The GNU C Library is distributed in the hope that it will be useful,
  2938  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2939  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2940  //    Lesser General Public License for more details.
  2941  //
  2942  //    You should have received a copy of the GNU Lesser General Public
  2943  //    License along with the GNU C Library; if not, see
  2944  //    <https://www.gnu.org/licenses/>.
  2945  
  2946  // Definition of struct __locale_struct and __locale_t.
  2947  //    Copyright (C) 1997-2020 Free Software Foundation, Inc.
  2948  //    This file is part of the GNU C Library.
  2949  //    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
  2950  //
  2951  //    The GNU C Library is free software; you can redistribute it and/or
  2952  //    modify it under the terms of the GNU Lesser General Public
  2953  //    License as published by the Free Software Foundation; either
  2954  //    version 2.1 of the License, or (at your option) any later version.
  2955  //
  2956  //    The GNU C Library is distributed in the hope that it will be useful,
  2957  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  2958  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2959  //    Lesser General Public License for more details.
  2960  //
  2961  //    You should have received a copy of the GNU Lesser General Public
  2962  //    License along with the GNU C Library; if not, see
  2963  //    <https://www.gnu.org/licenses/>.
  2964  
  2965  // POSIX.1-2008: the locale_t type, representing a locale context
  2966  //    (implementation-namespace version).  This type should be treated
  2967  //    as opaque by applications; some details are exposed for the sake of
  2968  //    efficiency in e.g. ctype functions.
  2969  
  2970  type __locale_struct = struct {
  2971  	F__locales       [13]uintptr
  2972  	F__ctype_b       uintptr
  2973  	F__ctype_tolower uintptr
  2974  	F__ctype_toupper uintptr
  2975  	F__names         [13]uintptr
  2976  } /* __locale_t.h:28:1 */
  2977  
  2978  type locale_t = uintptr /* locale_t.h:24:20 */
  2979  
  2980  // Conditional variable handling.
  2981  
  2982  // Cleanup buffers
  2983  type _pthread_cleanup_buffer = struct {
  2984  	F__routine    uintptr
  2985  	F__arg        uintptr
  2986  	F__canceltype int32
  2987  	F__ccgo_pad1  [4]byte
  2988  	F__prev       uintptr
  2989  } /* pthread.h:155:1 */
  2990  
  2991  // No special attributes by default.
  2992  
  2993  // Structure to hold the cleanup handler information.
  2994  type __pthread_cleanup_frame = struct {
  2995  	F__cancel_routine uintptr
  2996  	F__cancel_arg     uintptr
  2997  	F__do_it          int32
  2998  	F__cancel_type    int32
  2999  } /* pthread.h:516:1 */
  3000  
  3001  //*< Opaque structure containing all data that  XCB needs to communicate with an X server.
  3002  
  3003  // Other types
  3004  
  3005  // *
  3006  // @brief Generic iterator.
  3007  //
  3008  // A generic iterator structure.
  3009  type xcb_generic_iterator_t = struct {
  3010  	Fdata  uintptr
  3011  	Frem   int32
  3012  	Findex int32
  3013  } /* xcb.h:118:3 */
  3014  
  3015  // *
  3016  // @brief Generic reply.
  3017  //
  3018  // A generic reply structure.
  3019  type xcb_generic_reply_t = struct {
  3020  	Fresponse_type uint8_t
  3021  	Fpad0          uint8_t
  3022  	Fsequence      uint16_t
  3023  	Flength        uint32_t
  3024  } /* xcb.h:130:3 */
  3025  
  3026  // *
  3027  // @brief Generic event.
  3028  //
  3029  // A generic event structure.
  3030  type xcb_generic_event_t = struct {
  3031  	Fresponse_type uint8_t
  3032  	Fpad0          uint8_t
  3033  	Fsequence      uint16_t
  3034  	Fpad           [7]uint32_t
  3035  	Ffull_sequence uint32_t
  3036  } /* xcb.h:143:3 */
  3037  
  3038  // *
  3039  // @brief Raw Generic event.
  3040  //
  3041  // A generic event structure as used on the wire, i.e., without the full_sequence field
  3042  type xcb_raw_generic_event_t = struct {
  3043  	Fresponse_type uint8_t
  3044  	Fpad0          uint8_t
  3045  	Fsequence      uint16_t
  3046  	Fpad           [7]uint32_t
  3047  } /* xcb.h:155:3 */
  3048  
  3049  // *
  3050  // @brief GE event
  3051  //
  3052  // An event as sent by the XGE extension. The length field specifies the
  3053  // number of 4-byte blocks trailing the struct.
  3054  //
  3055  // @deprecated Since some fields in this struct have unfortunate names, it is
  3056  // recommended to use xcb_ge_generic_event_t instead.
  3057  type xcb_ge_event_t = struct {
  3058  	Fresponse_type uint8_t
  3059  	Fpad0          uint8_t
  3060  	Fsequence      uint16_t
  3061  	Flength        uint32_t
  3062  	Fevent_type    uint16_t
  3063  	Fpad1          uint16_t
  3064  	Fpad           [5]uint32_t
  3065  	Ffull_sequence uint32_t
  3066  } /* xcb.h:175:3 */
  3067  
  3068  // *
  3069  // @brief Generic error.
  3070  //
  3071  // A generic error structure.
  3072  type xcb_generic_error_t = struct {
  3073  	Fresponse_type uint8_t
  3074  	Ferror_code    uint8_t
  3075  	Fsequence      uint16_t
  3076  	Fresource_id   uint32_t
  3077  	Fminor_code    uint16_t
  3078  	Fmajor_code    uint8_t
  3079  	Fpad0          uint8_t
  3080  	Fpad           [5]uint32_t
  3081  	Ffull_sequence uint32_t
  3082  } /* xcb.h:192:3 */
  3083  
  3084  // *
  3085  // @brief Generic cookie.
  3086  //
  3087  // A generic cookie structure.
  3088  type xcb_void_cookie_t = struct{ Fsequence uint32 } /* xcb.h:201:3 */
  3089  
  3090  // Include the generated xproto header.
  3091  // This file generated automatically from xproto.xml by c_client.py.
  3092  // Edit at your peril.
  3093  
  3094  // *
  3095  // @defgroup XCB__API XCB  API
  3096  // @brief  XCB Protocol Implementation.
  3097  // @{
  3098  //
  3099  
  3100  // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
  3101  // All Rights Reserved.
  3102  //
  3103  // Permission is hereby granted, free of charge, to any person obtaining a
  3104  // copy of this software and associated documentation files (the "Software"),
  3105  // to deal in the Software without restriction, including without limitation
  3106  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
  3107  // and/or sell copies of the Software, and to permit persons to whom the
  3108  // Software is furnished to do so, subject to the following conditions:
  3109  //
  3110  // The above copyright notice and this permission notice shall be included in
  3111  // all copies or substantial portions of the Software.
  3112  //
  3113  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  3114  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  3115  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  3116  // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  3117  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  3118  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  3119  //
  3120  // Except as contained in this notice, the names of the authors or their
  3121  // institutions shall not be used in advertising or otherwise to promote the
  3122  // sale, use or other dealings in this Software without prior written
  3123  // authorization from the authors.
  3124  
  3125  // *
  3126  // @brief xcb_char2b_t
  3127  //
  3128  type xcb_char2b_t1 = struct {
  3129  	Fbyte1 uint8_t
  3130  	Fbyte2 uint8_t
  3131  } /* xproto.h:24:9 */
  3132  
  3133  // Include the generated xproto header.
  3134  // This file generated automatically from xproto.xml by c_client.py.
  3135  // Edit at your peril.
  3136  
  3137  // *
  3138  // @defgroup XCB__API XCB  API
  3139  // @brief  XCB Protocol Implementation.
  3140  // @{
  3141  //
  3142  
  3143  // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
  3144  // All Rights Reserved.
  3145  //
  3146  // Permission is hereby granted, free of charge, to any person obtaining a
  3147  // copy of this software and associated documentation files (the "Software"),
  3148  // to deal in the Software without restriction, including without limitation
  3149  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
  3150  // and/or sell copies of the Software, and to permit persons to whom the
  3151  // Software is furnished to do so, subject to the following conditions:
  3152  //
  3153  // The above copyright notice and this permission notice shall be included in
  3154  // all copies or substantial portions of the Software.
  3155  //
  3156  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  3157  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  3158  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  3159  // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  3160  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  3161  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  3162  //
  3163  // Except as contained in this notice, the names of the authors or their
  3164  // institutions shall not be used in advertising or otherwise to promote the
  3165  // sale, use or other dealings in this Software without prior written
  3166  // authorization from the authors.
  3167  
  3168  // *
  3169  // @brief xcb_char2b_t
  3170  //
  3171  type xcb_char2b_t = xcb_char2b_t1 /* xproto.h:27:3 */
  3172  
  3173  // *
  3174  // @brief xcb_char2b_iterator_t
  3175  //
  3176  type xcb_char2b_iterator_t1 = struct {
  3177  	Fdata  uintptr
  3178  	Frem   int32
  3179  	Findex int32
  3180  } /* xproto.h:32:9 */
  3181  
  3182  // *
  3183  // @brief xcb_char2b_iterator_t
  3184  //
  3185  type xcb_char2b_iterator_t = xcb_char2b_iterator_t1 /* xproto.h:36:3 */
  3186  
  3187  type xcb_window_t = uint32_t /* xproto.h:38:18 */
  3188  
  3189  // *
  3190  // @brief xcb_window_iterator_t
  3191  //
  3192  type xcb_window_iterator_t1 = struct {
  3193  	Fdata  uintptr
  3194  	Frem   int32
  3195  	Findex int32
  3196  } /* xproto.h:43:9 */
  3197  
  3198  // *
  3199  // @brief xcb_window_iterator_t
  3200  //
  3201  type xcb_window_iterator_t = xcb_window_iterator_t1 /* xproto.h:47:3 */
  3202  
  3203  type xcb_pixmap_t = uint32_t /* xproto.h:49:18 */
  3204  
  3205  // *
  3206  // @brief xcb_pixmap_iterator_t
  3207  //
  3208  type xcb_pixmap_iterator_t1 = struct {
  3209  	Fdata  uintptr
  3210  	Frem   int32
  3211  	Findex int32
  3212  } /* xproto.h:54:9 */
  3213  
  3214  // *
  3215  // @brief xcb_pixmap_iterator_t
  3216  //
  3217  type xcb_pixmap_iterator_t = xcb_pixmap_iterator_t1 /* xproto.h:58:3 */
  3218  
  3219  type xcb_cursor_t = uint32_t /* xproto.h:60:18 */
  3220  
  3221  // *
  3222  // @brief xcb_cursor_iterator_t
  3223  //
  3224  type xcb_cursor_iterator_t1 = struct {
  3225  	Fdata  uintptr
  3226  	Frem   int32
  3227  	Findex int32
  3228  } /* xproto.h:65:9 */
  3229  
  3230  // *
  3231  // @brief xcb_cursor_iterator_t
  3232  //
  3233  type xcb_cursor_iterator_t = xcb_cursor_iterator_t1 /* xproto.h:69:3 */
  3234  
  3235  type xcb_font_t = uint32_t /* xproto.h:71:18 */
  3236  
  3237  // *
  3238  // @brief xcb_font_iterator_t
  3239  //
  3240  type xcb_font_iterator_t1 = struct {
  3241  	Fdata  uintptr
  3242  	Frem   int32
  3243  	Findex int32
  3244  } /* xproto.h:76:9 */
  3245  
  3246  // *
  3247  // @brief xcb_font_iterator_t
  3248  //
  3249  type xcb_font_iterator_t = xcb_font_iterator_t1 /* xproto.h:80:3 */
  3250  
  3251  type xcb_gcontext_t = uint32_t /* xproto.h:82:18 */
  3252  
  3253  // *
  3254  // @brief xcb_gcontext_iterator_t
  3255  //
  3256  type xcb_gcontext_iterator_t1 = struct {
  3257  	Fdata  uintptr
  3258  	Frem   int32
  3259  	Findex int32
  3260  } /* xproto.h:87:9 */
  3261  
  3262  // *
  3263  // @brief xcb_gcontext_iterator_t
  3264  //
  3265  type xcb_gcontext_iterator_t = xcb_gcontext_iterator_t1 /* xproto.h:91:3 */
  3266  
  3267  type xcb_colormap_t = uint32_t /* xproto.h:93:18 */
  3268  
  3269  // *
  3270  // @brief xcb_colormap_iterator_t
  3271  //
  3272  type xcb_colormap_iterator_t1 = struct {
  3273  	Fdata  uintptr
  3274  	Frem   int32
  3275  	Findex int32
  3276  } /* xproto.h:98:9 */
  3277  
  3278  // *
  3279  // @brief xcb_colormap_iterator_t
  3280  //
  3281  type xcb_colormap_iterator_t = xcb_colormap_iterator_t1 /* xproto.h:102:3 */
  3282  
  3283  type xcb_atom_t = uint32_t /* xproto.h:104:18 */
  3284  
  3285  // *
  3286  // @brief xcb_atom_iterator_t
  3287  //
  3288  type xcb_atom_iterator_t1 = struct {
  3289  	Fdata  uintptr
  3290  	Frem   int32
  3291  	Findex int32
  3292  } /* xproto.h:109:9 */
  3293  
  3294  // *
  3295  // @brief xcb_atom_iterator_t
  3296  //
  3297  type xcb_atom_iterator_t = xcb_atom_iterator_t1 /* xproto.h:113:3 */
  3298  
  3299  type xcb_drawable_t = uint32_t /* xproto.h:115:18 */
  3300  
  3301  // *
  3302  // @brief xcb_drawable_iterator_t
  3303  //
  3304  type xcb_drawable_iterator_t1 = struct {
  3305  	Fdata  uintptr
  3306  	Frem   int32
  3307  	Findex int32
  3308  } /* xproto.h:120:9 */
  3309  
  3310  // *
  3311  // @brief xcb_drawable_iterator_t
  3312  //
  3313  type xcb_drawable_iterator_t = xcb_drawable_iterator_t1 /* xproto.h:124:3 */
  3314  
  3315  type xcb_fontable_t = uint32_t /* xproto.h:126:18 */
  3316  
  3317  // *
  3318  // @brief xcb_fontable_iterator_t
  3319  //
  3320  type xcb_fontable_iterator_t1 = struct {
  3321  	Fdata  uintptr
  3322  	Frem   int32
  3323  	Findex int32
  3324  } /* xproto.h:131:9 */
  3325  
  3326  // *
  3327  // @brief xcb_fontable_iterator_t
  3328  //
  3329  type xcb_fontable_iterator_t = xcb_fontable_iterator_t1 /* xproto.h:135:3 */
  3330  
  3331  type xcb_bool32_t = uint32_t /* xproto.h:137:18 */
  3332  
  3333  // *
  3334  // @brief xcb_bool32_iterator_t
  3335  //
  3336  type xcb_bool32_iterator_t1 = struct {
  3337  	Fdata  uintptr
  3338  	Frem   int32
  3339  	Findex int32
  3340  } /* xproto.h:142:9 */
  3341  
  3342  // *
  3343  // @brief xcb_bool32_iterator_t
  3344  //
  3345  type xcb_bool32_iterator_t = xcb_bool32_iterator_t1 /* xproto.h:146:3 */
  3346  
  3347  type xcb_visualid_t = uint32_t /* xproto.h:148:18 */
  3348  
  3349  // *
  3350  // @brief xcb_visualid_iterator_t
  3351  //
  3352  type xcb_visualid_iterator_t1 = struct {
  3353  	Fdata  uintptr
  3354  	Frem   int32
  3355  	Findex int32
  3356  } /* xproto.h:153:9 */
  3357  
  3358  // *
  3359  // @brief xcb_visualid_iterator_t
  3360  //
  3361  type xcb_visualid_iterator_t = xcb_visualid_iterator_t1 /* xproto.h:157:3 */
  3362  
  3363  type xcb_timestamp_t = uint32_t /* xproto.h:159:18 */
  3364  
  3365  // *
  3366  // @brief xcb_timestamp_iterator_t
  3367  //
  3368  type xcb_timestamp_iterator_t1 = struct {
  3369  	Fdata  uintptr
  3370  	Frem   int32
  3371  	Findex int32
  3372  } /* xproto.h:164:9 */
  3373  
  3374  // *
  3375  // @brief xcb_timestamp_iterator_t
  3376  //
  3377  type xcb_timestamp_iterator_t = xcb_timestamp_iterator_t1 /* xproto.h:168:3 */
  3378  
  3379  type xcb_keysym_t = uint32_t /* xproto.h:170:18 */
  3380  
  3381  // *
  3382  // @brief xcb_keysym_iterator_t
  3383  //
  3384  type xcb_keysym_iterator_t1 = struct {
  3385  	Fdata  uintptr
  3386  	Frem   int32
  3387  	Findex int32
  3388  } /* xproto.h:175:9 */
  3389  
  3390  // *
  3391  // @brief xcb_keysym_iterator_t
  3392  //
  3393  type xcb_keysym_iterator_t = xcb_keysym_iterator_t1 /* xproto.h:179:3 */
  3394  
  3395  type xcb_keycode_t = uint8_t /* xproto.h:181:17 */
  3396  
  3397  // *
  3398  // @brief xcb_keycode_iterator_t
  3399  //
  3400  type xcb_keycode_iterator_t1 = struct {
  3401  	Fdata  uintptr
  3402  	Frem   int32
  3403  	Findex int32
  3404  } /* xproto.h:186:9 */
  3405  
  3406  // *
  3407  // @brief xcb_keycode_iterator_t
  3408  //
  3409  type xcb_keycode_iterator_t = xcb_keycode_iterator_t1 /* xproto.h:190:3 */
  3410  
  3411  type xcb_keycode32_t = uint32_t /* xproto.h:192:18 */
  3412  
  3413  // *
  3414  // @brief xcb_keycode32_iterator_t
  3415  //
  3416  type xcb_keycode32_iterator_t1 = struct {
  3417  	Fdata  uintptr
  3418  	Frem   int32
  3419  	Findex int32
  3420  } /* xproto.h:197:9 */
  3421  
  3422  // *
  3423  // @brief xcb_keycode32_iterator_t
  3424  //
  3425  type xcb_keycode32_iterator_t = xcb_keycode32_iterator_t1 /* xproto.h:201:3 */
  3426  
  3427  type xcb_button_t = uint8_t /* xproto.h:203:17 */
  3428  
  3429  // *
  3430  // @brief xcb_button_iterator_t
  3431  //
  3432  type xcb_button_iterator_t1 = struct {
  3433  	Fdata  uintptr
  3434  	Frem   int32
  3435  	Findex int32
  3436  } /* xproto.h:208:9 */
  3437  
  3438  // *
  3439  // @brief xcb_button_iterator_t
  3440  //
  3441  type xcb_button_iterator_t = xcb_button_iterator_t1 /* xproto.h:212:3 */
  3442  
  3443  // *
  3444  // @brief xcb_point_t
  3445  //
  3446  type xcb_point_t1 = struct {
  3447  	Fx int16_t
  3448  	Fy int16_t
  3449  } /* xproto.h:217:9 */
  3450  
  3451  // *
  3452  // @brief xcb_point_t
  3453  //
  3454  type xcb_point_t = xcb_point_t1 /* xproto.h:220:3 */
  3455  
  3456  // *
  3457  // @brief xcb_point_iterator_t
  3458  //
  3459  type xcb_point_iterator_t1 = struct {
  3460  	Fdata  uintptr
  3461  	Frem   int32
  3462  	Findex int32
  3463  } /* xproto.h:225:9 */
  3464  
  3465  // *
  3466  // @brief xcb_point_iterator_t
  3467  //
  3468  type xcb_point_iterator_t = xcb_point_iterator_t1 /* xproto.h:229:3 */
  3469  
  3470  // *
  3471  // @brief xcb_rectangle_t
  3472  //
  3473  type xcb_rectangle_t1 = struct {
  3474  	Fx      int16_t
  3475  	Fy      int16_t
  3476  	Fwidth  uint16_t
  3477  	Fheight uint16_t
  3478  } /* xproto.h:234:9 */
  3479  
  3480  // *
  3481  // @brief xcb_rectangle_t
  3482  //
  3483  type xcb_rectangle_t = xcb_rectangle_t1 /* xproto.h:239:3 */
  3484  
  3485  // *
  3486  // @brief xcb_rectangle_iterator_t
  3487  //
  3488  type xcb_rectangle_iterator_t1 = struct {
  3489  	Fdata  uintptr
  3490  	Frem   int32
  3491  	Findex int32
  3492  } /* xproto.h:244:9 */
  3493  
  3494  // *
  3495  // @brief xcb_rectangle_iterator_t
  3496  //
  3497  type xcb_rectangle_iterator_t = xcb_rectangle_iterator_t1 /* xproto.h:248:3 */
  3498  
  3499  // *
  3500  // @brief xcb_arc_t
  3501  //
  3502  type xcb_arc_t1 = struct {
  3503  	Fx      int16_t
  3504  	Fy      int16_t
  3505  	Fwidth  uint16_t
  3506  	Fheight uint16_t
  3507  	Fangle1 int16_t
  3508  	Fangle2 int16_t
  3509  } /* xproto.h:253:9 */
  3510  
  3511  // *
  3512  // @brief xcb_arc_t
  3513  //
  3514  type xcb_arc_t = xcb_arc_t1 /* xproto.h:260:3 */
  3515  
  3516  // *
  3517  // @brief xcb_arc_iterator_t
  3518  //
  3519  type xcb_arc_iterator_t1 = struct {
  3520  	Fdata  uintptr
  3521  	Frem   int32
  3522  	Findex int32
  3523  } /* xproto.h:265:9 */
  3524  
  3525  // *
  3526  // @brief xcb_arc_iterator_t
  3527  //
  3528  type xcb_arc_iterator_t = xcb_arc_iterator_t1 /* xproto.h:269:3 */
  3529  
  3530  // *
  3531  // @brief xcb_format_t
  3532  //
  3533  type xcb_format_t1 = struct {
  3534  	Fdepth          uint8_t
  3535  	Fbits_per_pixel uint8_t
  3536  	Fscanline_pad   uint8_t
  3537  	Fpad0           [5]uint8_t
  3538  } /* xproto.h:274:9 */
  3539  
  3540  // *
  3541  // @brief xcb_format_t
  3542  //
  3543  type xcb_format_t = xcb_format_t1 /* xproto.h:279:3 */
  3544  
  3545  // *
  3546  // @brief xcb_format_iterator_t
  3547  //
  3548  type xcb_format_iterator_t1 = struct {
  3549  	Fdata  uintptr
  3550  	Frem   int32
  3551  	Findex int32
  3552  } /* xproto.h:284:9 */
  3553  
  3554  // *
  3555  // @brief xcb_format_iterator_t
  3556  //
  3557  type xcb_format_iterator_t = xcb_format_iterator_t1 /* xproto.h:288:3 */
  3558  
  3559  type xcb_visual_class_t = uint32 /* xproto.h:297:3 */
  3560  
  3561  // *
  3562  // @brief xcb_visualtype_t
  3563  //
  3564  type xcb_visualtype_t1 = struct {
  3565  	Fvisual_id          xcb_visualid_t
  3566  	F_class             uint8_t
  3567  	Fbits_per_rgb_value uint8_t
  3568  	Fcolormap_entries   uint16_t
  3569  	Fred_mask           uint32_t
  3570  	Fgreen_mask         uint32_t
  3571  	Fblue_mask          uint32_t
  3572  	Fpad0               [4]uint8_t
  3573  } /* xproto.h:302:9 */
  3574  
  3575  // *
  3576  // @brief xcb_visualtype_t
  3577  //
  3578  type xcb_visualtype_t = xcb_visualtype_t1 /* xproto.h:311:3 */
  3579  
  3580  // *
  3581  // @brief xcb_visualtype_iterator_t
  3582  //
  3583  type xcb_visualtype_iterator_t1 = struct {
  3584  	Fdata  uintptr
  3585  	Frem   int32
  3586  	Findex int32
  3587  } /* xproto.h:316:9 */
  3588  
  3589  // *
  3590  // @brief xcb_visualtype_iterator_t
  3591  //
  3592  type xcb_visualtype_iterator_t = xcb_visualtype_iterator_t1 /* xproto.h:320:3 */
  3593  
  3594  // *
  3595  // @brief xcb_depth_t
  3596  //
  3597  type xcb_depth_t1 = struct {
  3598  	Fdepth       uint8_t
  3599  	Fpad0        uint8_t
  3600  	Fvisuals_len uint16_t
  3601  	Fpad1        [4]uint8_t
  3602  } /* xproto.h:325:9 */
  3603  
  3604  // *
  3605  // @brief xcb_depth_t
  3606  //
  3607  type xcb_depth_t = xcb_depth_t1 /* xproto.h:330:3 */
  3608  
  3609  // *
  3610  // @brief xcb_depth_iterator_t
  3611  //
  3612  type xcb_depth_iterator_t1 = struct {
  3613  	Fdata  uintptr
  3614  	Frem   int32
  3615  	Findex int32
  3616  } /* xproto.h:335:9 */
  3617  
  3618  // *
  3619  // @brief xcb_depth_iterator_t
  3620  //
  3621  type xcb_depth_iterator_t = xcb_depth_iterator_t1 /* xproto.h:339:3 */
  3622  
  3623  type xcb_event_mask_t = uint32 /* xproto.h:368:3 */
  3624  
  3625  type xcb_backing_store_t = uint32 /* xproto.h:374:3 */
  3626  
  3627  // *
  3628  // @brief xcb_screen_t
  3629  //
  3630  type xcb_screen_t1 = struct {
  3631  	Froot                  xcb_window_t
  3632  	Fdefault_colormap      xcb_colormap_t
  3633  	Fwhite_pixel           uint32_t
  3634  	Fblack_pixel           uint32_t
  3635  	Fcurrent_input_masks   uint32_t
  3636  	Fwidth_in_pixels       uint16_t
  3637  	Fheight_in_pixels      uint16_t
  3638  	Fwidth_in_millimeters  uint16_t
  3639  	Fheight_in_millimeters uint16_t
  3640  	Fmin_installed_maps    uint16_t
  3641  	Fmax_installed_maps    uint16_t
  3642  	Froot_visual           xcb_visualid_t
  3643  	Fbacking_stores        uint8_t
  3644  	Fsave_unders           uint8_t
  3645  	Froot_depth            uint8_t
  3646  	Fallowed_depths_len    uint8_t
  3647  } /* xproto.h:379:9 */
  3648  
  3649  // *
  3650  // @brief xcb_screen_t
  3651  //
  3652  type xcb_screen_t = xcb_screen_t1 /* xproto.h:396:3 */
  3653  
  3654  // *
  3655  // @brief xcb_screen_iterator_t
  3656  //
  3657  type xcb_screen_iterator_t1 = struct {
  3658  	Fdata  uintptr
  3659  	Frem   int32
  3660  	Findex int32
  3661  } /* xproto.h:401:9 */
  3662  
  3663  // *
  3664  // @brief xcb_screen_iterator_t
  3665  //
  3666  type xcb_screen_iterator_t = xcb_screen_iterator_t1 /* xproto.h:405:3 */
  3667  
  3668  // *
  3669  // @brief xcb_setup_request_t
  3670  //
  3671  type xcb_setup_request_t1 = struct {
  3672  	Fbyte_order                      uint8_t
  3673  	Fpad0                            uint8_t
  3674  	Fprotocol_major_version          uint16_t
  3675  	Fprotocol_minor_version          uint16_t
  3676  	Fauthorization_protocol_name_len uint16_t
  3677  	Fauthorization_protocol_data_len uint16_t
  3678  	Fpad1                            [2]uint8_t
  3679  } /* xproto.h:410:9 */
  3680  
  3681  // *
  3682  // @brief xcb_setup_request_t
  3683  //
  3684  type xcb_setup_request_t = xcb_setup_request_t1 /* xproto.h:418:3 */
  3685  
  3686  // *
  3687  // @brief xcb_setup_request_iterator_t
  3688  //
  3689  type xcb_setup_request_iterator_t1 = struct {
  3690  	Fdata  uintptr
  3691  	Frem   int32
  3692  	Findex int32
  3693  } /* xproto.h:423:9 */
  3694  
  3695  // *
  3696  // @brief xcb_setup_request_iterator_t
  3697  //
  3698  type xcb_setup_request_iterator_t = xcb_setup_request_iterator_t1 /* xproto.h:427:3 */
  3699  
  3700  // *
  3701  // @brief xcb_setup_failed_t
  3702  //
  3703  type xcb_setup_failed_t1 = struct {
  3704  	Fstatus                 uint8_t
  3705  	Freason_len             uint8_t
  3706  	Fprotocol_major_version uint16_t
  3707  	Fprotocol_minor_version uint16_t
  3708  	Flength                 uint16_t
  3709  } /* xproto.h:432:9 */
  3710  
  3711  // *
  3712  // @brief xcb_setup_failed_t
  3713  //
  3714  type xcb_setup_failed_t = xcb_setup_failed_t1 /* xproto.h:438:3 */
  3715  
  3716  // *
  3717  // @brief xcb_setup_failed_iterator_t
  3718  //
  3719  type xcb_setup_failed_iterator_t1 = struct {
  3720  	Fdata  uintptr
  3721  	Frem   int32
  3722  	Findex int32
  3723  } /* xproto.h:443:9 */
  3724  
  3725  // *
  3726  // @brief xcb_setup_failed_iterator_t
  3727  //
  3728  type xcb_setup_failed_iterator_t = xcb_setup_failed_iterator_t1 /* xproto.h:447:3 */
  3729  
  3730  // *
  3731  // @brief xcb_setup_authenticate_t
  3732  //
  3733  type xcb_setup_authenticate_t1 = struct {
  3734  	Fstatus uint8_t
  3735  	Fpad0   [5]uint8_t
  3736  	Flength uint16_t
  3737  } /* xproto.h:452:9 */
  3738  
  3739  // *
  3740  // @brief xcb_setup_authenticate_t
  3741  //
  3742  type xcb_setup_authenticate_t = xcb_setup_authenticate_t1 /* xproto.h:456:3 */
  3743  
  3744  // *
  3745  // @brief xcb_setup_authenticate_iterator_t
  3746  //
  3747  type xcb_setup_authenticate_iterator_t1 = struct {
  3748  	Fdata  uintptr
  3749  	Frem   int32
  3750  	Findex int32
  3751  } /* xproto.h:461:9 */
  3752  
  3753  // *
  3754  // @brief xcb_setup_authenticate_iterator_t
  3755  //
  3756  type xcb_setup_authenticate_iterator_t = xcb_setup_authenticate_iterator_t1 /* xproto.h:465:3 */
  3757  
  3758  type xcb_image_order_t = uint32 /* xproto.h:470:3 */
  3759  
  3760  // *
  3761  // @brief xcb_setup_t
  3762  //
  3763  type xcb_setup_t1 = struct {
  3764  	Fstatus                      uint8_t
  3765  	Fpad0                        uint8_t
  3766  	Fprotocol_major_version      uint16_t
  3767  	Fprotocol_minor_version      uint16_t
  3768  	Flength                      uint16_t
  3769  	Frelease_number              uint32_t
  3770  	Fresource_id_base            uint32_t
  3771  	Fresource_id_mask            uint32_t
  3772  	Fmotion_buffer_size          uint32_t
  3773  	Fvendor_len                  uint16_t
  3774  	Fmaximum_request_length      uint16_t
  3775  	Froots_len                   uint8_t
  3776  	Fpixmap_formats_len          uint8_t
  3777  	Fimage_byte_order            uint8_t
  3778  	Fbitmap_format_bit_order     uint8_t
  3779  	Fbitmap_format_scanline_unit uint8_t
  3780  	Fbitmap_format_scanline_pad  uint8_t
  3781  	Fmin_keycode                 xcb_keycode_t
  3782  	Fmax_keycode                 xcb_keycode_t
  3783  	Fpad1                        [4]uint8_t
  3784  } /* xproto.h:475:9 */
  3785  
  3786  // *
  3787  // @brief xcb_setup_t
  3788  //
  3789  type xcb_setup_t = xcb_setup_t1 /* xproto.h:496:3 */
  3790  
  3791  // *
  3792  // @brief xcb_setup_iterator_t
  3793  //
  3794  type xcb_setup_iterator_t1 = struct {
  3795  	Fdata  uintptr
  3796  	Frem   int32
  3797  	Findex int32
  3798  } /* xproto.h:501:9 */
  3799  
  3800  // *
  3801  // @brief xcb_setup_iterator_t
  3802  //
  3803  type xcb_setup_iterator_t = xcb_setup_iterator_t1 /* xproto.h:505:3 */
  3804  
  3805  type xcb_mod_mask_t = uint32 /* xproto.h:517:3 */
  3806  
  3807  type xcb_key_but_mask_t = uint32 /* xproto.h:533:3 */
  3808  
  3809  type xcb_window_enum_t = uint32 /* xproto.h:537:3 */
  3810  
  3811  //* Opcode for xcb_key_press.
  3812  
  3813  // *
  3814  // @brief xcb_key_press_event_t
  3815  //
  3816  type xcb_key_press_event_t1 = struct {
  3817  	Fresponse_type uint8_t
  3818  	Fdetail        xcb_keycode_t
  3819  	Fsequence      uint16_t
  3820  	Ftime          xcb_timestamp_t
  3821  	Froot          xcb_window_t
  3822  	Fevent         xcb_window_t
  3823  	Fchild         xcb_window_t
  3824  	Froot_x        int16_t
  3825  	Froot_y        int16_t
  3826  	Fevent_x       int16_t
  3827  	Fevent_y       int16_t
  3828  	Fstate         uint16_t
  3829  	Fsame_screen   uint8_t
  3830  	Fpad0          uint8_t
  3831  } /* xproto.h:545:9 */
  3832  
  3833  //* Opcode for xcb_key_press.
  3834  
  3835  // *
  3836  // @brief xcb_key_press_event_t
  3837  //
  3838  type xcb_key_press_event_t = xcb_key_press_event_t1 /* xproto.h:560:3 */
  3839  
  3840  //* Opcode for xcb_key_release.
  3841  
  3842  type xcb_key_release_event_t = xcb_key_press_event_t /* xproto.h:565:31 */
  3843  
  3844  type xcb_button_mask_t = uint32 /* xproto.h:574:3 */
  3845  
  3846  //* Opcode for xcb_button_press.
  3847  
  3848  // *
  3849  // @brief xcb_button_press_event_t
  3850  //
  3851  type xcb_button_press_event_t1 = struct {
  3852  	Fresponse_type uint8_t
  3853  	Fdetail        xcb_button_t
  3854  	Fsequence      uint16_t
  3855  	Ftime          xcb_timestamp_t
  3856  	Froot          xcb_window_t
  3857  	Fevent         xcb_window_t
  3858  	Fchild         xcb_window_t
  3859  	Froot_x        int16_t
  3860  	Froot_y        int16_t
  3861  	Fevent_x       int16_t
  3862  	Fevent_y       int16_t
  3863  	Fstate         uint16_t
  3864  	Fsame_screen   uint8_t
  3865  	Fpad0          uint8_t
  3866  } /* xproto.h:582:9 */
  3867  
  3868  //* Opcode for xcb_button_press.
  3869  
  3870  // *
  3871  // @brief xcb_button_press_event_t
  3872  //
  3873  type xcb_button_press_event_t = xcb_button_press_event_t1 /* xproto.h:597:3 */
  3874  
  3875  //* Opcode for xcb_button_release.
  3876  
  3877  type xcb_button_release_event_t = xcb_button_press_event_t /* xproto.h:602:34 */
  3878  
  3879  type xcb_motion_t = uint32 /* xproto.h:607:3 */
  3880  
  3881  //* Opcode for xcb_motion_notify.
  3882  
  3883  // *
  3884  // @brief xcb_motion_notify_event_t
  3885  //
  3886  type xcb_motion_notify_event_t1 = struct {
  3887  	Fresponse_type uint8_t
  3888  	Fdetail        uint8_t
  3889  	Fsequence      uint16_t
  3890  	Ftime          xcb_timestamp_t
  3891  	Froot          xcb_window_t
  3892  	Fevent         xcb_window_t
  3893  	Fchild         xcb_window_t
  3894  	Froot_x        int16_t
  3895  	Froot_y        int16_t
  3896  	Fevent_x       int16_t
  3897  	Fevent_y       int16_t
  3898  	Fstate         uint16_t
  3899  	Fsame_screen   uint8_t
  3900  	Fpad0          uint8_t
  3901  } /* xproto.h:615:9 */
  3902  
  3903  //* Opcode for xcb_motion_notify.
  3904  
  3905  // *
  3906  // @brief xcb_motion_notify_event_t
  3907  //
  3908  type xcb_motion_notify_event_t = xcb_motion_notify_event_t1 /* xproto.h:630:3 */
  3909  
  3910  type xcb_notify_detail_t = uint32 /* xproto.h:641:3 */
  3911  
  3912  type xcb_notify_mode_t = uint32 /* xproto.h:648:3 */
  3913  
  3914  //* Opcode for xcb_enter_notify.
  3915  
  3916  // *
  3917  // @brief xcb_enter_notify_event_t
  3918  //
  3919  type xcb_enter_notify_event_t1 = struct {
  3920  	Fresponse_type     uint8_t
  3921  	Fdetail            uint8_t
  3922  	Fsequence          uint16_t
  3923  	Ftime              xcb_timestamp_t
  3924  	Froot              xcb_window_t
  3925  	Fevent             xcb_window_t
  3926  	Fchild             xcb_window_t
  3927  	Froot_x            int16_t
  3928  	Froot_y            int16_t
  3929  	Fevent_x           int16_t
  3930  	Fevent_y           int16_t
  3931  	Fstate             uint16_t
  3932  	Fmode              uint8_t
  3933  	Fsame_screen_focus uint8_t
  3934  } /* xproto.h:656:9 */
  3935  
  3936  //* Opcode for xcb_enter_notify.
  3937  
  3938  // *
  3939  // @brief xcb_enter_notify_event_t
  3940  //
  3941  type xcb_enter_notify_event_t = xcb_enter_notify_event_t1 /* xproto.h:671:3 */
  3942  
  3943  //* Opcode for xcb_leave_notify.
  3944  
  3945  type xcb_leave_notify_event_t = xcb_enter_notify_event_t /* xproto.h:676:34 */
  3946  
  3947  //* Opcode for xcb_focus_in.
  3948  
  3949  // *
  3950  // @brief xcb_focus_in_event_t
  3951  //
  3952  type xcb_focus_in_event_t1 = struct {
  3953  	Fresponse_type uint8_t
  3954  	Fdetail        uint8_t
  3955  	Fsequence      uint16_t
  3956  	Fevent         xcb_window_t
  3957  	Fmode          uint8_t
  3958  	Fpad0          [3]uint8_t
  3959  } /* xproto.h:684:9 */
  3960  
  3961  //* Opcode for xcb_focus_in.
  3962  
  3963  // *
  3964  // @brief xcb_focus_in_event_t
  3965  //
  3966  type xcb_focus_in_event_t = xcb_focus_in_event_t1 /* xproto.h:691:3 */
  3967  
  3968  //* Opcode for xcb_focus_out.
  3969  
  3970  type xcb_focus_out_event_t = xcb_focus_in_event_t /* xproto.h:696:30 */
  3971  
  3972  //* Opcode for xcb_keymap_notify.
  3973  
  3974  // *
  3975  // @brief xcb_keymap_notify_event_t
  3976  //
  3977  type xcb_keymap_notify_event_t1 = struct {
  3978  	Fresponse_type uint8_t
  3979  	Fkeys          [31]uint8_t
  3980  } /* xproto.h:704:9 */
  3981  
  3982  //* Opcode for xcb_keymap_notify.
  3983  
  3984  // *
  3985  // @brief xcb_keymap_notify_event_t
  3986  //
  3987  type xcb_keymap_notify_event_t = xcb_keymap_notify_event_t1 /* xproto.h:707:3 */
  3988  
  3989  //* Opcode for xcb_expose.
  3990  
  3991  // *
  3992  // @brief xcb_expose_event_t
  3993  //
  3994  type xcb_expose_event_t1 = struct {
  3995  	Fresponse_type uint8_t
  3996  	Fpad0          uint8_t
  3997  	Fsequence      uint16_t
  3998  	Fwindow        xcb_window_t
  3999  	Fx             uint16_t
  4000  	Fy             uint16_t
  4001  	Fwidth         uint16_t
  4002  	Fheight        uint16_t
  4003  	Fcount         uint16_t
  4004  	Fpad1          [2]uint8_t
  4005  } /* xproto.h:715:9 */
  4006  
  4007  //* Opcode for xcb_expose.
  4008  
  4009  // *
  4010  // @brief xcb_expose_event_t
  4011  //
  4012  type xcb_expose_event_t = xcb_expose_event_t1 /* xproto.h:726:3 */
  4013  
  4014  //* Opcode for xcb_graphics_exposure.
  4015  
  4016  // *
  4017  // @brief xcb_graphics_exposure_event_t
  4018  //
  4019  type xcb_graphics_exposure_event_t1 = struct {
  4020  	Fresponse_type uint8_t
  4021  	Fpad0          uint8_t
  4022  	Fsequence      uint16_t
  4023  	Fdrawable      xcb_drawable_t
  4024  	Fx             uint16_t
  4025  	Fy             uint16_t
  4026  	Fwidth         uint16_t
  4027  	Fheight        uint16_t
  4028  	Fminor_opcode  uint16_t
  4029  	Fcount         uint16_t
  4030  	Fmajor_opcode  uint8_t
  4031  	Fpad1          [3]uint8_t
  4032  } /* xproto.h:734:9 */
  4033  
  4034  //* Opcode for xcb_graphics_exposure.
  4035  
  4036  // *
  4037  // @brief xcb_graphics_exposure_event_t
  4038  //
  4039  type xcb_graphics_exposure_event_t = xcb_graphics_exposure_event_t1 /* xproto.h:747:3 */
  4040  
  4041  //* Opcode for xcb_no_exposure.
  4042  
  4043  // *
  4044  // @brief xcb_no_exposure_event_t
  4045  //
  4046  type xcb_no_exposure_event_t1 = struct {
  4047  	Fresponse_type uint8_t
  4048  	Fpad0          uint8_t
  4049  	Fsequence      uint16_t
  4050  	Fdrawable      xcb_drawable_t
  4051  	Fminor_opcode  uint16_t
  4052  	Fmajor_opcode  uint8_t
  4053  	Fpad1          uint8_t
  4054  } /* xproto.h:755:9 */
  4055  
  4056  //* Opcode for xcb_no_exposure.
  4057  
  4058  // *
  4059  // @brief xcb_no_exposure_event_t
  4060  //
  4061  type xcb_no_exposure_event_t = xcb_no_exposure_event_t1 /* xproto.h:763:3 */
  4062  
  4063  type xcb_visibility_t = uint32 /* xproto.h:769:3 */
  4064  
  4065  //* Opcode for xcb_visibility_notify.
  4066  
  4067  // *
  4068  // @brief xcb_visibility_notify_event_t
  4069  //
  4070  type xcb_visibility_notify_event_t1 = struct {
  4071  	Fresponse_type uint8_t
  4072  	Fpad0          uint8_t
  4073  	Fsequence      uint16_t
  4074  	Fwindow        xcb_window_t
  4075  	Fstate         uint8_t
  4076  	Fpad1          [3]uint8_t
  4077  } /* xproto.h:777:9 */
  4078  
  4079  //* Opcode for xcb_visibility_notify.
  4080  
  4081  // *
  4082  // @brief xcb_visibility_notify_event_t
  4083  //
  4084  type xcb_visibility_notify_event_t = xcb_visibility_notify_event_t1 /* xproto.h:784:3 */
  4085  
  4086  //* Opcode for xcb_create_notify.
  4087  
  4088  // *
  4089  // @brief xcb_create_notify_event_t
  4090  //
  4091  type xcb_create_notify_event_t1 = struct {
  4092  	Fresponse_type     uint8_t
  4093  	Fpad0              uint8_t
  4094  	Fsequence          uint16_t
  4095  	Fparent            xcb_window_t
  4096  	Fwindow            xcb_window_t
  4097  	Fx                 int16_t
  4098  	Fy                 int16_t
  4099  	Fwidth             uint16_t
  4100  	Fheight            uint16_t
  4101  	Fborder_width      uint16_t
  4102  	Foverride_redirect uint8_t
  4103  	Fpad1              uint8_t
  4104  } /* xproto.h:792:9 */
  4105  
  4106  //* Opcode for xcb_create_notify.
  4107  
  4108  // *
  4109  // @brief xcb_create_notify_event_t
  4110  //
  4111  type xcb_create_notify_event_t = xcb_create_notify_event_t1 /* xproto.h:805:3 */
  4112  
  4113  //* Opcode for xcb_destroy_notify.
  4114  
  4115  // *
  4116  // @brief xcb_destroy_notify_event_t
  4117  //
  4118  type xcb_destroy_notify_event_t1 = struct {
  4119  	Fresponse_type uint8_t
  4120  	Fpad0          uint8_t
  4121  	Fsequence      uint16_t
  4122  	Fevent         xcb_window_t
  4123  	Fwindow        xcb_window_t
  4124  } /* xproto.h:813:9 */
  4125  
  4126  //* Opcode for xcb_destroy_notify.
  4127  
  4128  // *
  4129  // @brief xcb_destroy_notify_event_t
  4130  //
  4131  type xcb_destroy_notify_event_t = xcb_destroy_notify_event_t1 /* xproto.h:819:3 */
  4132  
  4133  //* Opcode for xcb_unmap_notify.
  4134  
  4135  // *
  4136  // @brief xcb_unmap_notify_event_t
  4137  //
  4138  type xcb_unmap_notify_event_t1 = struct {
  4139  	Fresponse_type  uint8_t
  4140  	Fpad0           uint8_t
  4141  	Fsequence       uint16_t
  4142  	Fevent          xcb_window_t
  4143  	Fwindow         xcb_window_t
  4144  	Ffrom_configure uint8_t
  4145  	Fpad1           [3]uint8_t
  4146  } /* xproto.h:827:9 */
  4147  
  4148  //* Opcode for xcb_unmap_notify.
  4149  
  4150  // *
  4151  // @brief xcb_unmap_notify_event_t
  4152  //
  4153  type xcb_unmap_notify_event_t = xcb_unmap_notify_event_t1 /* xproto.h:835:3 */
  4154  
  4155  //* Opcode for xcb_map_notify.
  4156  
  4157  // *
  4158  // @brief xcb_map_notify_event_t
  4159  //
  4160  type xcb_map_notify_event_t1 = struct {
  4161  	Fresponse_type     uint8_t
  4162  	Fpad0              uint8_t
  4163  	Fsequence          uint16_t
  4164  	Fevent             xcb_window_t
  4165  	Fwindow            xcb_window_t
  4166  	Foverride_redirect uint8_t
  4167  	Fpad1              [3]uint8_t
  4168  } /* xproto.h:843:9 */
  4169  
  4170  //* Opcode for xcb_map_notify.
  4171  
  4172  // *
  4173  // @brief xcb_map_notify_event_t
  4174  //
  4175  type xcb_map_notify_event_t = xcb_map_notify_event_t1 /* xproto.h:851:3 */
  4176  
  4177  //* Opcode for xcb_map_request.
  4178  
  4179  // *
  4180  // @brief xcb_map_request_event_t
  4181  //
  4182  type xcb_map_request_event_t1 = struct {
  4183  	Fresponse_type uint8_t
  4184  	Fpad0          uint8_t
  4185  	Fsequence      uint16_t
  4186  	Fparent        xcb_window_t
  4187  	Fwindow        xcb_window_t
  4188  } /* xproto.h:859:9 */
  4189  
  4190  //* Opcode for xcb_map_request.
  4191  
  4192  // *
  4193  // @brief xcb_map_request_event_t
  4194  //
  4195  type xcb_map_request_event_t = xcb_map_request_event_t1 /* xproto.h:865:3 */
  4196  
  4197  //* Opcode for xcb_reparent_notify.
  4198  
  4199  // *
  4200  // @brief xcb_reparent_notify_event_t
  4201  //
  4202  type xcb_reparent_notify_event_t1 = struct {
  4203  	Fresponse_type     uint8_t
  4204  	Fpad0              uint8_t
  4205  	Fsequence          uint16_t
  4206  	Fevent             xcb_window_t
  4207  	Fwindow            xcb_window_t
  4208  	Fparent            xcb_window_t
  4209  	Fx                 int16_t
  4210  	Fy                 int16_t
  4211  	Foverride_redirect uint8_t
  4212  	Fpad1              [3]uint8_t
  4213  } /* xproto.h:873:9 */
  4214  
  4215  //* Opcode for xcb_reparent_notify.
  4216  
  4217  // *
  4218  // @brief xcb_reparent_notify_event_t
  4219  //
  4220  type xcb_reparent_notify_event_t = xcb_reparent_notify_event_t1 /* xproto.h:884:3 */
  4221  
  4222  //* Opcode for xcb_configure_notify.
  4223  
  4224  // *
  4225  // @brief xcb_configure_notify_event_t
  4226  //
  4227  type xcb_configure_notify_event_t1 = struct {
  4228  	Fresponse_type     uint8_t
  4229  	Fpad0              uint8_t
  4230  	Fsequence          uint16_t
  4231  	Fevent             xcb_window_t
  4232  	Fwindow            xcb_window_t
  4233  	Fabove_sibling     xcb_window_t
  4234  	Fx                 int16_t
  4235  	Fy                 int16_t
  4236  	Fwidth             uint16_t
  4237  	Fheight            uint16_t
  4238  	Fborder_width      uint16_t
  4239  	Foverride_redirect uint8_t
  4240  	Fpad1              uint8_t
  4241  } /* xproto.h:892:9 */
  4242  
  4243  //* Opcode for xcb_configure_notify.
  4244  
  4245  // *
  4246  // @brief xcb_configure_notify_event_t
  4247  //
  4248  type xcb_configure_notify_event_t = xcb_configure_notify_event_t1 /* xproto.h:906:3 */
  4249  
  4250  //* Opcode for xcb_configure_request.
  4251  
  4252  // *
  4253  // @brief xcb_configure_request_event_t
  4254  //
  4255  type xcb_configure_request_event_t1 = struct {
  4256  	Fresponse_type uint8_t
  4257  	Fstack_mode    uint8_t
  4258  	Fsequence      uint16_t
  4259  	Fparent        xcb_window_t
  4260  	Fwindow        xcb_window_t
  4261  	Fsibling       xcb_window_t
  4262  	Fx             int16_t
  4263  	Fy             int16_t
  4264  	Fwidth         uint16_t
  4265  	Fheight        uint16_t
  4266  	Fborder_width  uint16_t
  4267  	Fvalue_mask    uint16_t
  4268  } /* xproto.h:914:9 */
  4269  
  4270  //* Opcode for xcb_configure_request.
  4271  
  4272  // *
  4273  // @brief xcb_configure_request_event_t
  4274  //
  4275  type xcb_configure_request_event_t = xcb_configure_request_event_t1 /* xproto.h:927:3 */
  4276  
  4277  //* Opcode for xcb_gravity_notify.
  4278  
  4279  // *
  4280  // @brief xcb_gravity_notify_event_t
  4281  //
  4282  type xcb_gravity_notify_event_t1 = struct {
  4283  	Fresponse_type uint8_t
  4284  	Fpad0          uint8_t
  4285  	Fsequence      uint16_t
  4286  	Fevent         xcb_window_t
  4287  	Fwindow        xcb_window_t
  4288  	Fx             int16_t
  4289  	Fy             int16_t
  4290  } /* xproto.h:935:9 */
  4291  
  4292  //* Opcode for xcb_gravity_notify.
  4293  
  4294  // *
  4295  // @brief xcb_gravity_notify_event_t
  4296  //
  4297  type xcb_gravity_notify_event_t = xcb_gravity_notify_event_t1 /* xproto.h:943:3 */
  4298  
  4299  //* Opcode for xcb_resize_request.
  4300  
  4301  // *
  4302  // @brief xcb_resize_request_event_t
  4303  //
  4304  type xcb_resize_request_event_t1 = struct {
  4305  	Fresponse_type uint8_t
  4306  	Fpad0          uint8_t
  4307  	Fsequence      uint16_t
  4308  	Fwindow        xcb_window_t
  4309  	Fwidth         uint16_t
  4310  	Fheight        uint16_t
  4311  } /* xproto.h:951:9 */
  4312  
  4313  //* Opcode for xcb_resize_request.
  4314  
  4315  // *
  4316  // @brief xcb_resize_request_event_t
  4317  //
  4318  type xcb_resize_request_event_t = xcb_resize_request_event_t1 /* xproto.h:958:3 */
  4319  
  4320  type xcb_place_t = uint32 /* xproto.h:967:3 */
  4321  
  4322  //* Opcode for xcb_circulate_notify.
  4323  
  4324  // *
  4325  // @brief xcb_circulate_notify_event_t
  4326  //
  4327  type xcb_circulate_notify_event_t1 = struct {
  4328  	Fresponse_type uint8_t
  4329  	Fpad0          uint8_t
  4330  	Fsequence      uint16_t
  4331  	Fevent         xcb_window_t
  4332  	Fwindow        xcb_window_t
  4333  	Fpad1          [4]uint8_t
  4334  	Fplace         uint8_t
  4335  	Fpad2          [3]uint8_t
  4336  } /* xproto.h:975:9 */
  4337  
  4338  //* Opcode for xcb_circulate_notify.
  4339  
  4340  // *
  4341  // @brief xcb_circulate_notify_event_t
  4342  //
  4343  type xcb_circulate_notify_event_t = xcb_circulate_notify_event_t1 /* xproto.h:984:3 */
  4344  
  4345  //* Opcode for xcb_circulate_request.
  4346  
  4347  type xcb_circulate_request_event_t = xcb_circulate_notify_event_t /* xproto.h:989:38 */
  4348  
  4349  type xcb_property_t = uint32 /* xproto.h:994:3 */
  4350  
  4351  //* Opcode for xcb_property_notify.
  4352  
  4353  // *
  4354  // @brief xcb_property_notify_event_t
  4355  //
  4356  type xcb_property_notify_event_t1 = struct {
  4357  	Fresponse_type uint8_t
  4358  	Fpad0          uint8_t
  4359  	Fsequence      uint16_t
  4360  	Fwindow        xcb_window_t
  4361  	Fatom          xcb_atom_t
  4362  	Ftime          xcb_timestamp_t
  4363  	Fstate         uint8_t
  4364  	Fpad1          [3]uint8_t
  4365  } /* xproto.h:1002:9 */
  4366  
  4367  //* Opcode for xcb_property_notify.
  4368  
  4369  // *
  4370  // @brief xcb_property_notify_event_t
  4371  //
  4372  type xcb_property_notify_event_t = xcb_property_notify_event_t1 /* xproto.h:1011:3 */
  4373  
  4374  //* Opcode for xcb_selection_clear.
  4375  
  4376  // *
  4377  // @brief xcb_selection_clear_event_t
  4378  //
  4379  type xcb_selection_clear_event_t1 = struct {
  4380  	Fresponse_type uint8_t
  4381  	Fpad0          uint8_t
  4382  	Fsequence      uint16_t
  4383  	Ftime          xcb_timestamp_t
  4384  	Fowner         xcb_window_t
  4385  	Fselection     xcb_atom_t
  4386  } /* xproto.h:1019:9 */
  4387  
  4388  //* Opcode for xcb_selection_clear.
  4389  
  4390  // *
  4391  // @brief xcb_selection_clear_event_t
  4392  //
  4393  type xcb_selection_clear_event_t = xcb_selection_clear_event_t1 /* xproto.h:1026:3 */
  4394  
  4395  type xcb_time_t = uint32 /* xproto.h:1030:3 */
  4396  
  4397  type xcb_atom_enum_t = uint32 /* xproto.h:1103:3 */
  4398  
  4399  //* Opcode for xcb_selection_request.
  4400  
  4401  // *
  4402  // @brief xcb_selection_request_event_t
  4403  //
  4404  type xcb_selection_request_event_t1 = struct {
  4405  	Fresponse_type uint8_t
  4406  	Fpad0          uint8_t
  4407  	Fsequence      uint16_t
  4408  	Ftime          xcb_timestamp_t
  4409  	Fowner         xcb_window_t
  4410  	Frequestor     xcb_window_t
  4411  	Fselection     xcb_atom_t
  4412  	Ftarget        xcb_atom_t
  4413  	Fproperty      xcb_atom_t
  4414  } /* xproto.h:1111:9 */
  4415  
  4416  //* Opcode for xcb_selection_request.
  4417  
  4418  // *
  4419  // @brief xcb_selection_request_event_t
  4420  //
  4421  type xcb_selection_request_event_t = xcb_selection_request_event_t1 /* xproto.h:1121:3 */
  4422  
  4423  //* Opcode for xcb_selection_notify.
  4424  
  4425  // *
  4426  // @brief xcb_selection_notify_event_t
  4427  //
  4428  type xcb_selection_notify_event_t1 = struct {
  4429  	Fresponse_type uint8_t
  4430  	Fpad0          uint8_t
  4431  	Fsequence      uint16_t
  4432  	Ftime          xcb_timestamp_t
  4433  	Frequestor     xcb_window_t
  4434  	Fselection     xcb_atom_t
  4435  	Ftarget        xcb_atom_t
  4436  	Fproperty      xcb_atom_t
  4437  } /* xproto.h:1129:9 */
  4438  
  4439  //* Opcode for xcb_selection_notify.
  4440  
  4441  // *
  4442  // @brief xcb_selection_notify_event_t
  4443  //
  4444  type xcb_selection_notify_event_t = xcb_selection_notify_event_t1 /* xproto.h:1138:3 */
  4445  
  4446  type xcb_colormap_state_t = uint32 /* xproto.h:1147:3 */
  4447  
  4448  type xcb_colormap_enum_t = uint32 /* xproto.h:1151:3 */
  4449  
  4450  //* Opcode for xcb_colormap_notify.
  4451  
  4452  // *
  4453  // @brief xcb_colormap_notify_event_t
  4454  //
  4455  type xcb_colormap_notify_event_t1 = struct {
  4456  	Fresponse_type uint8_t
  4457  	Fpad0          uint8_t
  4458  	Fsequence      uint16_t
  4459  	Fwindow        xcb_window_t
  4460  	Fcolormap      xcb_colormap_t
  4461  	F_new          uint8_t
  4462  	Fstate         uint8_t
  4463  	Fpad1          [2]uint8_t
  4464  } /* xproto.h:1159:9 */
  4465  
  4466  //* Opcode for xcb_colormap_notify.
  4467  
  4468  // *
  4469  // @brief xcb_colormap_notify_event_t
  4470  //
  4471  type xcb_colormap_notify_event_t = xcb_colormap_notify_event_t1 /* xproto.h:1168:3 */
  4472  
  4473  // *
  4474  // @brief xcb_client_message_data_t
  4475  //
  4476  type xcb_client_message_data_t1 = struct {
  4477  	F__ccgo_pad1 [0]uint32
  4478  	Fdata8       [20]uint8_t
  4479  } /* xproto.h:1173:9 */
  4480  
  4481  // *
  4482  // @brief xcb_client_message_data_t
  4483  //
  4484  type xcb_client_message_data_t = xcb_client_message_data_t1 /* xproto.h:1177:3 */
  4485  
  4486  // *
  4487  // @brief xcb_client_message_data_iterator_t
  4488  //
  4489  type xcb_client_message_data_iterator_t1 = struct {
  4490  	Fdata  uintptr
  4491  	Frem   int32
  4492  	Findex int32
  4493  } /* xproto.h:1182:9 */
  4494  
  4495  // *
  4496  // @brief xcb_client_message_data_iterator_t
  4497  //
  4498  type xcb_client_message_data_iterator_t = xcb_client_message_data_iterator_t1 /* xproto.h:1186:3 */
  4499  
  4500  //* Opcode for xcb_client_message.
  4501  
  4502  // *
  4503  // @brief xcb_client_message_event_t
  4504  //
  4505  type xcb_client_message_event_t1 = struct {
  4506  	Fresponse_type uint8_t
  4507  	Fformat        uint8_t
  4508  	Fsequence      uint16_t
  4509  	Fwindow        xcb_window_t
  4510  	Ftype          xcb_atom_t
  4511  	Fdata          xcb_client_message_data_t
  4512  } /* xproto.h:1194:9 */
  4513  
  4514  //* Opcode for xcb_client_message.
  4515  
  4516  // *
  4517  // @brief xcb_client_message_event_t
  4518  //
  4519  type xcb_client_message_event_t = xcb_client_message_event_t1 /* xproto.h:1201:3 */
  4520  
  4521  type xcb_mapping_t = uint32 /* xproto.h:1207:3 */
  4522  
  4523  //* Opcode for xcb_mapping_notify.
  4524  
  4525  // *
  4526  // @brief xcb_mapping_notify_event_t
  4527  //
  4528  type xcb_mapping_notify_event_t1 = struct {
  4529  	Fresponse_type uint8_t
  4530  	Fpad0          uint8_t
  4531  	Fsequence      uint16_t
  4532  	Frequest       uint8_t
  4533  	Ffirst_keycode xcb_keycode_t
  4534  	Fcount         uint8_t
  4535  	Fpad1          uint8_t
  4536  } /* xproto.h:1215:9 */
  4537  
  4538  //* Opcode for xcb_mapping_notify.
  4539  
  4540  // *
  4541  // @brief xcb_mapping_notify_event_t
  4542  //
  4543  type xcb_mapping_notify_event_t = xcb_mapping_notify_event_t1 /* xproto.h:1223:3 */
  4544  
  4545  //* Opcode for xcb_ge_generic.
  4546  
  4547  // *
  4548  // @brief xcb_ge_generic_event_t
  4549  //
  4550  type xcb_ge_generic_event_t1 = struct {
  4551  	Fresponse_type uint8_t
  4552  	Fextension     uint8_t
  4553  	Fsequence      uint16_t
  4554  	Flength        uint32_t
  4555  	Fevent_type    uint16_t
  4556  	Fpad0          [22]uint8_t
  4557  	Ffull_sequence uint32_t
  4558  } /* xproto.h:1231:9 */
  4559  
  4560  //* Opcode for xcb_ge_generic.
  4561  
  4562  // *
  4563  // @brief xcb_ge_generic_event_t
  4564  //
  4565  type xcb_ge_generic_event_t = xcb_ge_generic_event_t1 /* xproto.h:1239:3 */
  4566  
  4567  //* Opcode for xcb_request.
  4568  
  4569  // *
  4570  // @brief xcb_request_error_t
  4571  //
  4572  type xcb_request_error_t1 = struct {
  4573  	Fresponse_type uint8_t
  4574  	Ferror_code    uint8_t
  4575  	Fsequence      uint16_t
  4576  	Fbad_value     uint32_t
  4577  	Fminor_opcode  uint16_t
  4578  	Fmajor_opcode  uint8_t
  4579  	Fpad0          uint8_t
  4580  } /* xproto.h:1247:9 */
  4581  
  4582  //* Opcode for xcb_request.
  4583  
  4584  // *
  4585  // @brief xcb_request_error_t
  4586  //
  4587  type xcb_request_error_t = xcb_request_error_t1 /* xproto.h:1255:3 */
  4588  
  4589  //* Opcode for xcb_value.
  4590  
  4591  // *
  4592  // @brief xcb_value_error_t
  4593  //
  4594  type xcb_value_error_t1 = struct {
  4595  	Fresponse_type uint8_t
  4596  	Ferror_code    uint8_t
  4597  	Fsequence      uint16_t
  4598  	Fbad_value     uint32_t
  4599  	Fminor_opcode  uint16_t
  4600  	Fmajor_opcode  uint8_t
  4601  	Fpad0          uint8_t
  4602  } /* xproto.h:1263:9 */
  4603  
  4604  //* Opcode for xcb_value.
  4605  
  4606  // *
  4607  // @brief xcb_value_error_t
  4608  //
  4609  type xcb_value_error_t = xcb_value_error_t1 /* xproto.h:1271:3 */
  4610  
  4611  //* Opcode for xcb_window.
  4612  
  4613  type xcb_window_error_t = xcb_value_error_t /* xproto.h:1276:27 */
  4614  
  4615  //* Opcode for xcb_pixmap.
  4616  
  4617  type xcb_pixmap_error_t = xcb_value_error_t /* xproto.h:1281:27 */
  4618  
  4619  //* Opcode for xcb_atom.
  4620  
  4621  type xcb_atom_error_t = xcb_value_error_t /* xproto.h:1286:27 */
  4622  
  4623  //* Opcode for xcb_cursor.
  4624  
  4625  type xcb_cursor_error_t = xcb_value_error_t /* xproto.h:1291:27 */
  4626  
  4627  //* Opcode for xcb_font.
  4628  
  4629  type xcb_font_error_t = xcb_value_error_t /* xproto.h:1296:27 */
  4630  
  4631  //* Opcode for xcb_match.
  4632  
  4633  type xcb_match_error_t = xcb_request_error_t /* xproto.h:1301:29 */
  4634  
  4635  //* Opcode for xcb_drawable.
  4636  
  4637  type xcb_drawable_error_t = xcb_value_error_t /* xproto.h:1306:27 */
  4638  
  4639  //* Opcode for xcb_access.
  4640  
  4641  type xcb_access_error_t = xcb_request_error_t /* xproto.h:1311:29 */
  4642  
  4643  //* Opcode for xcb_alloc.
  4644  
  4645  type xcb_alloc_error_t = xcb_request_error_t /* xproto.h:1316:29 */
  4646  
  4647  //* Opcode for xcb_colormap.
  4648  
  4649  type xcb_colormap_error_t = xcb_value_error_t /* xproto.h:1321:27 */
  4650  
  4651  //* Opcode for xcb_g_context.
  4652  
  4653  type xcb_g_context_error_t = xcb_value_error_t /* xproto.h:1326:27 */
  4654  
  4655  //* Opcode for xcb_id_choice.
  4656  
  4657  type xcb_id_choice_error_t = xcb_value_error_t /* xproto.h:1331:27 */
  4658  
  4659  //* Opcode for xcb_name.
  4660  
  4661  type xcb_name_error_t = xcb_request_error_t /* xproto.h:1336:29 */
  4662  
  4663  //* Opcode for xcb_length.
  4664  
  4665  type xcb_length_error_t = xcb_request_error_t /* xproto.h:1341:29 */
  4666  
  4667  //* Opcode for xcb_implementation.
  4668  
  4669  type xcb_implementation_error_t = xcb_request_error_t /* xproto.h:1346:29 */
  4670  
  4671  type xcb_window_class_t = uint32 /* xproto.h:1352:3 */
  4672  
  4673  type xcb_cw_t = uint32 /* xproto.h:1453:3 */
  4674  
  4675  type xcb_back_pixmap_t = uint32 /* xproto.h:1458:3 */
  4676  
  4677  type xcb_gravity_t = uint32 /* xproto.h:1473:3 */
  4678  
  4679  // *
  4680  // @brief xcb_create_window_value_list_t
  4681  //
  4682  type xcb_create_window_value_list_t1 = struct {
  4683  	Fbackground_pixmap     xcb_pixmap_t
  4684  	Fbackground_pixel      uint32_t
  4685  	Fborder_pixmap         xcb_pixmap_t
  4686  	Fborder_pixel          uint32_t
  4687  	Fbit_gravity           uint32_t
  4688  	Fwin_gravity           uint32_t
  4689  	Fbacking_store         uint32_t
  4690  	Fbacking_planes        uint32_t
  4691  	Fbacking_pixel         uint32_t
  4692  	Foverride_redirect     xcb_bool32_t
  4693  	Fsave_under            xcb_bool32_t
  4694  	Fevent_mask            uint32_t
  4695  	Fdo_not_propogate_mask uint32_t
  4696  	Fcolormap              xcb_colormap_t
  4697  	Fcursor                xcb_cursor_t
  4698  } /* xproto.h:1478:9 */
  4699  
  4700  // *
  4701  // @brief xcb_create_window_value_list_t
  4702  //
  4703  type xcb_create_window_value_list_t = xcb_create_window_value_list_t1 /* xproto.h:1494:3 */
  4704  
  4705  //* Opcode for xcb_create_window.
  4706  
  4707  // *
  4708  // @brief xcb_create_window_request_t
  4709  //
  4710  type xcb_create_window_request_t1 = struct {
  4711  	Fmajor_opcode uint8_t
  4712  	Fdepth        uint8_t
  4713  	Flength       uint16_t
  4714  	Fwid          xcb_window_t
  4715  	Fparent       xcb_window_t
  4716  	Fx            int16_t
  4717  	Fy            int16_t
  4718  	Fwidth        uint16_t
  4719  	Fheight       uint16_t
  4720  	Fborder_width uint16_t
  4721  	F_class       uint16_t
  4722  	Fvisual       xcb_visualid_t
  4723  	Fvalue_mask   uint32_t
  4724  } /* xproto.h:1502:9 */
  4725  
  4726  //* Opcode for xcb_create_window.
  4727  
  4728  // *
  4729  // @brief xcb_create_window_request_t
  4730  //
  4731  type xcb_create_window_request_t = xcb_create_window_request_t1 /* xproto.h:1516:3 */
  4732  
  4733  // *
  4734  // @brief xcb_change_window_attributes_value_list_t
  4735  //
  4736  type xcb_change_window_attributes_value_list_t1 = struct {
  4737  	Fbackground_pixmap     xcb_pixmap_t
  4738  	Fbackground_pixel      uint32_t
  4739  	Fborder_pixmap         xcb_pixmap_t
  4740  	Fborder_pixel          uint32_t
  4741  	Fbit_gravity           uint32_t
  4742  	Fwin_gravity           uint32_t
  4743  	Fbacking_store         uint32_t
  4744  	Fbacking_planes        uint32_t
  4745  	Fbacking_pixel         uint32_t
  4746  	Foverride_redirect     xcb_bool32_t
  4747  	Fsave_under            xcb_bool32_t
  4748  	Fevent_mask            uint32_t
  4749  	Fdo_not_propogate_mask uint32_t
  4750  	Fcolormap              xcb_colormap_t
  4751  	Fcursor                xcb_cursor_t
  4752  } /* xproto.h:1521:9 */
  4753  
  4754  // *
  4755  // @brief xcb_change_window_attributes_value_list_t
  4756  //
  4757  type xcb_change_window_attributes_value_list_t = xcb_change_window_attributes_value_list_t1 /* xproto.h:1537:3 */
  4758  
  4759  //* Opcode for xcb_change_window_attributes.
  4760  
  4761  // *
  4762  // @brief xcb_change_window_attributes_request_t
  4763  //
  4764  type xcb_change_window_attributes_request_t1 = struct {
  4765  	Fmajor_opcode uint8_t
  4766  	Fpad0         uint8_t
  4767  	Flength       uint16_t
  4768  	Fwindow       xcb_window_t
  4769  	Fvalue_mask   uint32_t
  4770  } /* xproto.h:1545:9 */
  4771  
  4772  //* Opcode for xcb_change_window_attributes.
  4773  
  4774  // *
  4775  // @brief xcb_change_window_attributes_request_t
  4776  //
  4777  type xcb_change_window_attributes_request_t = xcb_change_window_attributes_request_t1 /* xproto.h:1551:3 */
  4778  
  4779  type xcb_map_state_t = uint32 /* xproto.h:1557:3 */
  4780  
  4781  // *
  4782  // @brief xcb_get_window_attributes_cookie_t
  4783  //
  4784  type xcb_get_window_attributes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1562:9 */
  4785  
  4786  // *
  4787  // @brief xcb_get_window_attributes_cookie_t
  4788  //
  4789  type xcb_get_window_attributes_cookie_t = xcb_get_window_attributes_cookie_t1 /* xproto.h:1564:3 */
  4790  
  4791  //* Opcode for xcb_get_window_attributes.
  4792  
  4793  // *
  4794  // @brief xcb_get_window_attributes_request_t
  4795  //
  4796  type xcb_get_window_attributes_request_t1 = struct {
  4797  	Fmajor_opcode uint8_t
  4798  	Fpad0         uint8_t
  4799  	Flength       uint16_t
  4800  	Fwindow       xcb_window_t
  4801  } /* xproto.h:1572:9 */
  4802  
  4803  //* Opcode for xcb_get_window_attributes.
  4804  
  4805  // *
  4806  // @brief xcb_get_window_attributes_request_t
  4807  //
  4808  type xcb_get_window_attributes_request_t = xcb_get_window_attributes_request_t1 /* xproto.h:1577:3 */
  4809  
  4810  // *
  4811  // @brief xcb_get_window_attributes_reply_t
  4812  //
  4813  type xcb_get_window_attributes_reply_t1 = struct {
  4814  	Fresponse_type         uint8_t
  4815  	Fbacking_store         uint8_t
  4816  	Fsequence              uint16_t
  4817  	Flength                uint32_t
  4818  	Fvisual                xcb_visualid_t
  4819  	F_class                uint16_t
  4820  	Fbit_gravity           uint8_t
  4821  	Fwin_gravity           uint8_t
  4822  	Fbacking_planes        uint32_t
  4823  	Fbacking_pixel         uint32_t
  4824  	Fsave_under            uint8_t
  4825  	Fmap_is_installed      uint8_t
  4826  	Fmap_state             uint8_t
  4827  	Foverride_redirect     uint8_t
  4828  	Fcolormap              xcb_colormap_t
  4829  	Fall_event_masks       uint32_t
  4830  	Fyour_event_mask       uint32_t
  4831  	Fdo_not_propagate_mask uint16_t
  4832  	Fpad0                  [2]uint8_t
  4833  } /* xproto.h:1582:9 */
  4834  
  4835  // *
  4836  // @brief xcb_get_window_attributes_reply_t
  4837  //
  4838  type xcb_get_window_attributes_reply_t = xcb_get_window_attributes_reply_t1 /* xproto.h:1602:3 */
  4839  
  4840  //* Opcode for xcb_destroy_window.
  4841  
  4842  // *
  4843  // @brief xcb_destroy_window_request_t
  4844  //
  4845  type xcb_destroy_window_request_t1 = struct {
  4846  	Fmajor_opcode uint8_t
  4847  	Fpad0         uint8_t
  4848  	Flength       uint16_t
  4849  	Fwindow       xcb_window_t
  4850  } /* xproto.h:1610:9 */
  4851  
  4852  //* Opcode for xcb_destroy_window.
  4853  
  4854  // *
  4855  // @brief xcb_destroy_window_request_t
  4856  //
  4857  type xcb_destroy_window_request_t = xcb_destroy_window_request_t1 /* xproto.h:1615:3 */
  4858  
  4859  //* Opcode for xcb_destroy_subwindows.
  4860  
  4861  // *
  4862  // @brief xcb_destroy_subwindows_request_t
  4863  //
  4864  type xcb_destroy_subwindows_request_t1 = struct {
  4865  	Fmajor_opcode uint8_t
  4866  	Fpad0         uint8_t
  4867  	Flength       uint16_t
  4868  	Fwindow       xcb_window_t
  4869  } /* xproto.h:1623:9 */
  4870  
  4871  //* Opcode for xcb_destroy_subwindows.
  4872  
  4873  // *
  4874  // @brief xcb_destroy_subwindows_request_t
  4875  //
  4876  type xcb_destroy_subwindows_request_t = xcb_destroy_subwindows_request_t1 /* xproto.h:1628:3 */
  4877  
  4878  type xcb_set_mode_t = uint32 /* xproto.h:1633:3 */
  4879  
  4880  //* Opcode for xcb_change_save_set.
  4881  
  4882  // *
  4883  // @brief xcb_change_save_set_request_t
  4884  //
  4885  type xcb_change_save_set_request_t1 = struct {
  4886  	Fmajor_opcode uint8_t
  4887  	Fmode         uint8_t
  4888  	Flength       uint16_t
  4889  	Fwindow       xcb_window_t
  4890  } /* xproto.h:1641:9 */
  4891  
  4892  //* Opcode for xcb_change_save_set.
  4893  
  4894  // *
  4895  // @brief xcb_change_save_set_request_t
  4896  //
  4897  type xcb_change_save_set_request_t = xcb_change_save_set_request_t1 /* xproto.h:1646:3 */
  4898  
  4899  //* Opcode for xcb_reparent_window.
  4900  
  4901  // *
  4902  // @brief xcb_reparent_window_request_t
  4903  //
  4904  type xcb_reparent_window_request_t1 = struct {
  4905  	Fmajor_opcode uint8_t
  4906  	Fpad0         uint8_t
  4907  	Flength       uint16_t
  4908  	Fwindow       xcb_window_t
  4909  	Fparent       xcb_window_t
  4910  	Fx            int16_t
  4911  	Fy            int16_t
  4912  } /* xproto.h:1654:9 */
  4913  
  4914  //* Opcode for xcb_reparent_window.
  4915  
  4916  // *
  4917  // @brief xcb_reparent_window_request_t
  4918  //
  4919  type xcb_reparent_window_request_t = xcb_reparent_window_request_t1 /* xproto.h:1662:3 */
  4920  
  4921  //* Opcode for xcb_map_window.
  4922  
  4923  // *
  4924  // @brief xcb_map_window_request_t
  4925  //
  4926  type xcb_map_window_request_t1 = struct {
  4927  	Fmajor_opcode uint8_t
  4928  	Fpad0         uint8_t
  4929  	Flength       uint16_t
  4930  	Fwindow       xcb_window_t
  4931  } /* xproto.h:1670:9 */
  4932  
  4933  //* Opcode for xcb_map_window.
  4934  
  4935  // *
  4936  // @brief xcb_map_window_request_t
  4937  //
  4938  type xcb_map_window_request_t = xcb_map_window_request_t1 /* xproto.h:1675:3 */
  4939  
  4940  //* Opcode for xcb_map_subwindows.
  4941  
  4942  // *
  4943  // @brief xcb_map_subwindows_request_t
  4944  //
  4945  type xcb_map_subwindows_request_t1 = struct {
  4946  	Fmajor_opcode uint8_t
  4947  	Fpad0         uint8_t
  4948  	Flength       uint16_t
  4949  	Fwindow       xcb_window_t
  4950  } /* xproto.h:1683:9 */
  4951  
  4952  //* Opcode for xcb_map_subwindows.
  4953  
  4954  // *
  4955  // @brief xcb_map_subwindows_request_t
  4956  //
  4957  type xcb_map_subwindows_request_t = xcb_map_subwindows_request_t1 /* xproto.h:1688:3 */
  4958  
  4959  //* Opcode for xcb_unmap_window.
  4960  
  4961  // *
  4962  // @brief xcb_unmap_window_request_t
  4963  //
  4964  type xcb_unmap_window_request_t1 = struct {
  4965  	Fmajor_opcode uint8_t
  4966  	Fpad0         uint8_t
  4967  	Flength       uint16_t
  4968  	Fwindow       xcb_window_t
  4969  } /* xproto.h:1696:9 */
  4970  
  4971  //* Opcode for xcb_unmap_window.
  4972  
  4973  // *
  4974  // @brief xcb_unmap_window_request_t
  4975  //
  4976  type xcb_unmap_window_request_t = xcb_unmap_window_request_t1 /* xproto.h:1701:3 */
  4977  
  4978  //* Opcode for xcb_unmap_subwindows.
  4979  
  4980  // *
  4981  // @brief xcb_unmap_subwindows_request_t
  4982  //
  4983  type xcb_unmap_subwindows_request_t1 = struct {
  4984  	Fmajor_opcode uint8_t
  4985  	Fpad0         uint8_t
  4986  	Flength       uint16_t
  4987  	Fwindow       xcb_window_t
  4988  } /* xproto.h:1709:9 */
  4989  
  4990  //* Opcode for xcb_unmap_subwindows.
  4991  
  4992  // *
  4993  // @brief xcb_unmap_subwindows_request_t
  4994  //
  4995  type xcb_unmap_subwindows_request_t = xcb_unmap_subwindows_request_t1 /* xproto.h:1714:3 */
  4996  
  4997  type xcb_config_window_t = uint32 /* xproto.h:1724:3 */
  4998  
  4999  type xcb_stack_mode_t = uint32 /* xproto.h:1732:3 */
  5000  
  5001  // *
  5002  // @brief xcb_configure_window_value_list_t
  5003  //
  5004  type xcb_configure_window_value_list_t1 = struct {
  5005  	Fx            int32_t
  5006  	Fy            int32_t
  5007  	Fwidth        uint32_t
  5008  	Fheight       uint32_t
  5009  	Fborder_width uint32_t
  5010  	Fsibling      xcb_window_t
  5011  	Fstack_mode   uint32_t
  5012  } /* xproto.h:1737:9 */
  5013  
  5014  // *
  5015  // @brief xcb_configure_window_value_list_t
  5016  //
  5017  type xcb_configure_window_value_list_t = xcb_configure_window_value_list_t1 /* xproto.h:1745:3 */
  5018  
  5019  //* Opcode for xcb_configure_window.
  5020  
  5021  // *
  5022  // @brief xcb_configure_window_request_t
  5023  //
  5024  type xcb_configure_window_request_t1 = struct {
  5025  	Fmajor_opcode uint8_t
  5026  	Fpad0         uint8_t
  5027  	Flength       uint16_t
  5028  	Fwindow       xcb_window_t
  5029  	Fvalue_mask   uint16_t
  5030  	Fpad1         [2]uint8_t
  5031  } /* xproto.h:1753:9 */
  5032  
  5033  //* Opcode for xcb_configure_window.
  5034  
  5035  // *
  5036  // @brief xcb_configure_window_request_t
  5037  //
  5038  type xcb_configure_window_request_t = xcb_configure_window_request_t1 /* xproto.h:1760:3 */
  5039  
  5040  type xcb_circulate_t = uint32 /* xproto.h:1765:3 */
  5041  
  5042  //* Opcode for xcb_circulate_window.
  5043  
  5044  // *
  5045  // @brief xcb_circulate_window_request_t
  5046  //
  5047  type xcb_circulate_window_request_t1 = struct {
  5048  	Fmajor_opcode uint8_t
  5049  	Fdirection    uint8_t
  5050  	Flength       uint16_t
  5051  	Fwindow       xcb_window_t
  5052  } /* xproto.h:1773:9 */
  5053  
  5054  //* Opcode for xcb_circulate_window.
  5055  
  5056  // *
  5057  // @brief xcb_circulate_window_request_t
  5058  //
  5059  type xcb_circulate_window_request_t = xcb_circulate_window_request_t1 /* xproto.h:1778:3 */
  5060  
  5061  // *
  5062  // @brief xcb_get_geometry_cookie_t
  5063  //
  5064  type xcb_get_geometry_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1783:9 */
  5065  
  5066  // *
  5067  // @brief xcb_get_geometry_cookie_t
  5068  //
  5069  type xcb_get_geometry_cookie_t = xcb_get_geometry_cookie_t1 /* xproto.h:1785:3 */
  5070  
  5071  //* Opcode for xcb_get_geometry.
  5072  
  5073  // *
  5074  // @brief xcb_get_geometry_request_t
  5075  //
  5076  type xcb_get_geometry_request_t1 = struct {
  5077  	Fmajor_opcode uint8_t
  5078  	Fpad0         uint8_t
  5079  	Flength       uint16_t
  5080  	Fdrawable     xcb_drawable_t
  5081  } /* xproto.h:1793:9 */
  5082  
  5083  //* Opcode for xcb_get_geometry.
  5084  
  5085  // *
  5086  // @brief xcb_get_geometry_request_t
  5087  //
  5088  type xcb_get_geometry_request_t = xcb_get_geometry_request_t1 /* xproto.h:1798:3 */
  5089  
  5090  // *
  5091  // @brief xcb_get_geometry_reply_t
  5092  //
  5093  type xcb_get_geometry_reply_t1 = struct {
  5094  	Fresponse_type uint8_t
  5095  	Fdepth         uint8_t
  5096  	Fsequence      uint16_t
  5097  	Flength        uint32_t
  5098  	Froot          xcb_window_t
  5099  	Fx             int16_t
  5100  	Fy             int16_t
  5101  	Fwidth         uint16_t
  5102  	Fheight        uint16_t
  5103  	Fborder_width  uint16_t
  5104  	Fpad0          [2]uint8_t
  5105  } /* xproto.h:1803:9 */
  5106  
  5107  // *
  5108  // @brief xcb_get_geometry_reply_t
  5109  //
  5110  type xcb_get_geometry_reply_t = xcb_get_geometry_reply_t1 /* xproto.h:1815:3 */
  5111  
  5112  // *
  5113  // @brief xcb_query_tree_cookie_t
  5114  //
  5115  type xcb_query_tree_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1820:9 */
  5116  
  5117  // *
  5118  // @brief xcb_query_tree_cookie_t
  5119  //
  5120  type xcb_query_tree_cookie_t = xcb_query_tree_cookie_t1 /* xproto.h:1822:3 */
  5121  
  5122  //* Opcode for xcb_query_tree.
  5123  
  5124  // *
  5125  // @brief xcb_query_tree_request_t
  5126  //
  5127  type xcb_query_tree_request_t1 = struct {
  5128  	Fmajor_opcode uint8_t
  5129  	Fpad0         uint8_t
  5130  	Flength       uint16_t
  5131  	Fwindow       xcb_window_t
  5132  } /* xproto.h:1830:9 */
  5133  
  5134  //* Opcode for xcb_query_tree.
  5135  
  5136  // *
  5137  // @brief xcb_query_tree_request_t
  5138  //
  5139  type xcb_query_tree_request_t = xcb_query_tree_request_t1 /* xproto.h:1835:3 */
  5140  
  5141  // *
  5142  // @brief xcb_query_tree_reply_t
  5143  //
  5144  type xcb_query_tree_reply_t1 = struct {
  5145  	Fresponse_type uint8_t
  5146  	Fpad0          uint8_t
  5147  	Fsequence      uint16_t
  5148  	Flength        uint32_t
  5149  	Froot          xcb_window_t
  5150  	Fparent        xcb_window_t
  5151  	Fchildren_len  uint16_t
  5152  	Fpad1          [14]uint8_t
  5153  } /* xproto.h:1840:9 */
  5154  
  5155  // *
  5156  // @brief xcb_query_tree_reply_t
  5157  //
  5158  type xcb_query_tree_reply_t = xcb_query_tree_reply_t1 /* xproto.h:1849:3 */
  5159  
  5160  // *
  5161  // @brief xcb_intern_atom_cookie_t
  5162  //
  5163  type xcb_intern_atom_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1854:9 */
  5164  
  5165  // *
  5166  // @brief xcb_intern_atom_cookie_t
  5167  //
  5168  type xcb_intern_atom_cookie_t = xcb_intern_atom_cookie_t1 /* xproto.h:1856:3 */
  5169  
  5170  //* Opcode for xcb_intern_atom.
  5171  
  5172  // *
  5173  // @brief xcb_intern_atom_request_t
  5174  //
  5175  type xcb_intern_atom_request_t1 = struct {
  5176  	Fmajor_opcode   uint8_t
  5177  	Fonly_if_exists uint8_t
  5178  	Flength         uint16_t
  5179  	Fname_len       uint16_t
  5180  	Fpad0           [2]uint8_t
  5181  } /* xproto.h:1864:9 */
  5182  
  5183  //* Opcode for xcb_intern_atom.
  5184  
  5185  // *
  5186  // @brief xcb_intern_atom_request_t
  5187  //
  5188  type xcb_intern_atom_request_t = xcb_intern_atom_request_t1 /* xproto.h:1870:3 */
  5189  
  5190  // *
  5191  // @brief xcb_intern_atom_reply_t
  5192  //
  5193  type xcb_intern_atom_reply_t1 = struct {
  5194  	Fresponse_type uint8_t
  5195  	Fpad0          uint8_t
  5196  	Fsequence      uint16_t
  5197  	Flength        uint32_t
  5198  	Fatom          xcb_atom_t
  5199  } /* xproto.h:1875:9 */
  5200  
  5201  // *
  5202  // @brief xcb_intern_atom_reply_t
  5203  //
  5204  type xcb_intern_atom_reply_t = xcb_intern_atom_reply_t1 /* xproto.h:1881:3 */
  5205  
  5206  // *
  5207  // @brief xcb_get_atom_name_cookie_t
  5208  //
  5209  type xcb_get_atom_name_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1886:9 */
  5210  
  5211  // *
  5212  // @brief xcb_get_atom_name_cookie_t
  5213  //
  5214  type xcb_get_atom_name_cookie_t = xcb_get_atom_name_cookie_t1 /* xproto.h:1888:3 */
  5215  
  5216  //* Opcode for xcb_get_atom_name.
  5217  
  5218  // *
  5219  // @brief xcb_get_atom_name_request_t
  5220  //
  5221  type xcb_get_atom_name_request_t1 = struct {
  5222  	Fmajor_opcode uint8_t
  5223  	Fpad0         uint8_t
  5224  	Flength       uint16_t
  5225  	Fatom         xcb_atom_t
  5226  } /* xproto.h:1896:9 */
  5227  
  5228  //* Opcode for xcb_get_atom_name.
  5229  
  5230  // *
  5231  // @brief xcb_get_atom_name_request_t
  5232  //
  5233  type xcb_get_atom_name_request_t = xcb_get_atom_name_request_t1 /* xproto.h:1901:3 */
  5234  
  5235  // *
  5236  // @brief xcb_get_atom_name_reply_t
  5237  //
  5238  type xcb_get_atom_name_reply_t1 = struct {
  5239  	Fresponse_type uint8_t
  5240  	Fpad0          uint8_t
  5241  	Fsequence      uint16_t
  5242  	Flength        uint32_t
  5243  	Fname_len      uint16_t
  5244  	Fpad1          [22]uint8_t
  5245  } /* xproto.h:1906:9 */
  5246  
  5247  // *
  5248  // @brief xcb_get_atom_name_reply_t
  5249  //
  5250  type xcb_get_atom_name_reply_t = xcb_get_atom_name_reply_t1 /* xproto.h:1913:3 */
  5251  
  5252  type xcb_prop_mode_t = uint32 /* xproto.h:1929:3 */
  5253  
  5254  //* Opcode for xcb_change_property.
  5255  
  5256  // *
  5257  // @brief xcb_change_property_request_t
  5258  //
  5259  type xcb_change_property_request_t1 = struct {
  5260  	Fmajor_opcode uint8_t
  5261  	Fmode         uint8_t
  5262  	Flength       uint16_t
  5263  	Fwindow       xcb_window_t
  5264  	Fproperty     xcb_atom_t
  5265  	Ftype         xcb_atom_t
  5266  	Fformat       uint8_t
  5267  	Fpad0         [3]uint8_t
  5268  	Fdata_len     uint32_t
  5269  } /* xproto.h:1937:9 */
  5270  
  5271  //* Opcode for xcb_change_property.
  5272  
  5273  // *
  5274  // @brief xcb_change_property_request_t
  5275  //
  5276  type xcb_change_property_request_t = xcb_change_property_request_t1 /* xproto.h:1947:3 */
  5277  
  5278  //* Opcode for xcb_delete_property.
  5279  
  5280  // *
  5281  // @brief xcb_delete_property_request_t
  5282  //
  5283  type xcb_delete_property_request_t1 = struct {
  5284  	Fmajor_opcode uint8_t
  5285  	Fpad0         uint8_t
  5286  	Flength       uint16_t
  5287  	Fwindow       xcb_window_t
  5288  	Fproperty     xcb_atom_t
  5289  } /* xproto.h:1955:9 */
  5290  
  5291  //* Opcode for xcb_delete_property.
  5292  
  5293  // *
  5294  // @brief xcb_delete_property_request_t
  5295  //
  5296  type xcb_delete_property_request_t = xcb_delete_property_request_t1 /* xproto.h:1961:3 */
  5297  
  5298  type xcb_get_property_type_t = uint32 /* xproto.h:1965:3 */
  5299  
  5300  // *
  5301  // @brief xcb_get_property_cookie_t
  5302  //
  5303  type xcb_get_property_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1970:9 */
  5304  
  5305  // *
  5306  // @brief xcb_get_property_cookie_t
  5307  //
  5308  type xcb_get_property_cookie_t = xcb_get_property_cookie_t1 /* xproto.h:1972:3 */
  5309  
  5310  //* Opcode for xcb_get_property.
  5311  
  5312  // *
  5313  // @brief xcb_get_property_request_t
  5314  //
  5315  type xcb_get_property_request_t1 = struct {
  5316  	Fmajor_opcode uint8_t
  5317  	F_delete      uint8_t
  5318  	Flength       uint16_t
  5319  	Fwindow       xcb_window_t
  5320  	Fproperty     xcb_atom_t
  5321  	Ftype         xcb_atom_t
  5322  	Flong_offset  uint32_t
  5323  	Flong_length  uint32_t
  5324  } /* xproto.h:1980:9 */
  5325  
  5326  //* Opcode for xcb_get_property.
  5327  
  5328  // *
  5329  // @brief xcb_get_property_request_t
  5330  //
  5331  type xcb_get_property_request_t = xcb_get_property_request_t1 /* xproto.h:1989:3 */
  5332  
  5333  // *
  5334  // @brief xcb_get_property_reply_t
  5335  //
  5336  type xcb_get_property_reply_t1 = struct {
  5337  	Fresponse_type uint8_t
  5338  	Fformat        uint8_t
  5339  	Fsequence      uint16_t
  5340  	Flength        uint32_t
  5341  	Ftype          xcb_atom_t
  5342  	Fbytes_after   uint32_t
  5343  	Fvalue_len     uint32_t
  5344  	Fpad0          [12]uint8_t
  5345  } /* xproto.h:1994:9 */
  5346  
  5347  // *
  5348  // @brief xcb_get_property_reply_t
  5349  //
  5350  type xcb_get_property_reply_t = xcb_get_property_reply_t1 /* xproto.h:2003:3 */
  5351  
  5352  // *
  5353  // @brief xcb_list_properties_cookie_t
  5354  //
  5355  type xcb_list_properties_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2008:9 */
  5356  
  5357  // *
  5358  // @brief xcb_list_properties_cookie_t
  5359  //
  5360  type xcb_list_properties_cookie_t = xcb_list_properties_cookie_t1 /* xproto.h:2010:3 */
  5361  
  5362  //* Opcode for xcb_list_properties.
  5363  
  5364  // *
  5365  // @brief xcb_list_properties_request_t
  5366  //
  5367  type xcb_list_properties_request_t1 = struct {
  5368  	Fmajor_opcode uint8_t
  5369  	Fpad0         uint8_t
  5370  	Flength       uint16_t
  5371  	Fwindow       xcb_window_t
  5372  } /* xproto.h:2018:9 */
  5373  
  5374  //* Opcode for xcb_list_properties.
  5375  
  5376  // *
  5377  // @brief xcb_list_properties_request_t
  5378  //
  5379  type xcb_list_properties_request_t = xcb_list_properties_request_t1 /* xproto.h:2023:3 */
  5380  
  5381  // *
  5382  // @brief xcb_list_properties_reply_t
  5383  //
  5384  type xcb_list_properties_reply_t1 = struct {
  5385  	Fresponse_type uint8_t
  5386  	Fpad0          uint8_t
  5387  	Fsequence      uint16_t
  5388  	Flength        uint32_t
  5389  	Fatoms_len     uint16_t
  5390  	Fpad1          [22]uint8_t
  5391  } /* xproto.h:2028:9 */
  5392  
  5393  // *
  5394  // @brief xcb_list_properties_reply_t
  5395  //
  5396  type xcb_list_properties_reply_t = xcb_list_properties_reply_t1 /* xproto.h:2035:3 */
  5397  
  5398  //* Opcode for xcb_set_selection_owner.
  5399  
  5400  // *
  5401  // @brief xcb_set_selection_owner_request_t
  5402  //
  5403  type xcb_set_selection_owner_request_t1 = struct {
  5404  	Fmajor_opcode uint8_t
  5405  	Fpad0         uint8_t
  5406  	Flength       uint16_t
  5407  	Fowner        xcb_window_t
  5408  	Fselection    xcb_atom_t
  5409  	Ftime         xcb_timestamp_t
  5410  } /* xproto.h:2043:9 */
  5411  
  5412  //* Opcode for xcb_set_selection_owner.
  5413  
  5414  // *
  5415  // @brief xcb_set_selection_owner_request_t
  5416  //
  5417  type xcb_set_selection_owner_request_t = xcb_set_selection_owner_request_t1 /* xproto.h:2050:3 */
  5418  
  5419  // *
  5420  // @brief xcb_get_selection_owner_cookie_t
  5421  //
  5422  type xcb_get_selection_owner_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2055:9 */
  5423  
  5424  // *
  5425  // @brief xcb_get_selection_owner_cookie_t
  5426  //
  5427  type xcb_get_selection_owner_cookie_t = xcb_get_selection_owner_cookie_t1 /* xproto.h:2057:3 */
  5428  
  5429  //* Opcode for xcb_get_selection_owner.
  5430  
  5431  // *
  5432  // @brief xcb_get_selection_owner_request_t
  5433  //
  5434  type xcb_get_selection_owner_request_t1 = struct {
  5435  	Fmajor_opcode uint8_t
  5436  	Fpad0         uint8_t
  5437  	Flength       uint16_t
  5438  	Fselection    xcb_atom_t
  5439  } /* xproto.h:2065:9 */
  5440  
  5441  //* Opcode for xcb_get_selection_owner.
  5442  
  5443  // *
  5444  // @brief xcb_get_selection_owner_request_t
  5445  //
  5446  type xcb_get_selection_owner_request_t = xcb_get_selection_owner_request_t1 /* xproto.h:2070:3 */
  5447  
  5448  // *
  5449  // @brief xcb_get_selection_owner_reply_t
  5450  //
  5451  type xcb_get_selection_owner_reply_t1 = struct {
  5452  	Fresponse_type uint8_t
  5453  	Fpad0          uint8_t
  5454  	Fsequence      uint16_t
  5455  	Flength        uint32_t
  5456  	Fowner         xcb_window_t
  5457  } /* xproto.h:2075:9 */
  5458  
  5459  // *
  5460  // @brief xcb_get_selection_owner_reply_t
  5461  //
  5462  type xcb_get_selection_owner_reply_t = xcb_get_selection_owner_reply_t1 /* xproto.h:2081:3 */
  5463  
  5464  //* Opcode for xcb_convert_selection.
  5465  
  5466  // *
  5467  // @brief xcb_convert_selection_request_t
  5468  //
  5469  type xcb_convert_selection_request_t1 = struct {
  5470  	Fmajor_opcode uint8_t
  5471  	Fpad0         uint8_t
  5472  	Flength       uint16_t
  5473  	Frequestor    xcb_window_t
  5474  	Fselection    xcb_atom_t
  5475  	Ftarget       xcb_atom_t
  5476  	Fproperty     xcb_atom_t
  5477  	Ftime         xcb_timestamp_t
  5478  } /* xproto.h:2089:9 */
  5479  
  5480  //* Opcode for xcb_convert_selection.
  5481  
  5482  // *
  5483  // @brief xcb_convert_selection_request_t
  5484  //
  5485  type xcb_convert_selection_request_t = xcb_convert_selection_request_t1 /* xproto.h:2098:3 */
  5486  
  5487  type xcb_send_event_dest_t = uint32 /* xproto.h:2103:3 */
  5488  
  5489  //* Opcode for xcb_send_event.
  5490  
  5491  // *
  5492  // @brief xcb_send_event_request_t
  5493  //
  5494  type xcb_send_event_request_t1 = struct {
  5495  	Fmajor_opcode uint8_t
  5496  	Fpropagate    uint8_t
  5497  	Flength       uint16_t
  5498  	Fdestination  xcb_window_t
  5499  	Fevent_mask   uint32_t
  5500  	Fevent        [32]int8
  5501  } /* xproto.h:2111:9 */
  5502  
  5503  //* Opcode for xcb_send_event.
  5504  
  5505  // *
  5506  // @brief xcb_send_event_request_t
  5507  //
  5508  type xcb_send_event_request_t = xcb_send_event_request_t1 /* xproto.h:2118:3 */
  5509  
  5510  type xcb_grab_mode_t = uint32 /* xproto.h:2129:3 */
  5511  
  5512  type xcb_grab_status_t = uint32 /* xproto.h:2137:3 */
  5513  
  5514  type xcb_cursor_enum_t = uint32 /* xproto.h:2141:3 */
  5515  
  5516  // *
  5517  // @brief xcb_grab_pointer_cookie_t
  5518  //
  5519  type xcb_grab_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2146:9 */
  5520  
  5521  // *
  5522  // @brief xcb_grab_pointer_cookie_t
  5523  //
  5524  type xcb_grab_pointer_cookie_t = xcb_grab_pointer_cookie_t1 /* xproto.h:2148:3 */
  5525  
  5526  //* Opcode for xcb_grab_pointer.
  5527  
  5528  // *
  5529  // @brief xcb_grab_pointer_request_t
  5530  //
  5531  type xcb_grab_pointer_request_t1 = struct {
  5532  	Fmajor_opcode  uint8_t
  5533  	Fowner_events  uint8_t
  5534  	Flength        uint16_t
  5535  	Fgrab_window   xcb_window_t
  5536  	Fevent_mask    uint16_t
  5537  	Fpointer_mode  uint8_t
  5538  	Fkeyboard_mode uint8_t
  5539  	Fconfine_to    xcb_window_t
  5540  	Fcursor        xcb_cursor_t
  5541  	Ftime          xcb_timestamp_t
  5542  } /* xproto.h:2156:9 */
  5543  
  5544  //* Opcode for xcb_grab_pointer.
  5545  
  5546  // *
  5547  // @brief xcb_grab_pointer_request_t
  5548  //
  5549  type xcb_grab_pointer_request_t = xcb_grab_pointer_request_t1 /* xproto.h:2167:3 */
  5550  
  5551  // *
  5552  // @brief xcb_grab_pointer_reply_t
  5553  //
  5554  type xcb_grab_pointer_reply_t1 = struct {
  5555  	Fresponse_type uint8_t
  5556  	Fstatus        uint8_t
  5557  	Fsequence      uint16_t
  5558  	Flength        uint32_t
  5559  } /* xproto.h:2172:9 */
  5560  
  5561  // *
  5562  // @brief xcb_grab_pointer_reply_t
  5563  //
  5564  type xcb_grab_pointer_reply_t = xcb_grab_pointer_reply_t1 /* xproto.h:2177:3 */
  5565  
  5566  //* Opcode for xcb_ungrab_pointer.
  5567  
  5568  // *
  5569  // @brief xcb_ungrab_pointer_request_t
  5570  //
  5571  type xcb_ungrab_pointer_request_t1 = struct {
  5572  	Fmajor_opcode uint8_t
  5573  	Fpad0         uint8_t
  5574  	Flength       uint16_t
  5575  	Ftime         xcb_timestamp_t
  5576  } /* xproto.h:2185:9 */
  5577  
  5578  //* Opcode for xcb_ungrab_pointer.
  5579  
  5580  // *
  5581  // @brief xcb_ungrab_pointer_request_t
  5582  //
  5583  type xcb_ungrab_pointer_request_t = xcb_ungrab_pointer_request_t1 /* xproto.h:2190:3 */
  5584  
  5585  type xcb_button_index_t = uint32 /* xproto.h:2211:3 */
  5586  
  5587  //* Opcode for xcb_grab_button.
  5588  
  5589  // *
  5590  // @brief xcb_grab_button_request_t
  5591  //
  5592  type xcb_grab_button_request_t1 = struct {
  5593  	Fmajor_opcode  uint8_t
  5594  	Fowner_events  uint8_t
  5595  	Flength        uint16_t
  5596  	Fgrab_window   xcb_window_t
  5597  	Fevent_mask    uint16_t
  5598  	Fpointer_mode  uint8_t
  5599  	Fkeyboard_mode uint8_t
  5600  	Fconfine_to    xcb_window_t
  5601  	Fcursor        xcb_cursor_t
  5602  	Fbutton        uint8_t
  5603  	Fpad0          uint8_t
  5604  	Fmodifiers     uint16_t
  5605  } /* xproto.h:2219:9 */
  5606  
  5607  //* Opcode for xcb_grab_button.
  5608  
  5609  // *
  5610  // @brief xcb_grab_button_request_t
  5611  //
  5612  type xcb_grab_button_request_t = xcb_grab_button_request_t1 /* xproto.h:2232:3 */
  5613  
  5614  //* Opcode for xcb_ungrab_button.
  5615  
  5616  // *
  5617  // @brief xcb_ungrab_button_request_t
  5618  //
  5619  type xcb_ungrab_button_request_t1 = struct {
  5620  	Fmajor_opcode uint8_t
  5621  	Fbutton       uint8_t
  5622  	Flength       uint16_t
  5623  	Fgrab_window  xcb_window_t
  5624  	Fmodifiers    uint16_t
  5625  	Fpad0         [2]uint8_t
  5626  } /* xproto.h:2240:9 */
  5627  
  5628  //* Opcode for xcb_ungrab_button.
  5629  
  5630  // *
  5631  // @brief xcb_ungrab_button_request_t
  5632  //
  5633  type xcb_ungrab_button_request_t = xcb_ungrab_button_request_t1 /* xproto.h:2247:3 */
  5634  
  5635  //* Opcode for xcb_change_active_pointer_grab.
  5636  
  5637  // *
  5638  // @brief xcb_change_active_pointer_grab_request_t
  5639  //
  5640  type xcb_change_active_pointer_grab_request_t1 = struct {
  5641  	Fmajor_opcode uint8_t
  5642  	Fpad0         uint8_t
  5643  	Flength       uint16_t
  5644  	Fcursor       xcb_cursor_t
  5645  	Ftime         xcb_timestamp_t
  5646  	Fevent_mask   uint16_t
  5647  	Fpad1         [2]uint8_t
  5648  } /* xproto.h:2255:9 */
  5649  
  5650  //* Opcode for xcb_change_active_pointer_grab.
  5651  
  5652  // *
  5653  // @brief xcb_change_active_pointer_grab_request_t
  5654  //
  5655  type xcb_change_active_pointer_grab_request_t = xcb_change_active_pointer_grab_request_t1 /* xproto.h:2263:3 */
  5656  
  5657  // *
  5658  // @brief xcb_grab_keyboard_cookie_t
  5659  //
  5660  type xcb_grab_keyboard_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2268:9 */
  5661  
  5662  // *
  5663  // @brief xcb_grab_keyboard_cookie_t
  5664  //
  5665  type xcb_grab_keyboard_cookie_t = xcb_grab_keyboard_cookie_t1 /* xproto.h:2270:3 */
  5666  
  5667  //* Opcode for xcb_grab_keyboard.
  5668  
  5669  // *
  5670  // @brief xcb_grab_keyboard_request_t
  5671  //
  5672  type xcb_grab_keyboard_request_t1 = struct {
  5673  	Fmajor_opcode  uint8_t
  5674  	Fowner_events  uint8_t
  5675  	Flength        uint16_t
  5676  	Fgrab_window   xcb_window_t
  5677  	Ftime          xcb_timestamp_t
  5678  	Fpointer_mode  uint8_t
  5679  	Fkeyboard_mode uint8_t
  5680  	Fpad0          [2]uint8_t
  5681  } /* xproto.h:2278:9 */
  5682  
  5683  //* Opcode for xcb_grab_keyboard.
  5684  
  5685  // *
  5686  // @brief xcb_grab_keyboard_request_t
  5687  //
  5688  type xcb_grab_keyboard_request_t = xcb_grab_keyboard_request_t1 /* xproto.h:2287:3 */
  5689  
  5690  // *
  5691  // @brief xcb_grab_keyboard_reply_t
  5692  //
  5693  type xcb_grab_keyboard_reply_t1 = struct {
  5694  	Fresponse_type uint8_t
  5695  	Fstatus        uint8_t
  5696  	Fsequence      uint16_t
  5697  	Flength        uint32_t
  5698  } /* xproto.h:2292:9 */
  5699  
  5700  // *
  5701  // @brief xcb_grab_keyboard_reply_t
  5702  //
  5703  type xcb_grab_keyboard_reply_t = xcb_grab_keyboard_reply_t1 /* xproto.h:2297:3 */
  5704  
  5705  //* Opcode for xcb_ungrab_keyboard.
  5706  
  5707  // *
  5708  // @brief xcb_ungrab_keyboard_request_t
  5709  //
  5710  type xcb_ungrab_keyboard_request_t1 = struct {
  5711  	Fmajor_opcode uint8_t
  5712  	Fpad0         uint8_t
  5713  	Flength       uint16_t
  5714  	Ftime         xcb_timestamp_t
  5715  } /* xproto.h:2305:9 */
  5716  
  5717  //* Opcode for xcb_ungrab_keyboard.
  5718  
  5719  // *
  5720  // @brief xcb_ungrab_keyboard_request_t
  5721  //
  5722  type xcb_ungrab_keyboard_request_t = xcb_ungrab_keyboard_request_t1 /* xproto.h:2310:3 */
  5723  
  5724  type xcb_grab_t = uint32 /* xproto.h:2314:3 */
  5725  
  5726  //* Opcode for xcb_grab_key.
  5727  
  5728  // *
  5729  // @brief xcb_grab_key_request_t
  5730  //
  5731  type xcb_grab_key_request_t1 = struct {
  5732  	Fmajor_opcode  uint8_t
  5733  	Fowner_events  uint8_t
  5734  	Flength        uint16_t
  5735  	Fgrab_window   xcb_window_t
  5736  	Fmodifiers     uint16_t
  5737  	Fkey           xcb_keycode_t
  5738  	Fpointer_mode  uint8_t
  5739  	Fkeyboard_mode uint8_t
  5740  	Fpad0          [3]uint8_t
  5741  } /* xproto.h:2322:9 */
  5742  
  5743  //* Opcode for xcb_grab_key.
  5744  
  5745  // *
  5746  // @brief xcb_grab_key_request_t
  5747  //
  5748  type xcb_grab_key_request_t = xcb_grab_key_request_t1 /* xproto.h:2332:3 */
  5749  
  5750  //* Opcode for xcb_ungrab_key.
  5751  
  5752  // *
  5753  // @brief xcb_ungrab_key_request_t
  5754  //
  5755  type xcb_ungrab_key_request_t1 = struct {
  5756  	Fmajor_opcode uint8_t
  5757  	Fkey          xcb_keycode_t
  5758  	Flength       uint16_t
  5759  	Fgrab_window  xcb_window_t
  5760  	Fmodifiers    uint16_t
  5761  	Fpad0         [2]uint8_t
  5762  } /* xproto.h:2340:9 */
  5763  
  5764  //* Opcode for xcb_ungrab_key.
  5765  
  5766  // *
  5767  // @brief xcb_ungrab_key_request_t
  5768  //
  5769  type xcb_ungrab_key_request_t = xcb_ungrab_key_request_t1 /* xproto.h:2347:3 */
  5770  
  5771  type xcb_allow_t = uint32 /* xproto.h:2423:3 */
  5772  
  5773  //* Opcode for xcb_allow_events.
  5774  
  5775  // *
  5776  // @brief xcb_allow_events_request_t
  5777  //
  5778  type xcb_allow_events_request_t1 = struct {
  5779  	Fmajor_opcode uint8_t
  5780  	Fmode         uint8_t
  5781  	Flength       uint16_t
  5782  	Ftime         xcb_timestamp_t
  5783  } /* xproto.h:2431:9 */
  5784  
  5785  //* Opcode for xcb_allow_events.
  5786  
  5787  // *
  5788  // @brief xcb_allow_events_request_t
  5789  //
  5790  type xcb_allow_events_request_t = xcb_allow_events_request_t1 /* xproto.h:2436:3 */
  5791  
  5792  //* Opcode for xcb_grab_server.
  5793  
  5794  // *
  5795  // @brief xcb_grab_server_request_t
  5796  //
  5797  type xcb_grab_server_request_t1 = struct {
  5798  	Fmajor_opcode uint8_t
  5799  	Fpad0         uint8_t
  5800  	Flength       uint16_t
  5801  } /* xproto.h:2444:9 */
  5802  
  5803  //* Opcode for xcb_grab_server.
  5804  
  5805  // *
  5806  // @brief xcb_grab_server_request_t
  5807  //
  5808  type xcb_grab_server_request_t = xcb_grab_server_request_t1 /* xproto.h:2448:3 */
  5809  
  5810  //* Opcode for xcb_ungrab_server.
  5811  
  5812  // *
  5813  // @brief xcb_ungrab_server_request_t
  5814  //
  5815  type xcb_ungrab_server_request_t1 = struct {
  5816  	Fmajor_opcode uint8_t
  5817  	Fpad0         uint8_t
  5818  	Flength       uint16_t
  5819  } /* xproto.h:2456:9 */
  5820  
  5821  //* Opcode for xcb_ungrab_server.
  5822  
  5823  // *
  5824  // @brief xcb_ungrab_server_request_t
  5825  //
  5826  type xcb_ungrab_server_request_t = xcb_ungrab_server_request_t1 /* xproto.h:2460:3 */
  5827  
  5828  // *
  5829  // @brief xcb_query_pointer_cookie_t
  5830  //
  5831  type xcb_query_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2465:9 */
  5832  
  5833  // *
  5834  // @brief xcb_query_pointer_cookie_t
  5835  //
  5836  type xcb_query_pointer_cookie_t = xcb_query_pointer_cookie_t1 /* xproto.h:2467:3 */
  5837  
  5838  //* Opcode for xcb_query_pointer.
  5839  
  5840  // *
  5841  // @brief xcb_query_pointer_request_t
  5842  //
  5843  type xcb_query_pointer_request_t1 = struct {
  5844  	Fmajor_opcode uint8_t
  5845  	Fpad0         uint8_t
  5846  	Flength       uint16_t
  5847  	Fwindow       xcb_window_t
  5848  } /* xproto.h:2475:9 */
  5849  
  5850  //* Opcode for xcb_query_pointer.
  5851  
  5852  // *
  5853  // @brief xcb_query_pointer_request_t
  5854  //
  5855  type xcb_query_pointer_request_t = xcb_query_pointer_request_t1 /* xproto.h:2480:3 */
  5856  
  5857  // *
  5858  // @brief xcb_query_pointer_reply_t
  5859  //
  5860  type xcb_query_pointer_reply_t1 = struct {
  5861  	Fresponse_type uint8_t
  5862  	Fsame_screen   uint8_t
  5863  	Fsequence      uint16_t
  5864  	Flength        uint32_t
  5865  	Froot          xcb_window_t
  5866  	Fchild         xcb_window_t
  5867  	Froot_x        int16_t
  5868  	Froot_y        int16_t
  5869  	Fwin_x         int16_t
  5870  	Fwin_y         int16_t
  5871  	Fmask          uint16_t
  5872  	Fpad0          [2]uint8_t
  5873  } /* xproto.h:2485:9 */
  5874  
  5875  // *
  5876  // @brief xcb_query_pointer_reply_t
  5877  //
  5878  type xcb_query_pointer_reply_t = xcb_query_pointer_reply_t1 /* xproto.h:2498:3 */
  5879  
  5880  // *
  5881  // @brief xcb_timecoord_t
  5882  //
  5883  type xcb_timecoord_t1 = struct {
  5884  	Ftime xcb_timestamp_t
  5885  	Fx    int16_t
  5886  	Fy    int16_t
  5887  } /* xproto.h:2503:9 */
  5888  
  5889  // *
  5890  // @brief xcb_timecoord_t
  5891  //
  5892  type xcb_timecoord_t = xcb_timecoord_t1 /* xproto.h:2507:3 */
  5893  
  5894  // *
  5895  // @brief xcb_timecoord_iterator_t
  5896  //
  5897  type xcb_timecoord_iterator_t1 = struct {
  5898  	Fdata  uintptr
  5899  	Frem   int32
  5900  	Findex int32
  5901  } /* xproto.h:2512:9 */
  5902  
  5903  // *
  5904  // @brief xcb_timecoord_iterator_t
  5905  //
  5906  type xcb_timecoord_iterator_t = xcb_timecoord_iterator_t1 /* xproto.h:2516:3 */
  5907  
  5908  // *
  5909  // @brief xcb_get_motion_events_cookie_t
  5910  //
  5911  type xcb_get_motion_events_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2521:9 */
  5912  
  5913  // *
  5914  // @brief xcb_get_motion_events_cookie_t
  5915  //
  5916  type xcb_get_motion_events_cookie_t = xcb_get_motion_events_cookie_t1 /* xproto.h:2523:3 */
  5917  
  5918  //* Opcode for xcb_get_motion_events.
  5919  
  5920  // *
  5921  // @brief xcb_get_motion_events_request_t
  5922  //
  5923  type xcb_get_motion_events_request_t1 = struct {
  5924  	Fmajor_opcode uint8_t
  5925  	Fpad0         uint8_t
  5926  	Flength       uint16_t
  5927  	Fwindow       xcb_window_t
  5928  	Fstart        xcb_timestamp_t
  5929  	Fstop         xcb_timestamp_t
  5930  } /* xproto.h:2531:9 */
  5931  
  5932  //* Opcode for xcb_get_motion_events.
  5933  
  5934  // *
  5935  // @brief xcb_get_motion_events_request_t
  5936  //
  5937  type xcb_get_motion_events_request_t = xcb_get_motion_events_request_t1 /* xproto.h:2538:3 */
  5938  
  5939  // *
  5940  // @brief xcb_get_motion_events_reply_t
  5941  //
  5942  type xcb_get_motion_events_reply_t1 = struct {
  5943  	Fresponse_type uint8_t
  5944  	Fpad0          uint8_t
  5945  	Fsequence      uint16_t
  5946  	Flength        uint32_t
  5947  	Fevents_len    uint32_t
  5948  	Fpad1          [20]uint8_t
  5949  } /* xproto.h:2543:9 */
  5950  
  5951  // *
  5952  // @brief xcb_get_motion_events_reply_t
  5953  //
  5954  type xcb_get_motion_events_reply_t = xcb_get_motion_events_reply_t1 /* xproto.h:2550:3 */
  5955  
  5956  // *
  5957  // @brief xcb_translate_coordinates_cookie_t
  5958  //
  5959  type xcb_translate_coordinates_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2555:9 */
  5960  
  5961  // *
  5962  // @brief xcb_translate_coordinates_cookie_t
  5963  //
  5964  type xcb_translate_coordinates_cookie_t = xcb_translate_coordinates_cookie_t1 /* xproto.h:2557:3 */
  5965  
  5966  //* Opcode for xcb_translate_coordinates.
  5967  
  5968  // *
  5969  // @brief xcb_translate_coordinates_request_t
  5970  //
  5971  type xcb_translate_coordinates_request_t1 = struct {
  5972  	Fmajor_opcode uint8_t
  5973  	Fpad0         uint8_t
  5974  	Flength       uint16_t
  5975  	Fsrc_window   xcb_window_t
  5976  	Fdst_window   xcb_window_t
  5977  	Fsrc_x        int16_t
  5978  	Fsrc_y        int16_t
  5979  } /* xproto.h:2565:9 */
  5980  
  5981  //* Opcode for xcb_translate_coordinates.
  5982  
  5983  // *
  5984  // @brief xcb_translate_coordinates_request_t
  5985  //
  5986  type xcb_translate_coordinates_request_t = xcb_translate_coordinates_request_t1 /* xproto.h:2573:3 */
  5987  
  5988  // *
  5989  // @brief xcb_translate_coordinates_reply_t
  5990  //
  5991  type xcb_translate_coordinates_reply_t1 = struct {
  5992  	Fresponse_type uint8_t
  5993  	Fsame_screen   uint8_t
  5994  	Fsequence      uint16_t
  5995  	Flength        uint32_t
  5996  	Fchild         xcb_window_t
  5997  	Fdst_x         int16_t
  5998  	Fdst_y         int16_t
  5999  } /* xproto.h:2578:9 */
  6000  
  6001  // *
  6002  // @brief xcb_translate_coordinates_reply_t
  6003  //
  6004  type xcb_translate_coordinates_reply_t = xcb_translate_coordinates_reply_t1 /* xproto.h:2586:3 */
  6005  
  6006  //* Opcode for xcb_warp_pointer.
  6007  
  6008  // *
  6009  // @brief xcb_warp_pointer_request_t
  6010  //
  6011  type xcb_warp_pointer_request_t1 = struct {
  6012  	Fmajor_opcode uint8_t
  6013  	Fpad0         uint8_t
  6014  	Flength       uint16_t
  6015  	Fsrc_window   xcb_window_t
  6016  	Fdst_window   xcb_window_t
  6017  	Fsrc_x        int16_t
  6018  	Fsrc_y        int16_t
  6019  	Fsrc_width    uint16_t
  6020  	Fsrc_height   uint16_t
  6021  	Fdst_x        int16_t
  6022  	Fdst_y        int16_t
  6023  } /* xproto.h:2594:9 */
  6024  
  6025  //* Opcode for xcb_warp_pointer.
  6026  
  6027  // *
  6028  // @brief xcb_warp_pointer_request_t
  6029  //
  6030  type xcb_warp_pointer_request_t = xcb_warp_pointer_request_t1 /* xproto.h:2606:3 */
  6031  
  6032  type xcb_input_focus_t = uint32 /* xproto.h:2624:3 */
  6033  
  6034  //* Opcode for xcb_set_input_focus.
  6035  
  6036  // *
  6037  // @brief xcb_set_input_focus_request_t
  6038  //
  6039  type xcb_set_input_focus_request_t1 = struct {
  6040  	Fmajor_opcode uint8_t
  6041  	Frevert_to    uint8_t
  6042  	Flength       uint16_t
  6043  	Ffocus        xcb_window_t
  6044  	Ftime         xcb_timestamp_t
  6045  } /* xproto.h:2632:9 */
  6046  
  6047  //* Opcode for xcb_set_input_focus.
  6048  
  6049  // *
  6050  // @brief xcb_set_input_focus_request_t
  6051  //
  6052  type xcb_set_input_focus_request_t = xcb_set_input_focus_request_t1 /* xproto.h:2638:3 */
  6053  
  6054  // *
  6055  // @brief xcb_get_input_focus_cookie_t
  6056  //
  6057  type xcb_get_input_focus_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2643:9 */
  6058  
  6059  // *
  6060  // @brief xcb_get_input_focus_cookie_t
  6061  //
  6062  type xcb_get_input_focus_cookie_t = xcb_get_input_focus_cookie_t1 /* xproto.h:2645:3 */
  6063  
  6064  //* Opcode for xcb_get_input_focus.
  6065  
  6066  // *
  6067  // @brief xcb_get_input_focus_request_t
  6068  //
  6069  type xcb_get_input_focus_request_t1 = struct {
  6070  	Fmajor_opcode uint8_t
  6071  	Fpad0         uint8_t
  6072  	Flength       uint16_t
  6073  } /* xproto.h:2653:9 */
  6074  
  6075  //* Opcode for xcb_get_input_focus.
  6076  
  6077  // *
  6078  // @brief xcb_get_input_focus_request_t
  6079  //
  6080  type xcb_get_input_focus_request_t = xcb_get_input_focus_request_t1 /* xproto.h:2657:3 */
  6081  
  6082  // *
  6083  // @brief xcb_get_input_focus_reply_t
  6084  //
  6085  type xcb_get_input_focus_reply_t1 = struct {
  6086  	Fresponse_type uint8_t
  6087  	Frevert_to     uint8_t
  6088  	Fsequence      uint16_t
  6089  	Flength        uint32_t
  6090  	Ffocus         xcb_window_t
  6091  } /* xproto.h:2662:9 */
  6092  
  6093  // *
  6094  // @brief xcb_get_input_focus_reply_t
  6095  //
  6096  type xcb_get_input_focus_reply_t = xcb_get_input_focus_reply_t1 /* xproto.h:2668:3 */
  6097  
  6098  // *
  6099  // @brief xcb_query_keymap_cookie_t
  6100  //
  6101  type xcb_query_keymap_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2673:9 */
  6102  
  6103  // *
  6104  // @brief xcb_query_keymap_cookie_t
  6105  //
  6106  type xcb_query_keymap_cookie_t = xcb_query_keymap_cookie_t1 /* xproto.h:2675:3 */
  6107  
  6108  //* Opcode for xcb_query_keymap.
  6109  
  6110  // *
  6111  // @brief xcb_query_keymap_request_t
  6112  //
  6113  type xcb_query_keymap_request_t1 = struct {
  6114  	Fmajor_opcode uint8_t
  6115  	Fpad0         uint8_t
  6116  	Flength       uint16_t
  6117  } /* xproto.h:2683:9 */
  6118  
  6119  //* Opcode for xcb_query_keymap.
  6120  
  6121  // *
  6122  // @brief xcb_query_keymap_request_t
  6123  //
  6124  type xcb_query_keymap_request_t = xcb_query_keymap_request_t1 /* xproto.h:2687:3 */
  6125  
  6126  // *
  6127  // @brief xcb_query_keymap_reply_t
  6128  //
  6129  type xcb_query_keymap_reply_t1 = struct {
  6130  	Fresponse_type uint8_t
  6131  	Fpad0          uint8_t
  6132  	Fsequence      uint16_t
  6133  	Flength        uint32_t
  6134  	Fkeys          [32]uint8_t
  6135  } /* xproto.h:2692:9 */
  6136  
  6137  // *
  6138  // @brief xcb_query_keymap_reply_t
  6139  //
  6140  type xcb_query_keymap_reply_t = xcb_query_keymap_reply_t1 /* xproto.h:2698:3 */
  6141  
  6142  //* Opcode for xcb_open_font.
  6143  
  6144  // *
  6145  // @brief xcb_open_font_request_t
  6146  //
  6147  type xcb_open_font_request_t1 = struct {
  6148  	Fmajor_opcode uint8_t
  6149  	Fpad0         uint8_t
  6150  	Flength       uint16_t
  6151  	Ffid          xcb_font_t
  6152  	Fname_len     uint16_t
  6153  	Fpad1         [2]uint8_t
  6154  } /* xproto.h:2706:9 */
  6155  
  6156  //* Opcode for xcb_open_font.
  6157  
  6158  // *
  6159  // @brief xcb_open_font_request_t
  6160  //
  6161  type xcb_open_font_request_t = xcb_open_font_request_t1 /* xproto.h:2713:3 */
  6162  
  6163  //* Opcode for xcb_close_font.
  6164  
  6165  // *
  6166  // @brief xcb_close_font_request_t
  6167  //
  6168  type xcb_close_font_request_t1 = struct {
  6169  	Fmajor_opcode uint8_t
  6170  	Fpad0         uint8_t
  6171  	Flength       uint16_t
  6172  	Ffont         xcb_font_t
  6173  } /* xproto.h:2721:9 */
  6174  
  6175  //* Opcode for xcb_close_font.
  6176  
  6177  // *
  6178  // @brief xcb_close_font_request_t
  6179  //
  6180  type xcb_close_font_request_t = xcb_close_font_request_t1 /* xproto.h:2726:3 */
  6181  
  6182  type xcb_font_draw_t = uint32 /* xproto.h:2731:3 */
  6183  
  6184  // *
  6185  // @brief xcb_fontprop_t
  6186  //
  6187  type xcb_fontprop_t1 = struct {
  6188  	Fname  xcb_atom_t
  6189  	Fvalue uint32_t
  6190  } /* xproto.h:2736:9 */
  6191  
  6192  // *
  6193  // @brief xcb_fontprop_t
  6194  //
  6195  type xcb_fontprop_t = xcb_fontprop_t1 /* xproto.h:2739:3 */
  6196  
  6197  // *
  6198  // @brief xcb_fontprop_iterator_t
  6199  //
  6200  type xcb_fontprop_iterator_t1 = struct {
  6201  	Fdata  uintptr
  6202  	Frem   int32
  6203  	Findex int32
  6204  } /* xproto.h:2744:9 */
  6205  
  6206  // *
  6207  // @brief xcb_fontprop_iterator_t
  6208  //
  6209  type xcb_fontprop_iterator_t = xcb_fontprop_iterator_t1 /* xproto.h:2748:3 */
  6210  
  6211  // *
  6212  // @brief xcb_charinfo_t
  6213  //
  6214  type xcb_charinfo_t1 = struct {
  6215  	Fleft_side_bearing  int16_t
  6216  	Fright_side_bearing int16_t
  6217  	Fcharacter_width    int16_t
  6218  	Fascent             int16_t
  6219  	Fdescent            int16_t
  6220  	Fattributes         uint16_t
  6221  } /* xproto.h:2753:9 */
  6222  
  6223  // *
  6224  // @brief xcb_charinfo_t
  6225  //
  6226  type xcb_charinfo_t = xcb_charinfo_t1 /* xproto.h:2760:3 */
  6227  
  6228  // *
  6229  // @brief xcb_charinfo_iterator_t
  6230  //
  6231  type xcb_charinfo_iterator_t1 = struct {
  6232  	Fdata  uintptr
  6233  	Frem   int32
  6234  	Findex int32
  6235  } /* xproto.h:2765:9 */
  6236  
  6237  // *
  6238  // @brief xcb_charinfo_iterator_t
  6239  //
  6240  type xcb_charinfo_iterator_t = xcb_charinfo_iterator_t1 /* xproto.h:2769:3 */
  6241  
  6242  // *
  6243  // @brief xcb_query_font_cookie_t
  6244  //
  6245  type xcb_query_font_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2774:9 */
  6246  
  6247  // *
  6248  // @brief xcb_query_font_cookie_t
  6249  //
  6250  type xcb_query_font_cookie_t = xcb_query_font_cookie_t1 /* xproto.h:2776:3 */
  6251  
  6252  //* Opcode for xcb_query_font.
  6253  
  6254  // *
  6255  // @brief xcb_query_font_request_t
  6256  //
  6257  type xcb_query_font_request_t1 = struct {
  6258  	Fmajor_opcode uint8_t
  6259  	Fpad0         uint8_t
  6260  	Flength       uint16_t
  6261  	Ffont         xcb_fontable_t
  6262  } /* xproto.h:2784:9 */
  6263  
  6264  //* Opcode for xcb_query_font.
  6265  
  6266  // *
  6267  // @brief xcb_query_font_request_t
  6268  //
  6269  type xcb_query_font_request_t = xcb_query_font_request_t1 /* xproto.h:2789:3 */
  6270  
  6271  // *
  6272  // @brief xcb_query_font_reply_t
  6273  //
  6274  type xcb_query_font_reply_t1 = struct {
  6275  	Fresponse_type     uint8_t
  6276  	Fpad0              uint8_t
  6277  	Fsequence          uint16_t
  6278  	Flength            uint32_t
  6279  	Fmin_bounds        xcb_charinfo_t
  6280  	Fpad1              [4]uint8_t
  6281  	Fmax_bounds        xcb_charinfo_t
  6282  	Fpad2              [4]uint8_t
  6283  	Fmin_char_or_byte2 uint16_t
  6284  	Fmax_char_or_byte2 uint16_t
  6285  	Fdefault_char      uint16_t
  6286  	Fproperties_len    uint16_t
  6287  	Fdraw_direction    uint8_t
  6288  	Fmin_byte1         uint8_t
  6289  	Fmax_byte1         uint8_t
  6290  	Fall_chars_exist   uint8_t
  6291  	Ffont_ascent       int16_t
  6292  	Ffont_descent      int16_t
  6293  	Fchar_infos_len    uint32_t
  6294  } /* xproto.h:2794:9 */
  6295  
  6296  // *
  6297  // @brief xcb_query_font_reply_t
  6298  //
  6299  type xcb_query_font_reply_t = xcb_query_font_reply_t1 /* xproto.h:2814:3 */
  6300  
  6301  // *
  6302  // @brief xcb_query_text_extents_cookie_t
  6303  //
  6304  type xcb_query_text_extents_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2819:9 */
  6305  
  6306  // *
  6307  // @brief xcb_query_text_extents_cookie_t
  6308  //
  6309  type xcb_query_text_extents_cookie_t = xcb_query_text_extents_cookie_t1 /* xproto.h:2821:3 */
  6310  
  6311  //* Opcode for xcb_query_text_extents.
  6312  
  6313  // *
  6314  // @brief xcb_query_text_extents_request_t
  6315  //
  6316  type xcb_query_text_extents_request_t1 = struct {
  6317  	Fmajor_opcode uint8_t
  6318  	Fodd_length   uint8_t
  6319  	Flength       uint16_t
  6320  	Ffont         xcb_fontable_t
  6321  } /* xproto.h:2829:9 */
  6322  
  6323  //* Opcode for xcb_query_text_extents.
  6324  
  6325  // *
  6326  // @brief xcb_query_text_extents_request_t
  6327  //
  6328  type xcb_query_text_extents_request_t = xcb_query_text_extents_request_t1 /* xproto.h:2834:3 */
  6329  
  6330  // *
  6331  // @brief xcb_query_text_extents_reply_t
  6332  //
  6333  type xcb_query_text_extents_reply_t1 = struct {
  6334  	Fresponse_type   uint8_t
  6335  	Fdraw_direction  uint8_t
  6336  	Fsequence        uint16_t
  6337  	Flength          uint32_t
  6338  	Ffont_ascent     int16_t
  6339  	Ffont_descent    int16_t
  6340  	Foverall_ascent  int16_t
  6341  	Foverall_descent int16_t
  6342  	Foverall_width   int32_t
  6343  	Foverall_left    int32_t
  6344  	Foverall_right   int32_t
  6345  } /* xproto.h:2839:9 */
  6346  
  6347  // *
  6348  // @brief xcb_query_text_extents_reply_t
  6349  //
  6350  type xcb_query_text_extents_reply_t = xcb_query_text_extents_reply_t1 /* xproto.h:2851:3 */
  6351  
  6352  // *
  6353  // @brief xcb_str_t
  6354  //
  6355  type xcb_str_t1 = struct{ Fname_len uint8_t } /* xproto.h:2856:9 */
  6356  
  6357  // *
  6358  // @brief xcb_str_t
  6359  //
  6360  type xcb_str_t = xcb_str_t1 /* xproto.h:2858:3 */
  6361  
  6362  // *
  6363  // @brief xcb_str_iterator_t
  6364  //
  6365  type xcb_str_iterator_t1 = struct {
  6366  	Fdata  uintptr
  6367  	Frem   int32
  6368  	Findex int32
  6369  } /* xproto.h:2863:9 */
  6370  
  6371  // *
  6372  // @brief xcb_str_iterator_t
  6373  //
  6374  type xcb_str_iterator_t = xcb_str_iterator_t1 /* xproto.h:2867:3 */
  6375  
  6376  // *
  6377  // @brief xcb_list_fonts_cookie_t
  6378  //
  6379  type xcb_list_fonts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2872:9 */
  6380  
  6381  // *
  6382  // @brief xcb_list_fonts_cookie_t
  6383  //
  6384  type xcb_list_fonts_cookie_t = xcb_list_fonts_cookie_t1 /* xproto.h:2874:3 */
  6385  
  6386  //* Opcode for xcb_list_fonts.
  6387  
  6388  // *
  6389  // @brief xcb_list_fonts_request_t
  6390  //
  6391  type xcb_list_fonts_request_t1 = struct {
  6392  	Fmajor_opcode uint8_t
  6393  	Fpad0         uint8_t
  6394  	Flength       uint16_t
  6395  	Fmax_names    uint16_t
  6396  	Fpattern_len  uint16_t
  6397  } /* xproto.h:2882:9 */
  6398  
  6399  //* Opcode for xcb_list_fonts.
  6400  
  6401  // *
  6402  // @brief xcb_list_fonts_request_t
  6403  //
  6404  type xcb_list_fonts_request_t = xcb_list_fonts_request_t1 /* xproto.h:2888:3 */
  6405  
  6406  // *
  6407  // @brief xcb_list_fonts_reply_t
  6408  //
  6409  type xcb_list_fonts_reply_t1 = struct {
  6410  	Fresponse_type uint8_t
  6411  	Fpad0          uint8_t
  6412  	Fsequence      uint16_t
  6413  	Flength        uint32_t
  6414  	Fnames_len     uint16_t
  6415  	Fpad1          [22]uint8_t
  6416  } /* xproto.h:2893:9 */
  6417  
  6418  // *
  6419  // @brief xcb_list_fonts_reply_t
  6420  //
  6421  type xcb_list_fonts_reply_t = xcb_list_fonts_reply_t1 /* xproto.h:2900:3 */
  6422  
  6423  // *
  6424  // @brief xcb_list_fonts_with_info_cookie_t
  6425  //
  6426  type xcb_list_fonts_with_info_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2905:9 */
  6427  
  6428  // *
  6429  // @brief xcb_list_fonts_with_info_cookie_t
  6430  //
  6431  type xcb_list_fonts_with_info_cookie_t = xcb_list_fonts_with_info_cookie_t1 /* xproto.h:2907:3 */
  6432  
  6433  //* Opcode for xcb_list_fonts_with_info.
  6434  
  6435  // *
  6436  // @brief xcb_list_fonts_with_info_request_t
  6437  //
  6438  type xcb_list_fonts_with_info_request_t1 = struct {
  6439  	Fmajor_opcode uint8_t
  6440  	Fpad0         uint8_t
  6441  	Flength       uint16_t
  6442  	Fmax_names    uint16_t
  6443  	Fpattern_len  uint16_t
  6444  } /* xproto.h:2915:9 */
  6445  
  6446  //* Opcode for xcb_list_fonts_with_info.
  6447  
  6448  // *
  6449  // @brief xcb_list_fonts_with_info_request_t
  6450  //
  6451  type xcb_list_fonts_with_info_request_t = xcb_list_fonts_with_info_request_t1 /* xproto.h:2921:3 */
  6452  
  6453  // *
  6454  // @brief xcb_list_fonts_with_info_reply_t
  6455  //
  6456  type xcb_list_fonts_with_info_reply_t1 = struct {
  6457  	Fresponse_type     uint8_t
  6458  	Fname_len          uint8_t
  6459  	Fsequence          uint16_t
  6460  	Flength            uint32_t
  6461  	Fmin_bounds        xcb_charinfo_t
  6462  	Fpad0              [4]uint8_t
  6463  	Fmax_bounds        xcb_charinfo_t
  6464  	Fpad1              [4]uint8_t
  6465  	Fmin_char_or_byte2 uint16_t
  6466  	Fmax_char_or_byte2 uint16_t
  6467  	Fdefault_char      uint16_t
  6468  	Fproperties_len    uint16_t
  6469  	Fdraw_direction    uint8_t
  6470  	Fmin_byte1         uint8_t
  6471  	Fmax_byte1         uint8_t
  6472  	Fall_chars_exist   uint8_t
  6473  	Ffont_ascent       int16_t
  6474  	Ffont_descent      int16_t
  6475  	Freplies_hint      uint32_t
  6476  } /* xproto.h:2926:9 */
  6477  
  6478  // *
  6479  // @brief xcb_list_fonts_with_info_reply_t
  6480  //
  6481  type xcb_list_fonts_with_info_reply_t = xcb_list_fonts_with_info_reply_t1 /* xproto.h:2946:3 */
  6482  
  6483  //* Opcode for xcb_set_font_path.
  6484  
  6485  // *
  6486  // @brief xcb_set_font_path_request_t
  6487  //
  6488  type xcb_set_font_path_request_t1 = struct {
  6489  	Fmajor_opcode uint8_t
  6490  	Fpad0         uint8_t
  6491  	Flength       uint16_t
  6492  	Ffont_qty     uint16_t
  6493  	Fpad1         [2]uint8_t
  6494  } /* xproto.h:2954:9 */
  6495  
  6496  //* Opcode for xcb_set_font_path.
  6497  
  6498  // *
  6499  // @brief xcb_set_font_path_request_t
  6500  //
  6501  type xcb_set_font_path_request_t = xcb_set_font_path_request_t1 /* xproto.h:2960:3 */
  6502  
  6503  // *
  6504  // @brief xcb_get_font_path_cookie_t
  6505  //
  6506  type xcb_get_font_path_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2965:9 */
  6507  
  6508  // *
  6509  // @brief xcb_get_font_path_cookie_t
  6510  //
  6511  type xcb_get_font_path_cookie_t = xcb_get_font_path_cookie_t1 /* xproto.h:2967:3 */
  6512  
  6513  //* Opcode for xcb_get_font_path.
  6514  
  6515  // *
  6516  // @brief xcb_get_font_path_request_t
  6517  //
  6518  type xcb_get_font_path_request_t1 = struct {
  6519  	Fmajor_opcode uint8_t
  6520  	Fpad0         uint8_t
  6521  	Flength       uint16_t
  6522  } /* xproto.h:2975:9 */
  6523  
  6524  //* Opcode for xcb_get_font_path.
  6525  
  6526  // *
  6527  // @brief xcb_get_font_path_request_t
  6528  //
  6529  type xcb_get_font_path_request_t = xcb_get_font_path_request_t1 /* xproto.h:2979:3 */
  6530  
  6531  // *
  6532  // @brief xcb_get_font_path_reply_t
  6533  //
  6534  type xcb_get_font_path_reply_t1 = struct {
  6535  	Fresponse_type uint8_t
  6536  	Fpad0          uint8_t
  6537  	Fsequence      uint16_t
  6538  	Flength        uint32_t
  6539  	Fpath_len      uint16_t
  6540  	Fpad1          [22]uint8_t
  6541  } /* xproto.h:2984:9 */
  6542  
  6543  // *
  6544  // @brief xcb_get_font_path_reply_t
  6545  //
  6546  type xcb_get_font_path_reply_t = xcb_get_font_path_reply_t1 /* xproto.h:2991:3 */
  6547  
  6548  //* Opcode for xcb_create_pixmap.
  6549  
  6550  // *
  6551  // @brief xcb_create_pixmap_request_t
  6552  //
  6553  type xcb_create_pixmap_request_t1 = struct {
  6554  	Fmajor_opcode uint8_t
  6555  	Fdepth        uint8_t
  6556  	Flength       uint16_t
  6557  	Fpid          xcb_pixmap_t
  6558  	Fdrawable     xcb_drawable_t
  6559  	Fwidth        uint16_t
  6560  	Fheight       uint16_t
  6561  } /* xproto.h:2999:9 */
  6562  
  6563  //* Opcode for xcb_create_pixmap.
  6564  
  6565  // *
  6566  // @brief xcb_create_pixmap_request_t
  6567  //
  6568  type xcb_create_pixmap_request_t = xcb_create_pixmap_request_t1 /* xproto.h:3007:3 */
  6569  
  6570  //* Opcode for xcb_free_pixmap.
  6571  
  6572  // *
  6573  // @brief xcb_free_pixmap_request_t
  6574  //
  6575  type xcb_free_pixmap_request_t1 = struct {
  6576  	Fmajor_opcode uint8_t
  6577  	Fpad0         uint8_t
  6578  	Flength       uint16_t
  6579  	Fpixmap       xcb_pixmap_t
  6580  } /* xproto.h:3015:9 */
  6581  
  6582  //* Opcode for xcb_free_pixmap.
  6583  
  6584  // *
  6585  // @brief xcb_free_pixmap_request_t
  6586  //
  6587  type xcb_free_pixmap_request_t = xcb_free_pixmap_request_t1 /* xproto.h:3020:3 */
  6588  
  6589  type xcb_gc_t = uint32 /* xproto.h:3169:3 */
  6590  
  6591  type xcb_gx_t = uint32 /* xproto.h:3188:3 */
  6592  
  6593  type xcb_line_style_t = uint32 /* xproto.h:3194:3 */
  6594  
  6595  type xcb_cap_style_t = uint32 /* xproto.h:3201:3 */
  6596  
  6597  type xcb_join_style_t = uint32 /* xproto.h:3207:3 */
  6598  
  6599  type xcb_fill_style_t = uint32 /* xproto.h:3214:3 */
  6600  
  6601  type xcb_fill_rule_t = uint32 /* xproto.h:3219:3 */
  6602  
  6603  type xcb_subwindow_mode_t = uint32 /* xproto.h:3224:3 */
  6604  
  6605  type xcb_arc_mode_t = uint32 /* xproto.h:3229:3 */
  6606  
  6607  // *
  6608  // @brief xcb_create_gc_value_list_t
  6609  //
  6610  type xcb_create_gc_value_list_t1 = struct {
  6611  	Ffunction              uint32_t
  6612  	Fplane_mask            uint32_t
  6613  	Fforeground            uint32_t
  6614  	Fbackground            uint32_t
  6615  	Fline_width            uint32_t
  6616  	Fline_style            uint32_t
  6617  	Fcap_style             uint32_t
  6618  	Fjoin_style            uint32_t
  6619  	Ffill_style            uint32_t
  6620  	Ffill_rule             uint32_t
  6621  	Ftile                  xcb_pixmap_t
  6622  	Fstipple               xcb_pixmap_t
  6623  	Ftile_stipple_x_origin int32_t
  6624  	Ftile_stipple_y_origin int32_t
  6625  	Ffont                  xcb_font_t
  6626  	Fsubwindow_mode        uint32_t
  6627  	Fgraphics_exposures    xcb_bool32_t
  6628  	Fclip_x_origin         int32_t
  6629  	Fclip_y_origin         int32_t
  6630  	Fclip_mask             xcb_pixmap_t
  6631  	Fdash_offset           uint32_t
  6632  	Fdashes                uint32_t
  6633  	Farc_mode              uint32_t
  6634  } /* xproto.h:3234:9 */
  6635  
  6636  // *
  6637  // @brief xcb_create_gc_value_list_t
  6638  //
  6639  type xcb_create_gc_value_list_t = xcb_create_gc_value_list_t1 /* xproto.h:3258:3 */
  6640  
  6641  //* Opcode for xcb_create_gc.
  6642  
  6643  // *
  6644  // @brief xcb_create_gc_request_t
  6645  //
  6646  type xcb_create_gc_request_t1 = struct {
  6647  	Fmajor_opcode uint8_t
  6648  	Fpad0         uint8_t
  6649  	Flength       uint16_t
  6650  	Fcid          xcb_gcontext_t
  6651  	Fdrawable     xcb_drawable_t
  6652  	Fvalue_mask   uint32_t
  6653  } /* xproto.h:3266:9 */
  6654  
  6655  //* Opcode for xcb_create_gc.
  6656  
  6657  // *
  6658  // @brief xcb_create_gc_request_t
  6659  //
  6660  type xcb_create_gc_request_t = xcb_create_gc_request_t1 /* xproto.h:3273:3 */
  6661  
  6662  // *
  6663  // @brief xcb_change_gc_value_list_t
  6664  //
  6665  type xcb_change_gc_value_list_t1 = struct {
  6666  	Ffunction              uint32_t
  6667  	Fplane_mask            uint32_t
  6668  	Fforeground            uint32_t
  6669  	Fbackground            uint32_t
  6670  	Fline_width            uint32_t
  6671  	Fline_style            uint32_t
  6672  	Fcap_style             uint32_t
  6673  	Fjoin_style            uint32_t
  6674  	Ffill_style            uint32_t
  6675  	Ffill_rule             uint32_t
  6676  	Ftile                  xcb_pixmap_t
  6677  	Fstipple               xcb_pixmap_t
  6678  	Ftile_stipple_x_origin int32_t
  6679  	Ftile_stipple_y_origin int32_t
  6680  	Ffont                  xcb_font_t
  6681  	Fsubwindow_mode        uint32_t
  6682  	Fgraphics_exposures    xcb_bool32_t
  6683  	Fclip_x_origin         int32_t
  6684  	Fclip_y_origin         int32_t
  6685  	Fclip_mask             xcb_pixmap_t
  6686  	Fdash_offset           uint32_t
  6687  	Fdashes                uint32_t
  6688  	Farc_mode              uint32_t
  6689  } /* xproto.h:3278:9 */
  6690  
  6691  // *
  6692  // @brief xcb_change_gc_value_list_t
  6693  //
  6694  type xcb_change_gc_value_list_t = xcb_change_gc_value_list_t1 /* xproto.h:3302:3 */
  6695  
  6696  //* Opcode for xcb_change_gc.
  6697  
  6698  // *
  6699  // @brief xcb_change_gc_request_t
  6700  //
  6701  type xcb_change_gc_request_t1 = struct {
  6702  	Fmajor_opcode uint8_t
  6703  	Fpad0         uint8_t
  6704  	Flength       uint16_t
  6705  	Fgc           xcb_gcontext_t
  6706  	Fvalue_mask   uint32_t
  6707  } /* xproto.h:3310:9 */
  6708  
  6709  //* Opcode for xcb_change_gc.
  6710  
  6711  // *
  6712  // @brief xcb_change_gc_request_t
  6713  //
  6714  type xcb_change_gc_request_t = xcb_change_gc_request_t1 /* xproto.h:3316:3 */
  6715  
  6716  //* Opcode for xcb_copy_gc.
  6717  
  6718  // *
  6719  // @brief xcb_copy_gc_request_t
  6720  //
  6721  type xcb_copy_gc_request_t1 = struct {
  6722  	Fmajor_opcode uint8_t
  6723  	Fpad0         uint8_t
  6724  	Flength       uint16_t
  6725  	Fsrc_gc       xcb_gcontext_t
  6726  	Fdst_gc       xcb_gcontext_t
  6727  	Fvalue_mask   uint32_t
  6728  } /* xproto.h:3324:9 */
  6729  
  6730  //* Opcode for xcb_copy_gc.
  6731  
  6732  // *
  6733  // @brief xcb_copy_gc_request_t
  6734  //
  6735  type xcb_copy_gc_request_t = xcb_copy_gc_request_t1 /* xproto.h:3331:3 */
  6736  
  6737  //* Opcode for xcb_set_dashes.
  6738  
  6739  // *
  6740  // @brief xcb_set_dashes_request_t
  6741  //
  6742  type xcb_set_dashes_request_t1 = struct {
  6743  	Fmajor_opcode uint8_t
  6744  	Fpad0         uint8_t
  6745  	Flength       uint16_t
  6746  	Fgc           xcb_gcontext_t
  6747  	Fdash_offset  uint16_t
  6748  	Fdashes_len   uint16_t
  6749  } /* xproto.h:3339:9 */
  6750  
  6751  //* Opcode for xcb_set_dashes.
  6752  
  6753  // *
  6754  // @brief xcb_set_dashes_request_t
  6755  //
  6756  type xcb_set_dashes_request_t = xcb_set_dashes_request_t1 /* xproto.h:3346:3 */
  6757  
  6758  type xcb_clip_ordering_t = uint32 /* xproto.h:3353:3 */
  6759  
  6760  //* Opcode for xcb_set_clip_rectangles.
  6761  
  6762  // *
  6763  // @brief xcb_set_clip_rectangles_request_t
  6764  //
  6765  type xcb_set_clip_rectangles_request_t1 = struct {
  6766  	Fmajor_opcode  uint8_t
  6767  	Fordering      uint8_t
  6768  	Flength        uint16_t
  6769  	Fgc            xcb_gcontext_t
  6770  	Fclip_x_origin int16_t
  6771  	Fclip_y_origin int16_t
  6772  } /* xproto.h:3361:9 */
  6773  
  6774  //* Opcode for xcb_set_clip_rectangles.
  6775  
  6776  // *
  6777  // @brief xcb_set_clip_rectangles_request_t
  6778  //
  6779  type xcb_set_clip_rectangles_request_t = xcb_set_clip_rectangles_request_t1 /* xproto.h:3368:3 */
  6780  
  6781  //* Opcode for xcb_free_gc.
  6782  
  6783  // *
  6784  // @brief xcb_free_gc_request_t
  6785  //
  6786  type xcb_free_gc_request_t1 = struct {
  6787  	Fmajor_opcode uint8_t
  6788  	Fpad0         uint8_t
  6789  	Flength       uint16_t
  6790  	Fgc           xcb_gcontext_t
  6791  } /* xproto.h:3376:9 */
  6792  
  6793  //* Opcode for xcb_free_gc.
  6794  
  6795  // *
  6796  // @brief xcb_free_gc_request_t
  6797  //
  6798  type xcb_free_gc_request_t = xcb_free_gc_request_t1 /* xproto.h:3381:3 */
  6799  
  6800  //* Opcode for xcb_clear_area.
  6801  
  6802  // *
  6803  // @brief xcb_clear_area_request_t
  6804  //
  6805  type xcb_clear_area_request_t1 = struct {
  6806  	Fmajor_opcode uint8_t
  6807  	Fexposures    uint8_t
  6808  	Flength       uint16_t
  6809  	Fwindow       xcb_window_t
  6810  	Fx            int16_t
  6811  	Fy            int16_t
  6812  	Fwidth        uint16_t
  6813  	Fheight       uint16_t
  6814  } /* xproto.h:3389:9 */
  6815  
  6816  //* Opcode for xcb_clear_area.
  6817  
  6818  // *
  6819  // @brief xcb_clear_area_request_t
  6820  //
  6821  type xcb_clear_area_request_t = xcb_clear_area_request_t1 /* xproto.h:3398:3 */
  6822  
  6823  //* Opcode for xcb_copy_area.
  6824  
  6825  // *
  6826  // @brief xcb_copy_area_request_t
  6827  //
  6828  type xcb_copy_area_request_t1 = struct {
  6829  	Fmajor_opcode uint8_t
  6830  	Fpad0         uint8_t
  6831  	Flength       uint16_t
  6832  	Fsrc_drawable xcb_drawable_t
  6833  	Fdst_drawable xcb_drawable_t
  6834  	Fgc           xcb_gcontext_t
  6835  	Fsrc_x        int16_t
  6836  	Fsrc_y        int16_t
  6837  	Fdst_x        int16_t
  6838  	Fdst_y        int16_t
  6839  	Fwidth        uint16_t
  6840  	Fheight       uint16_t
  6841  } /* xproto.h:3406:9 */
  6842  
  6843  //* Opcode for xcb_copy_area.
  6844  
  6845  // *
  6846  // @brief xcb_copy_area_request_t
  6847  //
  6848  type xcb_copy_area_request_t = xcb_copy_area_request_t1 /* xproto.h:3419:3 */
  6849  
  6850  //* Opcode for xcb_copy_plane.
  6851  
  6852  // *
  6853  // @brief xcb_copy_plane_request_t
  6854  //
  6855  type xcb_copy_plane_request_t1 = struct {
  6856  	Fmajor_opcode uint8_t
  6857  	Fpad0         uint8_t
  6858  	Flength       uint16_t
  6859  	Fsrc_drawable xcb_drawable_t
  6860  	Fdst_drawable xcb_drawable_t
  6861  	Fgc           xcb_gcontext_t
  6862  	Fsrc_x        int16_t
  6863  	Fsrc_y        int16_t
  6864  	Fdst_x        int16_t
  6865  	Fdst_y        int16_t
  6866  	Fwidth        uint16_t
  6867  	Fheight       uint16_t
  6868  	Fbit_plane    uint32_t
  6869  } /* xproto.h:3427:9 */
  6870  
  6871  //* Opcode for xcb_copy_plane.
  6872  
  6873  // *
  6874  // @brief xcb_copy_plane_request_t
  6875  //
  6876  type xcb_copy_plane_request_t = xcb_copy_plane_request_t1 /* xproto.h:3441:3 */
  6877  
  6878  type xcb_coord_mode_t = uint32 /* xproto.h:3450:3 */
  6879  
  6880  //* Opcode for xcb_poly_point.
  6881  
  6882  // *
  6883  // @brief xcb_poly_point_request_t
  6884  //
  6885  type xcb_poly_point_request_t1 = struct {
  6886  	Fmajor_opcode    uint8_t
  6887  	Fcoordinate_mode uint8_t
  6888  	Flength          uint16_t
  6889  	Fdrawable        xcb_drawable_t
  6890  	Fgc              xcb_gcontext_t
  6891  } /* xproto.h:3458:9 */
  6892  
  6893  //* Opcode for xcb_poly_point.
  6894  
  6895  // *
  6896  // @brief xcb_poly_point_request_t
  6897  //
  6898  type xcb_poly_point_request_t = xcb_poly_point_request_t1 /* xproto.h:3464:3 */
  6899  
  6900  //* Opcode for xcb_poly_line.
  6901  
  6902  // *
  6903  // @brief xcb_poly_line_request_t
  6904  //
  6905  type xcb_poly_line_request_t1 = struct {
  6906  	Fmajor_opcode    uint8_t
  6907  	Fcoordinate_mode uint8_t
  6908  	Flength          uint16_t
  6909  	Fdrawable        xcb_drawable_t
  6910  	Fgc              xcb_gcontext_t
  6911  } /* xproto.h:3472:9 */
  6912  
  6913  //* Opcode for xcb_poly_line.
  6914  
  6915  // *
  6916  // @brief xcb_poly_line_request_t
  6917  //
  6918  type xcb_poly_line_request_t = xcb_poly_line_request_t1 /* xproto.h:3478:3 */
  6919  
  6920  // *
  6921  // @brief xcb_segment_t
  6922  //
  6923  type xcb_segment_t1 = struct {
  6924  	Fx1 int16_t
  6925  	Fy1 int16_t
  6926  	Fx2 int16_t
  6927  	Fy2 int16_t
  6928  } /* xproto.h:3483:9 */
  6929  
  6930  // *
  6931  // @brief xcb_segment_t
  6932  //
  6933  type xcb_segment_t = xcb_segment_t1 /* xproto.h:3488:3 */
  6934  
  6935  // *
  6936  // @brief xcb_segment_iterator_t
  6937  //
  6938  type xcb_segment_iterator_t1 = struct {
  6939  	Fdata  uintptr
  6940  	Frem   int32
  6941  	Findex int32
  6942  } /* xproto.h:3493:9 */
  6943  
  6944  // *
  6945  // @brief xcb_segment_iterator_t
  6946  //
  6947  type xcb_segment_iterator_t = xcb_segment_iterator_t1 /* xproto.h:3497:3 */
  6948  
  6949  //* Opcode for xcb_poly_segment.
  6950  
  6951  // *
  6952  // @brief xcb_poly_segment_request_t
  6953  //
  6954  type xcb_poly_segment_request_t1 = struct {
  6955  	Fmajor_opcode uint8_t
  6956  	Fpad0         uint8_t
  6957  	Flength       uint16_t
  6958  	Fdrawable     xcb_drawable_t
  6959  	Fgc           xcb_gcontext_t
  6960  } /* xproto.h:3505:9 */
  6961  
  6962  //* Opcode for xcb_poly_segment.
  6963  
  6964  // *
  6965  // @brief xcb_poly_segment_request_t
  6966  //
  6967  type xcb_poly_segment_request_t = xcb_poly_segment_request_t1 /* xproto.h:3511:3 */
  6968  
  6969  //* Opcode for xcb_poly_rectangle.
  6970  
  6971  // *
  6972  // @brief xcb_poly_rectangle_request_t
  6973  //
  6974  type xcb_poly_rectangle_request_t1 = struct {
  6975  	Fmajor_opcode uint8_t
  6976  	Fpad0         uint8_t
  6977  	Flength       uint16_t
  6978  	Fdrawable     xcb_drawable_t
  6979  	Fgc           xcb_gcontext_t
  6980  } /* xproto.h:3519:9 */
  6981  
  6982  //* Opcode for xcb_poly_rectangle.
  6983  
  6984  // *
  6985  // @brief xcb_poly_rectangle_request_t
  6986  //
  6987  type xcb_poly_rectangle_request_t = xcb_poly_rectangle_request_t1 /* xproto.h:3525:3 */
  6988  
  6989  //* Opcode for xcb_poly_arc.
  6990  
  6991  // *
  6992  // @brief xcb_poly_arc_request_t
  6993  //
  6994  type xcb_poly_arc_request_t1 = struct {
  6995  	Fmajor_opcode uint8_t
  6996  	Fpad0         uint8_t
  6997  	Flength       uint16_t
  6998  	Fdrawable     xcb_drawable_t
  6999  	Fgc           xcb_gcontext_t
  7000  } /* xproto.h:3533:9 */
  7001  
  7002  //* Opcode for xcb_poly_arc.
  7003  
  7004  // *
  7005  // @brief xcb_poly_arc_request_t
  7006  //
  7007  type xcb_poly_arc_request_t = xcb_poly_arc_request_t1 /* xproto.h:3539:3 */
  7008  
  7009  type xcb_poly_shape_t = uint32 /* xproto.h:3545:3 */
  7010  
  7011  //* Opcode for xcb_fill_poly.
  7012  
  7013  // *
  7014  // @brief xcb_fill_poly_request_t
  7015  //
  7016  type xcb_fill_poly_request_t1 = struct {
  7017  	Fmajor_opcode    uint8_t
  7018  	Fpad0            uint8_t
  7019  	Flength          uint16_t
  7020  	Fdrawable        xcb_drawable_t
  7021  	Fgc              xcb_gcontext_t
  7022  	Fshape           uint8_t
  7023  	Fcoordinate_mode uint8_t
  7024  	Fpad1            [2]uint8_t
  7025  } /* xproto.h:3553:9 */
  7026  
  7027  //* Opcode for xcb_fill_poly.
  7028  
  7029  // *
  7030  // @brief xcb_fill_poly_request_t
  7031  //
  7032  type xcb_fill_poly_request_t = xcb_fill_poly_request_t1 /* xproto.h:3562:3 */
  7033  
  7034  //* Opcode for xcb_poly_fill_rectangle.
  7035  
  7036  // *
  7037  // @brief xcb_poly_fill_rectangle_request_t
  7038  //
  7039  type xcb_poly_fill_rectangle_request_t1 = struct {
  7040  	Fmajor_opcode uint8_t
  7041  	Fpad0         uint8_t
  7042  	Flength       uint16_t
  7043  	Fdrawable     xcb_drawable_t
  7044  	Fgc           xcb_gcontext_t
  7045  } /* xproto.h:3570:9 */
  7046  
  7047  //* Opcode for xcb_poly_fill_rectangle.
  7048  
  7049  // *
  7050  // @brief xcb_poly_fill_rectangle_request_t
  7051  //
  7052  type xcb_poly_fill_rectangle_request_t = xcb_poly_fill_rectangle_request_t1 /* xproto.h:3576:3 */
  7053  
  7054  //* Opcode for xcb_poly_fill_arc.
  7055  
  7056  // *
  7057  // @brief xcb_poly_fill_arc_request_t
  7058  //
  7059  type xcb_poly_fill_arc_request_t1 = struct {
  7060  	Fmajor_opcode uint8_t
  7061  	Fpad0         uint8_t
  7062  	Flength       uint16_t
  7063  	Fdrawable     xcb_drawable_t
  7064  	Fgc           xcb_gcontext_t
  7065  } /* xproto.h:3584:9 */
  7066  
  7067  //* Opcode for xcb_poly_fill_arc.
  7068  
  7069  // *
  7070  // @brief xcb_poly_fill_arc_request_t
  7071  //
  7072  type xcb_poly_fill_arc_request_t = xcb_poly_fill_arc_request_t1 /* xproto.h:3590:3 */
  7073  
  7074  type xcb_image_format_t = uint32 /* xproto.h:3596:3 */
  7075  
  7076  //* Opcode for xcb_put_image.
  7077  
  7078  // *
  7079  // @brief xcb_put_image_request_t
  7080  //
  7081  type xcb_put_image_request_t1 = struct {
  7082  	Fmajor_opcode uint8_t
  7083  	Fformat       uint8_t
  7084  	Flength       uint16_t
  7085  	Fdrawable     xcb_drawable_t
  7086  	Fgc           xcb_gcontext_t
  7087  	Fwidth        uint16_t
  7088  	Fheight       uint16_t
  7089  	Fdst_x        int16_t
  7090  	Fdst_y        int16_t
  7091  	Fleft_pad     uint8_t
  7092  	Fdepth        uint8_t
  7093  	Fpad0         [2]uint8_t
  7094  } /* xproto.h:3604:9 */
  7095  
  7096  //* Opcode for xcb_put_image.
  7097  
  7098  // *
  7099  // @brief xcb_put_image_request_t
  7100  //
  7101  type xcb_put_image_request_t = xcb_put_image_request_t1 /* xproto.h:3617:3 */
  7102  
  7103  // *
  7104  // @brief xcb_get_image_cookie_t
  7105  //
  7106  type xcb_get_image_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3622:9 */
  7107  
  7108  // *
  7109  // @brief xcb_get_image_cookie_t
  7110  //
  7111  type xcb_get_image_cookie_t = xcb_get_image_cookie_t1 /* xproto.h:3624:3 */
  7112  
  7113  //* Opcode for xcb_get_image.
  7114  
  7115  // *
  7116  // @brief xcb_get_image_request_t
  7117  //
  7118  type xcb_get_image_request_t1 = struct {
  7119  	Fmajor_opcode uint8_t
  7120  	Fformat       uint8_t
  7121  	Flength       uint16_t
  7122  	Fdrawable     xcb_drawable_t
  7123  	Fx            int16_t
  7124  	Fy            int16_t
  7125  	Fwidth        uint16_t
  7126  	Fheight       uint16_t
  7127  	Fplane_mask   uint32_t
  7128  } /* xproto.h:3632:9 */
  7129  
  7130  //* Opcode for xcb_get_image.
  7131  
  7132  // *
  7133  // @brief xcb_get_image_request_t
  7134  //
  7135  type xcb_get_image_request_t = xcb_get_image_request_t1 /* xproto.h:3642:3 */
  7136  
  7137  // *
  7138  // @brief xcb_get_image_reply_t
  7139  //
  7140  type xcb_get_image_reply_t1 = struct {
  7141  	Fresponse_type uint8_t
  7142  	Fdepth         uint8_t
  7143  	Fsequence      uint16_t
  7144  	Flength        uint32_t
  7145  	Fvisual        xcb_visualid_t
  7146  	Fpad0          [20]uint8_t
  7147  } /* xproto.h:3647:9 */
  7148  
  7149  // *
  7150  // @brief xcb_get_image_reply_t
  7151  //
  7152  type xcb_get_image_reply_t = xcb_get_image_reply_t1 /* xproto.h:3654:3 */
  7153  
  7154  //* Opcode for xcb_poly_text_8.
  7155  
  7156  // *
  7157  // @brief xcb_poly_text_8_request_t
  7158  //
  7159  type xcb_poly_text_8_request_t1 = struct {
  7160  	Fmajor_opcode uint8_t
  7161  	Fpad0         uint8_t
  7162  	Flength       uint16_t
  7163  	Fdrawable     xcb_drawable_t
  7164  	Fgc           xcb_gcontext_t
  7165  	Fx            int16_t
  7166  	Fy            int16_t
  7167  } /* xproto.h:3662:9 */
  7168  
  7169  //* Opcode for xcb_poly_text_8.
  7170  
  7171  // *
  7172  // @brief xcb_poly_text_8_request_t
  7173  //
  7174  type xcb_poly_text_8_request_t = xcb_poly_text_8_request_t1 /* xproto.h:3670:3 */
  7175  
  7176  //* Opcode for xcb_poly_text_16.
  7177  
  7178  // *
  7179  // @brief xcb_poly_text_16_request_t
  7180  //
  7181  type xcb_poly_text_16_request_t1 = struct {
  7182  	Fmajor_opcode uint8_t
  7183  	Fpad0         uint8_t
  7184  	Flength       uint16_t
  7185  	Fdrawable     xcb_drawable_t
  7186  	Fgc           xcb_gcontext_t
  7187  	Fx            int16_t
  7188  	Fy            int16_t
  7189  } /* xproto.h:3678:9 */
  7190  
  7191  //* Opcode for xcb_poly_text_16.
  7192  
  7193  // *
  7194  // @brief xcb_poly_text_16_request_t
  7195  //
  7196  type xcb_poly_text_16_request_t = xcb_poly_text_16_request_t1 /* xproto.h:3686:3 */
  7197  
  7198  //* Opcode for xcb_image_text_8.
  7199  
  7200  // *
  7201  // @brief xcb_image_text_8_request_t
  7202  //
  7203  type xcb_image_text_8_request_t1 = struct {
  7204  	Fmajor_opcode uint8_t
  7205  	Fstring_len   uint8_t
  7206  	Flength       uint16_t
  7207  	Fdrawable     xcb_drawable_t
  7208  	Fgc           xcb_gcontext_t
  7209  	Fx            int16_t
  7210  	Fy            int16_t
  7211  } /* xproto.h:3694:9 */
  7212  
  7213  //* Opcode for xcb_image_text_8.
  7214  
  7215  // *
  7216  // @brief xcb_image_text_8_request_t
  7217  //
  7218  type xcb_image_text_8_request_t = xcb_image_text_8_request_t1 /* xproto.h:3702:3 */
  7219  
  7220  //* Opcode for xcb_image_text_16.
  7221  
  7222  // *
  7223  // @brief xcb_image_text_16_request_t
  7224  //
  7225  type xcb_image_text_16_request_t1 = struct {
  7226  	Fmajor_opcode uint8_t
  7227  	Fstring_len   uint8_t
  7228  	Flength       uint16_t
  7229  	Fdrawable     xcb_drawable_t
  7230  	Fgc           xcb_gcontext_t
  7231  	Fx            int16_t
  7232  	Fy            int16_t
  7233  } /* xproto.h:3710:9 */
  7234  
  7235  //* Opcode for xcb_image_text_16.
  7236  
  7237  // *
  7238  // @brief xcb_image_text_16_request_t
  7239  //
  7240  type xcb_image_text_16_request_t = xcb_image_text_16_request_t1 /* xproto.h:3718:3 */
  7241  
  7242  type xcb_colormap_alloc_t = uint32 /* xproto.h:3723:3 */
  7243  
  7244  //* Opcode for xcb_create_colormap.
  7245  
  7246  // *
  7247  // @brief xcb_create_colormap_request_t
  7248  //
  7249  type xcb_create_colormap_request_t1 = struct {
  7250  	Fmajor_opcode uint8_t
  7251  	Falloc        uint8_t
  7252  	Flength       uint16_t
  7253  	Fmid          xcb_colormap_t
  7254  	Fwindow       xcb_window_t
  7255  	Fvisual       xcb_visualid_t
  7256  } /* xproto.h:3731:9 */
  7257  
  7258  //* Opcode for xcb_create_colormap.
  7259  
  7260  // *
  7261  // @brief xcb_create_colormap_request_t
  7262  //
  7263  type xcb_create_colormap_request_t = xcb_create_colormap_request_t1 /* xproto.h:3738:3 */
  7264  
  7265  //* Opcode for xcb_free_colormap.
  7266  
  7267  // *
  7268  // @brief xcb_free_colormap_request_t
  7269  //
  7270  type xcb_free_colormap_request_t1 = struct {
  7271  	Fmajor_opcode uint8_t
  7272  	Fpad0         uint8_t
  7273  	Flength       uint16_t
  7274  	Fcmap         xcb_colormap_t
  7275  } /* xproto.h:3746:9 */
  7276  
  7277  //* Opcode for xcb_free_colormap.
  7278  
  7279  // *
  7280  // @brief xcb_free_colormap_request_t
  7281  //
  7282  type xcb_free_colormap_request_t = xcb_free_colormap_request_t1 /* xproto.h:3751:3 */
  7283  
  7284  //* Opcode for xcb_copy_colormap_and_free.
  7285  
  7286  // *
  7287  // @brief xcb_copy_colormap_and_free_request_t
  7288  //
  7289  type xcb_copy_colormap_and_free_request_t1 = struct {
  7290  	Fmajor_opcode uint8_t
  7291  	Fpad0         uint8_t
  7292  	Flength       uint16_t
  7293  	Fmid          xcb_colormap_t
  7294  	Fsrc_cmap     xcb_colormap_t
  7295  } /* xproto.h:3759:9 */
  7296  
  7297  //* Opcode for xcb_copy_colormap_and_free.
  7298  
  7299  // *
  7300  // @brief xcb_copy_colormap_and_free_request_t
  7301  //
  7302  type xcb_copy_colormap_and_free_request_t = xcb_copy_colormap_and_free_request_t1 /* xproto.h:3765:3 */
  7303  
  7304  //* Opcode for xcb_install_colormap.
  7305  
  7306  // *
  7307  // @brief xcb_install_colormap_request_t
  7308  //
  7309  type xcb_install_colormap_request_t1 = struct {
  7310  	Fmajor_opcode uint8_t
  7311  	Fpad0         uint8_t
  7312  	Flength       uint16_t
  7313  	Fcmap         xcb_colormap_t
  7314  } /* xproto.h:3773:9 */
  7315  
  7316  //* Opcode for xcb_install_colormap.
  7317  
  7318  // *
  7319  // @brief xcb_install_colormap_request_t
  7320  //
  7321  type xcb_install_colormap_request_t = xcb_install_colormap_request_t1 /* xproto.h:3778:3 */
  7322  
  7323  //* Opcode for xcb_uninstall_colormap.
  7324  
  7325  // *
  7326  // @brief xcb_uninstall_colormap_request_t
  7327  //
  7328  type xcb_uninstall_colormap_request_t1 = struct {
  7329  	Fmajor_opcode uint8_t
  7330  	Fpad0         uint8_t
  7331  	Flength       uint16_t
  7332  	Fcmap         xcb_colormap_t
  7333  } /* xproto.h:3786:9 */
  7334  
  7335  //* Opcode for xcb_uninstall_colormap.
  7336  
  7337  // *
  7338  // @brief xcb_uninstall_colormap_request_t
  7339  //
  7340  type xcb_uninstall_colormap_request_t = xcb_uninstall_colormap_request_t1 /* xproto.h:3791:3 */
  7341  
  7342  // *
  7343  // @brief xcb_list_installed_colormaps_cookie_t
  7344  //
  7345  type xcb_list_installed_colormaps_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3796:9 */
  7346  
  7347  // *
  7348  // @brief xcb_list_installed_colormaps_cookie_t
  7349  //
  7350  type xcb_list_installed_colormaps_cookie_t = xcb_list_installed_colormaps_cookie_t1 /* xproto.h:3798:3 */
  7351  
  7352  //* Opcode for xcb_list_installed_colormaps.
  7353  
  7354  // *
  7355  // @brief xcb_list_installed_colormaps_request_t
  7356  //
  7357  type xcb_list_installed_colormaps_request_t1 = struct {
  7358  	Fmajor_opcode uint8_t
  7359  	Fpad0         uint8_t
  7360  	Flength       uint16_t
  7361  	Fwindow       xcb_window_t
  7362  } /* xproto.h:3806:9 */
  7363  
  7364  //* Opcode for xcb_list_installed_colormaps.
  7365  
  7366  // *
  7367  // @brief xcb_list_installed_colormaps_request_t
  7368  //
  7369  type xcb_list_installed_colormaps_request_t = xcb_list_installed_colormaps_request_t1 /* xproto.h:3811:3 */
  7370  
  7371  // *
  7372  // @brief xcb_list_installed_colormaps_reply_t
  7373  //
  7374  type xcb_list_installed_colormaps_reply_t1 = struct {
  7375  	Fresponse_type uint8_t
  7376  	Fpad0          uint8_t
  7377  	Fsequence      uint16_t
  7378  	Flength        uint32_t
  7379  	Fcmaps_len     uint16_t
  7380  	Fpad1          [22]uint8_t
  7381  } /* xproto.h:3816:9 */
  7382  
  7383  // *
  7384  // @brief xcb_list_installed_colormaps_reply_t
  7385  //
  7386  type xcb_list_installed_colormaps_reply_t = xcb_list_installed_colormaps_reply_t1 /* xproto.h:3823:3 */
  7387  
  7388  // *
  7389  // @brief xcb_alloc_color_cookie_t
  7390  //
  7391  type xcb_alloc_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3828:9 */
  7392  
  7393  // *
  7394  // @brief xcb_alloc_color_cookie_t
  7395  //
  7396  type xcb_alloc_color_cookie_t = xcb_alloc_color_cookie_t1 /* xproto.h:3830:3 */
  7397  
  7398  //* Opcode for xcb_alloc_color.
  7399  
  7400  // *
  7401  // @brief xcb_alloc_color_request_t
  7402  //
  7403  type xcb_alloc_color_request_t1 = struct {
  7404  	Fmajor_opcode uint8_t
  7405  	Fpad0         uint8_t
  7406  	Flength       uint16_t
  7407  	Fcmap         xcb_colormap_t
  7408  	Fred          uint16_t
  7409  	Fgreen        uint16_t
  7410  	Fblue         uint16_t
  7411  	Fpad1         [2]uint8_t
  7412  } /* xproto.h:3838:9 */
  7413  
  7414  //* Opcode for xcb_alloc_color.
  7415  
  7416  // *
  7417  // @brief xcb_alloc_color_request_t
  7418  //
  7419  type xcb_alloc_color_request_t = xcb_alloc_color_request_t1 /* xproto.h:3847:3 */
  7420  
  7421  // *
  7422  // @brief xcb_alloc_color_reply_t
  7423  //
  7424  type xcb_alloc_color_reply_t1 = struct {
  7425  	Fresponse_type uint8_t
  7426  	Fpad0          uint8_t
  7427  	Fsequence      uint16_t
  7428  	Flength        uint32_t
  7429  	Fred           uint16_t
  7430  	Fgreen         uint16_t
  7431  	Fblue          uint16_t
  7432  	Fpad1          [2]uint8_t
  7433  	Fpixel         uint32_t
  7434  } /* xproto.h:3852:9 */
  7435  
  7436  // *
  7437  // @brief xcb_alloc_color_reply_t
  7438  //
  7439  type xcb_alloc_color_reply_t = xcb_alloc_color_reply_t1 /* xproto.h:3862:3 */
  7440  
  7441  // *
  7442  // @brief xcb_alloc_named_color_cookie_t
  7443  //
  7444  type xcb_alloc_named_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3867:9 */
  7445  
  7446  // *
  7447  // @brief xcb_alloc_named_color_cookie_t
  7448  //
  7449  type xcb_alloc_named_color_cookie_t = xcb_alloc_named_color_cookie_t1 /* xproto.h:3869:3 */
  7450  
  7451  //* Opcode for xcb_alloc_named_color.
  7452  
  7453  // *
  7454  // @brief xcb_alloc_named_color_request_t
  7455  //
  7456  type xcb_alloc_named_color_request_t1 = struct {
  7457  	Fmajor_opcode uint8_t
  7458  	Fpad0         uint8_t
  7459  	Flength       uint16_t
  7460  	Fcmap         xcb_colormap_t
  7461  	Fname_len     uint16_t
  7462  	Fpad1         [2]uint8_t
  7463  } /* xproto.h:3877:9 */
  7464  
  7465  //* Opcode for xcb_alloc_named_color.
  7466  
  7467  // *
  7468  // @brief xcb_alloc_named_color_request_t
  7469  //
  7470  type xcb_alloc_named_color_request_t = xcb_alloc_named_color_request_t1 /* xproto.h:3884:3 */
  7471  
  7472  // *
  7473  // @brief xcb_alloc_named_color_reply_t
  7474  //
  7475  type xcb_alloc_named_color_reply_t1 = struct {
  7476  	Fresponse_type uint8_t
  7477  	Fpad0          uint8_t
  7478  	Fsequence      uint16_t
  7479  	Flength        uint32_t
  7480  	Fpixel         uint32_t
  7481  	Fexact_red     uint16_t
  7482  	Fexact_green   uint16_t
  7483  	Fexact_blue    uint16_t
  7484  	Fvisual_red    uint16_t
  7485  	Fvisual_green  uint16_t
  7486  	Fvisual_blue   uint16_t
  7487  } /* xproto.h:3889:9 */
  7488  
  7489  // *
  7490  // @brief xcb_alloc_named_color_reply_t
  7491  //
  7492  type xcb_alloc_named_color_reply_t = xcb_alloc_named_color_reply_t1 /* xproto.h:3901:3 */
  7493  
  7494  // *
  7495  // @brief xcb_alloc_color_cells_cookie_t
  7496  //
  7497  type xcb_alloc_color_cells_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3906:9 */
  7498  
  7499  // *
  7500  // @brief xcb_alloc_color_cells_cookie_t
  7501  //
  7502  type xcb_alloc_color_cells_cookie_t = xcb_alloc_color_cells_cookie_t1 /* xproto.h:3908:3 */
  7503  
  7504  //* Opcode for xcb_alloc_color_cells.
  7505  
  7506  // *
  7507  // @brief xcb_alloc_color_cells_request_t
  7508  //
  7509  type xcb_alloc_color_cells_request_t1 = struct {
  7510  	Fmajor_opcode uint8_t
  7511  	Fcontiguous   uint8_t
  7512  	Flength       uint16_t
  7513  	Fcmap         xcb_colormap_t
  7514  	Fcolors       uint16_t
  7515  	Fplanes       uint16_t
  7516  } /* xproto.h:3916:9 */
  7517  
  7518  //* Opcode for xcb_alloc_color_cells.
  7519  
  7520  // *
  7521  // @brief xcb_alloc_color_cells_request_t
  7522  //
  7523  type xcb_alloc_color_cells_request_t = xcb_alloc_color_cells_request_t1 /* xproto.h:3923:3 */
  7524  
  7525  // *
  7526  // @brief xcb_alloc_color_cells_reply_t
  7527  //
  7528  type xcb_alloc_color_cells_reply_t1 = struct {
  7529  	Fresponse_type uint8_t
  7530  	Fpad0          uint8_t
  7531  	Fsequence      uint16_t
  7532  	Flength        uint32_t
  7533  	Fpixels_len    uint16_t
  7534  	Fmasks_len     uint16_t
  7535  	Fpad1          [20]uint8_t
  7536  } /* xproto.h:3928:9 */
  7537  
  7538  // *
  7539  // @brief xcb_alloc_color_cells_reply_t
  7540  //
  7541  type xcb_alloc_color_cells_reply_t = xcb_alloc_color_cells_reply_t1 /* xproto.h:3936:3 */
  7542  
  7543  // *
  7544  // @brief xcb_alloc_color_planes_cookie_t
  7545  //
  7546  type xcb_alloc_color_planes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3941:9 */
  7547  
  7548  // *
  7549  // @brief xcb_alloc_color_planes_cookie_t
  7550  //
  7551  type xcb_alloc_color_planes_cookie_t = xcb_alloc_color_planes_cookie_t1 /* xproto.h:3943:3 */
  7552  
  7553  //* Opcode for xcb_alloc_color_planes.
  7554  
  7555  // *
  7556  // @brief xcb_alloc_color_planes_request_t
  7557  //
  7558  type xcb_alloc_color_planes_request_t1 = struct {
  7559  	Fmajor_opcode uint8_t
  7560  	Fcontiguous   uint8_t
  7561  	Flength       uint16_t
  7562  	Fcmap         xcb_colormap_t
  7563  	Fcolors       uint16_t
  7564  	Freds         uint16_t
  7565  	Fgreens       uint16_t
  7566  	Fblues        uint16_t
  7567  } /* xproto.h:3951:9 */
  7568  
  7569  //* Opcode for xcb_alloc_color_planes.
  7570  
  7571  // *
  7572  // @brief xcb_alloc_color_planes_request_t
  7573  //
  7574  type xcb_alloc_color_planes_request_t = xcb_alloc_color_planes_request_t1 /* xproto.h:3960:3 */
  7575  
  7576  // *
  7577  // @brief xcb_alloc_color_planes_reply_t
  7578  //
  7579  type xcb_alloc_color_planes_reply_t1 = struct {
  7580  	Fresponse_type uint8_t
  7581  	Fpad0          uint8_t
  7582  	Fsequence      uint16_t
  7583  	Flength        uint32_t
  7584  	Fpixels_len    uint16_t
  7585  	Fpad1          [2]uint8_t
  7586  	Fred_mask      uint32_t
  7587  	Fgreen_mask    uint32_t
  7588  	Fblue_mask     uint32_t
  7589  	Fpad2          [8]uint8_t
  7590  } /* xproto.h:3965:9 */
  7591  
  7592  // *
  7593  // @brief xcb_alloc_color_planes_reply_t
  7594  //
  7595  type xcb_alloc_color_planes_reply_t = xcb_alloc_color_planes_reply_t1 /* xproto.h:3976:3 */
  7596  
  7597  //* Opcode for xcb_free_colors.
  7598  
  7599  // *
  7600  // @brief xcb_free_colors_request_t
  7601  //
  7602  type xcb_free_colors_request_t1 = struct {
  7603  	Fmajor_opcode uint8_t
  7604  	Fpad0         uint8_t
  7605  	Flength       uint16_t
  7606  	Fcmap         xcb_colormap_t
  7607  	Fplane_mask   uint32_t
  7608  } /* xproto.h:3984:9 */
  7609  
  7610  //* Opcode for xcb_free_colors.
  7611  
  7612  // *
  7613  // @brief xcb_free_colors_request_t
  7614  //
  7615  type xcb_free_colors_request_t = xcb_free_colors_request_t1 /* xproto.h:3990:3 */
  7616  
  7617  type xcb_color_flag_t = uint32 /* xproto.h:3996:3 */
  7618  
  7619  // *
  7620  // @brief xcb_coloritem_t
  7621  //
  7622  type xcb_coloritem_t1 = struct {
  7623  	Fpixel uint32_t
  7624  	Fred   uint16_t
  7625  	Fgreen uint16_t
  7626  	Fblue  uint16_t
  7627  	Fflags uint8_t
  7628  	Fpad0  uint8_t
  7629  } /* xproto.h:4001:9 */
  7630  
  7631  // *
  7632  // @brief xcb_coloritem_t
  7633  //
  7634  type xcb_coloritem_t = xcb_coloritem_t1 /* xproto.h:4008:3 */
  7635  
  7636  // *
  7637  // @brief xcb_coloritem_iterator_t
  7638  //
  7639  type xcb_coloritem_iterator_t1 = struct {
  7640  	Fdata  uintptr
  7641  	Frem   int32
  7642  	Findex int32
  7643  } /* xproto.h:4013:9 */
  7644  
  7645  // *
  7646  // @brief xcb_coloritem_iterator_t
  7647  //
  7648  type xcb_coloritem_iterator_t = xcb_coloritem_iterator_t1 /* xproto.h:4017:3 */
  7649  
  7650  //* Opcode for xcb_store_colors.
  7651  
  7652  // *
  7653  // @brief xcb_store_colors_request_t
  7654  //
  7655  type xcb_store_colors_request_t1 = struct {
  7656  	Fmajor_opcode uint8_t
  7657  	Fpad0         uint8_t
  7658  	Flength       uint16_t
  7659  	Fcmap         xcb_colormap_t
  7660  } /* xproto.h:4025:9 */
  7661  
  7662  //* Opcode for xcb_store_colors.
  7663  
  7664  // *
  7665  // @brief xcb_store_colors_request_t
  7666  //
  7667  type xcb_store_colors_request_t = xcb_store_colors_request_t1 /* xproto.h:4030:3 */
  7668  
  7669  //* Opcode for xcb_store_named_color.
  7670  
  7671  // *
  7672  // @brief xcb_store_named_color_request_t
  7673  //
  7674  type xcb_store_named_color_request_t1 = struct {
  7675  	Fmajor_opcode uint8_t
  7676  	Fflags        uint8_t
  7677  	Flength       uint16_t
  7678  	Fcmap         xcb_colormap_t
  7679  	Fpixel        uint32_t
  7680  	Fname_len     uint16_t
  7681  	Fpad0         [2]uint8_t
  7682  } /* xproto.h:4038:9 */
  7683  
  7684  //* Opcode for xcb_store_named_color.
  7685  
  7686  // *
  7687  // @brief xcb_store_named_color_request_t
  7688  //
  7689  type xcb_store_named_color_request_t = xcb_store_named_color_request_t1 /* xproto.h:4046:3 */
  7690  
  7691  // *
  7692  // @brief xcb_rgb_t
  7693  //
  7694  type xcb_rgb_t1 = struct {
  7695  	Fred   uint16_t
  7696  	Fgreen uint16_t
  7697  	Fblue  uint16_t
  7698  	Fpad0  [2]uint8_t
  7699  } /* xproto.h:4051:9 */
  7700  
  7701  // *
  7702  // @brief xcb_rgb_t
  7703  //
  7704  type xcb_rgb_t = xcb_rgb_t1 /* xproto.h:4056:3 */
  7705  
  7706  // *
  7707  // @brief xcb_rgb_iterator_t
  7708  //
  7709  type xcb_rgb_iterator_t1 = struct {
  7710  	Fdata  uintptr
  7711  	Frem   int32
  7712  	Findex int32
  7713  } /* xproto.h:4061:9 */
  7714  
  7715  // *
  7716  // @brief xcb_rgb_iterator_t
  7717  //
  7718  type xcb_rgb_iterator_t = xcb_rgb_iterator_t1 /* xproto.h:4065:3 */
  7719  
  7720  // *
  7721  // @brief xcb_query_colors_cookie_t
  7722  //
  7723  type xcb_query_colors_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4070:9 */
  7724  
  7725  // *
  7726  // @brief xcb_query_colors_cookie_t
  7727  //
  7728  type xcb_query_colors_cookie_t = xcb_query_colors_cookie_t1 /* xproto.h:4072:3 */
  7729  
  7730  //* Opcode for xcb_query_colors.
  7731  
  7732  // *
  7733  // @brief xcb_query_colors_request_t
  7734  //
  7735  type xcb_query_colors_request_t1 = struct {
  7736  	Fmajor_opcode uint8_t
  7737  	Fpad0         uint8_t
  7738  	Flength       uint16_t
  7739  	Fcmap         xcb_colormap_t
  7740  } /* xproto.h:4080:9 */
  7741  
  7742  //* Opcode for xcb_query_colors.
  7743  
  7744  // *
  7745  // @brief xcb_query_colors_request_t
  7746  //
  7747  type xcb_query_colors_request_t = xcb_query_colors_request_t1 /* xproto.h:4085:3 */
  7748  
  7749  // *
  7750  // @brief xcb_query_colors_reply_t
  7751  //
  7752  type xcb_query_colors_reply_t1 = struct {
  7753  	Fresponse_type uint8_t
  7754  	Fpad0          uint8_t
  7755  	Fsequence      uint16_t
  7756  	Flength        uint32_t
  7757  	Fcolors_len    uint16_t
  7758  	Fpad1          [22]uint8_t
  7759  } /* xproto.h:4090:9 */
  7760  
  7761  // *
  7762  // @brief xcb_query_colors_reply_t
  7763  //
  7764  type xcb_query_colors_reply_t = xcb_query_colors_reply_t1 /* xproto.h:4097:3 */
  7765  
  7766  // *
  7767  // @brief xcb_lookup_color_cookie_t
  7768  //
  7769  type xcb_lookup_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4102:9 */
  7770  
  7771  // *
  7772  // @brief xcb_lookup_color_cookie_t
  7773  //
  7774  type xcb_lookup_color_cookie_t = xcb_lookup_color_cookie_t1 /* xproto.h:4104:3 */
  7775  
  7776  //* Opcode for xcb_lookup_color.
  7777  
  7778  // *
  7779  // @brief xcb_lookup_color_request_t
  7780  //
  7781  type xcb_lookup_color_request_t1 = struct {
  7782  	Fmajor_opcode uint8_t
  7783  	Fpad0         uint8_t
  7784  	Flength       uint16_t
  7785  	Fcmap         xcb_colormap_t
  7786  	Fname_len     uint16_t
  7787  	Fpad1         [2]uint8_t
  7788  } /* xproto.h:4112:9 */
  7789  
  7790  //* Opcode for xcb_lookup_color.
  7791  
  7792  // *
  7793  // @brief xcb_lookup_color_request_t
  7794  //
  7795  type xcb_lookup_color_request_t = xcb_lookup_color_request_t1 /* xproto.h:4119:3 */
  7796  
  7797  // *
  7798  // @brief xcb_lookup_color_reply_t
  7799  //
  7800  type xcb_lookup_color_reply_t1 = struct {
  7801  	Fresponse_type uint8_t
  7802  	Fpad0          uint8_t
  7803  	Fsequence      uint16_t
  7804  	Flength        uint32_t
  7805  	Fexact_red     uint16_t
  7806  	Fexact_green   uint16_t
  7807  	Fexact_blue    uint16_t
  7808  	Fvisual_red    uint16_t
  7809  	Fvisual_green  uint16_t
  7810  	Fvisual_blue   uint16_t
  7811  } /* xproto.h:4124:9 */
  7812  
  7813  // *
  7814  // @brief xcb_lookup_color_reply_t
  7815  //
  7816  type xcb_lookup_color_reply_t = xcb_lookup_color_reply_t1 /* xproto.h:4135:3 */
  7817  
  7818  type xcb_pixmap_enum_t = uint32 /* xproto.h:4139:3 */
  7819  
  7820  //* Opcode for xcb_create_cursor.
  7821  
  7822  // *
  7823  // @brief xcb_create_cursor_request_t
  7824  //
  7825  type xcb_create_cursor_request_t1 = struct {
  7826  	Fmajor_opcode uint8_t
  7827  	Fpad0         uint8_t
  7828  	Flength       uint16_t
  7829  	Fcid          xcb_cursor_t
  7830  	Fsource       xcb_pixmap_t
  7831  	Fmask         xcb_pixmap_t
  7832  	Ffore_red     uint16_t
  7833  	Ffore_green   uint16_t
  7834  	Ffore_blue    uint16_t
  7835  	Fback_red     uint16_t
  7836  	Fback_green   uint16_t
  7837  	Fback_blue    uint16_t
  7838  	Fx            uint16_t
  7839  	Fy            uint16_t
  7840  } /* xproto.h:4147:9 */
  7841  
  7842  //* Opcode for xcb_create_cursor.
  7843  
  7844  // *
  7845  // @brief xcb_create_cursor_request_t
  7846  //
  7847  type xcb_create_cursor_request_t = xcb_create_cursor_request_t1 /* xproto.h:4162:3 */
  7848  
  7849  type xcb_font_enum_t = uint32 /* xproto.h:4166:3 */
  7850  
  7851  //* Opcode for xcb_create_glyph_cursor.
  7852  
  7853  // *
  7854  // @brief xcb_create_glyph_cursor_request_t
  7855  //
  7856  type xcb_create_glyph_cursor_request_t1 = struct {
  7857  	Fmajor_opcode uint8_t
  7858  	Fpad0         uint8_t
  7859  	Flength       uint16_t
  7860  	Fcid          xcb_cursor_t
  7861  	Fsource_font  xcb_font_t
  7862  	Fmask_font    xcb_font_t
  7863  	Fsource_char  uint16_t
  7864  	Fmask_char    uint16_t
  7865  	Ffore_red     uint16_t
  7866  	Ffore_green   uint16_t
  7867  	Ffore_blue    uint16_t
  7868  	Fback_red     uint16_t
  7869  	Fback_green   uint16_t
  7870  	Fback_blue    uint16_t
  7871  } /* xproto.h:4174:9 */
  7872  
  7873  //* Opcode for xcb_create_glyph_cursor.
  7874  
  7875  // *
  7876  // @brief xcb_create_glyph_cursor_request_t
  7877  //
  7878  type xcb_create_glyph_cursor_request_t = xcb_create_glyph_cursor_request_t1 /* xproto.h:4189:3 */
  7879  
  7880  //* Opcode for xcb_free_cursor.
  7881  
  7882  // *
  7883  // @brief xcb_free_cursor_request_t
  7884  //
  7885  type xcb_free_cursor_request_t1 = struct {
  7886  	Fmajor_opcode uint8_t
  7887  	Fpad0         uint8_t
  7888  	Flength       uint16_t
  7889  	Fcursor       xcb_cursor_t
  7890  } /* xproto.h:4197:9 */
  7891  
  7892  //* Opcode for xcb_free_cursor.
  7893  
  7894  // *
  7895  // @brief xcb_free_cursor_request_t
  7896  //
  7897  type xcb_free_cursor_request_t = xcb_free_cursor_request_t1 /* xproto.h:4202:3 */
  7898  
  7899  //* Opcode for xcb_recolor_cursor.
  7900  
  7901  // *
  7902  // @brief xcb_recolor_cursor_request_t
  7903  //
  7904  type xcb_recolor_cursor_request_t1 = struct {
  7905  	Fmajor_opcode uint8_t
  7906  	Fpad0         uint8_t
  7907  	Flength       uint16_t
  7908  	Fcursor       xcb_cursor_t
  7909  	Ffore_red     uint16_t
  7910  	Ffore_green   uint16_t
  7911  	Ffore_blue    uint16_t
  7912  	Fback_red     uint16_t
  7913  	Fback_green   uint16_t
  7914  	Fback_blue    uint16_t
  7915  } /* xproto.h:4210:9 */
  7916  
  7917  //* Opcode for xcb_recolor_cursor.
  7918  
  7919  // *
  7920  // @brief xcb_recolor_cursor_request_t
  7921  //
  7922  type xcb_recolor_cursor_request_t = xcb_recolor_cursor_request_t1 /* xproto.h:4221:3 */
  7923  
  7924  type xcb_query_shape_of_t = uint32 /* xproto.h:4227:3 */
  7925  
  7926  // *
  7927  // @brief xcb_query_best_size_cookie_t
  7928  //
  7929  type xcb_query_best_size_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4232:9 */
  7930  
  7931  // *
  7932  // @brief xcb_query_best_size_cookie_t
  7933  //
  7934  type xcb_query_best_size_cookie_t = xcb_query_best_size_cookie_t1 /* xproto.h:4234:3 */
  7935  
  7936  //* Opcode for xcb_query_best_size.
  7937  
  7938  // *
  7939  // @brief xcb_query_best_size_request_t
  7940  //
  7941  type xcb_query_best_size_request_t1 = struct {
  7942  	Fmajor_opcode uint8_t
  7943  	F_class       uint8_t
  7944  	Flength       uint16_t
  7945  	Fdrawable     xcb_drawable_t
  7946  	Fwidth        uint16_t
  7947  	Fheight       uint16_t
  7948  } /* xproto.h:4242:9 */
  7949  
  7950  //* Opcode for xcb_query_best_size.
  7951  
  7952  // *
  7953  // @brief xcb_query_best_size_request_t
  7954  //
  7955  type xcb_query_best_size_request_t = xcb_query_best_size_request_t1 /* xproto.h:4249:3 */
  7956  
  7957  // *
  7958  // @brief xcb_query_best_size_reply_t
  7959  //
  7960  type xcb_query_best_size_reply_t1 = struct {
  7961  	Fresponse_type uint8_t
  7962  	Fpad0          uint8_t
  7963  	Fsequence      uint16_t
  7964  	Flength        uint32_t
  7965  	Fwidth         uint16_t
  7966  	Fheight        uint16_t
  7967  } /* xproto.h:4254:9 */
  7968  
  7969  // *
  7970  // @brief xcb_query_best_size_reply_t
  7971  //
  7972  type xcb_query_best_size_reply_t = xcb_query_best_size_reply_t1 /* xproto.h:4261:3 */
  7973  
  7974  // *
  7975  // @brief xcb_query_extension_cookie_t
  7976  //
  7977  type xcb_query_extension_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4266:9 */
  7978  
  7979  // *
  7980  // @brief xcb_query_extension_cookie_t
  7981  //
  7982  type xcb_query_extension_cookie_t = xcb_query_extension_cookie_t1 /* xproto.h:4268:3 */
  7983  
  7984  //* Opcode for xcb_query_extension.
  7985  
  7986  // *
  7987  // @brief xcb_query_extension_request_t
  7988  //
  7989  type xcb_query_extension_request_t1 = struct {
  7990  	Fmajor_opcode uint8_t
  7991  	Fpad0         uint8_t
  7992  	Flength       uint16_t
  7993  	Fname_len     uint16_t
  7994  	Fpad1         [2]uint8_t
  7995  } /* xproto.h:4276:9 */
  7996  
  7997  //* Opcode for xcb_query_extension.
  7998  
  7999  // *
  8000  // @brief xcb_query_extension_request_t
  8001  //
  8002  type xcb_query_extension_request_t = xcb_query_extension_request_t1 /* xproto.h:4282:3 */
  8003  
  8004  // *
  8005  // @brief xcb_query_extension_reply_t
  8006  //
  8007  type xcb_query_extension_reply_t1 = struct {
  8008  	Fresponse_type uint8_t
  8009  	Fpad0          uint8_t
  8010  	Fsequence      uint16_t
  8011  	Flength        uint32_t
  8012  	Fpresent       uint8_t
  8013  	Fmajor_opcode  uint8_t
  8014  	Ffirst_event   uint8_t
  8015  	Ffirst_error   uint8_t
  8016  } /* xproto.h:4287:9 */
  8017  
  8018  // *
  8019  // @brief xcb_query_extension_reply_t
  8020  //
  8021  type xcb_query_extension_reply_t = xcb_query_extension_reply_t1 /* xproto.h:4296:3 */
  8022  
  8023  // *
  8024  // @brief xcb_list_extensions_cookie_t
  8025  //
  8026  type xcb_list_extensions_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4301:9 */
  8027  
  8028  // *
  8029  // @brief xcb_list_extensions_cookie_t
  8030  //
  8031  type xcb_list_extensions_cookie_t = xcb_list_extensions_cookie_t1 /* xproto.h:4303:3 */
  8032  
  8033  //* Opcode for xcb_list_extensions.
  8034  
  8035  // *
  8036  // @brief xcb_list_extensions_request_t
  8037  //
  8038  type xcb_list_extensions_request_t1 = struct {
  8039  	Fmajor_opcode uint8_t
  8040  	Fpad0         uint8_t
  8041  	Flength       uint16_t
  8042  } /* xproto.h:4311:9 */
  8043  
  8044  //* Opcode for xcb_list_extensions.
  8045  
  8046  // *
  8047  // @brief xcb_list_extensions_request_t
  8048  //
  8049  type xcb_list_extensions_request_t = xcb_list_extensions_request_t1 /* xproto.h:4315:3 */
  8050  
  8051  // *
  8052  // @brief xcb_list_extensions_reply_t
  8053  //
  8054  type xcb_list_extensions_reply_t1 = struct {
  8055  	Fresponse_type uint8_t
  8056  	Fnames_len     uint8_t
  8057  	Fsequence      uint16_t
  8058  	Flength        uint32_t
  8059  	Fpad0          [24]uint8_t
  8060  } /* xproto.h:4320:9 */
  8061  
  8062  // *
  8063  // @brief xcb_list_extensions_reply_t
  8064  //
  8065  type xcb_list_extensions_reply_t = xcb_list_extensions_reply_t1 /* xproto.h:4326:3 */
  8066  
  8067  //* Opcode for xcb_change_keyboard_mapping.
  8068  
  8069  // *
  8070  // @brief xcb_change_keyboard_mapping_request_t
  8071  //
  8072  type xcb_change_keyboard_mapping_request_t1 = struct {
  8073  	Fmajor_opcode        uint8_t
  8074  	Fkeycode_count       uint8_t
  8075  	Flength              uint16_t
  8076  	Ffirst_keycode       xcb_keycode_t
  8077  	Fkeysyms_per_keycode uint8_t
  8078  	Fpad0                [2]uint8_t
  8079  } /* xproto.h:4334:9 */
  8080  
  8081  //* Opcode for xcb_change_keyboard_mapping.
  8082  
  8083  // *
  8084  // @brief xcb_change_keyboard_mapping_request_t
  8085  //
  8086  type xcb_change_keyboard_mapping_request_t = xcb_change_keyboard_mapping_request_t1 /* xproto.h:4341:3 */
  8087  
  8088  // *
  8089  // @brief xcb_get_keyboard_mapping_cookie_t
  8090  //
  8091  type xcb_get_keyboard_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4346:9 */
  8092  
  8093  // *
  8094  // @brief xcb_get_keyboard_mapping_cookie_t
  8095  //
  8096  type xcb_get_keyboard_mapping_cookie_t = xcb_get_keyboard_mapping_cookie_t1 /* xproto.h:4348:3 */
  8097  
  8098  //* Opcode for xcb_get_keyboard_mapping.
  8099  
  8100  // *
  8101  // @brief xcb_get_keyboard_mapping_request_t
  8102  //
  8103  type xcb_get_keyboard_mapping_request_t1 = struct {
  8104  	Fmajor_opcode  uint8_t
  8105  	Fpad0          uint8_t
  8106  	Flength        uint16_t
  8107  	Ffirst_keycode xcb_keycode_t
  8108  	Fcount         uint8_t
  8109  } /* xproto.h:4356:9 */
  8110  
  8111  //* Opcode for xcb_get_keyboard_mapping.
  8112  
  8113  // *
  8114  // @brief xcb_get_keyboard_mapping_request_t
  8115  //
  8116  type xcb_get_keyboard_mapping_request_t = xcb_get_keyboard_mapping_request_t1 /* xproto.h:4362:3 */
  8117  
  8118  // *
  8119  // @brief xcb_get_keyboard_mapping_reply_t
  8120  //
  8121  type xcb_get_keyboard_mapping_reply_t1 = struct {
  8122  	Fresponse_type       uint8_t
  8123  	Fkeysyms_per_keycode uint8_t
  8124  	Fsequence            uint16_t
  8125  	Flength              uint32_t
  8126  	Fpad0                [24]uint8_t
  8127  } /* xproto.h:4367:9 */
  8128  
  8129  // *
  8130  // @brief xcb_get_keyboard_mapping_reply_t
  8131  //
  8132  type xcb_get_keyboard_mapping_reply_t = xcb_get_keyboard_mapping_reply_t1 /* xproto.h:4373:3 */
  8133  
  8134  type xcb_kb_t = uint32 /* xproto.h:4384:3 */
  8135  
  8136  type xcb_led_mode_t = uint32 /* xproto.h:4389:3 */
  8137  
  8138  type xcb_auto_repeat_mode_t = uint32 /* xproto.h:4395:3 */
  8139  
  8140  // *
  8141  // @brief xcb_change_keyboard_control_value_list_t
  8142  //
  8143  type xcb_change_keyboard_control_value_list_t1 = struct {
  8144  	Fkey_click_percent int32_t
  8145  	Fbell_percent      int32_t
  8146  	Fbell_pitch        int32_t
  8147  	Fbell_duration     int32_t
  8148  	Fled               uint32_t
  8149  	Fled_mode          uint32_t
  8150  	Fkey               xcb_keycode32_t
  8151  	Fauto_repeat_mode  uint32_t
  8152  } /* xproto.h:4400:9 */
  8153  
  8154  // *
  8155  // @brief xcb_change_keyboard_control_value_list_t
  8156  //
  8157  type xcb_change_keyboard_control_value_list_t = xcb_change_keyboard_control_value_list_t1 /* xproto.h:4409:3 */
  8158  
  8159  //* Opcode for xcb_change_keyboard_control.
  8160  
  8161  // *
  8162  // @brief xcb_change_keyboard_control_request_t
  8163  //
  8164  type xcb_change_keyboard_control_request_t1 = struct {
  8165  	Fmajor_opcode uint8_t
  8166  	Fpad0         uint8_t
  8167  	Flength       uint16_t
  8168  	Fvalue_mask   uint32_t
  8169  } /* xproto.h:4417:9 */
  8170  
  8171  //* Opcode for xcb_change_keyboard_control.
  8172  
  8173  // *
  8174  // @brief xcb_change_keyboard_control_request_t
  8175  //
  8176  type xcb_change_keyboard_control_request_t = xcb_change_keyboard_control_request_t1 /* xproto.h:4422:3 */
  8177  
  8178  // *
  8179  // @brief xcb_get_keyboard_control_cookie_t
  8180  //
  8181  type xcb_get_keyboard_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4427:9 */
  8182  
  8183  // *
  8184  // @brief xcb_get_keyboard_control_cookie_t
  8185  //
  8186  type xcb_get_keyboard_control_cookie_t = xcb_get_keyboard_control_cookie_t1 /* xproto.h:4429:3 */
  8187  
  8188  //* Opcode for xcb_get_keyboard_control.
  8189  
  8190  // *
  8191  // @brief xcb_get_keyboard_control_request_t
  8192  //
  8193  type xcb_get_keyboard_control_request_t1 = struct {
  8194  	Fmajor_opcode uint8_t
  8195  	Fpad0         uint8_t
  8196  	Flength       uint16_t
  8197  } /* xproto.h:4437:9 */
  8198  
  8199  //* Opcode for xcb_get_keyboard_control.
  8200  
  8201  // *
  8202  // @brief xcb_get_keyboard_control_request_t
  8203  //
  8204  type xcb_get_keyboard_control_request_t = xcb_get_keyboard_control_request_t1 /* xproto.h:4441:3 */
  8205  
  8206  // *
  8207  // @brief xcb_get_keyboard_control_reply_t
  8208  //
  8209  type xcb_get_keyboard_control_reply_t1 = struct {
  8210  	Fresponse_type      uint8_t
  8211  	Fglobal_auto_repeat uint8_t
  8212  	Fsequence           uint16_t
  8213  	Flength             uint32_t
  8214  	Fled_mask           uint32_t
  8215  	Fkey_click_percent  uint8_t
  8216  	Fbell_percent       uint8_t
  8217  	Fbell_pitch         uint16_t
  8218  	Fbell_duration      uint16_t
  8219  	Fpad0               [2]uint8_t
  8220  	Fauto_repeats       [32]uint8_t
  8221  } /* xproto.h:4446:9 */
  8222  
  8223  // *
  8224  // @brief xcb_get_keyboard_control_reply_t
  8225  //
  8226  type xcb_get_keyboard_control_reply_t = xcb_get_keyboard_control_reply_t1 /* xproto.h:4458:3 */
  8227  
  8228  //* Opcode for xcb_bell.
  8229  
  8230  // *
  8231  // @brief xcb_bell_request_t
  8232  //
  8233  type xcb_bell_request_t1 = struct {
  8234  	Fmajor_opcode uint8_t
  8235  	Fpercent      int8_t
  8236  	Flength       uint16_t
  8237  } /* xproto.h:4466:9 */
  8238  
  8239  //* Opcode for xcb_bell.
  8240  
  8241  // *
  8242  // @brief xcb_bell_request_t
  8243  //
  8244  type xcb_bell_request_t = xcb_bell_request_t1 /* xproto.h:4470:3 */
  8245  
  8246  //* Opcode for xcb_change_pointer_control.
  8247  
  8248  // *
  8249  // @brief xcb_change_pointer_control_request_t
  8250  //
  8251  type xcb_change_pointer_control_request_t1 = struct {
  8252  	Fmajor_opcode             uint8_t
  8253  	Fpad0                     uint8_t
  8254  	Flength                   uint16_t
  8255  	Facceleration_numerator   int16_t
  8256  	Facceleration_denominator int16_t
  8257  	Fthreshold                int16_t
  8258  	Fdo_acceleration          uint8_t
  8259  	Fdo_threshold             uint8_t
  8260  } /* xproto.h:4478:9 */
  8261  
  8262  //* Opcode for xcb_change_pointer_control.
  8263  
  8264  // *
  8265  // @brief xcb_change_pointer_control_request_t
  8266  //
  8267  type xcb_change_pointer_control_request_t = xcb_change_pointer_control_request_t1 /* xproto.h:4487:3 */
  8268  
  8269  // *
  8270  // @brief xcb_get_pointer_control_cookie_t
  8271  //
  8272  type xcb_get_pointer_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4492:9 */
  8273  
  8274  // *
  8275  // @brief xcb_get_pointer_control_cookie_t
  8276  //
  8277  type xcb_get_pointer_control_cookie_t = xcb_get_pointer_control_cookie_t1 /* xproto.h:4494:3 */
  8278  
  8279  //* Opcode for xcb_get_pointer_control.
  8280  
  8281  // *
  8282  // @brief xcb_get_pointer_control_request_t
  8283  //
  8284  type xcb_get_pointer_control_request_t1 = struct {
  8285  	Fmajor_opcode uint8_t
  8286  	Fpad0         uint8_t
  8287  	Flength       uint16_t
  8288  } /* xproto.h:4502:9 */
  8289  
  8290  //* Opcode for xcb_get_pointer_control.
  8291  
  8292  // *
  8293  // @brief xcb_get_pointer_control_request_t
  8294  //
  8295  type xcb_get_pointer_control_request_t = xcb_get_pointer_control_request_t1 /* xproto.h:4506:3 */
  8296  
  8297  // *
  8298  // @brief xcb_get_pointer_control_reply_t
  8299  //
  8300  type xcb_get_pointer_control_reply_t1 = struct {
  8301  	Fresponse_type            uint8_t
  8302  	Fpad0                     uint8_t
  8303  	Fsequence                 uint16_t
  8304  	Flength                   uint32_t
  8305  	Facceleration_numerator   uint16_t
  8306  	Facceleration_denominator uint16_t
  8307  	Fthreshold                uint16_t
  8308  	Fpad1                     [18]uint8_t
  8309  } /* xproto.h:4511:9 */
  8310  
  8311  // *
  8312  // @brief xcb_get_pointer_control_reply_t
  8313  //
  8314  type xcb_get_pointer_control_reply_t = xcb_get_pointer_control_reply_t1 /* xproto.h:4520:3 */
  8315  
  8316  type xcb_blanking_t = uint32 /* xproto.h:4526:3 */
  8317  
  8318  type xcb_exposures_t = uint32 /* xproto.h:4532:3 */
  8319  
  8320  //* Opcode for xcb_set_screen_saver.
  8321  
  8322  // *
  8323  // @brief xcb_set_screen_saver_request_t
  8324  //
  8325  type xcb_set_screen_saver_request_t1 = struct {
  8326  	Fmajor_opcode    uint8_t
  8327  	Fpad0            uint8_t
  8328  	Flength          uint16_t
  8329  	Ftimeout         int16_t
  8330  	Finterval        int16_t
  8331  	Fprefer_blanking uint8_t
  8332  	Fallow_exposures uint8_t
  8333  } /* xproto.h:4540:9 */
  8334  
  8335  //* Opcode for xcb_set_screen_saver.
  8336  
  8337  // *
  8338  // @brief xcb_set_screen_saver_request_t
  8339  //
  8340  type xcb_set_screen_saver_request_t = xcb_set_screen_saver_request_t1 /* xproto.h:4548:3 */
  8341  
  8342  // *
  8343  // @brief xcb_get_screen_saver_cookie_t
  8344  //
  8345  type xcb_get_screen_saver_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4553:9 */
  8346  
  8347  // *
  8348  // @brief xcb_get_screen_saver_cookie_t
  8349  //
  8350  type xcb_get_screen_saver_cookie_t = xcb_get_screen_saver_cookie_t1 /* xproto.h:4555:3 */
  8351  
  8352  //* Opcode for xcb_get_screen_saver.
  8353  
  8354  // *
  8355  // @brief xcb_get_screen_saver_request_t
  8356  //
  8357  type xcb_get_screen_saver_request_t1 = struct {
  8358  	Fmajor_opcode uint8_t
  8359  	Fpad0         uint8_t
  8360  	Flength       uint16_t
  8361  } /* xproto.h:4563:9 */
  8362  
  8363  //* Opcode for xcb_get_screen_saver.
  8364  
  8365  // *
  8366  // @brief xcb_get_screen_saver_request_t
  8367  //
  8368  type xcb_get_screen_saver_request_t = xcb_get_screen_saver_request_t1 /* xproto.h:4567:3 */
  8369  
  8370  // *
  8371  // @brief xcb_get_screen_saver_reply_t
  8372  //
  8373  type xcb_get_screen_saver_reply_t1 = struct {
  8374  	Fresponse_type   uint8_t
  8375  	Fpad0            uint8_t
  8376  	Fsequence        uint16_t
  8377  	Flength          uint32_t
  8378  	Ftimeout         uint16_t
  8379  	Finterval        uint16_t
  8380  	Fprefer_blanking uint8_t
  8381  	Fallow_exposures uint8_t
  8382  	Fpad1            [18]uint8_t
  8383  } /* xproto.h:4572:9 */
  8384  
  8385  // *
  8386  // @brief xcb_get_screen_saver_reply_t
  8387  //
  8388  type xcb_get_screen_saver_reply_t = xcb_get_screen_saver_reply_t1 /* xproto.h:4582:3 */
  8389  
  8390  type xcb_host_mode_t = uint32 /* xproto.h:4587:3 */
  8391  
  8392  type xcb_family_t = uint32 /* xproto.h:4595:3 */
  8393  
  8394  //* Opcode for xcb_change_hosts.
  8395  
  8396  // *
  8397  // @brief xcb_change_hosts_request_t
  8398  //
  8399  type xcb_change_hosts_request_t1 = struct {
  8400  	Fmajor_opcode uint8_t
  8401  	Fmode         uint8_t
  8402  	Flength       uint16_t
  8403  	Ffamily       uint8_t
  8404  	Fpad0         uint8_t
  8405  	Faddress_len  uint16_t
  8406  } /* xproto.h:4603:9 */
  8407  
  8408  //* Opcode for xcb_change_hosts.
  8409  
  8410  // *
  8411  // @brief xcb_change_hosts_request_t
  8412  //
  8413  type xcb_change_hosts_request_t = xcb_change_hosts_request_t1 /* xproto.h:4610:3 */
  8414  
  8415  // *
  8416  // @brief xcb_host_t
  8417  //
  8418  type xcb_host_t1 = struct {
  8419  	Ffamily      uint8_t
  8420  	Fpad0        uint8_t
  8421  	Faddress_len uint16_t
  8422  } /* xproto.h:4615:9 */
  8423  
  8424  // *
  8425  // @brief xcb_host_t
  8426  //
  8427  type xcb_host_t = xcb_host_t1 /* xproto.h:4619:3 */
  8428  
  8429  // *
  8430  // @brief xcb_host_iterator_t
  8431  //
  8432  type xcb_host_iterator_t1 = struct {
  8433  	Fdata  uintptr
  8434  	Frem   int32
  8435  	Findex int32
  8436  } /* xproto.h:4624:9 */
  8437  
  8438  // *
  8439  // @brief xcb_host_iterator_t
  8440  //
  8441  type xcb_host_iterator_t = xcb_host_iterator_t1 /* xproto.h:4628:3 */
  8442  
  8443  // *
  8444  // @brief xcb_list_hosts_cookie_t
  8445  //
  8446  type xcb_list_hosts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4633:9 */
  8447  
  8448  // *
  8449  // @brief xcb_list_hosts_cookie_t
  8450  //
  8451  type xcb_list_hosts_cookie_t = xcb_list_hosts_cookie_t1 /* xproto.h:4635:3 */
  8452  
  8453  //* Opcode for xcb_list_hosts.
  8454  
  8455  // *
  8456  // @brief xcb_list_hosts_request_t
  8457  //
  8458  type xcb_list_hosts_request_t1 = struct {
  8459  	Fmajor_opcode uint8_t
  8460  	Fpad0         uint8_t
  8461  	Flength       uint16_t
  8462  } /* xproto.h:4643:9 */
  8463  
  8464  //* Opcode for xcb_list_hosts.
  8465  
  8466  // *
  8467  // @brief xcb_list_hosts_request_t
  8468  //
  8469  type xcb_list_hosts_request_t = xcb_list_hosts_request_t1 /* xproto.h:4647:3 */
  8470  
  8471  // *
  8472  // @brief xcb_list_hosts_reply_t
  8473  //
  8474  type xcb_list_hosts_reply_t1 = struct {
  8475  	Fresponse_type uint8_t
  8476  	Fmode          uint8_t
  8477  	Fsequence      uint16_t
  8478  	Flength        uint32_t
  8479  	Fhosts_len     uint16_t
  8480  	Fpad0          [22]uint8_t
  8481  } /* xproto.h:4652:9 */
  8482  
  8483  // *
  8484  // @brief xcb_list_hosts_reply_t
  8485  //
  8486  type xcb_list_hosts_reply_t = xcb_list_hosts_reply_t1 /* xproto.h:4659:3 */
  8487  
  8488  type xcb_access_control_t = uint32 /* xproto.h:4664:3 */
  8489  
  8490  //* Opcode for xcb_set_access_control.
  8491  
  8492  // *
  8493  // @brief xcb_set_access_control_request_t
  8494  //
  8495  type xcb_set_access_control_request_t1 = struct {
  8496  	Fmajor_opcode uint8_t
  8497  	Fmode         uint8_t
  8498  	Flength       uint16_t
  8499  } /* xproto.h:4672:9 */
  8500  
  8501  //* Opcode for xcb_set_access_control.
  8502  
  8503  // *
  8504  // @brief xcb_set_access_control_request_t
  8505  //
  8506  type xcb_set_access_control_request_t = xcb_set_access_control_request_t1 /* xproto.h:4676:3 */
  8507  
  8508  type xcb_close_down_t = uint32 /* xproto.h:4682:3 */
  8509  
  8510  //* Opcode for xcb_set_close_down_mode.
  8511  
  8512  // *
  8513  // @brief xcb_set_close_down_mode_request_t
  8514  //
  8515  type xcb_set_close_down_mode_request_t1 = struct {
  8516  	Fmajor_opcode uint8_t
  8517  	Fmode         uint8_t
  8518  	Flength       uint16_t
  8519  } /* xproto.h:4690:9 */
  8520  
  8521  //* Opcode for xcb_set_close_down_mode.
  8522  
  8523  // *
  8524  // @brief xcb_set_close_down_mode_request_t
  8525  //
  8526  type xcb_set_close_down_mode_request_t = xcb_set_close_down_mode_request_t1 /* xproto.h:4694:3 */
  8527  
  8528  type xcb_kill_t = uint32 /* xproto.h:4698:3 */
  8529  
  8530  //* Opcode for xcb_kill_client.
  8531  
  8532  // *
  8533  // @brief xcb_kill_client_request_t
  8534  //
  8535  type xcb_kill_client_request_t1 = struct {
  8536  	Fmajor_opcode uint8_t
  8537  	Fpad0         uint8_t
  8538  	Flength       uint16_t
  8539  	Fresource     uint32_t
  8540  } /* xproto.h:4706:9 */
  8541  
  8542  //* Opcode for xcb_kill_client.
  8543  
  8544  // *
  8545  // @brief xcb_kill_client_request_t
  8546  //
  8547  type xcb_kill_client_request_t = xcb_kill_client_request_t1 /* xproto.h:4711:3 */
  8548  
  8549  //* Opcode for xcb_rotate_properties.
  8550  
  8551  // *
  8552  // @brief xcb_rotate_properties_request_t
  8553  //
  8554  type xcb_rotate_properties_request_t1 = struct {
  8555  	Fmajor_opcode uint8_t
  8556  	Fpad0         uint8_t
  8557  	Flength       uint16_t
  8558  	Fwindow       xcb_window_t
  8559  	Fatoms_len    uint16_t
  8560  	Fdelta        int16_t
  8561  } /* xproto.h:4719:9 */
  8562  
  8563  //* Opcode for xcb_rotate_properties.
  8564  
  8565  // *
  8566  // @brief xcb_rotate_properties_request_t
  8567  //
  8568  type xcb_rotate_properties_request_t = xcb_rotate_properties_request_t1 /* xproto.h:4726:3 */
  8569  
  8570  type xcb_screen_saver_t = uint32 /* xproto.h:4731:3 */
  8571  
  8572  //* Opcode for xcb_force_screen_saver.
  8573  
  8574  // *
  8575  // @brief xcb_force_screen_saver_request_t
  8576  //
  8577  type xcb_force_screen_saver_request_t1 = struct {
  8578  	Fmajor_opcode uint8_t
  8579  	Fmode         uint8_t
  8580  	Flength       uint16_t
  8581  } /* xproto.h:4739:9 */
  8582  
  8583  //* Opcode for xcb_force_screen_saver.
  8584  
  8585  // *
  8586  // @brief xcb_force_screen_saver_request_t
  8587  //
  8588  type xcb_force_screen_saver_request_t = xcb_force_screen_saver_request_t1 /* xproto.h:4743:3 */
  8589  
  8590  type xcb_mapping_status_t = uint32 /* xproto.h:4749:3 */
  8591  
  8592  // *
  8593  // @brief xcb_set_pointer_mapping_cookie_t
  8594  //
  8595  type xcb_set_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4754:9 */
  8596  
  8597  // *
  8598  // @brief xcb_set_pointer_mapping_cookie_t
  8599  //
  8600  type xcb_set_pointer_mapping_cookie_t = xcb_set_pointer_mapping_cookie_t1 /* xproto.h:4756:3 */
  8601  
  8602  //* Opcode for xcb_set_pointer_mapping.
  8603  
  8604  // *
  8605  // @brief xcb_set_pointer_mapping_request_t
  8606  //
  8607  type xcb_set_pointer_mapping_request_t1 = struct {
  8608  	Fmajor_opcode uint8_t
  8609  	Fmap_len      uint8_t
  8610  	Flength       uint16_t
  8611  } /* xproto.h:4764:9 */
  8612  
  8613  //* Opcode for xcb_set_pointer_mapping.
  8614  
  8615  // *
  8616  // @brief xcb_set_pointer_mapping_request_t
  8617  //
  8618  type xcb_set_pointer_mapping_request_t = xcb_set_pointer_mapping_request_t1 /* xproto.h:4768:3 */
  8619  
  8620  // *
  8621  // @brief xcb_set_pointer_mapping_reply_t
  8622  //
  8623  type xcb_set_pointer_mapping_reply_t1 = struct {
  8624  	Fresponse_type uint8_t
  8625  	Fstatus        uint8_t
  8626  	Fsequence      uint16_t
  8627  	Flength        uint32_t
  8628  } /* xproto.h:4773:9 */
  8629  
  8630  // *
  8631  // @brief xcb_set_pointer_mapping_reply_t
  8632  //
  8633  type xcb_set_pointer_mapping_reply_t = xcb_set_pointer_mapping_reply_t1 /* xproto.h:4778:3 */
  8634  
  8635  // *
  8636  // @brief xcb_get_pointer_mapping_cookie_t
  8637  //
  8638  type xcb_get_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4783:9 */
  8639  
  8640  // *
  8641  // @brief xcb_get_pointer_mapping_cookie_t
  8642  //
  8643  type xcb_get_pointer_mapping_cookie_t = xcb_get_pointer_mapping_cookie_t1 /* xproto.h:4785:3 */
  8644  
  8645  //* Opcode for xcb_get_pointer_mapping.
  8646  
  8647  // *
  8648  // @brief xcb_get_pointer_mapping_request_t
  8649  //
  8650  type xcb_get_pointer_mapping_request_t1 = struct {
  8651  	Fmajor_opcode uint8_t
  8652  	Fpad0         uint8_t
  8653  	Flength       uint16_t
  8654  } /* xproto.h:4793:9 */
  8655  
  8656  //* Opcode for xcb_get_pointer_mapping.
  8657  
  8658  // *
  8659  // @brief xcb_get_pointer_mapping_request_t
  8660  //
  8661  type xcb_get_pointer_mapping_request_t = xcb_get_pointer_mapping_request_t1 /* xproto.h:4797:3 */
  8662  
  8663  // *
  8664  // @brief xcb_get_pointer_mapping_reply_t
  8665  //
  8666  type xcb_get_pointer_mapping_reply_t1 = struct {
  8667  	Fresponse_type uint8_t
  8668  	Fmap_len       uint8_t
  8669  	Fsequence      uint16_t
  8670  	Flength        uint32_t
  8671  	Fpad0          [24]uint8_t
  8672  } /* xproto.h:4802:9 */
  8673  
  8674  // *
  8675  // @brief xcb_get_pointer_mapping_reply_t
  8676  //
  8677  type xcb_get_pointer_mapping_reply_t = xcb_get_pointer_mapping_reply_t1 /* xproto.h:4808:3 */
  8678  
  8679  type xcb_map_index_t = uint32 /* xproto.h:4819:3 */
  8680  
  8681  // *
  8682  // @brief xcb_set_modifier_mapping_cookie_t
  8683  //
  8684  type xcb_set_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4824:9 */
  8685  
  8686  // *
  8687  // @brief xcb_set_modifier_mapping_cookie_t
  8688  //
  8689  type xcb_set_modifier_mapping_cookie_t = xcb_set_modifier_mapping_cookie_t1 /* xproto.h:4826:3 */
  8690  
  8691  //* Opcode for xcb_set_modifier_mapping.
  8692  
  8693  // *
  8694  // @brief xcb_set_modifier_mapping_request_t
  8695  //
  8696  type xcb_set_modifier_mapping_request_t1 = struct {
  8697  	Fmajor_opcode          uint8_t
  8698  	Fkeycodes_per_modifier uint8_t
  8699  	Flength                uint16_t
  8700  } /* xproto.h:4834:9 */
  8701  
  8702  //* Opcode for xcb_set_modifier_mapping.
  8703  
  8704  // *
  8705  // @brief xcb_set_modifier_mapping_request_t
  8706  //
  8707  type xcb_set_modifier_mapping_request_t = xcb_set_modifier_mapping_request_t1 /* xproto.h:4838:3 */
  8708  
  8709  // *
  8710  // @brief xcb_set_modifier_mapping_reply_t
  8711  //
  8712  type xcb_set_modifier_mapping_reply_t1 = struct {
  8713  	Fresponse_type uint8_t
  8714  	Fstatus        uint8_t
  8715  	Fsequence      uint16_t
  8716  	Flength        uint32_t
  8717  } /* xproto.h:4843:9 */
  8718  
  8719  // *
  8720  // @brief xcb_set_modifier_mapping_reply_t
  8721  //
  8722  type xcb_set_modifier_mapping_reply_t = xcb_set_modifier_mapping_reply_t1 /* xproto.h:4848:3 */
  8723  
  8724  // *
  8725  // @brief xcb_get_modifier_mapping_cookie_t
  8726  //
  8727  type xcb_get_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4853:9 */
  8728  
  8729  // *
  8730  // @brief xcb_get_modifier_mapping_cookie_t
  8731  //
  8732  type xcb_get_modifier_mapping_cookie_t = xcb_get_modifier_mapping_cookie_t1 /* xproto.h:4855:3 */
  8733  
  8734  //* Opcode for xcb_get_modifier_mapping.
  8735  
  8736  // *
  8737  // @brief xcb_get_modifier_mapping_request_t
  8738  //
  8739  type xcb_get_modifier_mapping_request_t1 = struct {
  8740  	Fmajor_opcode uint8_t
  8741  	Fpad0         uint8_t
  8742  	Flength       uint16_t
  8743  } /* xproto.h:4863:9 */
  8744  
  8745  //* Opcode for xcb_get_modifier_mapping.
  8746  
  8747  // *
  8748  // @brief xcb_get_modifier_mapping_request_t
  8749  //
  8750  type xcb_get_modifier_mapping_request_t = xcb_get_modifier_mapping_request_t1 /* xproto.h:4867:3 */
  8751  
  8752  // *
  8753  // @brief xcb_get_modifier_mapping_reply_t
  8754  //
  8755  type xcb_get_modifier_mapping_reply_t1 = struct {
  8756  	Fresponse_type         uint8_t
  8757  	Fkeycodes_per_modifier uint8_t
  8758  	Fsequence              uint16_t
  8759  	Flength                uint32_t
  8760  	Fpad0                  [24]uint8_t
  8761  } /* xproto.h:4872:9 */
  8762  
  8763  // *
  8764  // @brief xcb_get_modifier_mapping_reply_t
  8765  //
  8766  type xcb_get_modifier_mapping_reply_t = xcb_get_modifier_mapping_reply_t1 /* xproto.h:4878:3 */
  8767  
  8768  //* Opcode for xcb_no_operation.
  8769  
  8770  // *
  8771  // @brief xcb_no_operation_request_t
  8772  //
  8773  type xcb_no_operation_request_t1 = struct {
  8774  	Fmajor_opcode uint8_t
  8775  	Fpad0         uint8_t
  8776  	Flength       uint16_t
  8777  } /* xproto.h:4886:9 */
  8778  
  8779  //* Opcode for xcb_no_operation.
  8780  
  8781  // *
  8782  // @brief xcb_no_operation_request_t
  8783  //
  8784  type xcb_no_operation_request_t = xcb_no_operation_request_t1 /* xproto.h:4890:3 */
  8785  
  8786  // *
  8787  // @}
  8788  
  8789  //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests
  8790  
  8791  //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters
  8792  
  8793  //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t
  8794  
  8795  //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables
  8796  
  8797  // xcb_auth.c
  8798  
  8799  // *
  8800  // @brief Container for authorization information.
  8801  //
  8802  // A container for authorization information to be sent to the X server.
  8803  type xcb_auth_info_t1 = struct {
  8804  	Fnamelen     int32
  8805  	F__ccgo_pad1 [4]byte
  8806  	Fname        uintptr
  8807  	Fdatalen     int32
  8808  	F__ccgo_pad2 [4]byte
  8809  	Fdata        uintptr
  8810  } /* xcb.h:228:9 */
  8811  
  8812  // *
  8813  // @}
  8814  
  8815  //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests
  8816  
  8817  //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters
  8818  
  8819  //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t
  8820  
  8821  //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables
  8822  
  8823  // xcb_auth.c
  8824  
  8825  // *
  8826  // @brief Container for authorization information.
  8827  //
  8828  // A container for authorization information to be sent to the X server.
  8829  type xcb_auth_info_t = xcb_auth_info_t1 /* xcb.h:233:3 */
  8830  
  8831  // *
  8832  // @}
  8833  
  8834  func main1(tls *libc.TLS, _ int32, _ uintptr) int32 { /* drawingprimitives.c:11:1: */
  8835  	bp := tls.Alloc(96)
  8836  	defer tls.Free(96)
  8837  
  8838  	var c uintptr
  8839  	var screen uintptr
  8840  	var win xcb_drawable_t
  8841  	var foreground xcb_gcontext_t
  8842  	var e uintptr
  8843  	var mask uint32_t = uint32_t(0)
  8844  	// var values [2]uint32_t at bp, 8
  8845  
  8846  	// geometric objects
  8847  	*(*[4]xcb_point_t)(unsafe.Pointer(bp + 8 /* points */)) = [4]xcb_point_t{
  8848  		{Fx: int16(10), Fy: int16(10)},
  8849  		{Fx: int16(10), Fy: int16(20)},
  8850  		{Fx: int16(20), Fy: int16(10)},
  8851  		{Fx: int16(20), Fy: int16(20)}}
  8852  
  8853  	*(*[4]xcb_point_t)(unsafe.Pointer(bp + 24 /* polyline */)) = [4]xcb_point_t{
  8854  		{Fx: int16(50), Fy: int16(10)},
  8855  		{Fx: int16(5), Fy: int16(20)}, // rest of points are relative
  8856  		{Fx: int16(25), Fy: int16(-20)},
  8857  		{Fx: int16(10), Fy: int16(10)}}
  8858  
  8859  	*(*[2]xcb_segment_t)(unsafe.Pointer(bp + 40 /* segments */)) = [2]xcb_segment_t{
  8860  		{Fx1: int16(100), Fy1: int16(10), Fx2: int16(140), Fy2: int16(30)},
  8861  		{Fx1: int16(110), Fy1: int16(25), Fx2: int16(130), Fy2: int16(60)}}
  8862  
  8863  	*(*[2]xcb_rectangle_t)(unsafe.Pointer(bp + 56 /* rectangles */)) = [2]xcb_rectangle_t{
  8864  		{Fx: int16(10), Fy: int16(50), Fwidth: uint16_t(40), Fheight: uint16_t(20)},
  8865  		{Fx: int16(80), Fy: int16(50), Fwidth: uint16_t(10), Fheight: uint16_t(40)}}
  8866  
  8867  	*(*[2]xcb_arc_t)(unsafe.Pointer(bp + 72 /* arcs */)) = [2]xcb_arc_t{
  8868  		{Fx: int16(10), Fy: int16(100), Fwidth: uint16_t(60), Fheight: uint16_t(40), Fangle2: (int16(int32(90) << 6))},
  8869  		{Fx: int16(90), Fy: int16(100), Fwidth: uint16_t(55), Fheight: uint16_t(40), Fangle2: (int16(int32(270) << 6))}}
  8870  
  8871  	// Open the connection to the X server
  8872  	c = xcb.Xxcb_connect(tls, uintptr(0), uintptr(0))
  8873  
  8874  	// Get the first screen
  8875  	screen = xcb.Xxcb_setup_roots_iterator(tls, xcb.Xxcb_get_setup(tls, c)).Fdata
  8876  
  8877  	// Create black (foreground) graphic context
  8878  	win = (*xcb_screen_t)(unsafe.Pointer(screen)).Froot
  8879  
  8880  	foreground = xcb.Xxcb_generate_id(tls, c)
  8881  	mask = (uint32_t(XCB_GC_FOREGROUND | XCB_GC_GRAPHICS_EXPOSURES))
  8882  	*(*uint32_t)(unsafe.Pointer(bp /* &values[0] */)) = (*xcb_screen_t)(unsafe.Pointer(screen)).Fblack_pixel
  8883  	*(*uint32_t)(unsafe.Pointer(bp /* &values[0] */ + 1*4)) = uint32_t(0)
  8884  	xcb.Xxcb_create_gc(tls, c, foreground, win, mask, bp /* &values[0] */)
  8885  
  8886  	// Ask for our window's Id
  8887  	win = xcb.Xxcb_generate_id(tls, c)
  8888  
  8889  	// Create the window
  8890  	mask = (uint32_t(XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK))
  8891  	*(*uint32_t)(unsafe.Pointer(bp /* &values[0] */)) = (*xcb_screen_t)(unsafe.Pointer(screen)).Fwhite_pixel
  8892  	*(*uint32_t)(unsafe.Pointer(bp /* &values[0] */ + 1*4)) = XCB_EVENT_MASK_EXPOSURE
  8893  	xcb.Xxcb_create_window(tls, c, // Connection
  8894  		uint8(0), // depth
  8895  		win,      // window Id
  8896  		(*xcb_screen_t)(unsafe.Pointer(screen)).Froot, // parent window
  8897  		int16(0), int16(0), // x, y
  8898  		uint16(150), uint16(150), // width, height
  8899  		uint16(10),                    // border_width
  8900  		XCB_WINDOW_CLASS_INPUT_OUTPUT, // class
  8901  		(*xcb_screen_t)(unsafe.Pointer(screen)).Froot_visual, // visual
  8902  		mask, bp /* &values[0] */) // masks
  8903  
  8904  	// Map the window on the screen
  8905  	xcb.Xxcb_map_window(tls, c, win)
  8906  
  8907  	// We flush the request
  8908  	xcb.Xxcb_flush(tls, c)
  8909  
  8910  	for libc.AssignUintptr(&e, xcb.Xxcb_wait_for_event(tls, c)) != 0 {
  8911  		switch int32((*xcb_generic_event_t)(unsafe.Pointer(e)).Fresponse_type) & libc.CplInt32(0x80) {
  8912  		case 12:
  8913  			{
  8914  				// We draw the points
  8915  				xcb.Xxcb_poly_point(tls, c, XCB_COORD_MODE_ORIGIN, win, foreground, uint32(4), bp+8 /* &points[0] */)
  8916  
  8917  				// We draw the polygonal line
  8918  				xcb.Xxcb_poly_line(tls, c, XCB_COORD_MODE_PREVIOUS, win, foreground, uint32(4), bp+24 /* &polyline[0] */)
  8919  
  8920  				// We draw the segements
  8921  				xcb.Xxcb_poly_segment(tls, c, win, foreground, uint32(2), bp+40 /* &segments[0] */)
  8922  
  8923  				// We draw the rectangles
  8924  				xcb.Xxcb_poly_rectangle(tls, c, win, foreground, uint32(2), bp+56 /* &rectangles[0] */)
  8925  
  8926  				// We draw the arcs
  8927  				xcb.Xxcb_poly_arc(tls, c, win, foreground, uint32(2), bp+72 /* &arcs[0] */)
  8928  
  8929  				// We flush the request
  8930  				xcb.Xxcb_flush(tls, c)
  8931  
  8932  				break
  8933  
  8934  			}
  8935  		default:
  8936  			{
  8937  				// Unknown event type, ignore it
  8938  				break
  8939  
  8940  			}
  8941  		}
  8942  		// Free the Generic Event
  8943  		libc.Xfree(tls, e)
  8944  	}
  8945  
  8946  	return 0
  8947  }