modernc.org/xcb@v1.0.15/examples/eventex/eventex_linux_arm.go (about)

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