forked from lug/matterbridge
Update vendor (whatsapp)
This commit is contained in:
+1
@@ -13,4 +13,5 @@ Dan Peterson <danp@danp.net>
|
||||
Jan Mercl <0xjnml@gmail.com>
|
||||
Jason DeBettencourt <jasond17@gmail.com>
|
||||
Koichi Shiraishi <zchee.io@gmail.com>
|
||||
Marius Orcsik <marius@federated.id>
|
||||
Steffen Butzer <steffen(dot)butzer@outlook.com>
|
||||
|
||||
+1
@@ -12,4 +12,5 @@ Jaap Aarts <jaap.aarts1@gmail.com>
|
||||
Jan Mercl <0xjnml@gmail.com>
|
||||
Jason DeBettencourt <jasond17@gmail.com>
|
||||
Koichi Shiraishi <zchee.io@gmail.com>
|
||||
Marius Orcsik <marius@federated.id>
|
||||
Steffen Butzer <steffen(dot)butzer@outlook.com>
|
||||
|
||||
+1
@@ -153,6 +153,7 @@ var CAPI = map[string]struct{}{
|
||||
"atoi": {},
|
||||
"atol": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
|
||||
+2
@@ -82,6 +82,7 @@ var CAPI = map[string]struct{}{
|
||||
"__ccgo_sqlite3_log": {},
|
||||
"__cmsg_nxthdr": {},
|
||||
"__ctype_get_mb_cur_max": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
@@ -152,6 +153,7 @@ var CAPI = map[string]struct{}{
|
||||
"atoi": {},
|
||||
"atol": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
|
||||
+14
@@ -39,6 +39,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -47,6 +49,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -90,11 +93,16 @@ var CAPI = map[string]struct{}{
|
||||
"__isalnum_l": {},
|
||||
"__isalpha_l": {},
|
||||
"__isdigit_l": {},
|
||||
"__islower_l": {},
|
||||
"__isnan": {},
|
||||
"__isnanf": {},
|
||||
"__isnanl": {},
|
||||
"__isoc99_sscanf": {},
|
||||
"__isprint_l": {},
|
||||
"__isspace_l": {},
|
||||
"__isthreaded": {},
|
||||
"__isupper_l": {},
|
||||
"__isxdigit_l": {},
|
||||
"__lookup_ipliteral": {},
|
||||
"__lookup_name": {},
|
||||
"__lookup_serv": {},
|
||||
@@ -139,6 +147,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -266,9 +275,14 @@ var CAPI = map[string]struct{}{
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isdigit": {},
|
||||
"islower": {},
|
||||
"isnan": {},
|
||||
"isnanf": {},
|
||||
"isnanl": {},
|
||||
"isprint": {},
|
||||
"isspace": {},
|
||||
"isupper": {},
|
||||
"isxdigit": {},
|
||||
"kill": {},
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
|
||||
+6
@@ -34,6 +34,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -42,6 +44,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -136,6 +139,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -258,6 +262,7 @@ var CAPI = map[string]struct{}{
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
@@ -405,6 +410,7 @@ var CAPI = map[string]struct{}{
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
|
||||
+6
@@ -34,6 +34,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -42,6 +44,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -136,6 +139,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -258,6 +262,7 @@ var CAPI = map[string]struct{}{
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
@@ -407,6 +412,7 @@ var CAPI = map[string]struct{}{
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
|
||||
+6
@@ -34,6 +34,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -42,6 +44,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -136,6 +139,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -258,6 +262,7 @@ var CAPI = map[string]struct{}{
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
@@ -405,6 +410,7 @@ var CAPI = map[string]struct{}{
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
|
||||
+6
@@ -34,6 +34,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -42,6 +44,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -136,6 +139,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -258,6 +262,7 @@ var CAPI = map[string]struct{}{
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
@@ -405,6 +410,7 @@ var CAPI = map[string]struct{}{
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
|
||||
+6
@@ -34,6 +34,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -42,6 +44,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -136,6 +139,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -258,6 +262,7 @@ var CAPI = map[string]struct{}{
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
@@ -405,6 +410,7 @@ var CAPI = map[string]struct{}{
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
|
||||
+13
-1
@@ -39,6 +39,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -47,6 +49,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -110,7 +113,6 @@ var CAPI = map[string]struct{}{
|
||||
"__swbuf": {},
|
||||
"__sync_add_and_fetch_uint32": {},
|
||||
"__sync_sub_and_fetch_uint32": {},
|
||||
"__sync_synchronize": {},
|
||||
"__syscall1": {},
|
||||
"__syscall3": {},
|
||||
"__syscall4": {},
|
||||
@@ -145,6 +147,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -264,6 +267,8 @@ var CAPI = map[string]struct{}{
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
"isalpha": {},
|
||||
@@ -299,6 +304,7 @@ var CAPI = map[string]struct{}{
|
||||
"mkdir": {},
|
||||
"mkfifo": {},
|
||||
"mknod": {},
|
||||
"mkostemp": {},
|
||||
"mkstemp": {},
|
||||
"mkstemp64": {},
|
||||
"mkstemps": {},
|
||||
@@ -362,6 +368,7 @@ var CAPI = map[string]struct{}{
|
||||
"raise": {},
|
||||
"rand": {},
|
||||
"random": {},
|
||||
"random_r": {},
|
||||
"read": {},
|
||||
"readdir": {},
|
||||
"readdir64": {},
|
||||
@@ -395,6 +402,7 @@ var CAPI = map[string]struct{}{
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
@@ -425,6 +433,7 @@ var CAPI = map[string]struct{}{
|
||||
"strcspn": {},
|
||||
"strdup": {},
|
||||
"strerror": {},
|
||||
"strerror_r": {},
|
||||
"strlen": {},
|
||||
"strncmp": {},
|
||||
"strncpy": {},
|
||||
@@ -464,6 +473,9 @@ var CAPI = map[string]struct{}{
|
||||
"usleep": {},
|
||||
"utime": {},
|
||||
"utimes": {},
|
||||
"uuid_generate_random": {},
|
||||
"uuid_parse": {},
|
||||
"uuid_unparse": {},
|
||||
"vasprintf": {},
|
||||
"vfprintf": {},
|
||||
"vprintf": {},
|
||||
|
||||
+7
@@ -96,6 +96,7 @@ var CAPI = map[string]struct{}{
|
||||
"__isalnum_l": {},
|
||||
"__isalpha_l": {},
|
||||
"__isdigit_l": {},
|
||||
"__islower_l": {},
|
||||
"__isnan": {},
|
||||
"__isnanf": {},
|
||||
"__isnanl": {},
|
||||
@@ -103,6 +104,8 @@ var CAPI = map[string]struct{}{
|
||||
"__isprint_l": {},
|
||||
"__isspace_l": {},
|
||||
"__isthreaded": {},
|
||||
"__isupper_l": {},
|
||||
"__isxdigit_l": {},
|
||||
"__lookup_ipliteral": {},
|
||||
"__lookup_name": {},
|
||||
"__lookup_serv": {},
|
||||
@@ -151,6 +154,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -279,11 +283,14 @@ var CAPI = map[string]struct{}{
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isdigit": {},
|
||||
"islower": {},
|
||||
"isnan": {},
|
||||
"isnanf": {},
|
||||
"isnanl": {},
|
||||
"isprint": {},
|
||||
"isspace": {},
|
||||
"isupper": {},
|
||||
"isxdigit": {},
|
||||
"kill": {},
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
|
||||
+4
@@ -284,6 +284,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -292,6 +294,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -440,6 +443,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
|
||||
+4
@@ -282,6 +282,8 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
@@ -290,6 +292,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -436,6 +439,7 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package errno
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo errno/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 errno/errno_windows_386.go -pkgname errno', DO NOT EDIT.
|
||||
// Code generated by 'ccgo errno\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 errno\errno_windows_386.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
|
||||
+7
@@ -314,6 +314,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
|
||||
+9
@@ -156,6 +156,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) 2000 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -314,6 +316,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
|
||||
+24
-37
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo errno/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 errno/errno_windows_386.go -pkgname errno', DO NOT EDIT.
|
||||
// Code generated by 'ccgo errno\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 errno\errno_windows_386.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
@@ -112,7 +112,9 @@ const (
|
||||
EWOULDBLOCK = 140
|
||||
EXDEV = 18
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
STRUNCATE = 80
|
||||
@@ -136,12 +138,9 @@ const (
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_ERRNO = 0
|
||||
@@ -156,6 +155,7 @@ const (
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_ERRCODE_VALUES_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
@@ -210,11 +210,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -235,12 +230,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -281,28 +270,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -328,29 +315,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
|
||||
// Posix thread extensions.
|
||||
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package fcntl
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo fcntl/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 fcntl/fcntl_windows_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
// Code generated by 'ccgo fcntl\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 fcntl\fcntl_windows_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
|
||||
+7
@@ -409,6 +409,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
|
||||
+9
@@ -262,6 +262,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) 2000 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -450,6 +452,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
|
||||
+24
-37
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo fcntl/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 fcntl/fcntl_windows_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
// Code generated by 'ccgo fcntl\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 fcntl\fcntl_windows_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
@@ -33,7 +33,9 @@ const (
|
||||
DUMMYUNIONNAME9 = 0
|
||||
F_OK = 0
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
O_ACCMODE = 3
|
||||
@@ -81,7 +83,6 @@ const (
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
@@ -89,8 +90,6 @@ const (
|
||||
X_FILE_OFFSET_BITS_SET_OFFT = 0
|
||||
X_FINDDATA_T_DEFINED = 0
|
||||
X_FSIZE_T_DEFINED = 0
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_FCNTL = 0
|
||||
@@ -132,6 +131,7 @@ const (
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIZE_T_DEFINED = 0
|
||||
@@ -189,11 +189,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -214,12 +209,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -260,28 +249,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -307,29 +294,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
type X_fsize_t = uint32 /* io.h:29:25 */
|
||||
|
||||
type X_finddata32_t = struct {
|
||||
|
||||
+4
@@ -3,5 +3,9 @@
|
||||
package fts
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+7
-1
@@ -2,4 +2,10 @@
|
||||
|
||||
package fts
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+9
-19
@@ -27,6 +27,7 @@ const (
|
||||
EF_NO_XATTRS = 0x00000002
|
||||
FD_SETSIZE = 1024
|
||||
FTS_AGAIN = 1
|
||||
FTS_BLOCK_COMPAR = 0x80000000
|
||||
FTS_COMFOLLOW = 0x001
|
||||
FTS_COMFOLLOWDIR = 0x400
|
||||
FTS_D = 1
|
||||
@@ -379,6 +380,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -2946,15 +2954,6 @@ type Errno_t = int32 /* _errno_t.h:30:32 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -3225,15 +3224,6 @@ type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -5132,7 +5122,7 @@ type FTS = struct {
|
||||
Ffts_pathlen int32
|
||||
Ffts_nitems int32
|
||||
F__ccgo_pad2 [4]byte
|
||||
Ffts_compar uintptr
|
||||
F__56 struct{ Ffts_compar uintptr }
|
||||
Ffts_options int32
|
||||
F__ccgo_pad3 [4]byte
|
||||
} /* fts.h:111:3 */
|
||||
|
||||
+36
-740
@@ -28,6 +28,7 @@ const (
|
||||
EF_NO_XATTRS = 0x00000002
|
||||
FD_SETSIZE = 1024
|
||||
FTS_AGAIN = 1
|
||||
FTS_BLOCK_COMPAR = 0x80000000
|
||||
FTS_CHDIRFD = 0x08
|
||||
FTS_COMFOLLOW = 0x001
|
||||
FTS_COMFOLLOWDIR = 0x400
|
||||
@@ -229,7 +230,6 @@ const (
|
||||
X_FSBLKCNT_T = 0
|
||||
X_FSFILCNT_T = 0
|
||||
X_FTS_H_ = 0
|
||||
X_GCC_WRAP_STDINT_H = 0
|
||||
X_GID_T = 0
|
||||
X_ID_T = 0
|
||||
X_INO64_T = 0
|
||||
@@ -238,7 +238,6 @@ const (
|
||||
X_INT32_T = 0
|
||||
X_INT64_T = 0
|
||||
X_INT8_T = 0
|
||||
X_INTMAX_T = 0
|
||||
X_INTPTR_T = 0
|
||||
X_IN_ADDR_T = 0
|
||||
X_IN_PORT_T = 0
|
||||
@@ -269,7 +268,6 @@ const (
|
||||
X_RSIZE_T = 0
|
||||
X_SIZE_T = 0
|
||||
X_SSIZE_T = 0
|
||||
X_STDINT_H_ = 0
|
||||
X_SUSECONDS_T = 0
|
||||
X_SYS_STAT_H_ = 0
|
||||
X_SYS_TYPES_H_ = 0
|
||||
@@ -278,11 +276,6 @@ const (
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T = 0
|
||||
X_UID_T = 0
|
||||
X_UINT16_T = 0
|
||||
X_UINT32_T = 0
|
||||
X_UINT64_T = 0
|
||||
X_UINT8_T = 0
|
||||
X_UINTMAX_T = 0
|
||||
X_UINTPTR_T = 0
|
||||
X_USECONDS_T = 0
|
||||
X_U_CHAR = 0
|
||||
@@ -313,6 +306,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) 2000-2008 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
@@ -477,6 +472,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
@@ -1552,727 +1554,39 @@ type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_
|
||||
type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */
|
||||
type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
|
||||
type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */
|
||||
type Uint64_t = uint64 /* stdint.h:98:25 */
|
||||
|
||||
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
type Int_least64_t = Int64_t /* stdint.h:110:25 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:112:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
|
||||
|
||||
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1987, 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)endian.h 8.1 (Berkeley) 6/11/93
|
||||
type Uint32_t = uint32 /* stdint.h:172:25 */
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
type Int_least32_t = Int32_t /* stdint.h:184:25 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:186:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
|
||||
type Uint16_t = uint16 /* stdint.h:207:25 */
|
||||
|
||||
// Define _NOQUAD if the compiler does NOT support 64-bit integers.
|
||||
// #define _NOQUAD
|
||||
type Int_least16_t = Int16_t /* stdint.h:215:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:217:25 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
|
||||
type Uint8_t = uint8 /* stdint.h:226:24 */
|
||||
|
||||
// Define the order of 32-bit words in 64-bit words.
|
||||
type Int_least8_t = Int8_t /* stdint.h:232:24 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
|
||||
type Int_fast8_t = Int8_t /* stdint.h:234:24 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
|
||||
|
||||
// Definitions for byte order, according to byte significance from low
|
||||
// address to high.
|
||||
// prevent glibc sys/types.h from defining conflicting types
|
||||
|
||||
// Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.4 Integer types capable of holding object pointers.
|
||||
|
||||
// Copyright (c) 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 1987, 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
|
||||
// Macros for network/external number representation conversion.
|
||||
|
||||
// Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// This header is normally included from <libkern/OSByteOrder.h>. However,
|
||||
// <sys/_endian.h> also includes this in the case of little-endian
|
||||
// architectures, so that we can map OSByteOrder routines to the hton* and ntoh*
|
||||
// macros. This results in the asymmetry below; we only include
|
||||
// <libkern/arch/_OSByteOrder.h> for little-endian architectures.
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Macros for swapping constant values in the preprocessing stage.
|
||||
|
||||
// Copyright (c) 1999-2007 Apple Inc. All rights reserved.
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdint.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2000-2010 Apple Inc.
|
||||
// All rights reserved.
|
||||
|
||||
// from ISO/IEC 988:1999 spec
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint8_t = uint8 /* _uint8_t.h:31:23 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint16_t = uint16 /* _uint16_t.h:31:24 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint32_t = uint32 /* _uint32_t.h:31:22 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint64_t = uint64 /* _uint64_t.h:31:28 */
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type Int_least8_t = Int8_t /* stdint.h:38:26 */
|
||||
type Int_least16_t = Int16_t /* stdint.h:39:25 */
|
||||
type Int_least32_t = Int32_t /* stdint.h:40:25 */
|
||||
type Int_least64_t = Int64_t /* stdint.h:41:25 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:42:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:43:24 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:44:24 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:45:24 */
|
||||
|
||||
// 7.18.1.3 Fastest-width integer types
|
||||
type Int_fast8_t = Int8_t /* stdint.h:49:27 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:50:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:51:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:52:26 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:53:26 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:54:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:55:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:56:25 */
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Intmax_t = int64 /* _intmax_t.h:32:25 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
// C99 7.18.1.5 Greatest-width integer types.
|
||||
type Intmax_t = int64 /* stdint.h:262:26 */
|
||||
type Uintmax_t = uint64 /* stdint.h:263:26 */
|
||||
|
||||
// Functions for byte reversed loads.
|
||||
|
||||
@@ -3735,15 +3049,6 @@ type Errno_t = int32 /* _errno_t.h:30:32 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -4037,15 +3342,6 @@ type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -5910,7 +5206,7 @@ type FTS = struct {
|
||||
Ffts_pathlen int32
|
||||
Ffts_nitems int32
|
||||
F__ccgo_pad2 [4]byte
|
||||
Ffts_compar uintptr
|
||||
F__56 struct{ Ffts_compar uintptr }
|
||||
Ffts_options int32
|
||||
F__ccgo_pad3 [4]byte
|
||||
} /* fts.h:111:3 */
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package grp
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+7
@@ -219,6 +219,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
|
||||
+9
@@ -58,6 +58,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) 1989, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
@@ -219,6 +221,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
|
||||
+4
-1
@@ -713,7 +713,10 @@ func init() {
|
||||
|
||||
num, err := strconv.ParseInt(fields[1], 10, 32)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
// If we find lines that don't match the expected format we skip over them.
|
||||
// The expected format is <protocol> <number> <aliases> ...
|
||||
// As we're using strings.Fields for splitting the line, failures can happen if the protocol field contains white spaces.
|
||||
continue
|
||||
}
|
||||
|
||||
protoent := &Protoent{
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package langinfo
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+7
@@ -259,6 +259,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
|
||||
+9
@@ -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,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
|
||||
+4
@@ -161,6 +161,10 @@ func X_exit(_ *TLS, status int32) {
|
||||
}
|
||||
|
||||
func SetEnviron(t *TLS, env []string) {
|
||||
if environInitialized {
|
||||
return
|
||||
}
|
||||
|
||||
environInitialized = true
|
||||
p := Xcalloc(t, 1, types.Size_t((len(env)+1)*(int(uintptrSize))))
|
||||
if p == 0 {
|
||||
|
||||
+27
-1
@@ -1481,7 +1481,7 @@ func X__xuname(t *TLS, namesize int32, namebuf uintptr) int32 {
|
||||
}
|
||||
|
||||
// int chflags(const char *path, u_int flags);
|
||||
func Xchflags(t *TLS, path uintptr, flags uint64) int32 {
|
||||
func Xchflags(t *TLS, path uintptr, flags uint32) int32 {
|
||||
if err := unix.Chflags(GoString(path), int(flags)); err != nil {
|
||||
if dmesgs {
|
||||
dmesg("%v: %v FAIL", origin(1), err)
|
||||
@@ -1605,3 +1605,29 @@ func X__assert2(t *TLS, file uintptr, line int32, fn, expr uintptr) {
|
||||
func Xgetpagesize(t *TLS) int32 {
|
||||
return int32(unix.Getpagesize())
|
||||
}
|
||||
|
||||
const PTHREAD_MUTEX_DEFAULT = 0
|
||||
|
||||
// The pthread_mutex_init() function shall initialize the mutex referenced by
|
||||
// mutex with attributes specified by attr. If attr is NULL, the default mutex
|
||||
// attributes are used; the effect shall be the same as passing the address of
|
||||
// a default mutex attributes object. Upon successful initialization, the state
|
||||
// of the mutex becomes initialized and unlocked.
|
||||
//
|
||||
// If successful, the pthread_mutex_destroy() and pthread_mutex_init()
|
||||
// functions shall return zero; otherwise, an error number shall be returned to
|
||||
// indicate the error.
|
||||
//
|
||||
// int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr);
|
||||
func Xpthread_mutex_init(t *TLS, pMutex, pAttr uintptr) int32 {
|
||||
typ := PTHREAD_MUTEX_DEFAULT
|
||||
if pAttr != 0 {
|
||||
typ = int(X__ccgo_pthreadMutexattrGettype(t, pAttr))
|
||||
}
|
||||
mutexesMu.Lock()
|
||||
|
||||
defer mutexesMu.Unlock()
|
||||
|
||||
mutexes[pMutex] = newMutex(typ)
|
||||
return 0
|
||||
}
|
||||
|
||||
+1
-1
@@ -380,7 +380,7 @@ func Xalarm(t *TLS, seconds uint32) uint32 {
|
||||
}
|
||||
|
||||
// int getnameinfo(const struct sockaddr * restrict sa, socklen_t salen, char * restrict host, socklen_t hostlen, char * restrict serv, socklen_t servlen, int flags);
|
||||
func Xgetnameinfo(tls *TLS, sa1 uintptr, sl socklen_t, node uintptr, nodelen socklen_t, serv uintptr, servlen socklen_t, flags int32) int32 { /* getnameinfo.c:125:5: */
|
||||
func Xgetnameinfo(tls *TLS, sa1 uintptr, sl socklen_t, node uintptr, nodelen size_t, serv uintptr, servlen size_t, flags int32) int32 { /* getnameinfo.c:125:5: */
|
||||
panic(todo(""))
|
||||
//TODO bp := tls.Alloc(347)
|
||||
//TODO defer tls.Free(347)
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package limits
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// 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_386.go -pkgname limits', DO NOT EDIT.
|
||||
// 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_386.go -pkgname limits', DO NOT EDIT.
|
||||
|
||||
package limits
|
||||
|
||||
|
||||
+26
-39
@@ -1,4 +1,4 @@
|
||||
// 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_386.go -pkgname limits', DO NOT EDIT.
|
||||
// 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_386.go -pkgname limits', DO NOT EDIT.
|
||||
|
||||
package limits
|
||||
|
||||
@@ -44,7 +44,9 @@ const (
|
||||
LONG_MIN = -2147483648
|
||||
MB_LEN_MAX = 5
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
PATH_MAX = 260
|
||||
@@ -79,7 +81,6 @@ const (
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
@@ -92,8 +93,6 @@ const (
|
||||
X_I64_MIN = -9223372036854775808
|
||||
X_I8_MAX = 127
|
||||
X_I8_MIN = -128
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_LIMITS = 0
|
||||
@@ -109,6 +108,7 @@ const (
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIZE_T_DEFINED = 0
|
||||
@@ -146,7 +146,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -200,11 +200,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -225,12 +220,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -271,28 +260,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -318,29 +305,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
|
||||
// File system limits
|
||||
//
|
||||
@@ -350,7 +337,7 @@ type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
// are semantically identical, with a limit of 259 characters for the
|
||||
// path name, plus one for a terminating NUL, for a total of 260.
|
||||
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
|
||||
+21
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -hide isascii,isspace,tolower,toupper -nostdinc -nostdlib -o ../musl_darwin_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../darwin/table.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strchrnul.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -hide isascii,isspace,tolower,toupper -nostdinc -nostdlib -o ../musl_darwin_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../darwin/table.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strchrnul.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -4415,6 +4415,26 @@ func X__uflow(tls *TLS, f uintptr) int32 { /* __uflow.c:6:5: */
|
||||
return -1
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(232)
|
||||
defer tls.Free(232)
|
||||
|
||||
+23
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -hide isascii,isspace,tolower,toupper -nostdinc -nostdlib -o ../musl_darwin_arm64.go -pkgname libc -static-locals-prefix _s -Iarch/aarch64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../darwin/table.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strchrnul.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -hide isascii,isspace,tolower,toupper -nostdinc -nostdlib -o ../musl_darwin_arm64.go -pkgname libc -static-locals-prefix _s -Iarch/aarch64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../darwin/table.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strchrnul.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -357,6 +357,8 @@ type size_t = uint64 /* <builtin>:9:23 */
|
||||
|
||||
type wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
|
||||
// pthread opaque structures
|
||||
|
||||
type __darwin_pthread_handler_rec = struct {
|
||||
@@ -4413,6 +4415,26 @@ func X__uflow(tls *TLS, f uintptr) int32 { /* __uflow.c:6:5: */
|
||||
return -1
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(232)
|
||||
defer tls.Free(232)
|
||||
|
||||
+66
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_freebsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../freebsd/table.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_freebsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../freebsd/table.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isupper.c src/ctype/isxdigit.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -3356,6 +3356,51 @@ func X__isdigit_l(tls *TLS, c int32, l locale_t) int32 { /* isdigit.c:9:5: */
|
||||
return Xisdigit(tls, c)
|
||||
}
|
||||
|
||||
func Xislower(tls *TLS, c int32) int32 { /* islower.c:4:5: */
|
||||
return Bool32(uint32(c)-uint32('a') < uint32(26))
|
||||
}
|
||||
|
||||
func X__islower_l(tls *TLS, c int32, l locale_t) int32 { /* islower.c:9:5: */
|
||||
return Xislower(tls, c)
|
||||
}
|
||||
|
||||
func Xisprint(tls *TLS, c int32) int32 { /* isprint.c:4:5: */
|
||||
return Bool32(uint32(c)-uint32(0x20) < uint32(0x5f))
|
||||
}
|
||||
|
||||
func X__isprint_l(tls *TLS, c int32, l locale_t) int32 { /* isprint.c:9:5: */
|
||||
return Xisprint(tls, c)
|
||||
}
|
||||
|
||||
func Xisspace(tls *TLS, c int32) int32 { /* isspace.c:4:5: */
|
||||
return Bool32(c == ' ' || uint32(c)-uint32('\t') < uint32(5))
|
||||
}
|
||||
|
||||
func X__isspace_l(tls *TLS, c int32, l locale_t) int32 { /* isspace.c:9:5: */
|
||||
return Xisspace(tls, c)
|
||||
}
|
||||
|
||||
func Xisupper(tls *TLS, c int32) int32 { /* isupper.c:4:5: */
|
||||
return Bool32(uint32(c)-uint32('A') < uint32(26))
|
||||
}
|
||||
|
||||
func X__isupper_l(tls *TLS, c int32, l locale_t) int32 { /* isupper.c:9:5: */
|
||||
return Xisupper(tls, c)
|
||||
}
|
||||
|
||||
func Xisxdigit(tls *TLS, c int32) int32 { /* isxdigit.c:3:5: */
|
||||
return Bool32(func() int32 {
|
||||
if 0 != 0 {
|
||||
return Xisdigit(tls, c)
|
||||
}
|
||||
return Bool32(uint32(c)-uint32('0') < uint32(10))
|
||||
}() != 0 || uint32(c)|uint32(32)-uint32('a') < uint32(6))
|
||||
}
|
||||
|
||||
func X__isxdigit_l(tls *TLS, c int32, l locale_t) int32 { /* isxdigit.c:8:5: */
|
||||
return Xisxdigit(tls, c)
|
||||
}
|
||||
|
||||
type uintptr_t = uint64 /* alltypes.h:55:24 */
|
||||
|
||||
type intptr_t = int64 /* alltypes.h:70:15 */
|
||||
@@ -6667,6 +6712,26 @@ func X__uflow(tls *TLS, f uintptr) int32 { /* __uflow.c:6:5: */
|
||||
return -1
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(232)
|
||||
defer tls.Free(232)
|
||||
|
||||
+21
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_386.go -pkgname libc -static-locals-prefix _s -Iarch/i386 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_386.go -pkgname libc -static-locals-prefix _s -Iarch/i386 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -6452,6 +6452,26 @@ func Xvsscanf(tls *TLS, s uintptr, fmt uintptr, ap va_list) int32 { /* vsscanf.c
|
||||
return Xvfscanf(tls, bp, fmt, ap)
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > size_t(0) {
|
||||
try = base + uintptr(width*(nel/size_t(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / size_t(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/size_t(2) + size_t(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(136)
|
||||
defer tls.Free(136)
|
||||
|
||||
+21
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -6507,6 +6507,26 @@ func Xvsscanf(tls *TLS, s uintptr, fmt uintptr, ap va_list) int32 { /* vsscanf.c
|
||||
return Xvfscanf(tls, bp, fmt, ap)
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(232)
|
||||
defer tls.Free(232)
|
||||
|
||||
+21
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_arm.go -pkgname libc -static-locals-prefix _s -Iarch/arm -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_arm.go -pkgname libc -static-locals-prefix _s -Iarch/arm -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -6485,6 +6485,26 @@ func Xvsscanf(tls *TLS, s uintptr, fmt uintptr, ap va_list) int32 { /* vsscanf.c
|
||||
return Xvfscanf(tls, bp, fmt, ap)
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > size_t(0) {
|
||||
try = base + uintptr(width*(nel/size_t(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / size_t(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/size_t(2) + size_t(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(144)
|
||||
defer tls.Free(144)
|
||||
|
||||
+21
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_arm64.go -pkgname libc -static-locals-prefix _s -Iarch/aarch64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_arm64.go -pkgname libc -static-locals-prefix _s -Iarch/aarch64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -6595,6 +6595,26 @@ func Xvsscanf(tls *TLS, s uintptr, fmt uintptr, ap va_list) int32 { /* vsscanf.c
|
||||
return Xvfscanf(tls, bp, fmt, ap)
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(232)
|
||||
defer tls.Free(232)
|
||||
|
||||
+21
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_s390x.go -pkgname libc -static-locals-prefix _s -Iarch/s390x -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_linux_s390x.go -pkgname libc -static-locals-prefix _s -Iarch/s390x -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/__ctype_b_loc.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isupper.c src/ctype/isxdigit.c src/dirent/closedir.c src/dirent/opendir.c src/dirent/readdir.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/locale/localeconv.c src/math/__fpclassify.c src/math/__fpclassifyf.c src/math/__fpclassifyl.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/nanf.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/multibyte/internal.c src/multibyte/mbrtowc.c src/multibyte/mbsinit.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/gethostbyname_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/prng/rand_r.c src/stdio/__lockfile.c src/stdio/__toread.c src/stdio/__uflow.c src/stdio/sscanf.c src/stdio/vfscanf.c src/stdio/vsscanf.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strlcat.c src/string/strlcpy.c src/string/strncasecmp.c src/string/strncat.c src/string/strnlen.c src/string/strspn.c src/string/strtok.c src/thread/pthread_attr_get.c src/thread/pthread_attr_setdetachstate.c src/thread/pthread_mutex_lock.c src/thread/pthread_mutexattr_destroy.c src/thread/pthread_mutexattr_init.c src/thread/pthread_mutexattr_settype.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -6535,6 +6535,26 @@ func Xvsscanf(tls *TLS, s uintptr, fmt uintptr, ap va_list) int32 { /* vsscanf.c
|
||||
return Xvfscanf(tls, bp, fmt, ap)
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(232)
|
||||
defer tls.Free(232)
|
||||
|
||||
+907
-887
File diff suppressed because it is too large
Load Diff
+50
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_openbsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../freebsd/table.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/isprint.c src/ctype/isspace.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_openbsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../freebsd/table.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isupper.c src/ctype/isxdigit.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -3356,6 +3356,14 @@ func X__isdigit_l(tls *TLS, c int32, l locale_t) int32 { /* isdigit.c:9:5: */
|
||||
return Xisdigit(tls, c)
|
||||
}
|
||||
|
||||
func Xislower(tls *TLS, c int32) int32 { /* islower.c:4:5: */
|
||||
return Bool32(uint32(c)-uint32('a') < uint32(26))
|
||||
}
|
||||
|
||||
func X__islower_l(tls *TLS, c int32, l locale_t) int32 { /* islower.c:9:5: */
|
||||
return Xislower(tls, c)
|
||||
}
|
||||
|
||||
func Xisprint(tls *TLS, c int32) int32 { /* isprint.c:4:5: */
|
||||
return Bool32(uint32(c)-uint32(0x20) < uint32(0x5f))
|
||||
}
|
||||
@@ -3372,6 +3380,27 @@ func X__isspace_l(tls *TLS, c int32, l locale_t) int32 { /* isspace.c:9:5: */
|
||||
return Xisspace(tls, c)
|
||||
}
|
||||
|
||||
func Xisupper(tls *TLS, c int32) int32 { /* isupper.c:4:5: */
|
||||
return Bool32(uint32(c)-uint32('A') < uint32(26))
|
||||
}
|
||||
|
||||
func X__isupper_l(tls *TLS, c int32, l locale_t) int32 { /* isupper.c:9:5: */
|
||||
return Xisupper(tls, c)
|
||||
}
|
||||
|
||||
func Xisxdigit(tls *TLS, c int32) int32 { /* isxdigit.c:3:5: */
|
||||
return Bool32(func() int32 {
|
||||
if 0 != 0 {
|
||||
return Xisdigit(tls, c)
|
||||
}
|
||||
return Bool32(uint32(c)-uint32('0') < uint32(10))
|
||||
}() != 0 || uint32(c)|uint32(32)-uint32('a') < uint32(6))
|
||||
}
|
||||
|
||||
func X__isxdigit_l(tls *TLS, c int32, l locale_t) int32 { /* isxdigit.c:8:5: */
|
||||
return Xisxdigit(tls, c)
|
||||
}
|
||||
|
||||
type uintptr_t = uint64 /* alltypes.h:55:24 */
|
||||
|
||||
type intptr_t = int64 /* alltypes.h:70:15 */
|
||||
@@ -6683,6 +6712,26 @@ func X__uflow(tls *TLS, f uintptr) int32 { /* __uflow.c:6:5: */
|
||||
return -1
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
|
||||
bp := tls.Alloc(232)
|
||||
defer tls.Free(232)
|
||||
|
||||
+28
-8
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_windows_386.go -pkgname libc -static-locals-prefix _s -Iarch/i386 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isxdigit.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/multibyte/wcrtomb.c src/multibyte/wcsrtombs.c src/multibyte/wcstombs.c src/string/strchrnul.c src/string/strdup.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_windows_386.go -pkgname libc -static-locals-prefix _s -Iarch\i386 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isxdigit.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/multibyte/wcrtomb.c src/multibyte/wcsrtombs.c src/multibyte/wcstombs.c src/stdlib/bsearch.c src/string/strchrnul.c src/string/strdup.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -863,32 +863,32 @@ type mode_t = uint32 /* alltypes.h:175:18 */
|
||||
type syscall_arg_t = int32 /* syscall.h:22:14 */
|
||||
|
||||
func a_cas(tls *TLS, p uintptr, t int32, s int32) int32 { /* atomic_arch.h:2:19: */
|
||||
panic(`arch/i386/atomic_arch.h:4:2: assembler statements not supported`)
|
||||
panic(`arch\i386\atomic_arch.h:4:2: assembler statements not supported`)
|
||||
return t
|
||||
}
|
||||
|
||||
func a_and(tls *TLS, p uintptr, v int32) { /* atomic_arch.h:29:20: */
|
||||
panic(`arch/i386/atomic_arch.h:31:2: assembler statements not supported`)
|
||||
panic(`arch\i386\atomic_arch.h:31:2: assembler statements not supported`)
|
||||
}
|
||||
|
||||
func a_or(tls *TLS, p uintptr, v int32) { /* atomic_arch.h:37:20: */
|
||||
panic(`arch/i386/atomic_arch.h:39:2: assembler statements not supported`)
|
||||
panic(`arch\i386\atomic_arch.h:39:2: assembler statements not supported`)
|
||||
}
|
||||
|
||||
func a_ctz_64(tls *TLS, x uint64_t) int32 { /* atomic_arch.h:87:19: */
|
||||
var r int32
|
||||
panic(`arch/i386/atomic_arch.h:90:2: assembler statements not supported`)
|
||||
panic(`arch\i386\atomic_arch.h:90:2: assembler statements not supported`)
|
||||
return r
|
||||
}
|
||||
|
||||
func a_ctz_32(tls *TLS, x uint32_t) int32 { /* atomic_arch.h:96:19: */
|
||||
var r int32
|
||||
panic(`arch/i386/atomic_arch.h:99:2: assembler statements not supported`)
|
||||
panic(`arch\i386\atomic_arch.h:99:2: assembler statements not supported`)
|
||||
return r
|
||||
}
|
||||
|
||||
func a_clz_32(tls *TLS, x uint32_t) int32 { /* atomic_arch.h:104:19: */
|
||||
panic(`arch/i386/atomic_arch.h:106:2: assembler statements not supported`)
|
||||
panic(`arch\i386\atomic_arch.h:106:2: assembler statements not supported`)
|
||||
return int32(x)
|
||||
}
|
||||
|
||||
@@ -917,7 +917,7 @@ type __timer = struct {
|
||||
|
||||
func __pthread_self(tls *TLS) uintptr { /* pthread_arch.h:1:30: */
|
||||
var self uintptr
|
||||
panic(`arch/i386/pthread_arch.h:4:2: assembler statements not supported`)
|
||||
panic(`arch\i386\pthread_arch.h:4:2: assembler statements not supported`)
|
||||
return self
|
||||
}
|
||||
|
||||
@@ -1039,6 +1039,26 @@ func Xwcstombs(tls *TLS, s uintptr, ws uintptr, n size_t) size_t { /* wcstombs.c
|
||||
return Xwcsrtombs(tls, s, bp, n, uintptr(0))
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > size_t(0) {
|
||||
try = base + uintptr(width*(nel/size_t(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / size_t(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/size_t(2) + size_t(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
// Support signed or unsigned plain-char
|
||||
|
||||
// Implementation choices...
|
||||
|
||||
+21
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_windows_amd64.go -pkgname libc -static-locals-prefix _s -Iarch\x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isxdigit.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/multibyte/wcrtomb.c src/multibyte/wcsrtombs.c src/multibyte/wcstombs.c src/string/strchrnul.c src/string/strdup.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_windows_amd64.go -pkgname libc -static-locals-prefix _s -Iarch\x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isxdigit.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/multibyte/wcrtomb.c src/multibyte/wcsrtombs.c src/multibyte/wcstombs.c src/stdlib/bsearch.c src/string/strchrnul.c src/string/strdup.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@@ -1062,6 +1062,26 @@ func Xwcstombs(tls *TLS, s uintptr, ws uintptr, n size_t) size_t { /* wcstombs.c
|
||||
return Xwcsrtombs(tls, s, bp, n, uintptr(0))
|
||||
}
|
||||
|
||||
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
|
||||
var try uintptr
|
||||
var sign int32
|
||||
for nel > uint64(0) {
|
||||
try = base + uintptr(width*(nel/uint64(2)))
|
||||
sign = (*struct {
|
||||
f func(*TLS, uintptr, uintptr) int32
|
||||
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
|
||||
if sign < 0 {
|
||||
nel = nel / uint64(2)
|
||||
} else if sign > 0 {
|
||||
base = try + uintptr(width)
|
||||
nel = nel - (nel/uint64(2) + uint64(1))
|
||||
} else {
|
||||
return try
|
||||
}
|
||||
}
|
||||
return uintptr(0)
|
||||
}
|
||||
|
||||
// Support signed or unsigned plain-char
|
||||
|
||||
// Implementation choices...
|
||||
|
||||
+4
@@ -3,5 +3,9 @@
|
||||
package netdb
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+7
-1
@@ -2,4 +2,10 @@
|
||||
|
||||
package netdb
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+79
-415
@@ -667,7 +667,6 @@ const (
|
||||
X_FORTIFY_SOURCE = 2
|
||||
X_FSBLKCNT_T = 0
|
||||
X_FSFILCNT_T = 0
|
||||
X_GCC_WRAP_STDINT_H = 0
|
||||
X_GID_T = 0
|
||||
X_I386__ENDIAN_H_ = 0
|
||||
X_I386__PARAM_H_ = 0
|
||||
@@ -678,7 +677,6 @@ const (
|
||||
X_INT32_T = 0
|
||||
X_INT64_T = 0
|
||||
X_INT8_T = 0
|
||||
X_INTMAX_T = 0
|
||||
X_INTPTR_T = 0
|
||||
X_IN_ADDR_T = 0
|
||||
X_IN_PORT_T = 0
|
||||
@@ -721,7 +719,6 @@ const (
|
||||
X_SOCKLEN_T = 0
|
||||
X_SSIZE_T = 0
|
||||
X_SS_MAXSIZE = 128
|
||||
X_STDINT_H_ = 0
|
||||
X_STRUCT_IOVEC = 0
|
||||
X_SUSECONDS_T = 0
|
||||
X_SYS_SOCKET_H_ = 0
|
||||
@@ -731,11 +728,6 @@ const (
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T = 0
|
||||
X_UID_T = 0
|
||||
X_UINT16_T = 0
|
||||
X_UINT32_T = 0
|
||||
X_UINT64_T = 0
|
||||
X_UINT8_T = 0
|
||||
X_UINTMAX_T = 0
|
||||
X_UINTPTR_T = 0
|
||||
X_USECONDS_T = 0
|
||||
X_U_CHAR = 0
|
||||
@@ -970,6 +962,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -2072,420 +2071,87 @@ type User_off_t = Int64_t /* types.h:103:33 */
|
||||
type Syscall_arg_t = U_int64_t /* types.h:111:33 */
|
||||
|
||||
type Socklen_t = X__darwin_socklen_t /* _socklen_t.h:31:33 */
|
||||
type Uint64_t = uint64 /* stdint.h:98:25 */
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
type Int_least64_t = Int64_t /* stdint.h:110:25 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:112:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
|
||||
|
||||
// Copyright (c) 2000-2010 Apple Inc.
|
||||
// All rights reserved.
|
||||
type Uint32_t = uint32 /* stdint.h:172:25 */
|
||||
|
||||
// from ISO/IEC 988:1999 spec
|
||||
type Int_least32_t = Int32_t /* stdint.h:184:25 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:186:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
|
||||
type Uint16_t = uint16 /* stdint.h:207:25 */
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least16_t = Int16_t /* stdint.h:215:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:217:25 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
|
||||
type Uint8_t = uint8 /* stdint.h:226:24 */
|
||||
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least8_t = Int8_t /* stdint.h:232:24 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
|
||||
type Int_fast8_t = Int8_t /* stdint.h:234:24 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
|
||||
|
||||
type Uint8_t = uint8 /* _uint8_t.h:31:23 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// prevent glibc sys/types.h from defining conflicting types
|
||||
|
||||
type Uint16_t = uint16 /* _uint16_t.h:31:24 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.4 Integer types capable of holding object pointers.
|
||||
|
||||
type Uint32_t = uint32 /* _uint32_t.h:31:22 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.5 Greatest-width integer types.
|
||||
type Intmax_t = int64 /* stdint.h:262:26 */
|
||||
type Uintmax_t = uint64 /* stdint.h:263:26 */
|
||||
|
||||
type Uint64_t = uint64 /* _uint64_t.h:31:28 */
|
||||
// C99 7.18.4 Macros for minimum-width integer constants.
|
||||
//
|
||||
// The standard requires that integer constant macros be defined for all the
|
||||
// minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
|
||||
// types are required, the corresponding integer constant macros are defined
|
||||
// here. This implementation also defines minimum-width types for every other
|
||||
// integer width that the target implements, so corresponding macros are
|
||||
// defined below, too.
|
||||
//
|
||||
// These macros are defined using the same successive-shrinking approach as
|
||||
// the type definitions above. It is likewise important that macros are defined
|
||||
// in order of decending width.
|
||||
//
|
||||
// Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type Int_least8_t = Int8_t /* stdint.h:38:26 */
|
||||
type Int_least16_t = Int16_t /* stdint.h:39:25 */
|
||||
type Int_least32_t = Int32_t /* stdint.h:40:25 */
|
||||
type Int_least64_t = Int64_t /* stdint.h:41:25 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:42:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:43:24 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:44:24 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:45:24 */
|
||||
// C99 7.18.2.1 Limits of exact-width integer types.
|
||||
// C99 7.18.2.2 Limits of minimum-width integer types.
|
||||
// C99 7.18.2.3 Limits of fastest minimum-width integer types.
|
||||
//
|
||||
// The presence of limit macros are completely optional in C99. This
|
||||
// implementation defines limits for all of the types (exact- and
|
||||
// minimum-width) that it defines above, using the limits of the minimum-width
|
||||
// type for any types that do not have exact-width representations.
|
||||
//
|
||||
// As in the type definitions, this section takes an approach of
|
||||
// successive-shrinking to determine which limits to use for the standard (8,
|
||||
// 16, 32, 64) bit widths when they don't have exact representations. It is
|
||||
// therefore important that the definitions be kept in order of decending
|
||||
// widths.
|
||||
//
|
||||
// Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
// 7.18.1.3 Fastest-width integer types
|
||||
type Int_fast8_t = Int8_t /* stdint.h:49:27 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:50:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:51:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:52:26 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:53:26 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:54:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:55:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:56:25 */
|
||||
// Some utility macros
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
// C99 7.18.2.4 Limits of integer types capable of holding object pointers.
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
|
||||
// is enabled.
|
||||
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.2.5 Limits of greatest-width integer types.
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
type Intmax_t = int64 /* _intmax_t.h:32:25 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
|
||||
// 7.18.4 Macros for integer constants
|
||||
|
||||
// 7.18.2 Limits of specified-width integer types:
|
||||
// These #defines specify the minimum and maximum limits
|
||||
// of each of the types declared above.
|
||||
//
|
||||
// They must have "the same type as would an expression that is an
|
||||
// object of the corresponding type converted according to the integer
|
||||
// promotion".
|
||||
|
||||
// 7.18.2.1 Limits of exact-width integer types
|
||||
|
||||
//
|
||||
// Note: the literal "most negative int" cannot be written in C --
|
||||
// the rules in the standard (section 6.4.4.1 in C99) will give it
|
||||
// an unsigned type, so INT32_MIN (and the most negative member of
|
||||
// any larger signed type) must be written via a constant expression.
|
||||
//
|
||||
|
||||
// 7.18.2.2 Limits of minimum-width integer types
|
||||
|
||||
// 7.18.2.3 Limits of fastest minimum-width integer types
|
||||
|
||||
// 7.18.2.4 Limits of integer types capable of holding object pointers
|
||||
|
||||
// 7.18.2.5 Limits of greatest-width integer types
|
||||
|
||||
// 7.18.3 "Other"
|
||||
|
||||
// WCHAR_MIN should be 0 if wchar_t is an unsigned type and
|
||||
// (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately,
|
||||
// it turns out that -fshort-wchar changes the signedness of
|
||||
// the type.
|
||||
// 7.18.4.2 Macros for greatest-width integer constants.
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
@@ -2598,6 +2264,13 @@ type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
//===---- stdint.h - Standard header for sized integer types --------------===* *
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
// \*===----------------------------------------------------------------------===
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -2725,15 +2398,6 @@ type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+81
-415
@@ -716,7 +716,6 @@ const (
|
||||
X_FORTIFY_SOURCE = 2
|
||||
X_FSBLKCNT_T = 0
|
||||
X_FSFILCNT_T = 0
|
||||
X_GCC_WRAP_STDINT_H = 0
|
||||
X_GID_T = 0
|
||||
X_ID_T = 0
|
||||
X_INO64_T = 0
|
||||
@@ -725,7 +724,6 @@ const (
|
||||
X_INT32_T = 0
|
||||
X_INT64_T = 0
|
||||
X_INT8_T = 0
|
||||
X_INTMAX_T = 0
|
||||
X_INTPTR_T = 0
|
||||
X_IN_ADDR_T = 0
|
||||
X_IN_PORT_T = 0
|
||||
@@ -768,7 +766,6 @@ const (
|
||||
X_SOCKLEN_T = 0
|
||||
X_SSIZE_T = 0
|
||||
X_SS_MAXSIZE = 128
|
||||
X_STDINT_H_ = 0
|
||||
X_STRUCT_IOVEC = 0
|
||||
X_SUSECONDS_T = 0
|
||||
X_SYS_SOCKET_H_ = 0
|
||||
@@ -778,11 +775,6 @@ const (
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T = 0
|
||||
X_UID_T = 0
|
||||
X_UINT16_T = 0
|
||||
X_UINT32_T = 0
|
||||
X_UINT64_T = 0
|
||||
X_UINT8_T = 0
|
||||
X_UINTMAX_T = 0
|
||||
X_UINTPTR_T = 0
|
||||
X_USECONDS_T = 0
|
||||
X_U_CHAR = 0
|
||||
@@ -818,6 +810,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) 2000-2009 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -1015,6 +1009,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
@@ -2056,420 +2057,87 @@ type User_off_t = Int64_t /* types.h:83:33 */
|
||||
type Syscall_arg_t = U_int64_t /* types.h:104:33 */
|
||||
|
||||
type Socklen_t = X__darwin_socklen_t /* _socklen_t.h:31:33 */
|
||||
type Uint64_t = uint64 /* stdint.h:98:25 */
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdint.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
type Int_least64_t = Int64_t /* stdint.h:110:25 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:112:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
|
||||
|
||||
// Copyright (c) 2000-2010 Apple Inc.
|
||||
// All rights reserved.
|
||||
type Uint32_t = uint32 /* stdint.h:172:25 */
|
||||
|
||||
// from ISO/IEC 988:1999 spec
|
||||
type Int_least32_t = Int32_t /* stdint.h:184:25 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:186:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
|
||||
type Uint16_t = uint16 /* stdint.h:207:25 */
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least16_t = Int16_t /* stdint.h:215:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:217:25 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
|
||||
type Uint8_t = uint8 /* stdint.h:226:24 */
|
||||
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least8_t = Int8_t /* stdint.h:232:24 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
|
||||
type Int_fast8_t = Int8_t /* stdint.h:234:24 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
|
||||
|
||||
type Uint8_t = uint8 /* _uint8_t.h:31:23 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// prevent glibc sys/types.h from defining conflicting types
|
||||
|
||||
type Uint16_t = uint16 /* _uint16_t.h:31:24 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.4 Integer types capable of holding object pointers.
|
||||
|
||||
type Uint32_t = uint32 /* _uint32_t.h:31:22 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.5 Greatest-width integer types.
|
||||
type Intmax_t = int64 /* stdint.h:262:26 */
|
||||
type Uintmax_t = uint64 /* stdint.h:263:26 */
|
||||
|
||||
type Uint64_t = uint64 /* _uint64_t.h:31:28 */
|
||||
// C99 7.18.4 Macros for minimum-width integer constants.
|
||||
//
|
||||
// The standard requires that integer constant macros be defined for all the
|
||||
// minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
|
||||
// types are required, the corresponding integer constant macros are defined
|
||||
// here. This implementation also defines minimum-width types for every other
|
||||
// integer width that the target implements, so corresponding macros are
|
||||
// defined below, too.
|
||||
//
|
||||
// These macros are defined using the same successive-shrinking approach as
|
||||
// the type definitions above. It is likewise important that macros are defined
|
||||
// in order of decending width.
|
||||
//
|
||||
// Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type Int_least8_t = Int8_t /* stdint.h:38:26 */
|
||||
type Int_least16_t = Int16_t /* stdint.h:39:25 */
|
||||
type Int_least32_t = Int32_t /* stdint.h:40:25 */
|
||||
type Int_least64_t = Int64_t /* stdint.h:41:25 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:42:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:43:24 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:44:24 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:45:24 */
|
||||
// C99 7.18.2.1 Limits of exact-width integer types.
|
||||
// C99 7.18.2.2 Limits of minimum-width integer types.
|
||||
// C99 7.18.2.3 Limits of fastest minimum-width integer types.
|
||||
//
|
||||
// The presence of limit macros are completely optional in C99. This
|
||||
// implementation defines limits for all of the types (exact- and
|
||||
// minimum-width) that it defines above, using the limits of the minimum-width
|
||||
// type for any types that do not have exact-width representations.
|
||||
//
|
||||
// As in the type definitions, this section takes an approach of
|
||||
// successive-shrinking to determine which limits to use for the standard (8,
|
||||
// 16, 32, 64) bit widths when they don't have exact representations. It is
|
||||
// therefore important that the definitions be kept in order of decending
|
||||
// widths.
|
||||
//
|
||||
// Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
// 7.18.1.3 Fastest-width integer types
|
||||
type Int_fast8_t = Int8_t /* stdint.h:49:27 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:50:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:51:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:52:26 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:53:26 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:54:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:55:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:56:25 */
|
||||
// Some utility macros
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
// C99 7.18.2.4 Limits of integer types capable of holding object pointers.
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
|
||||
// is enabled.
|
||||
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.2.5 Limits of greatest-width integer types.
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
type Intmax_t = int64 /* _intmax_t.h:32:25 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
|
||||
// 7.18.4 Macros for integer constants
|
||||
|
||||
// 7.18.2 Limits of specified-width integer types:
|
||||
// These #defines specify the minimum and maximum limits
|
||||
// of each of the types declared above.
|
||||
//
|
||||
// They must have "the same type as would an expression that is an
|
||||
// object of the corresponding type converted according to the integer
|
||||
// promotion".
|
||||
|
||||
// 7.18.2.1 Limits of exact-width integer types
|
||||
|
||||
//
|
||||
// Note: the literal "most negative int" cannot be written in C --
|
||||
// the rules in the standard (section 6.4.4.1 in C99) will give it
|
||||
// an unsigned type, so INT32_MIN (and the most negative member of
|
||||
// any larger signed type) must be written via a constant expression.
|
||||
//
|
||||
|
||||
// 7.18.2.2 Limits of minimum-width integer types
|
||||
|
||||
// 7.18.2.3 Limits of fastest minimum-width integer types
|
||||
|
||||
// 7.18.2.4 Limits of integer types capable of holding object pointers
|
||||
|
||||
// 7.18.2.5 Limits of greatest-width integer types
|
||||
|
||||
// 7.18.3 "Other"
|
||||
|
||||
// WCHAR_MIN should be 0 if wchar_t is an unsigned type and
|
||||
// (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately,
|
||||
// it turns out that -fshort-wchar changes the signedness of
|
||||
// the type.
|
||||
// 7.18.4.2 Macros for greatest-width integer constants.
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
@@ -2556,6 +2224,13 @@ type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
//===---- stdint.h - Standard header for sized integer types --------------===* *
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
// \*===----------------------------------------------------------------------===
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -2706,15 +2381,6 @@ type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+4
@@ -3,5 +3,9 @@
|
||||
package in
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+7
-1
@@ -2,4 +2,10 @@
|
||||
|
||||
package in
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+71
-949
File diff suppressed because it is too large
Load Diff
+783
-1303
File diff suppressed because it is too large
Load Diff
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package poll
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+2
@@ -62,6 +62,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) 2004 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package pthread
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo pthread/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 pthread/pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
|
||||
// Code generated by 'ccgo pthread\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 pthread\pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
|
||||
|
||||
package pthread
|
||||
|
||||
|
||||
+7
-9
@@ -642,6 +642,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -1647,15 +1654,6 @@ type Sched_param = struct {
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+9
-9
@@ -513,6 +513,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) 2000-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -677,6 +679,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
@@ -1670,15 +1679,6 @@ type Sched_param = struct {
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+51
-61
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo pthread/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 pthread/pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
|
||||
// Code generated by 'ccgo pthread\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 pthread\pthread_windows_386.go -pkgname pthread', DO NOT EDIT.
|
||||
|
||||
package pthread
|
||||
|
||||
@@ -114,10 +114,6 @@ const (
|
||||
ETXTBSY = 139
|
||||
EWOULDBLOCK = 140
|
||||
EXDEV = 18
|
||||
GENERIC_ERRORCHECK_INITIALIZER = -2
|
||||
GENERIC_INITIALIZER = -1
|
||||
GENERIC_NORMAL_INITIALIZER = -1
|
||||
GENERIC_RECURSIVE_INITIALIZER = -3
|
||||
INT_MAX = 2147483647
|
||||
INT_MIN = -2147483648
|
||||
LLONG_MAX = 9223372036854775807
|
||||
@@ -129,7 +125,9 @@ const (
|
||||
MAX_READ_LOCKS = 2147483646
|
||||
MB_LEN_MAX = 5
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
NSIG = 23
|
||||
@@ -236,7 +234,6 @@ const (
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_SYSTEM_DEFINED = 0
|
||||
X_CRT_TERMINATE_DEFINED = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_CRT_WSYSTEM_DEFINED = 0
|
||||
X_DEV_T_DEFINED = 0
|
||||
X_DLL = 0
|
||||
@@ -254,8 +251,6 @@ const (
|
||||
X_I64_MIN = -9223372036854775808
|
||||
X_I8_MAX = 127
|
||||
X_I8_MIN = -128
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CORECRT_STARTUP = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
@@ -291,6 +286,7 @@ const (
|
||||
X_POSIX_THREADS = 200112
|
||||
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 256
|
||||
X_POSIX_THREAD_KEYS_MAX = 1048576
|
||||
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112
|
||||
X_POSIX_TIMEOUTS = 200112
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
@@ -299,6 +295,7 @@ const (
|
||||
X_P_NOWAITO = 3
|
||||
X_P_OVERLAY = 2
|
||||
X_P_WAIT = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_ERRCODE_VALUES_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
@@ -426,11 +423,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -451,12 +443,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -497,28 +483,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -544,29 +528,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
|
||||
// ISO C Standard: 7.17 Common definitions <stddef.h>
|
||||
|
||||
@@ -630,9 +614,9 @@ type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Max_align_t = struct {
|
||||
F__max_align_ll int64
|
||||
F__max_align_ld float64
|
||||
} /* stddef.h:427:3 */
|
||||
} /* stddef.h:426:3 */
|
||||
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -738,18 +722,7 @@ type X_onexit_table_t = X_onexit_table_t1 /* corecrt_startup.h:28:3 */
|
||||
|
||||
type X_onexit_t = uintptr /* corecrt_startup.h:30:13 */
|
||||
|
||||
// Includes a definition of _pid_t and pid_t
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
type X_beginthread_proc_type = uintptr /* process.h:32:16 */
|
||||
type X_beginthreadex_proc_type = uintptr /* process.h:33:20 */
|
||||
|
||||
type X_tls_callback_type = uintptr /* process.h:61:16 */
|
||||
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -801,7 +774,7 @@ type X_tls_callback_type = uintptr /* process.h:61:16 */
|
||||
// are semantically identical, with a limit of 259 characters for the
|
||||
// path name, plus one for a terminating NUL, for a total of 260.
|
||||
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -978,11 +951,11 @@ type Pthread_attr_t1 = struct {
|
||||
type Pthread_attr_t = Pthread_attr_t1 /* pthread.h:251:31 */
|
||||
|
||||
// synchronization objects
|
||||
type Pthread_spinlock_t = Intptr_t /* pthread.h:268:18 */
|
||||
type Pthread_mutex_t = Intptr_t /* pthread.h:269:18 */
|
||||
type Pthread_cond_t = Intptr_t /* pthread.h:270:18 */
|
||||
type Pthread_rwlock_t = Intptr_t /* pthread.h:271:18 */
|
||||
type Pthread_barrier_t = uintptr /* pthread.h:272:14 */
|
||||
type Pthread_spinlock_t = uintptr /* pthread.h:268:14 */
|
||||
type Pthread_mutex_t = uintptr /* pthread.h:269:14 */
|
||||
type Pthread_cond_t = uintptr /* pthread.h:270:14 */
|
||||
type Pthread_rwlock_t = uintptr /* pthread.h:271:14 */
|
||||
type Pthread_barrier_t = uintptr /* pthread.h:272:14 */
|
||||
|
||||
type Clockid_t = int32 /* pthread.h:389:13 */
|
||||
|
||||
@@ -1103,6 +1076,23 @@ type Clockid_t = int32 /* pthread.h:389:13 */
|
||||
//
|
||||
// are present.
|
||||
|
||||
// _SC_THREAD_SAFE_FUNCTIONS
|
||||
// Affected functions are
|
||||
//
|
||||
// readdir_r(),
|
||||
// getgrgid_r(),
|
||||
// getgrnam_r(),
|
||||
// getpwnam_r(),
|
||||
// getpwuid_r(),
|
||||
// flockfile(),
|
||||
// ftrylockfile(),
|
||||
// funlockfile(),
|
||||
// getc_unlocked(),
|
||||
// getchar_unlocked(),
|
||||
// putc_unlocked(),
|
||||
// putchar_unlocked(),
|
||||
// strerror_r(),
|
||||
|
||||
// _SC_TIMEOUTS
|
||||
// The functions
|
||||
//
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package pwd
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+7
@@ -242,6 +242,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
|
||||
+9
@@ -80,6 +80,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) 1989, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
@@ -242,6 +244,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
|
||||
+1
@@ -4,4 +4,5 @@ package signal
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__sigbits": {},
|
||||
}
|
||||
|
||||
+4
-1
@@ -2,4 +2,7 @@
|
||||
|
||||
package signal
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__sigbits": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo signal/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 signal/signal_windows_386.go -pkgname signal', DO NOT EDIT.
|
||||
// Code generated by 'ccgo signal\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 signal\signal_windows_386.go -pkgname signal', DO NOT EDIT.
|
||||
|
||||
package signal
|
||||
|
||||
|
||||
+7
-9
@@ -316,6 +316,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -1302,15 +1309,6 @@ type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+9
-9
@@ -216,6 +216,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) 2000 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -344,6 +346,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
@@ -1339,15 +1348,6 @@ type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+24
-37
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo signal/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 signal/signal_windows_386.go -pkgname signal', DO NOT EDIT.
|
||||
// Code generated by 'ccgo signal\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 signal\signal_windows_386.go -pkgname signal', DO NOT EDIT.
|
||||
|
||||
package signal
|
||||
|
||||
@@ -32,7 +32,9 @@ const (
|
||||
DUMMYUNIONNAME8 = 0
|
||||
DUMMYUNIONNAME9 = 0
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
NSIG = 23
|
||||
@@ -65,12 +67,9 @@ const (
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_MINGW_SECAPI = 0
|
||||
@@ -85,6 +84,7 @@ const (
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIG_ATOMIC_T_DEFINED = 0
|
||||
@@ -139,11 +139,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -164,12 +159,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -210,28 +199,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -257,29 +244,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
|
||||
//
|
||||
// Copyright (c) 2013-2016 mingw-w64 project
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package stdio
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo stdio/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 stdio/stdio_windows_386.go -pkgname stdio', DO NOT EDIT.
|
||||
// Code generated by 'ccgo stdio\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 stdio\stdio_windows_386.go -pkgname stdio', DO NOT EDIT.
|
||||
|
||||
package stdio
|
||||
|
||||
|
||||
+7
-51
@@ -18,7 +18,6 @@ const (
|
||||
BUFSIZ = 1024
|
||||
EOF = -1
|
||||
FILENAME_MAX = 1024
|
||||
FIXINC_WRAP_STDIO_H_STDIO_STDARG_H = 1
|
||||
FOPEN_MAX = 20
|
||||
L_ctermid = 1024
|
||||
L_tmpnam = 1024
|
||||
@@ -92,47 +91,6 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (C) 1989-2021 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
// GCC is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either version 3, or (at your option)
|
||||
// any later version.
|
||||
//
|
||||
// GCC is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// Under Section 7 of GPL version 3, you are granted additional
|
||||
// permissions described in the GCC Runtime Library Exception, version
|
||||
// 3.1, as published by the Free Software Foundation.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License and
|
||||
// a copy of the GCC Runtime Library Exception along with this program;
|
||||
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// ISO C Standard: 7.15 Variable arguments <stdarg.h>
|
||||
|
||||
// Define __gnuc_va_list.
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
|
||||
|
||||
// Define the standard macros for the user,
|
||||
// if this invocation was from the user program.
|
||||
|
||||
// Copyright (c) 2000, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -323,6 +281,13 @@ type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
|
||||
// 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.
|
||||
|
||||
@@ -729,15 +694,6 @@ type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+8
-50
@@ -18,7 +18,6 @@ const (
|
||||
BUFSIZ = 1024
|
||||
EOF = -1
|
||||
FILENAME_MAX = 1024
|
||||
FIXINC_WRAP_STDIO_H_STDIO_STDARG_H = 1
|
||||
FOPEN_MAX = 20
|
||||
L_ctermid = 1024
|
||||
L_tmpnam = 1024
|
||||
@@ -127,46 +126,7 @@ type X__uint128_t = struct {
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdio.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (C) 1989-2021 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
// GCC is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either version 3, or (at your option)
|
||||
// any later version.
|
||||
//
|
||||
// GCC is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// Under Section 7 of GPL version 3, you are granted additional
|
||||
// permissions described in the GCC Runtime Library Exception, version
|
||||
// 3.1, as published by the Free Software Foundation.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License and
|
||||
// a copy of the GCC Runtime Library Exception along with this program;
|
||||
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// ISO C Standard: 7.15 Variable arguments <stdarg.h>
|
||||
|
||||
// Define __gnuc_va_list.
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
|
||||
|
||||
// Define the standard macros for the user,
|
||||
// if this invocation was from the user program.
|
||||
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
|
||||
// Copyright (c) 2000, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved.
|
||||
//
|
||||
@@ -358,6 +318,13 @@ type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
|
||||
// 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).
|
||||
//
|
||||
@@ -797,15 +764,6 @@ type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+173
-183
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo stdio/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 stdio/stdio_windows_386.go -pkgname stdio', DO NOT EDIT.
|
||||
// Code generated by 'ccgo stdio\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 stdio\stdio_windows_386.go -pkgname stdio', DO NOT EDIT.
|
||||
|
||||
package stdio
|
||||
|
||||
@@ -15,152 +15,141 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
BUFSIZ = 512
|
||||
DUMMYSTRUCTNAME = 0
|
||||
DUMMYSTRUCTNAME1 = 0
|
||||
DUMMYSTRUCTNAME2 = 0
|
||||
DUMMYSTRUCTNAME3 = 0
|
||||
DUMMYSTRUCTNAME4 = 0
|
||||
DUMMYSTRUCTNAME5 = 0
|
||||
DUMMYUNIONNAME = 0
|
||||
DUMMYUNIONNAME1 = 0
|
||||
DUMMYUNIONNAME2 = 0
|
||||
DUMMYUNIONNAME3 = 0
|
||||
DUMMYUNIONNAME4 = 0
|
||||
DUMMYUNIONNAME5 = 0
|
||||
DUMMYUNIONNAME6 = 0
|
||||
DUMMYUNIONNAME7 = 0
|
||||
DUMMYUNIONNAME8 = 0
|
||||
DUMMYUNIONNAME9 = 0
|
||||
EOF = -1
|
||||
FILENAME_MAX = 260
|
||||
FOPEN_MAX = 20
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
SEEK_CUR = 1
|
||||
SEEK_END = 2
|
||||
SEEK_SET = 0
|
||||
STDERR_FILENO = 2
|
||||
STDIN_FILENO = 0
|
||||
STDOUT_FILENO = 1
|
||||
SYS_OPEN = 20
|
||||
TMP_MAX = 32767
|
||||
TMP_MAX_S = 32767
|
||||
UNALIGNED = 0
|
||||
USE___UUIDOF = 0
|
||||
WIN32 = 1
|
||||
WINNT = 1
|
||||
X_AGLOBAL = 0
|
||||
X_ANONYMOUS_STRUCT = 0
|
||||
X_ANONYMOUS_UNION = 0
|
||||
X_ARGMAX = 100
|
||||
X_CONST_RETURN = 0
|
||||
X_CRTNOALIAS = 0
|
||||
X_CRTRESTRICT = 0
|
||||
X_CRT_ALTERNATIVE_IMPORTED = 0
|
||||
X_CRT_DIRECTORY_DEFINED = 0
|
||||
X_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS = 4
|
||||
X_CRT_INTERNAL_LOCAL_SCANF_OPTIONS = 2
|
||||
X_CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY = 0x0008
|
||||
X_CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS = 0x0010
|
||||
X_CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION = 0x0001
|
||||
X_CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS = 0x0004
|
||||
X_CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR = 0x0002
|
||||
X_CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY = 0x0004
|
||||
X_CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS = 0x0002
|
||||
X_CRT_INTERNAL_SCANF_SECURECRT = 0x0001
|
||||
X_CRT_MANAGED_HEAP_DEPRECATE = 0
|
||||
X_CRT_PACKING = 8
|
||||
X_CRT_PERROR_DEFINED = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_CRT_WPERROR_DEFINED = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_FILE_OFFSET_BITS_SET_FSEEKO = 0
|
||||
X_FILE_OFFSET_BITS_SET_FTELLO = 0
|
||||
X_FILE_OFFSET_BITS_SET_OFFT = 0
|
||||
X_FPOS_T_DEFINED = 0
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_MINGW_SECAPI = 0
|
||||
X_INC_STDIO = 0
|
||||
X_INC_STDIO_S = 0
|
||||
X_INC_SWPRINTF_INL = 0
|
||||
X_INC_VADEFS = 0
|
||||
X_INC__MINGW_H = 0
|
||||
X_INT128_DEFINED = 0
|
||||
X_INTEGRAL_MAX_BITS = 64
|
||||
X_INTPTR_T_DEFINED = 0
|
||||
X_IOB_ENTRIES = 20
|
||||
X_IOEOF = 0x0010
|
||||
X_IOERR = 0x0020
|
||||
X_IOFBF = 0x0000
|
||||
X_IOLBF = 0x0040
|
||||
X_IOMYBUF = 0x0008
|
||||
X_IONBF = 0x0004
|
||||
X_IOREAD = 0x0001
|
||||
X_IORW = 0x0080
|
||||
X_IOSTRG = 0x0040
|
||||
X_IOWRT = 0x0002
|
||||
X_MT = 0
|
||||
X_M_IX86 = 600
|
||||
X_NFILE = 512
|
||||
X_NSTREAM_ = 512
|
||||
X_OFF64_T_DEFINED = 0
|
||||
X_OFF_T_ = 0
|
||||
X_OFF_T_DEFINED = 0
|
||||
X_OLD_P_OVERLAY = 2
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_P_DETACH = 4
|
||||
X_P_NOWAIT = 1
|
||||
X_P_NOWAITO = 3
|
||||
X_P_OVERLAY = 2
|
||||
X_P_WAIT = 0
|
||||
X_P_tmpdir = "\\"
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIZE_T_DEFINED = 0
|
||||
X_SPAWNV_DEFINED = 0
|
||||
X_SSIZE_T_DEFINED = 0
|
||||
X_STDIO_CONFIG_DEFINED = 0
|
||||
X_STDIO_DEFINED = 0
|
||||
X_STDIO_S_DEFINED = 0
|
||||
X_STDSTREAM_DEFINED = 0
|
||||
X_SYS_OPEN = 20
|
||||
X_TAGLC_ID_DEFINED = 0
|
||||
X_THREADLOCALEINFO = 0
|
||||
X_TIME32_T_DEFINED = 0
|
||||
X_TIME64_T_DEFINED = 0
|
||||
X_TIME_T_DEFINED = 0
|
||||
X_TWO_DIGIT_EXPONENT = 0x1
|
||||
X_UINTPTR_T_DEFINED = 0
|
||||
X_USE_32BIT_TIME_T = 0
|
||||
X_VA_LIST_DEFINED = 0
|
||||
X_W64 = 0
|
||||
X_WAIT_CHILD = 0
|
||||
X_WAIT_GRANDCHILD = 1
|
||||
X_WCHAR_T_DEFINED = 0
|
||||
X_WCTYPE_T_DEFINED = 0
|
||||
X_WIN32 = 1
|
||||
X_WIN32_WINNT = 0x502
|
||||
X_WINT_T = 0
|
||||
X_WSPAWN_DEFINED = 0
|
||||
X_WSTDIO_DEFINED = 0
|
||||
X_WSTDIO_S_DEFINED = 0
|
||||
X_X86_ = 1
|
||||
I386 = 1
|
||||
BUFSIZ = 512
|
||||
DUMMYSTRUCTNAME = 0
|
||||
DUMMYSTRUCTNAME1 = 0
|
||||
DUMMYSTRUCTNAME2 = 0
|
||||
DUMMYSTRUCTNAME3 = 0
|
||||
DUMMYSTRUCTNAME4 = 0
|
||||
DUMMYSTRUCTNAME5 = 0
|
||||
DUMMYUNIONNAME = 0
|
||||
DUMMYUNIONNAME1 = 0
|
||||
DUMMYUNIONNAME2 = 0
|
||||
DUMMYUNIONNAME3 = 0
|
||||
DUMMYUNIONNAME4 = 0
|
||||
DUMMYUNIONNAME5 = 0
|
||||
DUMMYUNIONNAME6 = 0
|
||||
DUMMYUNIONNAME7 = 0
|
||||
DUMMYUNIONNAME8 = 0
|
||||
DUMMYUNIONNAME9 = 0
|
||||
EOF = -1
|
||||
FILENAME_MAX = 260
|
||||
FOPEN_MAX = 20
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
SEEK_CUR = 1
|
||||
SEEK_END = 2
|
||||
SEEK_SET = 0
|
||||
STDERR_FILENO = 2
|
||||
STDIN_FILENO = 0
|
||||
STDOUT_FILENO = 1
|
||||
SYS_OPEN = 20
|
||||
TMP_MAX = 32767
|
||||
UNALIGNED = 0
|
||||
USE___UUIDOF = 0
|
||||
WIN32 = 1
|
||||
WINNT = 1
|
||||
X_AGLOBAL = 0
|
||||
X_ANONYMOUS_STRUCT = 0
|
||||
X_ANONYMOUS_UNION = 0
|
||||
X_ARGMAX = 100
|
||||
X_CONST_RETURN = 0
|
||||
X_CRTNOALIAS = 0
|
||||
X_CRTRESTRICT = 0
|
||||
X_CRT_ALTERNATIVE_IMPORTED = 0
|
||||
X_CRT_DIRECTORY_DEFINED = 0
|
||||
X_CRT_MANAGED_HEAP_DEPRECATE = 0
|
||||
X_CRT_PACKING = 8
|
||||
X_CRT_PERROR_DEFINED = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_WPERROR_DEFINED = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_FILE_OFFSET_BITS_SET_FSEEKO = 0
|
||||
X_FILE_OFFSET_BITS_SET_FTELLO = 0
|
||||
X_FILE_OFFSET_BITS_SET_OFFT = 0
|
||||
X_FPOS_T_DEFINED = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_MINGW_SECAPI = 0
|
||||
X_INC_STDIO = 0
|
||||
X_INC_STDIO_S = 0
|
||||
X_INC_SWPRINTF_INL = 0
|
||||
X_INC_VADEFS = 0
|
||||
X_INC__MINGW_H = 0
|
||||
X_INT128_DEFINED = 0
|
||||
X_INTEGRAL_MAX_BITS = 64
|
||||
X_INTPTR_T_DEFINED = 0
|
||||
X_IOB_ENTRIES = 20
|
||||
X_IOEOF = 0x0010
|
||||
X_IOERR = 0x0020
|
||||
X_IOFBF = 0x0000
|
||||
X_IOLBF = 0x0040
|
||||
X_IOMYBUF = 0x0008
|
||||
X_IONBF = 0x0004
|
||||
X_IOREAD = 0x0001
|
||||
X_IORW = 0x0080
|
||||
X_IOSTRG = 0x0040
|
||||
X_IOWRT = 0x0002
|
||||
X_MT = 0
|
||||
X_M_IX86 = 600
|
||||
X_NFILE = 512
|
||||
X_NSTREAM_ = 512
|
||||
X_OFF64_T_DEFINED = 0
|
||||
X_OFF_T_ = 0
|
||||
X_OFF_T_DEFINED = 0
|
||||
X_OLD_P_OVERLAY = 2
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_P_DETACH = 4
|
||||
X_P_NOWAIT = 1
|
||||
X_P_NOWAITO = 3
|
||||
X_P_OVERLAY = 2
|
||||
X_P_WAIT = 0
|
||||
X_P_tmpdir = "\\"
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIZE_T_DEFINED = 0
|
||||
X_SPAWNV_DEFINED = 0
|
||||
X_SSIZE_T_DEFINED = 0
|
||||
X_STDIO_DEFINED = 0
|
||||
X_STDIO_S_DEFINED = 0
|
||||
X_STDSTREAM_DEFINED = 0
|
||||
X_SYS_OPEN = 20
|
||||
X_TAGLC_ID_DEFINED = 0
|
||||
X_THREADLOCALEINFO = 0
|
||||
X_TIME32_T_DEFINED = 0
|
||||
X_TIME64_T_DEFINED = 0
|
||||
X_TIME_T_DEFINED = 0
|
||||
X_TWO_DIGIT_EXPONENT = 0x1
|
||||
X_UINTPTR_T_DEFINED = 0
|
||||
X_USE_32BIT_TIME_T = 0
|
||||
X_VA_LIST_DEFINED = 0
|
||||
X_W64 = 0
|
||||
X_WAIT_CHILD = 0
|
||||
X_WAIT_GRANDCHILD = 1
|
||||
X_WCHAR_T_DEFINED = 0
|
||||
X_WCTYPE_T_DEFINED = 0
|
||||
X_WIN32 = 1
|
||||
X_WIN32_WINNT = 0x502
|
||||
X_WINT_T = 0
|
||||
X_WSPAWN_DEFINED = 0
|
||||
X_WSTDIO_DEFINED = 0
|
||||
X_WSTDIO_S_DEFINED = 0
|
||||
X_X86_ = 1
|
||||
I386 = 1
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
@@ -179,11 +168,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the Wine project.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -219,12 +203,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -265,28 +243,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -312,29 +288,36 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// Undefine __mingw_<printf> macros.
|
||||
|
||||
type X_iobuf = struct {
|
||||
F_ptr uintptr
|
||||
@@ -345,9 +328,9 @@ type X_iobuf = struct {
|
||||
F_charbuf int32
|
||||
F_bufsiz int32
|
||||
F_tmpfname uintptr
|
||||
} /* stdio.h:24:3 */
|
||||
} /* stdio.h:26:3 */
|
||||
|
||||
type FILE = X_iobuf /* stdio.h:34:25 */
|
||||
type FILE = X_iobuf /* stdio.h:36:25 */
|
||||
|
||||
type X_off_t = int32 /* _mingw_off_t.h:5:16 */
|
||||
type Off32_t = int32 /* _mingw_off_t.h:7:16 */
|
||||
@@ -357,6 +340,13 @@ type Off64_t = int64 /* _mingw_off_t.h:15:39 */
|
||||
|
||||
type Off_t = Off64_t /* _mingw_off_t.h:24:17 */ // A pointer to an array of FILE
|
||||
|
||||
type Fpos_t = int64 /* stdio.h:102:37 */
|
||||
type Fpos_t = int64 /* stdio.h:104:37 */
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// Define __mingw_<printf> macros.
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package stdlib
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo stdlib/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 stdlib/stdlib_windows_386.go -pkgname stdlib', DO NOT EDIT.
|
||||
// Code generated by 'ccgo stdlib\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 stdlib\stdlib_windows_386.go -pkgname stdlib', DO NOT EDIT.
|
||||
|
||||
package stdlib
|
||||
|
||||
|
||||
+66
-580
@@ -270,7 +270,6 @@ const (
|
||||
X_DEV_T = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_FORTIFY_SOURCE = 2
|
||||
X_GCC_WRAP_STDINT_H = 0
|
||||
X_I386_SIGNAL_H_ = 1
|
||||
X_I386__ENDIAN_H_ = 0
|
||||
X_ID_T = 0
|
||||
@@ -278,7 +277,6 @@ const (
|
||||
X_INT32_T = 0
|
||||
X_INT64_T = 0
|
||||
X_INT8_T = 0
|
||||
X_INTMAX_T = 0
|
||||
X_INTPTR_T = 0
|
||||
X_LP64 = 1
|
||||
X_MACHTYPES_H_ = 0
|
||||
@@ -300,7 +298,6 @@ const (
|
||||
X_RUNE_T = 0
|
||||
X_SIGSET_T = 0
|
||||
X_SIZE_T = 0
|
||||
X_STDINT_H_ = 0
|
||||
X_STDLIB_H_ = 0
|
||||
X_SYS_RESOURCE_H_ = 0
|
||||
X_SYS_SIGNAL_H_ = 0
|
||||
@@ -309,11 +306,7 @@ const (
|
||||
X_SYS__PTHREAD_TYPES_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_UID_T = 0
|
||||
X_UINT16_T = 0
|
||||
X_UINT32_T = 0
|
||||
X_UINT64_T = 0
|
||||
X_UINT8_T = 0
|
||||
X_UINTMAX_T = 0
|
||||
X_UINTPTR_T = 0
|
||||
X_U_INT16_T = 0
|
||||
X_U_INT32_T = 0
|
||||
@@ -682,15 +675,6 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -846,6 +830,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -5299,592 +5290,87 @@ type Sigstack = struct {
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* signal.h:367:1 */
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
|
||||
// Copyright (c) 1982, 1986, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)resource.h 8.2 (Berkeley) 1/4/94
|
||||
type Uint64_t = uint64 /* stdint.h:98:25 */
|
||||
|
||||
// Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least64_t = Int64_t /* stdint.h:110:25 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:112:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
type Uint32_t = uint32 /* stdint.h:172:25 */
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least32_t = Int32_t /* stdint.h:184:25 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:186:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
|
||||
type Uint16_t = uint16 /* stdint.h:207:25 */
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdint.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
type Int_least16_t = Int16_t /* stdint.h:215:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:217:25 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
|
||||
type Uint8_t = uint8 /* stdint.h:226:24 */
|
||||
|
||||
// Copyright (c) 2000-2010 Apple Inc.
|
||||
// All rights reserved.
|
||||
type Int_least8_t = Int8_t /* stdint.h:232:24 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
|
||||
type Int_fast8_t = Int8_t /* stdint.h:234:24 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
|
||||
|
||||
// from ISO/IEC 988:1999 spec
|
||||
// prevent glibc sys/types.h from defining conflicting types
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.4 Integer types capable of holding object pointers.
|
||||
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.5 Greatest-width integer types.
|
||||
type Intmax_t = int64 /* stdint.h:262:26 */
|
||||
type Uintmax_t = uint64 /* stdint.h:263:26 */
|
||||
|
||||
type Uint8_t = uint8 /* _uint8_t.h:31:23 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
// C99 7.18.4 Macros for minimum-width integer constants.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
// The standard requires that integer constant macros be defined for all the
|
||||
// minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
|
||||
// types are required, the corresponding integer constant macros are defined
|
||||
// here. This implementation also defines minimum-width types for every other
|
||||
// integer width that the target implements, so corresponding macros are
|
||||
// defined below, too.
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
// These macros are defined using the same successive-shrinking approach as
|
||||
// the type definitions above. It is likewise important that macros are defined
|
||||
// in order of decending width.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
type Uint16_t = uint16 /* _uint16_t.h:31:24 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
// C99 7.18.2.1 Limits of exact-width integer types.
|
||||
// C99 7.18.2.2 Limits of minimum-width integer types.
|
||||
// C99 7.18.2.3 Limits of fastest minimum-width integer types.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
// The presence of limit macros are completely optional in C99. This
|
||||
// implementation defines limits for all of the types (exact- and
|
||||
// minimum-width) that it defines above, using the limits of the minimum-width
|
||||
// type for any types that do not have exact-width representations.
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
// As in the type definitions, this section takes an approach of
|
||||
// successive-shrinking to determine which limits to use for the standard (8,
|
||||
// 16, 32, 64) bit widths when they don't have exact representations. It is
|
||||
// therefore important that the definitions be kept in order of decending
|
||||
// widths.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
type Uint32_t = uint32 /* _uint32_t.h:31:22 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Some utility macros
|
||||
|
||||
type Uint64_t = uint64 /* _uint64_t.h:31:28 */
|
||||
// C99 7.18.2.4 Limits of integer types capable of holding object pointers.
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type Int_least8_t = Int8_t /* stdint.h:38:26 */
|
||||
type Int_least16_t = Int16_t /* stdint.h:39:25 */
|
||||
type Int_least32_t = Int32_t /* stdint.h:40:25 */
|
||||
type Int_least64_t = Int64_t /* stdint.h:41:25 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:42:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:43:24 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:44:24 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:45:24 */
|
||||
// ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
|
||||
// is enabled.
|
||||
|
||||
// 7.18.1.3 Fastest-width integer types
|
||||
type Int_fast8_t = Int8_t /* stdint.h:49:27 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:50:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:51:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:52:26 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:53:26 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:54:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:55:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:56:25 */
|
||||
// C99 7.18.2.5 Limits of greatest-width integer types.
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Intmax_t = int64 /* _intmax_t.h:32:25 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
|
||||
// 7.18.4 Macros for integer constants
|
||||
|
||||
// 7.18.2 Limits of specified-width integer types:
|
||||
// These #defines specify the minimum and maximum limits
|
||||
// of each of the types declared above.
|
||||
//
|
||||
// They must have "the same type as would an expression that is an
|
||||
// object of the corresponding type converted according to the integer
|
||||
// promotion".
|
||||
|
||||
// 7.18.2.1 Limits of exact-width integer types
|
||||
|
||||
//
|
||||
// Note: the literal "most negative int" cannot be written in C --
|
||||
// the rules in the standard (section 6.4.4.1 in C99) will give it
|
||||
// an unsigned type, so INT32_MIN (and the most negative member of
|
||||
// any larger signed type) must be written via a constant expression.
|
||||
//
|
||||
|
||||
// 7.18.2.2 Limits of minimum-width integer types
|
||||
|
||||
// 7.18.2.3 Limits of fastest minimum-width integer types
|
||||
|
||||
// 7.18.2.4 Limits of integer types capable of holding object pointers
|
||||
|
||||
// 7.18.2.5 Limits of greatest-width integer types
|
||||
|
||||
// 7.18.3 "Other"
|
||||
|
||||
// WCHAR_MIN should be 0 if wchar_t is an unsigned type and
|
||||
// (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately,
|
||||
// it turns out that -fshort-wchar changes the signedness of
|
||||
// the type.
|
||||
// 7.18.4.2 Macros for greatest-width integer constants.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
|
||||
+68
-580
@@ -320,13 +320,11 @@ const (
|
||||
X_DEV_T = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_FORTIFY_SOURCE = 2
|
||||
X_GCC_WRAP_STDINT_H = 0
|
||||
X_ID_T = 0
|
||||
X_INT16_T = 0
|
||||
X_INT32_T = 0
|
||||
X_INT64_T = 0
|
||||
X_INT8_T = 0
|
||||
X_INTMAX_T = 0
|
||||
X_INTPTR_T = 0
|
||||
X_LP64 = 1
|
||||
X_MACHTYPES_H_ = 0
|
||||
@@ -348,7 +346,6 @@ const (
|
||||
X_RUNE_T = 0
|
||||
X_SIGSET_T = 0
|
||||
X_SIZE_T = 0
|
||||
X_STDINT_H_ = 0
|
||||
X_STDLIB_H_ = 0
|
||||
X_SYS_RESOURCE_H_ = 0
|
||||
X_SYS_SIGNAL_H_ = 0
|
||||
@@ -357,11 +354,7 @@ const (
|
||||
X_SYS__PTHREAD_TYPES_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_UID_T = 0
|
||||
X_UINT16_T = 0
|
||||
X_UINT32_T = 0
|
||||
X_UINT64_T = 0
|
||||
X_UINT8_T = 0
|
||||
X_UINTMAX_T = 0
|
||||
X_UINTPTR_T = 0
|
||||
X_U_INT16_T = 0
|
||||
X_U_INT32_T = 0
|
||||
@@ -547,6 +540,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) 2000, 2002 - 2008 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -751,15 +746,6 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -915,6 +901,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
@@ -3637,592 +3630,87 @@ type Sigstack = struct {
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* signal.h:367:1 */
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
|
||||
// Copyright (c) 1982, 1986, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)resource.h 8.2 (Berkeley) 1/4/94
|
||||
type Uint64_t = uint64 /* stdint.h:98:25 */
|
||||
|
||||
// Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least64_t = Int64_t /* stdint.h:110:25 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:112:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
type Uint32_t = uint32 /* stdint.h:172:25 */
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
type Int_least32_t = Int32_t /* stdint.h:184:25 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:186:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
|
||||
type Uint16_t = uint16 /* stdint.h:207:25 */
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdint.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
type Int_least16_t = Int16_t /* stdint.h:215:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:217:25 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
|
||||
type Uint8_t = uint8 /* stdint.h:226:24 */
|
||||
|
||||
// Copyright (c) 2000-2010 Apple Inc.
|
||||
// All rights reserved.
|
||||
type Int_least8_t = Int8_t /* stdint.h:232:24 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
|
||||
type Int_fast8_t = Int8_t /* stdint.h:234:24 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
|
||||
|
||||
// from ISO/IEC 988:1999 spec
|
||||
// prevent glibc sys/types.h from defining conflicting types
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.4 Integer types capable of holding object pointers.
|
||||
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.5 Greatest-width integer types.
|
||||
type Intmax_t = int64 /* stdint.h:262:26 */
|
||||
type Uintmax_t = uint64 /* stdint.h:263:26 */
|
||||
|
||||
type Uint8_t = uint8 /* _uint8_t.h:31:23 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
// C99 7.18.4 Macros for minimum-width integer constants.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
// The standard requires that integer constant macros be defined for all the
|
||||
// minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
|
||||
// types are required, the corresponding integer constant macros are defined
|
||||
// here. This implementation also defines minimum-width types for every other
|
||||
// integer width that the target implements, so corresponding macros are
|
||||
// defined below, too.
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
// These macros are defined using the same successive-shrinking approach as
|
||||
// the type definitions above. It is likewise important that macros are defined
|
||||
// in order of decending width.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
type Uint16_t = uint16 /* _uint16_t.h:31:24 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
// C99 7.18.2.1 Limits of exact-width integer types.
|
||||
// C99 7.18.2.2 Limits of minimum-width integer types.
|
||||
// C99 7.18.2.3 Limits of fastest minimum-width integer types.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
// The presence of limit macros are completely optional in C99. This
|
||||
// implementation defines limits for all of the types (exact- and
|
||||
// minimum-width) that it defines above, using the limits of the minimum-width
|
||||
// type for any types that do not have exact-width representations.
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
// As in the type definitions, this section takes an approach of
|
||||
// successive-shrinking to determine which limits to use for the standard (8,
|
||||
// 16, 32, 64) bit widths when they don't have exact representations. It is
|
||||
// therefore important that the definitions be kept in order of decending
|
||||
// widths.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
|
||||
// claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
|
||||
|
||||
type Uint32_t = uint32 /* _uint32_t.h:31:22 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Some utility macros
|
||||
|
||||
type Uint64_t = uint64 /* _uint64_t.h:31:28 */
|
||||
// C99 7.18.2.4 Limits of integer types capable of holding object pointers.
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type Int_least8_t = Int8_t /* stdint.h:38:26 */
|
||||
type Int_least16_t = Int16_t /* stdint.h:39:25 */
|
||||
type Int_least32_t = Int32_t /* stdint.h:40:25 */
|
||||
type Int_least64_t = Int64_t /* stdint.h:41:25 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:42:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:43:24 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:44:24 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:45:24 */
|
||||
// ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
|
||||
// is enabled.
|
||||
|
||||
// 7.18.1.3 Fastest-width integer types
|
||||
type Int_fast8_t = Int8_t /* stdint.h:49:27 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:50:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:51:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:52:26 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:53:26 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:54:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:55:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:56:25 */
|
||||
// C99 7.18.2.5 Limits of greatest-width integer types.
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
// C99 7.18.3 Limits of other integer types.
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Intmax_t = int64 /* _intmax_t.h:32:25 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
|
||||
// 7.18.4 Macros for integer constants
|
||||
|
||||
// 7.18.2 Limits of specified-width integer types:
|
||||
// These #defines specify the minimum and maximum limits
|
||||
// of each of the types declared above.
|
||||
//
|
||||
// They must have "the same type as would an expression that is an
|
||||
// object of the corresponding type converted according to the integer
|
||||
// promotion".
|
||||
|
||||
// 7.18.2.1 Limits of exact-width integer types
|
||||
|
||||
//
|
||||
// Note: the literal "most negative int" cannot be written in C --
|
||||
// the rules in the standard (section 6.4.4.1 in C99) will give it
|
||||
// an unsigned type, so INT32_MIN (and the most negative member of
|
||||
// any larger signed type) must be written via a constant expression.
|
||||
//
|
||||
|
||||
// 7.18.2.2 Limits of minimum-width integer types
|
||||
|
||||
// 7.18.2.3 Limits of fastest minimum-width integer types
|
||||
|
||||
// 7.18.2.4 Limits of integer types capable of holding object pointers
|
||||
|
||||
// 7.18.2.5 Limits of greatest-width integer types
|
||||
|
||||
// 7.18.3 "Other"
|
||||
|
||||
// WCHAR_MIN should be 0 if wchar_t is an unsigned type and
|
||||
// (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately,
|
||||
// it turns out that -fshort-wchar changes the signedness of
|
||||
// the type.
|
||||
// 7.18.4.2 Macros for greatest-width integer constants.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
|
||||
+41
-53
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo stdlib/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 stdlib/stdlib_windows_386.go -pkgname stdlib', DO NOT EDIT.
|
||||
// Code generated by 'ccgo stdlib\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 stdlib\stdlib_windows_386.go -pkgname stdlib', DO NOT EDIT.
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -46,7 +46,9 @@ const (
|
||||
LONG_MIN = -2147483648
|
||||
MB_LEN_MAX = 5
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
PATH_MAX = 260
|
||||
@@ -97,7 +99,6 @@ const (
|
||||
X_CRT_SWAB_DEFINED = 0
|
||||
X_CRT_SYSTEM_DEFINED = 0
|
||||
X_CRT_TERMINATE_DEFINED = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_CRT_WPERROR_DEFINED = 0
|
||||
X_CRT_WSYSTEM_DEFINED = 0
|
||||
X_CVTBUFSIZE = 349
|
||||
@@ -124,9 +125,6 @@ const (
|
||||
X_I64_MIN = -9223372036854775808
|
||||
X_I8_MAX = 127
|
||||
X_I8_MIN = -128
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CORECRT_WSTDLIB = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_LIMITS = 0
|
||||
@@ -158,6 +156,7 @@ const (
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_QSORT_S_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_REPORT_ERRMODE = 3
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
@@ -184,7 +183,9 @@ const (
|
||||
X_WINT_T = 0
|
||||
X_WRITE_ABORT_MSG = 0x1
|
||||
X_WSTDLIBP_DEFINED = 0
|
||||
X_WSTDLIBP_S_DEFINED = 0
|
||||
X_WSTDLIB_DEFINED = 0
|
||||
X_WSTDLIB_S_DEFINED = 0
|
||||
X_X86_ = 1
|
||||
I386 = 1
|
||||
)
|
||||
@@ -240,12 +241,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -286,28 +281,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -333,31 +326,31 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
|
||||
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -401,11 +394,6 @@ type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// File system limits
|
||||
//
|
||||
// NOTE: Apparently the actual size of PATH_MAX is 260, but a space is
|
||||
@@ -414,7 +402,7 @@ type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
// are semantically identical, with a limit of 259 characters for the
|
||||
// path name, plus one for a terminating NUL, for a total of 260.
|
||||
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@@ -471,40 +459,40 @@ type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
// This administrivia gets added to the end of limits.h
|
||||
// if the system has its own version of limits.h.
|
||||
|
||||
type X_onexit_t = uintptr /* stdlib.h:50:15 */
|
||||
type X_onexit_t = uintptr /* stdlib.h:49:15 */
|
||||
|
||||
type X_div_t = struct {
|
||||
Fquot int32
|
||||
Frem int32
|
||||
} /* stdlib.h:60:11 */
|
||||
} /* stdlib.h:59:11 */
|
||||
|
||||
type Div_t = X_div_t /* stdlib.h:63:5 */
|
||||
type Div_t = X_div_t /* stdlib.h:62:5 */
|
||||
|
||||
type X_ldiv_t = struct {
|
||||
Fquot int32
|
||||
Frem int32
|
||||
} /* stdlib.h:65:11 */
|
||||
} /* stdlib.h:64:11 */
|
||||
|
||||
type Ldiv_t = X_ldiv_t /* stdlib.h:68:5 */
|
||||
type Ldiv_t = X_ldiv_t /* stdlib.h:67:5 */
|
||||
|
||||
type X_LDOUBLE = struct{ Fld [10]uint8 } /* stdlib.h:77:5 */
|
||||
type X_LDOUBLE = struct{ Fld [10]uint8 } /* stdlib.h:76:5 */
|
||||
|
||||
type X_CRT_DOUBLE = struct{ Fx float64 } /* stdlib.h:84:5 */
|
||||
type X_CRT_DOUBLE = struct{ Fx float64 } /* stdlib.h:83:5 */
|
||||
|
||||
type X_CRT_FLOAT = struct{ Ff float32 } /* stdlib.h:88:5 */
|
||||
type X_CRT_FLOAT = struct{ Ff float32 } /* stdlib.h:87:5 */
|
||||
|
||||
type X_LONGDOUBLE = struct{ Fx float64 } /* stdlib.h:95:5 */
|
||||
type X_LONGDOUBLE = struct{ Fx float64 } /* stdlib.h:94:5 */
|
||||
|
||||
type X_LDBL12 = struct{ Fld12 [12]uint8 } /* stdlib.h:102:5 */
|
||||
type X_LDBL12 = struct{ Fld12 [12]uint8 } /* stdlib.h:101:5 */
|
||||
|
||||
type X_purecall_handler = uintptr /* stdlib.h:143:16 */
|
||||
type X_purecall_handler = uintptr /* stdlib.h:142:16 */
|
||||
|
||||
type X_invalid_parameter_handler = uintptr /* stdlib.h:148:16 */
|
||||
type X_invalid_parameter_handler = uintptr /* stdlib.h:147:16 */
|
||||
|
||||
type Lldiv_t = struct {
|
||||
Fquot int64
|
||||
Frem int64
|
||||
} /* stdlib.h:727:61 */
|
||||
} /* stdlib.h:699:61 */
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
|
||||
+4
@@ -3,5 +3,9 @@
|
||||
package socket
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+7
-1
@@ -2,4 +2,10 @@
|
||||
|
||||
package socket
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+7
-18
@@ -583,6 +583,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -3150,15 +3157,6 @@ type Errno_t = int32 /* _errno_t.h:30:32 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -3429,15 +3427,6 @@ type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+34
-739
@@ -360,7 +360,6 @@ const (
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_FSBLKCNT_T = 0
|
||||
X_FSFILCNT_T = 0
|
||||
X_GCC_WRAP_STDINT_H = 0
|
||||
X_GID_T = 0
|
||||
X_ID_T = 0
|
||||
X_INO64_T = 0
|
||||
@@ -369,7 +368,6 @@ const (
|
||||
X_INT32_T = 0
|
||||
X_INT64_T = 0
|
||||
X_INT8_T = 0
|
||||
X_INTMAX_T = 0
|
||||
X_INTPTR_T = 0
|
||||
X_IN_ADDR_T = 0
|
||||
X_IN_PORT_T = 0
|
||||
@@ -404,7 +402,6 @@ const (
|
||||
X_SOCKLEN_T = 0
|
||||
X_SSIZE_T = 0
|
||||
X_SS_MAXSIZE = 128
|
||||
X_STDINT_H_ = 0
|
||||
X_STRUCT_IOVEC = 0
|
||||
X_SUSECONDS_T = 0
|
||||
X_SYS_SOCKET_H_ = 0
|
||||
@@ -414,11 +411,6 @@ const (
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T = 0
|
||||
X_UID_T = 0
|
||||
X_UINT16_T = 0
|
||||
X_UINT32_T = 0
|
||||
X_UINT64_T = 0
|
||||
X_UINT8_T = 0
|
||||
X_UINTMAX_T = 0
|
||||
X_UINTPTR_T = 0
|
||||
X_USECONDS_T = 0
|
||||
X_U_CHAR = 0
|
||||
@@ -454,6 +446,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) 2000-2019 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
@@ -683,6 +677,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
@@ -1758,727 +1759,39 @@ type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_
|
||||
type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */
|
||||
type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
|
||||
type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */
|
||||
type Uint64_t = uint64 /* stdint.h:98:25 */
|
||||
|
||||
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
type Int_least64_t = Int64_t /* stdint.h:110:25 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:112:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
|
||||
|
||||
// Copyright (c) 2000-2007 Apple Inc. All rights reserved.
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1987, 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)endian.h 8.1 (Berkeley) 6/11/93
|
||||
type Uint32_t = uint32 /* stdint.h:172:25 */
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
type Int_least32_t = Int32_t /* stdint.h:184:25 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:186:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
|
||||
type Uint16_t = uint16 /* stdint.h:207:25 */
|
||||
|
||||
// Define _NOQUAD if the compiler does NOT support 64-bit integers.
|
||||
// #define _NOQUAD
|
||||
type Int_least16_t = Int16_t /* stdint.h:215:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:217:25 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
|
||||
type Uint8_t = uint8 /* stdint.h:226:24 */
|
||||
|
||||
// Define the order of 32-bit words in 64-bit words.
|
||||
type Int_least8_t = Int8_t /* stdint.h:232:24 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
|
||||
type Int_fast8_t = Int8_t /* stdint.h:234:24 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
|
||||
|
||||
// Definitions for byte order, according to byte significance from low
|
||||
// address to high.
|
||||
// prevent glibc sys/types.h from defining conflicting types
|
||||
|
||||
// Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// C99 7.18.1.4 Integer types capable of holding object pointers.
|
||||
|
||||
// Copyright (c) 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 1987, 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
|
||||
// Copyright (c) 2000-2018 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright 1995 NeXT Computer, Inc. All rights reserved.
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
|
||||
// Macros for network/external number representation conversion.
|
||||
|
||||
// Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// This header is normally included from <libkern/OSByteOrder.h>. However,
|
||||
// <sys/_endian.h> also includes this in the case of little-endian
|
||||
// architectures, so that we can map OSByteOrder routines to the hton* and ntoh*
|
||||
// macros. This results in the asymmetry below; we only include
|
||||
// <libkern/arch/_OSByteOrder.h> for little-endian architectures.
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Macros for swapping constant values in the preprocessing stage.
|
||||
|
||||
// Copyright (c) 1999-2007 Apple Inc. All rights reserved.
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdint.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2000-2010 Apple Inc.
|
||||
// All rights reserved.
|
||||
|
||||
// from ISO/IEC 988:1999 spec
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint8_t = uint8 /* _uint8_t.h:31:23 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint16_t = uint16 /* _uint16_t.h:31:24 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint32_t = uint32 /* _uint32_t.h:31:22 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uint64_t = uint64 /* _uint64_t.h:31:28 */
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type Int_least8_t = Int8_t /* stdint.h:38:26 */
|
||||
type Int_least16_t = Int16_t /* stdint.h:39:25 */
|
||||
type Int_least32_t = Int32_t /* stdint.h:40:25 */
|
||||
type Int_least64_t = Int64_t /* stdint.h:41:25 */
|
||||
type Uint_least8_t = Uint8_t /* stdint.h:42:25 */
|
||||
type Uint_least16_t = Uint16_t /* stdint.h:43:24 */
|
||||
type Uint_least32_t = Uint32_t /* stdint.h:44:24 */
|
||||
type Uint_least64_t = Uint64_t /* stdint.h:45:24 */
|
||||
|
||||
// 7.18.1.3 Fastest-width integer types
|
||||
type Int_fast8_t = Int8_t /* stdint.h:49:27 */
|
||||
type Int_fast16_t = Int16_t /* stdint.h:50:26 */
|
||||
type Int_fast32_t = Int32_t /* stdint.h:51:26 */
|
||||
type Int_fast64_t = Int64_t /* stdint.h:52:26 */
|
||||
type Uint_fast8_t = Uint8_t /* stdint.h:53:26 */
|
||||
type Uint_fast16_t = Uint16_t /* stdint.h:54:25 */
|
||||
type Uint_fast32_t = Uint32_t /* stdint.h:55:25 */
|
||||
type Uint_fast64_t = Uint64_t /* stdint.h:56:25 */
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
|
||||
// Copyright (c) 2003-2007 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Intmax_t = int64 /* _intmax_t.h:32:25 */
|
||||
// Copyright (c) 2012 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
//
|
||||
// This file contains Original Code and/or Modifications of Original Code
|
||||
// as defined in and that are subject to the Apple Public Source License
|
||||
// Version 2.0 (the 'License'). You may not use this file except in
|
||||
// compliance with the License. The rights granted to you under the License
|
||||
// may not be used to create, or enable the creation or redistribution of,
|
||||
// unlawful or unlicensed copies of an Apple operating system, or to
|
||||
// circumvent, violate, or enable the circumvention or violation of, any
|
||||
// terms of an Apple operating system software license agreement.
|
||||
//
|
||||
// Please obtain a copy of the License at
|
||||
// http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
//
|
||||
// The Original Code and all software distributed under the License are
|
||||
// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
||||
// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
||||
// Please see the License for the specific language governing rights and
|
||||
// limitations under the License.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
||||
|
||||
type Uintmax_t = uint64 /* _uintmax_t.h:32:26 */
|
||||
// C99 7.18.1.5 Greatest-width integer types.
|
||||
type Intmax_t = int64 /* stdint.h:262:26 */
|
||||
type Uintmax_t = uint64 /* stdint.h:263:26 */
|
||||
|
||||
// Functions for byte reversed loads.
|
||||
|
||||
@@ -3941,15 +3254,6 @@ type Errno_t = int32 /* _errno_t.h:30:32 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -4243,15 +3547,6 @@ type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+3
-1
@@ -2,4 +2,6 @@
|
||||
|
||||
package stat
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo sys/stat/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 sys/stat/stat_windows_386.go -pkgname stat', DO NOT EDIT.
|
||||
// Code generated by 'ccgo sys\stat\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 sys\stat\stat_windows_386.go -pkgname stat', DO NOT EDIT.
|
||||
|
||||
package stat
|
||||
|
||||
|
||||
+7
-9
@@ -298,6 +298,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -1055,15 +1062,6 @@ type X__darwin_pthread_t = uintptr /* _pthread_
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+9
-9
@@ -169,6 +169,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) 2000-2014 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
@@ -334,6 +336,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.
|
||||
|
||||
// __pure2 can be used for functions that are only a function of their scalar
|
||||
// arguments (meaning they can't dereference pointers).
|
||||
//
|
||||
@@ -1100,15 +1109,6 @@ type X__darwin_pthread_t = uintptr /* _pthread_
|
||||
|
||||
// Set up standard Mac OS X versions
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
+30
-43
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo sys/stat/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 sys/stat/stat_windows_386.go -pkgname stat', DO NOT EDIT.
|
||||
// Code generated by 'ccgo sys\stat\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 sys\stat\stat_windows_386.go -pkgname stat', DO NOT EDIT.
|
||||
|
||||
package stat
|
||||
|
||||
@@ -33,7 +33,9 @@ const (
|
||||
DUMMYUNIONNAME9 = 0
|
||||
F_OK = 0
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
R_OK = 4
|
||||
@@ -87,7 +89,6 @@ const (
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0
|
||||
X_DEV_T_DEFINED = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
@@ -96,8 +97,6 @@ const (
|
||||
X_FILE_OFFSET_BITS_SET_OFFT = 0
|
||||
X_FINDDATA_T_DEFINED = 0
|
||||
X_FSIZE_T_DEFINED = 0
|
||||
X_ILP32 = 1
|
||||
X_INC_CORECRT = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_MINGW_SECAPI = 0
|
||||
@@ -124,6 +123,7 @@ const (
|
||||
X_PID_T_ = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIGSET_T_ = 0
|
||||
@@ -199,11 +199,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -224,12 +219,6 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -270,28 +259,26 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -317,29 +304,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* corecrt.h:441:9 */
|
||||
} /* crtdefs.h:428:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* corecrt.h:435:1 */
|
||||
} /* crtdefs.h:422:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
type X_fsize_t = uint32 /* io.h:29:25 */
|
||||
|
||||
type X_finddata32_t = struct {
|
||||
@@ -473,7 +460,7 @@ type Itimerspec = struct {
|
||||
|
||||
type X_sigset_t = uint32 /* types.h:106:23 */
|
||||
|
||||
type X_stat32 = struct {
|
||||
type X_stat = struct {
|
||||
Fst_dev X_dev_t
|
||||
Fst_ino X_ino_t
|
||||
Fst_mode uint16
|
||||
@@ -486,7 +473,7 @@ type X_stat32 = struct {
|
||||
Fst_atime X__time32_t
|
||||
Fst_mtime X__time32_t
|
||||
Fst_ctime X__time32_t
|
||||
} /* _mingw_stat64.h:25:3 */
|
||||
} /* _mingw_stat64.h:28:3 */
|
||||
|
||||
type Stat = struct {
|
||||
Fst_dev X_dev_t
|
||||
@@ -501,7 +488,7 @@ type Stat = struct {
|
||||
Fst_atime Time_t
|
||||
Fst_mtime Time_t
|
||||
Fst_ctime Time_t
|
||||
} /* _mingw_stat64.h:40:3 */
|
||||
} /* _mingw_stat64.h:43:3 */
|
||||
|
||||
type X_stati64 = struct {
|
||||
Fst_dev X_dev_t
|
||||
@@ -518,7 +505,7 @@ type X_stati64 = struct {
|
||||
Fst_mtime X__time32_t
|
||||
Fst_ctime X__time32_t
|
||||
F__ccgo_pad3 [4]byte
|
||||
} /* _mingw_stat64.h:55:3 */
|
||||
} /* _mingw_stat64.h:58:3 */
|
||||
|
||||
type X_stat64i32 = struct {
|
||||
Fst_dev X_dev_t
|
||||
@@ -533,7 +520,7 @@ type X_stat64i32 = struct {
|
||||
Fst_atime X__time64_t
|
||||
Fst_mtime X__time64_t
|
||||
Fst_ctime X__time64_t
|
||||
} /* _mingw_stat64.h:69:3 */
|
||||
} /* _mingw_stat64.h:72:3 */
|
||||
|
||||
type X_stat64 = struct {
|
||||
Fst_dev X_dev_t
|
||||
@@ -549,6 +536,6 @@ type X_stat64 = struct {
|
||||
Fst_atime X__time64_t
|
||||
Fst_mtime X__time64_t
|
||||
Fst_ctime X__time64_t
|
||||
} /* _mingw_stat64.h:83:3 */
|
||||
} /* _mingw_stat64.h:86:3 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
|
||||
+4
@@ -3,5 +3,9 @@
|
||||
package types
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+7
-1
@@ -2,4 +2,10 @@
|
||||
|
||||
package types
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo sys/types/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 sys/types/types_windows_386.go -pkgname types', DO NOT EDIT.
|
||||
// Code generated by 'ccgo sys\types\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 sys\types\types_windows_386.go -pkgname types', DO NOT EDIT.
|
||||
|
||||
package types
|
||||
|
||||
|
||||
+7
-18
@@ -281,6 +281,13 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
// 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.
|
||||
|
||||
@@ -2848,15 +2855,6 @@ type Errno_t = int32 /* _errno_t.h:30:32 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@@ -3127,15 +3125,6 @@ type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user