chore(deps): Update sqlite dependencies

This commit is contained in:
TwiN
2022-12-01 20:19:56 -05:00
parent 080563bd4f
commit cdec353744
564 changed files with 583632 additions and 1166555 deletions

View File

@ -1,5 +1,7 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_darwin_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set_overflow": {},
}

View File

@ -1,5 +1,7 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set_overflow": {},
}

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_darwin_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@ -15,80 +15,80 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ABDAY_1 = 14
ABDAY_2 = 15
ABDAY_3 = 16
ABDAY_4 = 17
ABDAY_5 = 18
ABDAY_6 = 19
ABDAY_7 = 20
ABMON_1 = 33
ABMON_10 = 42
ABMON_11 = 43
ABMON_12 = 44
ABMON_2 = 34
ABMON_3 = 35
ABMON_4 = 36
ABMON_5 = 37
ABMON_6 = 38
ABMON_7 = 39
ABMON_8 = 40
ABMON_9 = 41
ALT_DIGITS = 49
AM_STR = 5
CODESET = 0
CRNCYSTR = 56
DAY_1 = 7
DAY_2 = 8
DAY_3 = 9
DAY_4 = 10
DAY_5 = 11
DAY_6 = 12
DAY_7 = 13
D_FMT = 2
D_MD_ORDER = 57
D_T_FMT = 1
ERA = 45
ERA_D_FMT = 46
ERA_D_T_FMT = 47
ERA_T_FMT = 48
MON_1 = 21
MON_10 = 30
MON_11 = 31
MON_12 = 32
MON_2 = 22
MON_3 = 23
MON_4 = 24
MON_5 = 25
MON_6 = 26
MON_7 = 27
MON_8 = 28
MON_9 = 29
NOEXPR = 53
NOSTR = 55
PM_STR = 6
RADIXCHAR = 50
THOUSEP = 51
T_FMT = 3
T_FMT_AMPM = 4
YESEXPR = 52
YESSTR = 54
X_BSD_I386__TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_DARWIN_FEATURE_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
X_FILE_OFFSET_BITS = 64
X_FORTIFY_SOURCE = 2
X_LANGINFO_H_ = 0
X_LP64 = 1
X_NL_ITEM = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__TYPES_H_ = 0
ABDAY_1 = 14 // langinfo.h:53:1:
ABDAY_2 = 15 // langinfo.h:54:1:
ABDAY_3 = 16 // langinfo.h:55:1:
ABDAY_4 = 17 // langinfo.h:56:1:
ABDAY_5 = 18 // langinfo.h:57:1:
ABDAY_6 = 19 // langinfo.h:58:1:
ABDAY_7 = 20 // langinfo.h:59:1:
ABMON_1 = 33 // langinfo.h:76:1:
ABMON_10 = 42 // langinfo.h:85:1:
ABMON_11 = 43 // langinfo.h:86:1:
ABMON_12 = 44 // langinfo.h:87:1:
ABMON_2 = 34 // langinfo.h:77:1:
ABMON_3 = 35 // langinfo.h:78:1:
ABMON_4 = 36 // langinfo.h:79:1:
ABMON_5 = 37 // langinfo.h:80:1:
ABMON_6 = 38 // langinfo.h:81:1:
ABMON_7 = 39 // langinfo.h:82:1:
ABMON_8 = 40 // langinfo.h:83:1:
ABMON_9 = 41 // langinfo.h:84:1:
ALT_DIGITS = 49 // langinfo.h:93:1:
AM_STR = 5 // langinfo.h:40:1:
CODESET = 0 // langinfo.h:35:1:
CRNCYSTR = 56 // langinfo.h:106:1:
DAY_1 = 7 // langinfo.h:44:1:
DAY_2 = 8 // langinfo.h:45:1:
DAY_3 = 9 // langinfo.h:46:1:
DAY_4 = 10 // langinfo.h:47:1:
DAY_5 = 11 // langinfo.h:48:1:
DAY_6 = 12 // langinfo.h:49:1:
DAY_7 = 13 // langinfo.h:50:1:
D_FMT = 2 // langinfo.h:37:1:
D_MD_ORDER = 57 // langinfo.h:109:1:
D_T_FMT = 1 // langinfo.h:36:1:
ERA = 45 // langinfo.h:89:1:
ERA_D_FMT = 46 // langinfo.h:90:1:
ERA_D_T_FMT = 47 // langinfo.h:91:1:
ERA_T_FMT = 48 // langinfo.h:92:1:
MON_1 = 21 // langinfo.h:62:1:
MON_10 = 30 // langinfo.h:71:1:
MON_11 = 31 // langinfo.h:72:1:
MON_12 = 32 // langinfo.h:73:1:
MON_2 = 22 // langinfo.h:63:1:
MON_3 = 23 // langinfo.h:64:1:
MON_4 = 24 // langinfo.h:65:1:
MON_5 = 25 // langinfo.h:66:1:
MON_6 = 26 // langinfo.h:67:1:
MON_7 = 27 // langinfo.h:68:1:
MON_8 = 28 // langinfo.h:69:1:
MON_9 = 29 // langinfo.h:70:1:
NOEXPR = 53 // langinfo.h:99:1:
NOSTR = 55 // langinfo.h:103:1:
PM_STR = 6 // langinfo.h:41:1:
RADIXCHAR = 50 // langinfo.h:95:1:
THOUSEP = 51 // langinfo.h:96:1:
T_FMT = 3 // langinfo.h:38:1:
T_FMT_AMPM = 4 // langinfo.h:39:1:
YESEXPR = 52 // langinfo.h:98:1:
YESSTR = 54 // langinfo.h:102:1:
X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
X_CDEFS_H_ = 0 // cdefs.h:68:1:
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FORTIFY_SOURCE = 2 // _types.h:65:1:
X_LANGINFO_H_ = 0 // langinfo.h:30:1:
X_LP64 = 1 // <predefined>:1:1:
X_NL_ITEM = 0 // _nl_item.h:30:1:
X_Nonnull = 0 // cdefs.h:243:1:
X_Null_unspecified = 0 // cdefs.h:246:1:
X_Nullable = 0 // cdefs.h:240:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -109,6 +109,8 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// -
// Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
// All rights reserved.
@ -257,6 +259,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// in between its arguments. __CONCAT can also concatenate double-quoted
// strings produced by the __STRING macro, but this only works with ANSI C.
// In non-ANSI C environments, new programs will want ANSI-only C keywords
// deleted from the program and old programs will want them left alone.
// When using a compiler other than gcc, programs using the ANSI C keywords
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
// When using "gcc -traditional", we assume that this is the intent; if
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
// __unused denotes variables and functions that may not be used, preventing
// the compiler from warning about it if not used.
@ -624,8 +633,8 @@ type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:79:3 */
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@ -15,82 +15,82 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ABDAY_1 = 14
ABDAY_2 = 15
ABDAY_3 = 16
ABDAY_4 = 17
ABDAY_5 = 18
ABDAY_6 = 19
ABDAY_7 = 20
ABMON_1 = 33
ABMON_10 = 42
ABMON_11 = 43
ABMON_12 = 44
ABMON_2 = 34
ABMON_3 = 35
ABMON_4 = 36
ABMON_5 = 37
ABMON_6 = 38
ABMON_7 = 39
ABMON_8 = 40
ABMON_9 = 41
ALT_DIGITS = 49
AM_STR = 5
CODESET = 0
CRNCYSTR = 56
DAY_1 = 7
DAY_2 = 8
DAY_3 = 9
DAY_4 = 10
DAY_5 = 11
DAY_6 = 12
DAY_7 = 13
D_FMT = 2
D_MD_ORDER = 57
D_T_FMT = 1
ERA = 45
ERA_D_FMT = 46
ERA_D_T_FMT = 47
ERA_T_FMT = 48
MON_1 = 21
MON_10 = 30
MON_11 = 31
MON_12 = 32
MON_2 = 22
MON_3 = 23
MON_4 = 24
MON_5 = 25
MON_6 = 26
MON_7 = 27
MON_8 = 28
MON_9 = 29
NOEXPR = 53
NOSTR = 55
PM_STR = 6
RADIXCHAR = 50
THOUSEP = 51
T_FMT = 3
T_FMT_AMPM = 4
YESEXPR = 52
YESSTR = 54
X_BSD_ARM__TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_DARWIN_FEATURE_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
X_FILE_OFFSET_BITS = 64
X_FORTIFY_SOURCE = 2
X_LANGINFO_H_ = 0
X_LP64 = 1
X_NL_ITEM = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__TYPES_H_ = 0
ABDAY_1 = 14 // langinfo.h:53:1:
ABDAY_2 = 15 // langinfo.h:54:1:
ABDAY_3 = 16 // langinfo.h:55:1:
ABDAY_4 = 17 // langinfo.h:56:1:
ABDAY_5 = 18 // langinfo.h:57:1:
ABDAY_6 = 19 // langinfo.h:58:1:
ABDAY_7 = 20 // langinfo.h:59:1:
ABMON_1 = 33 // langinfo.h:76:1:
ABMON_10 = 42 // langinfo.h:85:1:
ABMON_11 = 43 // langinfo.h:86:1:
ABMON_12 = 44 // langinfo.h:87:1:
ABMON_2 = 34 // langinfo.h:77:1:
ABMON_3 = 35 // langinfo.h:78:1:
ABMON_4 = 36 // langinfo.h:79:1:
ABMON_5 = 37 // langinfo.h:80:1:
ABMON_6 = 38 // langinfo.h:81:1:
ABMON_7 = 39 // langinfo.h:82:1:
ABMON_8 = 40 // langinfo.h:83:1:
ABMON_9 = 41 // langinfo.h:84:1:
ALT_DIGITS = 49 // langinfo.h:93:1:
AM_STR = 5 // langinfo.h:40:1:
CODESET = 0 // langinfo.h:35:1:
CRNCYSTR = 56 // langinfo.h:106:1:
DAY_1 = 7 // langinfo.h:44:1:
DAY_2 = 8 // langinfo.h:45:1:
DAY_3 = 9 // langinfo.h:46:1:
DAY_4 = 10 // langinfo.h:47:1:
DAY_5 = 11 // langinfo.h:48:1:
DAY_6 = 12 // langinfo.h:49:1:
DAY_7 = 13 // langinfo.h:50:1:
D_FMT = 2 // langinfo.h:37:1:
D_MD_ORDER = 57 // langinfo.h:109:1:
D_T_FMT = 1 // langinfo.h:36:1:
ERA = 45 // langinfo.h:89:1:
ERA_D_FMT = 46 // langinfo.h:90:1:
ERA_D_T_FMT = 47 // langinfo.h:91:1:
ERA_T_FMT = 48 // langinfo.h:92:1:
MON_1 = 21 // langinfo.h:62:1:
MON_10 = 30 // langinfo.h:71:1:
MON_11 = 31 // langinfo.h:72:1:
MON_12 = 32 // langinfo.h:73:1:
MON_2 = 22 // langinfo.h:63:1:
MON_3 = 23 // langinfo.h:64:1:
MON_4 = 24 // langinfo.h:65:1:
MON_5 = 25 // langinfo.h:66:1:
MON_6 = 26 // langinfo.h:67:1:
MON_7 = 27 // langinfo.h:68:1:
MON_8 = 28 // langinfo.h:69:1:
MON_9 = 29 // langinfo.h:70:1:
NOEXPR = 53 // langinfo.h:99:1:
NOSTR = 55 // langinfo.h:103:1:
PM_STR = 6 // langinfo.h:41:1:
RADIXCHAR = 50 // langinfo.h:95:1:
THOUSEP = 51 // langinfo.h:96:1:
T_FMT = 3 // langinfo.h:38:1:
T_FMT_AMPM = 4 // langinfo.h:39:1:
YESEXPR = 52 // langinfo.h:98:1:
YESSTR = 54 // langinfo.h:102:1:
X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
X_CDEFS_H_ = 0 // cdefs.h:68:1:
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FORTIFY_SOURCE = 2 // _types.h:65:1:
X_LANGINFO_H_ = 0 // langinfo.h:30:1:
X_LP64 = 1 // <predefined>:1:1:
X_NL_ITEM = 0 // _nl_item.h:30:1:
X_Nonnull = 0 // cdefs.h:268:1:
X_Null_unspecified = 0 // cdefs.h:271:1:
X_Nullable = 0 // cdefs.h:265:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -111,6 +111,8 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// -
// Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
// All rights reserved.
@ -259,6 +261,19 @@ type X__float128 = float64 /* <builtin>:47:21 */
// in between its arguments. __CONCAT can also concatenate double-quoted
// strings produced by the __STRING macro, but this only works with ANSI C.
// In non-ANSI C environments, new programs will want ANSI-only C keywords
// deleted from the program and old programs will want them left alone.
// When using a compiler other than gcc, programs using the ANSI C keywords
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
// When using "gcc -traditional", we assume that this is the intent; if
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
// __pure2 can be used for functions that are only a function of their scalar
// arguments (meaning they can't dereference pointers).
//
// __stateful_pure can be used for functions that have no side effects,
// but depend on the state of the memory.
// __unused denotes variables and functions that may not be used, preventing
// the compiler from warning about it if not used.
@ -535,6 +550,20 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
// used from other compilation units, but not other libraries or executables.
// We intentionally define to nothing pointer attributes which do not have an
// impact on the ABI. __indexable and __bidi_indexable are not defined because
// of the ABI incompatibility that makes the diagnostic preferable.
// Similarly, we intentionally define to nothing the
// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
// macros because they do not lead to an ABI incompatibility. However, we do not
// define the indexable and unsafe_indexable ones because the diagnostic is
// better than the silent ABI break.
// __unsafe_forge intrinsics are defined as regular C casts.
// decay operates normally; attribute is meaningless without pointer checks.
// Architecture validation for current SDK
// Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
@ -573,17 +602,17 @@ type X__float128 = float64 /* <builtin>:47:21 */
// This header file contains integer types. It's intended to also contain
// flotaing point and other arithmetic types, as needed, later.
type X__int8_t = int8 /* _types.h:13:33 */
type X__uint8_t = uint8 /* _types.h:17:33 */
type X__int16_t = int16 /* _types.h:18:33 */
type X__uint16_t = uint16 /* _types.h:19:33 */
type X__int32_t = int32 /* _types.h:20:33 */
type X__uint32_t = uint32 /* _types.h:21:33 */
type X__int64_t = int64 /* _types.h:22:33 */
type X__uint64_t = uint64 /* _types.h:23:33 */
type X__int8_t = int8 /* _types.h:15:33 */
type X__uint8_t = uint8 /* _types.h:19:33 */
type X__int16_t = int16 /* _types.h:20:33 */
type X__uint16_t = uint16 /* _types.h:21:33 */
type X__int32_t = int32 /* _types.h:22:33 */
type X__uint32_t = uint32 /* _types.h:23:33 */
type X__int64_t = int64 /* _types.h:24:33 */
type X__uint64_t = uint64 /* _types.h:25:33 */
type X__darwin_intptr_t = int64 /* _types.h:25:33 */
type X__darwin_natural_t = uint32 /* _types.h:26:33 */
type X__darwin_intptr_t = int64 /* _types.h:27:33 */
type X__darwin_natural_t = uint32 /* _types.h:28:33 */
// The rune type below is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
@ -601,33 +630,33 @@ type X__darwin_natural_t = uint32 /* _types.h:26:33 */
// wchar_t, and should also be able to hold all members of the largest
// character set plus one extra value (WEOF). wint_t must be at least 16 bits.
type X__darwin_ct_rune_t = int32 /* _types.h:46:33 */ // ct_rune_t
type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
} /* _types.h:55:3 */
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:57:3 */
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:57:33 */ // mbstate_t
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
type X__darwin_ptrdiff_t = int64 /* _types.h:60:33 */ // ptr1 - ptr2
type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
type X__darwin_size_t = uint64 /* _types.h:68:33 */ // sizeof()
type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
type X__darwin_va_list = X__builtin_va_list /* _types.h:74:33 */ // va_list
type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
type X__darwin_wchar_t = int32 /* _types.h:80:33 */ // wchar_t
type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:85:33 */ // rune_t
type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
type X__darwin_wint_t = int32 /* _types.h:88:33 */ // wint_t
type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
type X__darwin_clock_t = uint64 /* _types.h:93:33 */ // clock()
type X__darwin_socklen_t = X__uint32_t /* _types.h:94:33 */ // socklen_t (duh)
type X__darwin_ssize_t = int64 /* _types.h:95:33 */ // byte count or error
type X__darwin_time_t = int64 /* _types.h:96:33 */ // time()
type X__darwin_clock_t = uint64 /* _types.h:95:33 */ // clock()
type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
type X__darwin_ssize_t = int64 /* _types.h:97:33 */ // byte count or error
type X__darwin_time_t = int64 /* _types.h:98:33 */ // time()
// Type definitions; takes common type definitions that must be used
// in multiple header files due to [XSI], removes them from the system

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@ -15,90 +15,90 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ABDAY_1 = 14
ABDAY_2 = 15
ABDAY_3 = 16
ABDAY_4 = 17
ABDAY_5 = 18
ABDAY_6 = 19
ABDAY_7 = 20
ABMON_1 = 33
ABMON_10 = 42
ABMON_11 = 43
ABMON_12 = 44
ABMON_2 = 34
ABMON_3 = 35
ABMON_4 = 36
ABMON_5 = 37
ABMON_6 = 38
ABMON_7 = 39
ABMON_8 = 40
ABMON_9 = 41
ALTMON_1 = 58
ALTMON_10 = 67
ALTMON_11 = 68
ALTMON_12 = 69
ALTMON_2 = 59
ALTMON_3 = 60
ALTMON_4 = 61
ALTMON_5 = 62
ALTMON_6 = 63
ALTMON_7 = 64
ALTMON_8 = 65
ALTMON_9 = 66
ALT_DIGITS = 49
AM_STR = 5
CODESET = 0
CRNCYSTR = 56
DAY_1 = 7
DAY_2 = 8
DAY_3 = 9
DAY_4 = 10
DAY_5 = 11
DAY_6 = 12
DAY_7 = 13
D_FMT = 2
D_MD_ORDER = 57
D_T_FMT = 1
ERA = 45
ERA_D_FMT = 46
ERA_D_T_FMT = 47
ERA_T_FMT = 48
MON_1 = 21
MON_10 = 30
MON_11 = 31
MON_12 = 32
MON_2 = 22
MON_3 = 23
MON_4 = 24
MON_5 = 25
MON_6 = 26
MON_7 = 27
MON_8 = 28
MON_9 = 29
NOEXPR = 53
NOSTR = 55
PM_STR = 6
RADIXCHAR = 50
THOUSEP = 51
T_FMT = 3
T_FMT_AMPM = 4
YESEXPR = 52
YESSTR = 54
X_FILE_OFFSET_BITS = 64
X_LANGINFO_H_ = 0
X_LOCALE_T_DEFINED = 0
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NL_ITEM_DECLARED = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
X_XLOCALE_LANGINFO_H = 0
Unix = 1
ABDAY_1 = 14 // langinfo.h:60:1:
ABDAY_2 = 15 // langinfo.h:61:1:
ABDAY_3 = 16 // langinfo.h:62:1:
ABDAY_4 = 17 // langinfo.h:63:1:
ABDAY_5 = 18 // langinfo.h:64:1:
ABDAY_6 = 19 // langinfo.h:65:1:
ABDAY_7 = 20 // langinfo.h:66:1:
ABMON_1 = 33 // langinfo.h:83:1:
ABMON_10 = 42 // langinfo.h:92:1:
ABMON_11 = 43 // langinfo.h:93:1:
ABMON_12 = 44 // langinfo.h:94:1:
ABMON_2 = 34 // langinfo.h:84:1:
ABMON_3 = 35 // langinfo.h:85:1:
ABMON_4 = 36 // langinfo.h:86:1:
ABMON_5 = 37 // langinfo.h:87:1:
ABMON_6 = 38 // langinfo.h:88:1:
ABMON_7 = 39 // langinfo.h:89:1:
ABMON_8 = 40 // langinfo.h:90:1:
ABMON_9 = 41 // langinfo.h:91:1:
ALTMON_1 = 58 // langinfo.h:120:1:
ALTMON_10 = 67 // langinfo.h:129:1:
ALTMON_11 = 68 // langinfo.h:130:1:
ALTMON_12 = 69 // langinfo.h:131:1:
ALTMON_2 = 59 // langinfo.h:121:1:
ALTMON_3 = 60 // langinfo.h:122:1:
ALTMON_4 = 61 // langinfo.h:123:1:
ALTMON_5 = 62 // langinfo.h:124:1:
ALTMON_6 = 63 // langinfo.h:125:1:
ALTMON_7 = 64 // langinfo.h:126:1:
ALTMON_8 = 65 // langinfo.h:127:1:
ALTMON_9 = 66 // langinfo.h:128:1:
ALT_DIGITS = 49 // langinfo.h:100:1:
AM_STR = 5 // langinfo.h:47:1:
CODESET = 0 // langinfo.h:42:1:
CRNCYSTR = 56 // langinfo.h:113:1:
DAY_1 = 7 // langinfo.h:51:1:
DAY_2 = 8 // langinfo.h:52:1:
DAY_3 = 9 // langinfo.h:53:1:
DAY_4 = 10 // langinfo.h:54:1:
DAY_5 = 11 // langinfo.h:55:1:
DAY_6 = 12 // langinfo.h:56:1:
DAY_7 = 13 // langinfo.h:57:1:
D_FMT = 2 // langinfo.h:44:1:
D_MD_ORDER = 57 // langinfo.h:116:1:
D_T_FMT = 1 // langinfo.h:43:1:
ERA = 45 // langinfo.h:96:1:
ERA_D_FMT = 46 // langinfo.h:97:1:
ERA_D_T_FMT = 47 // langinfo.h:98:1:
ERA_T_FMT = 48 // langinfo.h:99:1:
MON_1 = 21 // langinfo.h:69:1:
MON_10 = 30 // langinfo.h:78:1:
MON_11 = 31 // langinfo.h:79:1:
MON_12 = 32 // langinfo.h:80:1:
MON_2 = 22 // langinfo.h:70:1:
MON_3 = 23 // langinfo.h:71:1:
MON_4 = 24 // langinfo.h:72:1:
MON_5 = 25 // langinfo.h:73:1:
MON_6 = 26 // langinfo.h:74:1:
MON_7 = 27 // langinfo.h:75:1:
MON_8 = 28 // langinfo.h:76:1:
MON_9 = 29 // langinfo.h:77:1:
NOEXPR = 53 // langinfo.h:106:1:
NOSTR = 55 // langinfo.h:110:1:
PM_STR = 6 // langinfo.h:48:1:
RADIXCHAR = 50 // langinfo.h:102:1:
THOUSEP = 51 // langinfo.h:103:1:
T_FMT = 3 // langinfo.h:45:1:
T_FMT_AMPM = 4 // langinfo.h:46:1:
YESEXPR = 52 // langinfo.h:105:1:
YESSTR = 54 // langinfo.h:109:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LANGINFO_H_ = 0 // langinfo.h:32:1:
X_LOCALE_T_DEFINED = 0 // _langinfo.h:37:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_NL_ITEM_DECLARED = 0 // langinfo.h:39:1:
X_Nonnull = 0 // cdefs.h:790:1:
X_Null_unspecified = 0 // cdefs.h:792:1:
X_Nullable = 0 // cdefs.h:791:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_XLOCALE_LANGINFO_H = 0 // _langinfo.h:34:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -364,12 +364,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Function should not be analyzed.
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
// GCC has the nosanitize attribute, but as a function attribute only, and
// warns on use as a variable attribute.
// Guard variables and structure members by lock.
// Alignment builtins for better type checking and improved code generation.
// Provide fallback versions for other compilers (GCC/Clang < 10):
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
@ -612,8 +615,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
// rune_t is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
// rune_t is declared to be an int instead of the more natural
// unsigned long or long. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
@ -646,8 +649,8 @@ type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
// mbstate_t is an opaque object to keep conversion state during multibyte
// stream conversions.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:124:3 */
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
@ -667,7 +670,6 @@ type Nl_item = X__nl_item /* langinfo.h:38:19 */
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
// Copyright (c) 2011, 2012 The FreeBSD Foundation
// All rights reserved.
//
// This software was developed by David Chisnall under sponsorship from
// the FreeBSD Foundation.
@ -695,6 +697,6 @@ type Nl_item = X__nl_item /* langinfo.h:38:19 */
//
// $FreeBSD$
type Locale_t = uintptr /* _langinfo.h:39:25 */
type Locale_t = uintptr /* _langinfo.h:38:25 */
var _ int8 /* gen.c:2:13: */

View File

@ -24,6 +24,7 @@ const (
X_DEFAULT_SOURCE = 1
X_FEATURES_H = 1
X_FILE_OFFSET_BITS = 64
X_ILP32 = 1
X_LANGINFO_H = 1
X_NL_TYPES_H = 1
X_POSIX_C_SOURCE = 200809
@ -36,7 +37,7 @@ const (
)
// Definition of locale category symbol values.
// Copyright (C) 2001-2018 Free Software Foundation, Inc.
// Copyright (C) 2001-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -51,7 +52,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Construct an `nl_item' value for `nl_langinfo' from a locale category
// (LC_*) and an item index within the category. Some code may depend on
@ -524,7 +525,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Access to locale-dependent parameters.
// Copyright (C) 1995-2018 Free Software Foundation, Inc.
// Copyright (C) 1995-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -539,10 +540,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Get the type definition.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -557,9 +558,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -574,7 +575,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -582,6 +583,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -702,6 +704,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -724,9 +728,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -741,7 +758,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -754,7 +771,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -769,7 +786,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -884,7 +901,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -905,10 +922,14 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
// Properties of long double type. ldbl-96 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -923,7 +944,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -972,7 +993,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
// POSIX.1-2008 extended locale interface (see locale.h).
// Definition of locale_t.
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -987,10 +1008,10 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Definition of struct __locale_struct and __locale_t.
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
//
@ -1006,7 +1027,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX.1-2008: the locale_t type, representing a locale context
// (implementation-namespace version). This type should be treated

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@ -15,28 +15,28 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
NL_CAT_LOCALE = 1
NL_SETD = 1
X_ATFILE_SOURCE = 1
X_BITS_LOCALE_H = 1
X_BITS_TYPES_LOCALE_T_H = 1
X_BITS_TYPES___LOCALE_T_H = 1
X_DEFAULT_SOURCE = 1
X_FEATURES_H = 1
X_FILE_OFFSET_BITS = 64
X_LANGINFO_H = 1
X_LP64 = 1
X_NL_TYPES_H = 1
X_POSIX_C_SOURCE = 200809
X_POSIX_SOURCE = 1
X_STDC_PREDEF_H = 1
X_SYS_CDEFS_H = 1
Linux = 1
Unix = 1
NL_CAT_LOCALE = 1 // nl_types.h:27:1:
NL_SETD = 1 // nl_types.h:24:1:
X_ATFILE_SOURCE = 1 // features.h:342:1:
X_BITS_LOCALE_H = 1 // locale.h:24:1:
X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1:
X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1:
X_DEFAULT_SOURCE = 1 // features.h:227:1:
X_FEATURES_H = 1 // features.h:19:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LANGINFO_H = 1 // langinfo.h:20:1:
X_LP64 = 1 // <predefined>:284:1:
X_NL_TYPES_H = 1 // nl_types.h:19:1:
X_POSIX_C_SOURCE = 200809 // features.h:281:1:
X_POSIX_SOURCE = 1 // features.h:279:1:
X_STDC_PREDEF_H = 1 // <predefined>:162:1:
X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
Linux = 1 // <predefined>:231:1:
Unix = 1 // <predefined>:177:1:
)
// Definition of locale category symbol values.
// Copyright (C) 2001-2018 Free Software Foundation, Inc.
// Copyright (C) 2001-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -51,7 +51,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Construct an `nl_item' value for `nl_langinfo' from a locale category
// (LC_*) and an item index within the category. Some code may depend on
@ -533,7 +533,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Access to locale-dependent parameters.
// Copyright (C) 1995-2018 Free Software Foundation, Inc.
// Copyright (C) 1995-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -548,10 +548,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Get the type definition.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -566,9 +566,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -583,7 +583,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -591,6 +591,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -711,6 +712,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -733,9 +736,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -750,7 +766,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -763,7 +779,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -778,7 +794,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -893,7 +909,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -914,11 +930,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
// Both x86-64 and x32 use the 64-bit system call interface.
// Properties of long double type. ldbl-96 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -933,7 +953,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -982,7 +1002,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
// POSIX.1-2008 extended locale interface (see locale.h).
// Definition of locale_t.
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -997,10 +1017,10 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Definition of struct __locale_struct and __locale_t.
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
//
@ -1016,7 +1036,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX.1-2008: the locale_t type, representing a locale context
// (implementation-namespace version). This type should be treated

View File

@ -35,7 +35,7 @@ const (
)
// Definition of locale category symbol values.
// Copyright (C) 2001-2018 Free Software Foundation, Inc.
// Copyright (C) 2001-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -50,7 +50,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Construct an `nl_item' value for `nl_langinfo' from a locale category
// (LC_*) and an item index within the category. Some code may depend on
@ -523,7 +523,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Access to locale-dependent parameters.
// Copyright (C) 1995-2018 Free Software Foundation, Inc.
// Copyright (C) 1995-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -538,10 +538,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Get the type definition.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -556,9 +556,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -573,7 +573,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -581,6 +581,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -701,6 +702,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -723,9 +726,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -740,7 +756,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -753,7 +769,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -768,7 +784,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -883,7 +899,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -904,7 +920,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Copyright (C) 1999-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -919,10 +939,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Properties of long double type.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -937,7 +957,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This header is included by <sys/cdefs.h>.
//
@ -1002,7 +1022,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
// POSIX.1-2008 extended locale interface (see locale.h).
// Definition of locale_t.
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -1017,10 +1037,10 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Definition of struct __locale_struct and __locale_t.
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
//
@ -1036,7 +1056,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX.1-2008: the locale_t type, representing a locale context
// (implementation-namespace version). This type should be treated
@ -1055,4 +1075,4 @@ type X__locale_t = uintptr /* __locale_t.h:42:32 */
type Locale_t = X__locale_t /* locale_t.h:24:20 */
var _ int8 /* gen.c:2:13: */
var _ uint8 /* gen.c:2:13: */

View File

@ -36,7 +36,7 @@ const (
)
// Definition of locale category symbol values.
// Copyright (C) 2001-2018 Free Software Foundation, Inc.
// Copyright (C) 2001-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -51,7 +51,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Construct an `nl_item' value for `nl_langinfo' from a locale category
// (LC_*) and an item index within the category. Some code may depend on
@ -533,7 +533,7 @@ type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Access to locale-dependent parameters.
// Copyright (C) 1995-2018 Free Software Foundation, Inc.
// Copyright (C) 1995-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -548,10 +548,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Get the type definition.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -566,9 +566,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -583,7 +583,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -591,6 +591,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@ -711,6 +712,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@ -733,9 +736,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -750,7 +766,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@ -763,7 +779,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -778,7 +794,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -893,7 +909,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@ -914,9 +930,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -931,10 +951,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Properties of long double type. ldbl-128 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -949,7 +969,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -983,7 +1003,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -998,7 +1018,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This file is automatically generated.
// It defines a symbol `__stub_FUNCTION' for each function
@ -1017,7 +1037,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
// POSIX.1-2008 extended locale interface (see locale.h).
// Definition of locale_t.
// Copyright (C) 2017-2018 Free Software Foundation, Inc.
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
@ -1032,10 +1052,10 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Definition of struct __locale_struct and __locale_t.
// Copyright (C) 1997-2018 Free Software Foundation, Inc.
// Copyright (C) 1997-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
//
@ -1051,7 +1071,7 @@ type Nl_item = int32 /* nl_types.h:36:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX.1-2008: the locale_t type, representing a locale context
// (implementation-namespace version). This type should be treated
@ -1070,4 +1090,4 @@ type X__locale_t = uintptr /* __locale_t.h:42:32 */
type Locale_t = X__locale_t /* locale_t.h:24:20 */
var _ int8 /* gen.c:2:13: */
var _ uint8 /* gen.c:2:13: */

View File

@ -926,7 +926,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// array_name[restrict]
// GCC 3.1 supports this.
// Describes a char array whose address can safely be passed as the first
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/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 langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@ -15,15 +15,15 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
NL_CAT_LOCALE = 1
NL_SETD = 1
X_FILE_OFFSET_BITS = 64
X_LANGINFO_H_ = 0
X_LP64 = 1
X_NL_TYPES_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_X86_64_CDEFS_H_ = 0
NL_CAT_LOCALE = 1 // nl_types.h:75:1:
NL_SETD = 1 // nl_types.h:74:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LANGINFO_H_ = 0 // langinfo.h:9:1:
X_LP64 = 1 // <predefined>:268:1:
X_NL_TYPES_H_ = 0 // nl_types.h:33:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -111,9 +111,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
type X__nl_cat_d = struct {
F__data uintptr
F__size int32
_ [4]byte
F__data uintptr
F__size int32
F__ccgo_pad1 [4]byte
} /* nl_types.h:77:9 */
// return true if value 'a' fits in type 't'