gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

signal_windows_arm64.go (13077B)


      1 // Code generated by 'ccgo signal\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal\signal_windows_arm64.go -pkgname signal', DO NOT EDIT.
      2 
      3 package signal
      4 
      5 import (
      6 	"math"
      7 	"reflect"
      8 	"sync/atomic"
      9 	"unsafe"
     10 )
     11 
     12 var _ = math.Pi
     13 var _ reflect.Kind
     14 var _ atomic.Value
     15 var _ unsafe.Pointer
     16 
     17 const (
     18 	DUMMYSTRUCTNAME                                 = 0
     19 	DUMMYSTRUCTNAME1                                = 0
     20 	DUMMYSTRUCTNAME2                                = 0
     21 	DUMMYSTRUCTNAME3                                = 0
     22 	DUMMYSTRUCTNAME4                                = 0
     23 	DUMMYSTRUCTNAME5                                = 0
     24 	DUMMYUNIONNAME                                  = 0
     25 	DUMMYUNIONNAME1                                 = 0
     26 	DUMMYUNIONNAME2                                 = 0
     27 	DUMMYUNIONNAME3                                 = 0
     28 	DUMMYUNIONNAME4                                 = 0
     29 	DUMMYUNIONNAME5                                 = 0
     30 	DUMMYUNIONNAME6                                 = 0
     31 	DUMMYUNIONNAME7                                 = 0
     32 	DUMMYUNIONNAME8                                 = 0
     33 	DUMMYUNIONNAME9                                 = 0
     34 	MINGW_DDK_H                                     = 0
     35 	MINGW_HAS_DDK_H                                 = 1
     36 	MINGW_HAS_SECURE_API                            = 1
     37 	MINGW_SDK_INIT                                  = 0
     38 	NSIG                                            = 23
     39 	SIGABRT                                         = 22
     40 	SIGABRT2                                        = 22
     41 	SIGABRT_COMPAT                                  = 6
     42 	SIGBREAK                                        = 21
     43 	SIGFPE                                          = 8
     44 	SIGILL                                          = 4
     45 	SIGINT                                          = 2
     46 	SIGSEGV                                         = 11
     47 	SIGTERM                                         = 15
     48 	UNALIGNED                                       = 0
     49 	USE___UUIDOF                                    = 0
     50 	WIN32                                           = 1
     51 	WIN64                                           = 1
     52 	WINNT                                           = 1
     53 	WIN_PTHREADS_SIGNAL_H                           = 0
     54 	X_AGLOBAL                                       = 0
     55 	X_ANONYMOUS_STRUCT                              = 0
     56 	X_ANONYMOUS_UNION                               = 0
     57 	X_ARGMAX                                        = 100
     58 	X_ARM64_                                        = 1
     59 	X_CONST_RETURN                                  = 0
     60 	X_CRTNOALIAS                                    = 0
     61 	X_CRTRESTRICT                                   = 0
     62 	X_CRT_ALTERNATIVE_IMPORTED                      = 0
     63 	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0
     64 	X_CRT_PACKING                                   = 8
     65 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0
     66 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0
     67 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0
     68 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0
     69 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
     70 	X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP             = 0
     71 	X_DLL                                           = 0
     72 	X_ERRCODE_DEFINED                               = 0
     73 	X_FILE_OFFSET_BITS                              = 64
     74 	X_INC_CORECRT                                   = 0
     75 	X_INC_CRTDEFS                                   = 0
     76 	X_INC_CRTDEFS_MACRO                             = 0
     77 	X_INC_MINGW_SECAPI                              = 0
     78 	X_INC_SIGNAL                                    = 0
     79 	X_INC_VADEFS                                    = 0
     80 	X_INC__MINGW_H                                  = 0
     81 	X_INT128_DEFINED                                = 0
     82 	X_INTPTR_T_DEFINED                              = 0
     83 	X_MT                                            = 0
     84 	X_M_ARM64                                       = 1
     85 	X_PGLOBAL                                       = 0
     86 	X_PTRDIFF_T_                                    = 0
     87 	X_PTRDIFF_T_DEFINED                             = 0
     88 	X_RSIZE_T_DEFINED                               = 0
     89 	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD
     90 	X_SIG_ATOMIC_T_DEFINED                          = 0
     91 	X_SIZE_T_DEFINED                                = 0
     92 	X_SSIZE_T_DEFINED                               = 0
     93 	X_TAGLC_ID_DEFINED                              = 0
     94 	X_THREADLOCALEINFO                              = 0
     95 	X_TIME32_T_DEFINED                              = 0
     96 	X_TIME64_T_DEFINED                              = 0
     97 	X_TIME_T_DEFINED                                = 0
     98 	X_UCRT                                          = 0
     99 	X_UINTPTR_T_DEFINED                             = 0
    100 	X_VA_LIST_DEFINED                               = 0
    101 	X_W64                                           = 0
    102 	X_WCHAR_T_DEFINED                               = 0
    103 	X_WCTYPE_T_DEFINED                              = 0
    104 	X_WIN32                                         = 1
    105 	X_WIN32_WINNT                                   = 0x601
    106 	X_WIN64                                         = 1
    107 	X_WINT_T                                        = 0
    108 )
    109 
    110 type Ptrdiff_t = int64 /* <builtin>:3:26 */
    111 
    112 type Size_t = uint64 /* <builtin>:9:23 */
    113 
    114 type Wchar_t = uint16 /* <builtin>:15:24 */
    115 
    116 type X__int128_t = struct {
    117 	Flo int64
    118 	Fhi int64
    119 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    120 type X__uint128_t = struct {
    121 	Flo uint64
    122 	Fhi uint64
    123 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    124 
    125 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    126 type X__float128 = float64        /* <builtin>:47:21 */
    127 
    128 type Va_list = X__builtin_va_list /* <builtin>:50:27 */
    129 
    130 // *
    131 // This file has no copyright assigned and is placed in the Public Domain.
    132 // This file is part of the mingw-w64 runtime package.
    133 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    134 
    135 // *
    136 // This file has no copyright assigned and is placed in the Public Domain.
    137 // This file is part of the mingw-w64 runtime package.
    138 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    139 
    140 // *
    141 // This file has no copyright assigned and is placed in the Public Domain.
    142 // This file is part of the mingw-w64 runtime package.
    143 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    144 
    145 // *
    146 // This file has no copyright assigned and is placed in the Public Domain.
    147 // This file is part of the mingw-w64 runtime package.
    148 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    149 
    150 // *
    151 // This file has no copyright assigned and is placed in the Public Domain.
    152 // This file is part of the mingw-w64 runtime package.
    153 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    154 
    155 // This macro holds an monotonic increasing value, which indicates
    156 //    a specific fix/patch is present on trunk.  This value isn't related to
    157 //    minor/major version-macros.  It is increased on demand, if a big
    158 //    fix was applied to trunk.  This macro gets just increased on trunk.  For
    159 //    other branches its value won't be modified.
    160 
    161 // mingw.org's version macros: these make gcc to define
    162 //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
    163 //    and the __mingwthr_key_dtor() function from the MinGW
    164 //    CRT in its private gthr-win32.h header.
    165 
    166 // Set VC specific compiler target macros.
    167 
    168 // MS does not prefix symbols by underscores for 64-bit.
    169 // As we have to support older gcc version, which are using underscores
    170 //       as symbol prefix for x64, we have to check here for the user label
    171 //       prefix defined by gcc.
    172 
    173 // Special case nameless struct/union.
    174 
    175 // MinGW-w64 has some additional C99 printf/scanf feature support.
    176 //    So we add some helper macros to ease recognition of them.
    177 
    178 // If _FORTIFY_SOURCE is enabled, some inline functions may use
    179 //    __builtin_va_arg_pack().  GCC may report an error if the address
    180 //    of such a function is used.  Set _FORTIFY_VA_ARG=0 in this case.
    181 
    182 // Enable workaround for ABI incompatibility on affected platforms
    183 
    184 // *
    185 // This file has no copyright assigned and is placed in the Public Domain.
    186 // This file is part of the mingw-w64 runtime package.
    187 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    188 
    189 // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
    190 // Templates won't work in C, will break if secure API is not enabled, disabled
    191 
    192 // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
    193 // fallback on default implementation if we can't know the size of the destination
    194 
    195 // Include _cygwin.h if we're building a Cygwin application.
    196 
    197 // Target specific macro replacement for type "long".  In the Windows API,
    198 //    the type long is always 32 bit, even if the target is 64 bit (LLP64).
    199 //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right
    200 //    sized definitions and declarations, all usage of type long in the Windows
    201 //    headers have to be replaced by the below defined macro __LONG32.
    202 
    203 // C/C++ specific language defines.
    204 
    205 // Note the extern. This is needed to work around GCC's
    206 // limitations in handling dllimport attribute.
    207 
    208 // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's
    209 //    variadiac macro facility, because variadic macros cause syntax
    210 //    errors with  --traditional-cpp.
    211 
    212 //  High byte is the major version, low byte is the minor.
    213 
    214 // Allow both 0x1400 and 0xE00 to identify UCRT
    215 
    216 // ===-------- vadefs.h ---------------------------------------------------===
    217 //
    218 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
    219 // See https://llvm.org/LICENSE.txt for license information.
    220 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
    221 //
    222 //===-----------------------------------------------------------------------===
    223 
    224 // Only include this if we are aiming for MSVC compatibility.
    225 // *
    226 // This file has no copyright assigned and is placed in the Public Domain.
    227 // This file is part of the mingw-w64 runtime package.
    228 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    229 
    230 // *
    231 // This file has no copyright assigned and is placed in the Public Domain.
    232 // This file is part of the mingw-w64 runtime package.
    233 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    234 
    235 // for backward compatibility
    236 
    237 type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
    238 
    239 type Ssize_t = int64 /* corecrt.h:45:35 */
    240 
    241 type Rsize_t = Size_t /* corecrt.h:52:16 */
    242 
    243 type Intptr_t = int64 /* corecrt.h:62:35 */
    244 
    245 type Uintptr_t = uint64 /* corecrt.h:75:44 */
    246 
    247 type Wint_t = uint16   /* corecrt.h:106:24 */
    248 type Wctype_t = uint16 /* corecrt.h:107:24 */
    249 
    250 type Errno_t = int32 /* corecrt.h:113:13 */
    251 
    252 type X__time32_t = int32 /* corecrt.h:118:14 */
    253 
    254 type X__time64_t = int64 /* corecrt.h:123:35 */
    255 
    256 type Time_t = X__time64_t /* corecrt.h:138:20 */
    257 
    258 type Threadlocaleinfostruct = struct {
    259 	F_locale_pctype      uintptr
    260 	F_locale_mb_cur_max  int32
    261 	F_locale_lc_codepage uint32
    262 } /* corecrt.h:430:1 */
    263 
    264 type Pthreadlocinfo = uintptr /* corecrt.h:432:39 */
    265 type Pthreadmbcinfo = uintptr /* corecrt.h:433:36 */
    266 
    267 type Localeinfo_struct = struct {
    268 	Flocinfo Pthreadlocinfo
    269 	Fmbcinfo Pthreadmbcinfo
    270 } /* corecrt.h:436:9 */
    271 
    272 type X_locale_tstruct = Localeinfo_struct /* corecrt.h:439:3 */
    273 type X_locale_t = uintptr                 /* corecrt.h:439:19 */
    274 
    275 type TagLC_ID = struct {
    276 	FwLanguage uint16
    277 	FwCountry  uint16
    278 	FwCodePage uint16
    279 } /* corecrt.h:443:9 */
    280 
    281 type LC_ID = TagLC_ID  /* corecrt.h:447:3 */
    282 type LPLC_ID = uintptr /* corecrt.h:447:9 */
    283 
    284 type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:482:3 */
    285 
    286 //
    287 //    Copyright (c) 2013-2016  mingw-w64 project
    288 //
    289 //    Permission is hereby granted, free of charge, to any person obtaining a
    290 //    copy of this software and associated documentation files (the "Software"),
    291 //    to deal in the Software without restriction, including without limitation
    292 //    the rights to use, copy, modify, merge, publish, distribute, sublicense,
    293 //    and/or sell copies of the Software, and to permit persons to whom the
    294 //    Software is furnished to do so, subject to the following conditions:
    295 //
    296 //    The above copyright notice and this permission notice shall be included in
    297 //    all copies or substantial portions of the Software.
    298 //
    299 //    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    300 //    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    301 //    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    302 //    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    303 //    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    304 //    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    305 //    DEALINGS IN THE SOFTWARE.
    306 
    307 // Windows has rudimentary signals support.
    308 
    309 type Sig_atomic_t = int32 /* signal.h:18:15 */
    310 
    311 type X__p_sig_fn_t = uintptr /* signal.h:48:16 */
    312 
    313 var _ int8 /* gen.c:2:13: */