summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/uuid
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-08-13 16:14:26 +0200
committerGitHub <noreply@github.com>2022-08-13 16:14:26 +0200
commit6a3fc713978a0c1c9290a4afd08b47886b49b635 (patch)
treeaa62cd85cf5671646c75ee38b3fc140ef7edcea8 /vendor/modernc.org/libc/uuid
parent3c4192ebf6a32e30cdd23a9644c2ceca72a006fa (diff)
downloadmatterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.gz
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.bz2
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.zip
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18
Diffstat (limited to 'vendor/modernc.org/libc/uuid')
-rw-r--r--vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go2
-rw-r--r--vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go2
-rw-r--r--vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go52
-rw-r--r--vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go158
4 files changed, 114 insertions, 100 deletions
diff --git a/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go b/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go
index e8c583fd..7ea285a7 100644
--- a/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go
+++ b/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT.
+// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT.
package uuid
diff --git a/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go b/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go
index 1439e9a1..68331799 100644
--- a/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go
+++ b/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT.
+// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT.
package uuid
diff --git a/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go
index 9cf36a53..c87a7b25 100644
--- a/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go
+++ b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT.
+// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT.
package uuid
@@ -15,24 +15,24 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- 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_LP64 = 1
- X_Nonnull = 0
- X_Null_unspecified = 0
- X_Nullable = 0
- X_SYS__PTHREAD_TYPES_H_ = 0
- X_SYS__TYPES_H_ = 0
- X_UUID_STRING_T = 0
- X_UUID_T = 0
- X_UUID_UUID_H = 0
+ 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_LP64 = 1 // <predefined>:1: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:
+ X_UUID_STRING_T = 0 // uuid.h:42:1:
+ X_UUID_T = 0 // _uuid_t.h:29:1:
+ X_UUID_UUID_H = 0 // uuid.h:36:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -476,6 +476,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// __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
diff --git a/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go b/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go
index 84c78a0e..3d9cb2f6 100644
--- a/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go
+++ b/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT.
+// Code generated by 'ccgo uuid/uuid/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 uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT.
package uuid
@@ -15,84 +15,84 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- BIG_ENDIAN = 4321
- BYTE_ORDER = 1234
- CLOCK_BOOTTIME = 7
- CLOCK_BOOTTIME_ALARM = 9
- CLOCK_MONOTONIC = 1
- CLOCK_MONOTONIC_COARSE = 6
- CLOCK_MONOTONIC_RAW = 4
- CLOCK_PROCESS_CPUTIME_ID = 2
- CLOCK_REALTIME = 0
- CLOCK_REALTIME_ALARM = 8
- CLOCK_REALTIME_COARSE = 5
- CLOCK_TAI = 11
- CLOCK_THREAD_CPUTIME_ID = 3
- FD_SETSIZE = 1024
- LITTLE_ENDIAN = 1234
- PDP_ENDIAN = 3412
- TIMER_ABSTIME = 1
- TIME_UTC = 1
- UUID_STR_LEN = 37
- UUID_TYPE_DCE_MD5 = 3
- UUID_TYPE_DCE_RANDOM = 4
- UUID_TYPE_DCE_SECURITY = 2
- UUID_TYPE_DCE_SHA1 = 5
- UUID_TYPE_DCE_TIME = 1
- UUID_TYPE_MASK = 0xf
- UUID_TYPE_SHIFT = 4
- UUID_VARIANT_DCE = 1
- UUID_VARIANT_MASK = 0x7
- UUID_VARIANT_MICROSOFT = 2
- UUID_VARIANT_NCS = 0
- UUID_VARIANT_OTHER = 3
- UUID_VARIANT_SHIFT = 5
- X_ATFILE_SOURCE = 1
- X_BITS_BYTESWAP_H = 1
- X_BITS_ENDIANNESS_H = 1
- X_BITS_ENDIAN_H = 1
- X_BITS_PTHREADTYPES_ARCH_H = 1
- X_BITS_PTHREADTYPES_COMMON_H = 1
- X_BITS_STDINT_INTN_H = 1
- X_BITS_TIME64_H = 1
- X_BITS_TIME_H = 1
- X_BITS_TYPESIZES_H = 1
- X_BITS_TYPES_H = 1
- X_BITS_TYPES_LOCALE_T_H = 1
- X_BITS_TYPES___LOCALE_T_H = 1
- X_BITS_UINTN_IDENTITY_H = 1
- X_BSD_SIZE_T_ = 0
- X_BSD_SIZE_T_DEFINED_ = 0
- X_DEFAULT_SOURCE = 1
- X_ENDIAN_H = 1
- X_FEATURES_H = 1
- X_FILE_OFFSET_BITS = 64
- X_GCC_SIZE_T = 0
- X_LP64 = 1
- X_POSIX_C_SOURCE = 200809
- X_POSIX_SOURCE = 1
- X_RWLOCK_INTERNAL_H = 0
- X_SIZET_ = 0
- X_SIZE_T = 0
- X_SIZE_T_ = 0
- X_SIZE_T_DECLARED = 0
- X_SIZE_T_DEFINED = 0
- X_SIZE_T_DEFINED_ = 0
- X_STDC_PREDEF_H = 1
- X_STRUCT_TIMESPEC = 1
- X_SYS_CDEFS_H = 1
- X_SYS_SELECT_H = 1
- X_SYS_SIZE_T_H = 0
- X_SYS_TIME_H = 1
- X_SYS_TYPES_H = 1
- X_THREAD_MUTEX_INTERNAL_H = 1
- X_THREAD_SHARED_TYPES_H = 1
- X_TIME_H = 1
- X_T_SIZE = 0
- X_T_SIZE_ = 0
- X_UUID_UUID_H = 0
- Linux = 1
- Unix = 1
+ BIG_ENDIAN = 4321 // endian.h:28:1:
+ BYTE_ORDER = 1234 // endian.h:30:1:
+ CLOCK_BOOTTIME = 7 // time.h:60:1:
+ CLOCK_BOOTTIME_ALARM = 9 // time.h:64:1:
+ CLOCK_MONOTONIC = 1 // time.h:48:1:
+ CLOCK_MONOTONIC_COARSE = 6 // time.h:58:1:
+ CLOCK_MONOTONIC_RAW = 4 // time.h:54:1:
+ CLOCK_PROCESS_CPUTIME_ID = 2 // time.h:50:1:
+ CLOCK_REALTIME = 0 // time.h:46:1:
+ CLOCK_REALTIME_ALARM = 8 // time.h:62:1:
+ CLOCK_REALTIME_COARSE = 5 // time.h:56:1:
+ CLOCK_TAI = 11 // time.h:66:1:
+ CLOCK_THREAD_CPUTIME_ID = 3 // time.h:52:1:
+ FD_SETSIZE = 1024 // select.h:73:1:
+ LITTLE_ENDIAN = 1234 // endian.h:27:1:
+ PDP_ENDIAN = 3412 // endian.h:29:1:
+ TIMER_ABSTIME = 1 // time.h:69:1:
+ TIME_UTC = 1 // time.h:65:1:
+ UUID_STR_LEN = 37 // uuid.h:65:1:
+ UUID_TYPE_DCE_MD5 = 3 // uuid.h:58:1:
+ UUID_TYPE_DCE_RANDOM = 4 // uuid.h:59:1:
+ UUID_TYPE_DCE_SECURITY = 2 // uuid.h:57:1:
+ UUID_TYPE_DCE_SHA1 = 5 // uuid.h:60:1:
+ UUID_TYPE_DCE_TIME = 1 // uuid.h:56:1:
+ UUID_TYPE_MASK = 0xf // uuid.h:63:1:
+ UUID_TYPE_SHIFT = 4 // uuid.h:62:1:
+ UUID_VARIANT_DCE = 1 // uuid.h:48:1:
+ UUID_VARIANT_MASK = 0x7 // uuid.h:53:1:
+ UUID_VARIANT_MICROSOFT = 2 // uuid.h:49:1:
+ UUID_VARIANT_NCS = 0 // uuid.h:47:1:
+ UUID_VARIANT_OTHER = 3 // uuid.h:50:1:
+ UUID_VARIANT_SHIFT = 5 // uuid.h:52:1:
+ X_ATFILE_SOURCE = 1 // features.h:342:1:
+ X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1:
+ X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1:
+ X_BITS_ENDIAN_H = 1 // endian.h:20:1:
+ X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1:
+ X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1:
+ X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1:
+ X_BITS_TIME64_H = 1 // time64.h:24:1:
+ X_BITS_TIME_H = 1 // time.h:24:1:
+ X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
+ X_BITS_TYPES_H = 1 // types.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_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1:
+ X_BSD_SIZE_T_ = 0 // stddef.h:189:1:
+ X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1:
+ X_DEFAULT_SOURCE = 1 // features.h:227:1:
+ X_ENDIAN_H = 1 // endian.h:19:1:
+ X_FEATURES_H = 1 // features.h:19:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_GCC_SIZE_T = 0 // stddef.h:195:1:
+ X_LP64 = 1 // <predefined>:284:1:
+ X_POSIX_C_SOURCE = 200809 // features.h:281:1:
+ X_POSIX_SOURCE = 1 // features.h:279:1:
+ X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1:
+ X_SIZET_ = 0 // stddef.h:196:1:
+ X_SIZE_T = 0 // stddef.h:183:1:
+ X_SIZE_T_ = 0 // stddef.h:188:1:
+ X_SIZE_T_DECLARED = 0 // stddef.h:193:1:
+ X_SIZE_T_DEFINED = 0 // stddef.h:191:1:
+ X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1:
+ X_STDC_PREDEF_H = 1 // <predefined>:162:1:
+ X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1:
+ X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
+ X_SYS_SELECT_H = 1 // select.h:22:1:
+ X_SYS_SIZE_T_H = 0 // stddef.h:184:1:
+ X_SYS_TIME_H = 1 // time.h:19:1:
+ X_SYS_TYPES_H = 1 // types.h:23:1:
+ X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1:
+ X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1:
+ X_TIME_H = 1 // time.h:23:1:
+ X_T_SIZE = 0 // stddef.h:186:1:
+ X_T_SIZE_ = 0 // stddef.h:185:1:
+ X_UUID_UUID_H = 0 // uuid.h:36:1:
+ Linux = 1 // <predefined>:231:1:
+ Unix = 1 // <predefined>:177:1:
)
// Values for the first argument to `getitimer' and `setitimer'.