github.com/afumu/libc@v0.0.6/utime/utime_windows_amd64.go (about)

     1  // Code generated by 'ccgo utime\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 utime\utime_windows_amd64.go -pkgname utime', DO NOT EDIT.
     2  
     3  package utime
     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_DDRAW_VERSION                             = 7
    36  	MINGW_HAS_DDK_H                                 = 1
    37  	MINGW_HAS_DDRAW_H                               = 1
    38  	MINGW_HAS_SECURE_API                            = 1
    39  	MINGW_SDK_INIT                                  = 0
    40  	UNALIGNED                                       = 0
    41  	USE___UUIDOF                                    = 0
    42  	WIN32                                           = 1
    43  	WIN64                                           = 1
    44  	WINNT                                           = 1
    45  	X_AGLOBAL                                       = 0
    46  	X_ANONYMOUS_STRUCT                              = 0
    47  	X_ANONYMOUS_UNION                               = 0
    48  	X_ARGMAX                                        = 100
    49  	X_CONST_RETURN                                  = 0
    50  	X_CRTNOALIAS                                    = 0
    51  	X_CRTRESTRICT                                   = 0
    52  	X_CRT_ALTERNATIVE_IMPORTED                      = 0
    53  	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0
    54  	X_CRT_PACKING                                   = 8
    55  	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0
    56  	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0
    57  	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0
    58  	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0
    59  	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
    60  	X_DLL                                           = 0
    61  	X_ERRCODE_DEFINED                               = 0
    62  	X_FILE_OFFSET_BITS                              = 64
    63  	X_INC_CRTDEFS                                   = 0
    64  	X_INC_CRTDEFS_MACRO                             = 0
    65  	X_INC_MINGW_SECAPI                              = 0
    66  	X_INC_UTIME                                     = 0
    67  	X_INC_VADEFS                                    = 0
    68  	X_INC__MINGW_H                                  = 0
    69  	X_INT128_DEFINED                                = 0
    70  	X_INTEGRAL_MAX_BITS                             = 64
    71  	X_INTPTR_T_DEFINED                              = 0
    72  	X_MT                                            = 0
    73  	X_M_AMD64                                       = 100
    74  	X_M_X64                                         = 100
    75  	X_PGLOBAL                                       = 0
    76  	X_PTRDIFF_T_                                    = 0
    77  	X_PTRDIFF_T_DEFINED                             = 0
    78  	X_REENTRANT                                     = 1
    79  	X_RSIZE_T_DEFINED                               = 0
    80  	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD
    81  	X_SIZE_T_DEFINED                                = 0
    82  	X_SSIZE_T_DEFINED                               = 0
    83  	X_TAGLC_ID_DEFINED                              = 0
    84  	X_THREADLOCALEINFO                              = 0
    85  	X_TIME32_T_DEFINED                              = 0
    86  	X_TIME64_T_DEFINED                              = 0
    87  	X_TIME_T_DEFINED                                = 0
    88  	X_UINTPTR_T_DEFINED                             = 0
    89  	X_UTIMBUF_DEFINED                               = 0
    90  	X_VA_LIST_DEFINED                               = 0
    91  	X_W64                                           = 0
    92  	X_WCHAR_T_DEFINED                               = 0
    93  	X_WCTYPE_T_DEFINED                              = 0
    94  	X_WIN32                                         = 1
    95  	X_WIN32_WINNT                                   = 0x502
    96  	X_WIN64                                         = 1
    97  	X_WINT_T                                        = 0
    98  )
    99  
   100  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   101  
   102  type Size_t = uint64 /* <builtin>:9:23 */
   103  
   104  type Wchar_t = uint16 /* <builtin>:15:24 */
   105  
   106  type X__int128_t = struct {
   107  	Flo int64
   108  	Fhi int64
   109  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   110  type X__uint128_t = struct {
   111  	Flo uint64
   112  	Fhi uint64
   113  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   114  
   115  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   116  type X__float128 = float64        /* <builtin>:47:21 */
   117  
   118  type Va_list = X__builtin_va_list /* <builtin>:50:27 */
   119  
   120  // *
   121  // This file has no copyright assigned and is placed in the Public Domain.
   122  // This file is part of the mingw-w64 runtime package.
   123  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   124  // *
   125  // This file has no copyright assigned and is placed in the Public Domain.
   126  // This file is part of the mingw-w64 runtime package.
   127  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   128  
   129  // *
   130  // This file has no copyright assigned and is placed in the Public Domain.
   131  // This file is part of the mingw-w64 runtime package.
   132  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   133  
   134  // *
   135  // This file has no copyright assigned and is placed in the Public Domain.
   136  // This file is part of the mingw-w64 runtime package.
   137  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   138  
   139  // *
   140  // This file has no copyright assigned and is placed in the Public Domain.
   141  // This file is part of the mingw-w64 runtime package.
   142  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   143  
   144  // This macro holds an monotonic increasing value, which indicates
   145  //    a specific fix/patch is present on trunk.  This value isn't related to
   146  //    minor/major version-macros.  It is increased on demand, if a big
   147  //    fix was applied to trunk.  This macro gets just increased on trunk.  For
   148  //    other branches its value won't be modified.
   149  
   150  // mingw.org's version macros: these make gcc to define
   151  //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
   152  //    and the __mingwthr_key_dtor() function from the MinGW
   153  //    CRT in its private gthr-win32.h header.
   154  
   155  // Set VC specific compiler target macros.
   156  
   157  // MS does not prefix symbols by underscores for 64-bit.
   158  // As we have to support older gcc version, which are using underscores
   159  //       as symbol prefix for x64, we have to check here for the user label
   160  //       prefix defined by gcc.
   161  
   162  // Special case nameless struct/union.
   163  
   164  // MinGW-w64 has some additional C99 printf/scanf feature support.
   165  //    So we add some helper macros to ease recognition of them.
   166  
   167  // *
   168  // This file has no copyright assigned and is placed in the Public Domain.
   169  // This file is part of the mingw-w64 runtime package.
   170  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   171  
   172  // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
   173  // Templates won't work in C, will break if secure API is not enabled, disabled
   174  
   175  // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
   176  // fallback on default implementation if we can't know the size of the destination
   177  
   178  // Include _cygwin.h if we're building a Cygwin application.
   179  
   180  // Target specific macro replacement for type "long".  In the Windows API,
   181  //    the type long is always 32 bit, even if the target is 64 bit (LLP64).
   182  //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right
   183  //    sized definitions and declarations, all usage of type long in the Windows
   184  //    headers have to be replaced by the below defined macro __LONG32.
   185  
   186  // C/C++ specific language defines.
   187  
   188  // Note the extern. This is needed to work around GCC's
   189  // limitations in handling dllimport attribute.
   190  
   191  // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's
   192  //    variadiac macro facility, because variadic macros cause syntax
   193  //    errors with  --traditional-cpp.
   194  
   195  //  High byte is the major version, low byte is the minor.
   196  
   197  // *
   198  // This file has no copyright assigned and is placed in the Public Domain.
   199  // This file is part of the mingw-w64 runtime package.
   200  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   201  
   202  // *
   203  // This file has no copyright assigned and is placed in the Public Domain.
   204  // This file is part of the mingw-w64 runtime package.
   205  // No warranty is given; refer to the file DISCLAIMER.PD within this package.
   206  
   207  type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
   208  
   209  type Ssize_t = int64 /* crtdefs.h:45:35 */
   210  
   211  type Rsize_t = Size_t /* crtdefs.h:52:16 */
   212  
   213  type Intptr_t = int64 /* crtdefs.h:62:35 */
   214  
   215  type Uintptr_t = uint64 /* crtdefs.h:75:44 */
   216  
   217  type Wint_t = uint16   /* crtdefs.h:106:24 */
   218  type Wctype_t = uint16 /* crtdefs.h:107:24 */
   219  
   220  type Errno_t = int32 /* crtdefs.h:113:13 */
   221  
   222  type X__time32_t = int32 /* crtdefs.h:118:14 */
   223  
   224  type X__time64_t = int64 /* crtdefs.h:123:35 */
   225  
   226  type Time_t = X__time64_t /* crtdefs.h:138:20 */
   227  
   228  type Threadlocaleinfostruct = struct {
   229  	Frefcount      int32
   230  	Flc_codepage   uint32
   231  	Flc_collate_cp uint32
   232  	Flc_handle     [6]uint32
   233  	Flc_id         [6]LC_ID
   234  	Flc_category   [6]struct {
   235  		Flocale    uintptr
   236  		Fwlocale   uintptr
   237  		Frefcount  uintptr
   238  		Fwrefcount uintptr
   239  	}
   240  	Flc_clike            int32
   241  	Fmb_cur_max          int32
   242  	Flconv_intl_refcount uintptr
   243  	Flconv_num_refcount  uintptr
   244  	Flconv_mon_refcount  uintptr
   245  	Flconv               uintptr
   246  	Fctype1_refcount     uintptr
   247  	Fctype1              uintptr
   248  	Fpctype              uintptr
   249  	Fpclmap              uintptr
   250  	Fpcumap              uintptr
   251  	Flc_time_curr        uintptr
   252  } /* crtdefs.h:422:1 */
   253  
   254  type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
   255  type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
   256  
   257  type Localeinfo_struct = struct {
   258  	Flocinfo Pthreadlocinfo
   259  	Fmbcinfo Pthreadmbcinfo
   260  } /* crtdefs.h:428:9 */
   261  
   262  type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
   263  type X_locale_t = uintptr                 /* crtdefs.h:431:19 */
   264  
   265  type TagLC_ID = struct {
   266  	FwLanguage uint16
   267  	FwCountry  uint16
   268  	FwCodePage uint16
   269  } /* crtdefs.h:422:1 */
   270  
   271  type LC_ID = TagLC_ID  /* crtdefs.h:439:3 */
   272  type LPLC_ID = uintptr /* crtdefs.h:439:9 */
   273  
   274  type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
   275  
   276  type X_utimbuf = struct {
   277  	Factime  Time_t
   278  	Fmodtime Time_t
   279  } /* utime.h:58:3 */
   280  
   281  type X__utimbuf32 = struct {
   282  	Factime  X__time32_t
   283  	Fmodtime X__time32_t
   284  } /* utime.h:63:3 */
   285  
   286  type X__utimbuf64 = struct {
   287  	Factime  X__time64_t
   288  	Fmodtime X__time64_t
   289  } /* utime.h:68:3 */
   290  
   291  type Utimbuf = struct {
   292  	Factime  Time_t
   293  	Fmodtime Time_t
   294  } /* utime.h:74:3 */
   295  
   296  type Utimbuf32 = struct {
   297  	Factime  X__time32_t
   298  	Fmodtime X__time32_t
   299  } /* utime.h:79:3 */
   300  
   301  var _ int8 /* gen.c:2:13: */