github.com/afumu/libc@v0.0.6/locale/locale_windows_amd64.go (about)

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