gtsocial-umbx

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

limits_windows_arm64.go (3220B)


      1 // Code generated by 'ccgo limits\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 limits\limits_windows_arm64.go -pkgname limits', DO NOT EDIT.
      2 
      3 package limits
      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 	CHAR_BIT           = 8
     19 	CHAR_MAX           = 127
     20 	CHAR_MIN           = -128
     21 	INT_MAX            = 2147483647
     22 	INT_MIN            = -2147483648
     23 	LLONG_MAX          = 9223372036854775807
     24 	LLONG_MIN          = -9223372036854775808
     25 	LONG_LONG_MAX      = 9223372036854775807
     26 	LONG_LONG_MIN      = -9223372036854775808
     27 	LONG_MAX           = 2147483647
     28 	LONG_MIN           = -2147483648
     29 	MB_LEN_MAX         = 1
     30 	PATH_MAX           = 260
     31 	SCHAR_MAX          = 127
     32 	SCHAR_MIN          = -128
     33 	SHRT_MAX           = 32767
     34 	SHRT_MIN           = -32768
     35 	UCHAR_MAX          = 255
     36 	UINT_MAX           = 4294967295
     37 	ULLONG_MAX         = 18446744073709551615
     38 	ULONG_LONG_MAX     = 18446744073709551615
     39 	ULONG_MAX          = 4294967295
     40 	USHRT_MAX          = 65535
     41 	WIN32              = 1
     42 	WIN64              = 1
     43 	WINNT              = 1
     44 	X_FILE_OFFSET_BITS = 64
     45 	X_GCC_LIMITS_H_    = 0
     46 	X_VA_LIST_DEFINED  = 0
     47 	X_WIN32            = 1
     48 	X_WIN64            = 1
     49 )
     50 
     51 type Ptrdiff_t = int64 /* <builtin>:3:26 */
     52 
     53 type Size_t = uint64 /* <builtin>:9:23 */
     54 
     55 type Wchar_t = uint16 /* <builtin>:15:24 */
     56 
     57 type X__int128_t = struct {
     58 	Flo int64
     59 	Fhi int64
     60 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
     61 type X__uint128_t = struct {
     62 	Flo uint64
     63 	Fhi uint64
     64 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
     65 
     66 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
     67 type X__float128 = float64        /* <builtin>:47:21 */
     68 
     69 type Va_list = X__builtin_va_list /* <builtin>:50:27 */
     70 
     71 //===---- limits.h - Standard header for integer sizes --------------------===* *
     72 //  Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
     73 //  See https://llvm.org/LICENSE.txt for license information.
     74 //  SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
     75 //
     76 // \*===----------------------------------------------------------------------===
     77 
     78 // The system's limits.h may, in turn, try to #include_next GCC's limits.h.
     79 //    Avert this #include_next madness.
     80 
     81 // System headers include a number of constants from POSIX in <limits.h>.
     82 //    Include it if we're hosted.
     83 
     84 // Many system headers try to "help us out" by defining these.  No really, we
     85 //    know how big each datatype is.
     86 
     87 // C90/99 5.2.4.2.1
     88 
     89 // C2x 5.2.4.2.1
     90 // FIXME: This is using the placeholder dates Clang produces for these macros
     91 //    in C2x mode; switch to the correct values once they've been published.
     92 
     93 // C99 5.2.4.2.1: Added long long.
     94 //    C++11 18.3.3.2: same contents as the Standard C Library header <limits.h>.
     95 //
     96 
     97 // LONG_LONG_MIN/LONG_LONG_MAX/ULONG_LONG_MAX are a GNU extension.  It's too bad
     98 //    that we don't have something like #pragma poison that could be used to
     99 //    deprecate a macro - the code should just use LLONG_MAX and friends.
    100 //
    101 
    102 var _ int8 /* gen.c:2:13: */