github.com/afumu/libc@v0.0.6/locale/locale_darwin_arm64.go (about) 1 // Code generated by 'ccgo locale/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o locale/locale_darwin_arm64.go -pkgname locale', DO NOT EDIT. 2 3 package locale 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 ) 11 12 var _ = math.Pi 13 var _ reflect.Kind 14 var _ atomic.Value 15 var _ unsafe.Pointer 16 17 const ( 18 LC_ALL = 0 // locale.h:42:1: 19 LC_COLLATE = 1 // locale.h:43:1: 20 LC_CTYPE = 2 // locale.h:44:1: 21 LC_MESSAGES = 6 // locale.h:48:1: 22 LC_MONETARY = 3 // locale.h:45:1: 23 LC_NUMERIC = 4 // locale.h:46:1: 24 LC_TIME = 5 // locale.h:47:1: 25 X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: 26 X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: 27 X_CDEFS_H_ = 0 // cdefs.h:68:1: 28 X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: 29 X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: 30 X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: 31 X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: 32 X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: 33 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 34 X_FORTIFY_SOURCE = 2 // _types.h:65:1: 35 X_LC_LAST = 7 // locale.h:50:1: 36 X_LOCALE_H_ = 0 // locale.h:38:1: 37 X_LP64 = 1 // <predefined>:1:1: 38 X_Nonnull = 0 // cdefs.h:268:1: 39 X_Null_unspecified = 0 // cdefs.h:271:1: 40 X_Nullable = 0 // cdefs.h:265:1: 41 X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: 42 X_SYS__TYPES_H_ = 0 // _types.h:30:1: 43 ) 44 45 type Ptrdiff_t = int64 /* <builtin>:3:26 */ 46 47 type Size_t = uint64 /* <builtin>:9:23 */ 48 49 type Wchar_t = int32 /* <builtin>:15:24 */ 50 51 type X__int128_t = struct { 52 Flo int64 53 Fhi int64 54 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 55 type X__uint128_t = struct { 56 Flo uint64 57 Fhi uint64 58 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 59 60 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 61 type X__float128 = float64 /* <builtin>:47:21 */ 62 63 var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ 64 65 // Copyright (c) 1991, 1993 66 // The Regents of the University of California. All rights reserved. 67 // 68 // Redistribution and use in source and binary forms, with or without 69 // modification, are permitted provided that the following conditions 70 // are met: 71 // 1. Redistributions of source code must retain the above copyright 72 // notice, this list of conditions and the following disclaimer. 73 // 2. Redistributions in binary form must reproduce the above copyright 74 // notice, this list of conditions and the following disclaimer in the 75 // documentation and/or other materials provided with the distribution. 76 // 3. All advertising materials mentioning features or use of this software 77 // must display the following acknowledgement: 78 // This product includes software developed by the University of 79 // California, Berkeley and its contributors. 80 // 4. Neither the name of the University nor the names of its contributors 81 // may be used to endorse or promote products derived from this software 82 // without specific prior written permission. 83 // 84 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 85 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 86 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 87 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 88 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 89 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 90 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 91 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 92 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 93 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 94 // SUCH DAMAGE. 95 // 96 // @(#)locale.h 8.1 (Berkeley) 6/2/93 97 // $FreeBSD: /repoman/r/ncvs/src/include/locale.h,v 1.7 2002/10/09 09:19:27 tjr Exp $ 98 99 // Copyright (c) 1991, 1993 100 // The Regents of the University of California. All rights reserved. 101 // 102 // Redistribution and use in source and binary forms, with or without 103 // modification, are permitted provided that the following conditions 104 // are met: 105 // 1. Redistributions of source code must retain the above copyright 106 // notice, this list of conditions and the following disclaimer. 107 // 2. Redistributions in binary form must reproduce the above copyright 108 // notice, this list of conditions and the following disclaimer in the 109 // documentation and/or other materials provided with the distribution. 110 // 3. All advertising materials mentioning features or use of this software 111 // must display the following acknowledgement: 112 // This product includes software developed by the University of 113 // California, Berkeley and its contributors. 114 // 4. Neither the name of the University nor the names of its contributors 115 // may be used to endorse or promote products derived from this software 116 // without specific prior written permission. 117 // 118 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 119 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 120 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 121 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 122 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 123 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 124 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 125 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 126 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 127 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 128 // SUCH DAMAGE. 129 // 130 // @(#)locale.h 8.1 (Berkeley) 6/2/93 131 // $FreeBSD: /repoman/r/ncvs/src/include/locale.h,v 1.7 2002/10/09 09:19:27 tjr Exp $ 132 133 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 134 // 135 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 136 // 137 // This file contains Original Code and/or Modifications of Original Code 138 // as defined in and that are subject to the Apple Public Source License 139 // Version 2.0 (the 'License'). You may not use this file except in 140 // compliance with the License. The rights granted to you under the License 141 // may not be used to create, or enable the creation or redistribution of, 142 // unlawful or unlicensed copies of an Apple operating system, or to 143 // circumvent, violate, or enable the circumvention or violation of, any 144 // terms of an Apple operating system software license agreement. 145 // 146 // Please obtain a copy of the License at 147 // http://www.opensource.apple.com/apsl/ and read it before using this file. 148 // 149 // The Original Code and all software distributed under the License are 150 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 151 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 152 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 153 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 154 // Please see the License for the specific language governing rights and 155 // limitations under the License. 156 // 157 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 158 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 159 // Copyright (c) 1991, 1993 160 // The Regents of the University of California. All rights reserved. 161 // 162 // This code is derived from software contributed to Berkeley by 163 // Berkeley Software Design, Inc. 164 // 165 // Redistribution and use in source and binary forms, with or without 166 // modification, are permitted provided that the following conditions 167 // are met: 168 // 1. Redistributions of source code must retain the above copyright 169 // notice, this list of conditions and the following disclaimer. 170 // 2. Redistributions in binary form must reproduce the above copyright 171 // notice, this list of conditions and the following disclaimer in the 172 // documentation and/or other materials provided with the distribution. 173 // 3. All advertising materials mentioning features or use of this software 174 // must display the following acknowledgement: 175 // This product includes software developed by the University of 176 // California, Berkeley and its contributors. 177 // 4. Neither the name of the University nor the names of its contributors 178 // may be used to endorse or promote products derived from this software 179 // without specific prior written permission. 180 // 181 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 182 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 183 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 184 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 185 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 186 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 187 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 188 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 189 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 190 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 191 // SUCH DAMAGE. 192 // 193 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 194 195 // This SDK is designed to work with clang and specific versions of 196 // gcc >= 4.0 with Apple's patch sets 197 198 // Compatibility with compilers and environments that don't support compiler 199 // feature checking function-like macros. 200 201 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 202 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 203 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces 204 // in between its arguments. __CONCAT can also concatenate double-quoted 205 // strings produced by the __STRING macro, but this only works with ANSI C. 206 207 // In non-ANSI C environments, new programs will want ANSI-only C keywords 208 // deleted from the program and old programs will want them left alone. 209 // When using a compiler other than gcc, programs using the ANSI C keywords 210 // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS. 211 // When using "gcc -traditional", we assume that this is the intent; if 212 // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone. 213 214 // __pure2 can be used for functions that are only a function of their scalar 215 // arguments (meaning they can't dereference pointers). 216 // 217 // __stateful_pure can be used for functions that have no side effects, 218 // but depend on the state of the memory. 219 220 // __unused denotes variables and functions that may not be used, preventing 221 // the compiler from warning about it if not used. 222 223 // __used forces variables and functions to be included even if it appears 224 // to the compiler that they are not used (and would thust be discarded). 225 226 // __cold marks code used for debugging or that is rarely taken 227 // and tells the compiler to optimize for size and outline code. 228 229 // __exported denotes symbols that should be exported even when symbols 230 // are hidden by default. 231 // __exported_push/_exported_pop are pragmas used to delimit a range of 232 // symbols that should be exported even when symbols are hidden by default. 233 234 // __deprecated causes the compiler to produce a warning when encountering 235 // code using the deprecated functionality. 236 // __deprecated_msg() does the same, and compilers that support it will print 237 // a message along with the deprecation warning. 238 // This may require turning on such warning with the -Wdeprecated flag. 239 // __deprecated_enum_msg() should be used on enums, and compilers that support 240 // it will print the deprecation warning. 241 // __kpi_deprecated() specifically indicates deprecation of kernel programming 242 // interfaces in Kernel.framework used by KEXTs. 243 244 // __unavailable causes the compiler to error out when encountering 245 // code using the tagged function 246 247 // Delete pseudo-keywords wherever they are not available or needed. 248 249 // We use `__restrict' as a way to define the `restrict' type qualifier 250 // without disturbing older software that is unaware of C99 keywords. 251 252 // Compatibility with compilers and environments that don't support the 253 // nullability feature. 254 255 // __disable_tail_calls causes the compiler to not perform tail call 256 // optimization inside the marked function. 257 258 // __not_tail_called causes the compiler to prevent tail call optimization 259 // on statically bound calls to the function. It has no effect on indirect 260 // calls. Virtual functions, objective-c methods, and functions marked as 261 // "always_inline" cannot be marked as __not_tail_called. 262 263 // __result_use_check warns callers of a function that not using the function 264 // return value is a bug, i.e. dismissing malloc() return value results in a 265 // memory leak. 266 267 // __swift_unavailable causes the compiler to mark a symbol as specifically 268 // unavailable in Swift, regardless of any other availability in C. 269 270 // __abortlike is the attribute to put on functions like abort() that are 271 // typically used to mark assertions. These optimize the codegen 272 // for outlining while still maintaining debugability. 273 274 // Declaring inline functions within headers is error-prone due to differences 275 // across various versions of the C language and extensions. __header_inline 276 // can be used to declare inline functions within system headers. In cases 277 // where you want to force inlining instead of letting the compiler make 278 // the decision, you can use __header_always_inline. 279 // 280 // Be aware that using inline for functions which compilers may also provide 281 // builtins can behave differently under various compilers. If you intend to 282 // provide an inline version of such a function, you may want to use a macro 283 // instead. 284 // 285 // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly 286 // support c99 inline in some cases: 287 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965 288 289 // Compiler-dependent macros that bracket portions of code where the 290 // "-Wunreachable-code" warning should be ignored. Please use sparingly. 291 292 // Compiler-dependent macros to declare that functions take printf-like 293 // or scanf-like arguments. They are null except for versions of gcc 294 // that are known to support the features properly. Functions declared 295 // with these attributes will cause compilation warnings if there is a 296 // mismatch between the format string and subsequent function parameter 297 // types. 298 299 // Source compatibility only, ID string not emitted in object file 300 301 // __alloc_size can be used to label function arguments that represent the 302 // size of memory that the function allocates and returns. The one-argument 303 // form labels a single argument that gives the allocation size (where the 304 // arguments are numbered from 1): 305 // 306 // void *malloc(size_t __size) __alloc_size(1); 307 // 308 // The two-argument form handles the case where the size is calculated as the 309 // product of two arguments: 310 // 311 // void *calloc(size_t __count, size_t __size) __alloc_size(1,2); 312 313 // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail 314 // 315 // DEFAULT By default newly complied code will get POSIX APIs plus 316 // Apple API extensions in scope. 317 // 318 // Most users will use this compilation environment to avoid 319 // behavioral differences between 32 and 64 bit code. 320 // 321 // LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple 322 // API extensions in scope. 323 // 324 // This is generally equivalent to the Tiger release compilation 325 // environment, except that it cannot be applied to 64 bit code; 326 // its use is discouraged. 327 // 328 // We expect this environment to be deprecated in the future. 329 // 330 // STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the 331 // available APIs to exactly the set of APIs defined by the 332 // corresponding standard, based on the value defined. 333 // 334 // A correct, portable definition for _POSIX_C_SOURCE is 200112L. 335 // A correct, portable definition for _XOPEN_SOURCE is 600L. 336 // 337 // Apple API extensions are not visible in this environment, 338 // which can cause Apple specific code to fail to compile, 339 // or behave incorrectly if prototypes are not in scope or 340 // warnings about missing prototypes are not enabled or ignored. 341 // 342 // In any compilation environment, for correct symbol resolution to occur, 343 // function prototypes must be in scope. It is recommended that all Apple 344 // tools users add either the "-Wall" or "-Wimplicit-function-declaration" 345 // compiler flags to their projects to be warned when a function is being 346 // used without a prototype in scope. 347 348 // These settings are particular to each product. 349 // Platform: MacOSX 350 351 // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow 352 // legacy code to use the old symbol, thus maintaining binary compatibility 353 // while new code can use a standards compliant version of the same function. 354 // 355 // __DARWIN_ALIAS is used by itself if the function signature has not 356 // changed, it is used along with a #ifdef check for __DARWIN_UNIX03 357 // if the signature has changed. Because the __LP64__ environment 358 // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be 359 // defined, but causes __DARWIN_ALIAS to do no symbol mangling. 360 // 361 // As a special case, when XCode is used to target a specific version of the 362 // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 363 // will be defined by the compiler, with the digits representing major version 364 // time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting 365 // pre-10.5, and it is the default compilation environment, revert the 366 // compilation environment to pre-__DARWIN_UNIX03. 367 368 // symbol suffixes used for symbol versioning 369 370 // symbol versioning macros 371 372 // symbol release macros 373 // Copyright (c) 2010 Apple Inc. All rights reserved. 374 // 375 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 376 // 377 // This file contains Original Code and/or Modifications of Original Code 378 // as defined in and that are subject to the Apple Public Source License 379 // Version 2.0 (the 'License'). You may not use this file except in 380 // compliance with the License. The rights granted to you under the License 381 // may not be used to create, or enable the creation or redistribution of, 382 // unlawful or unlicensed copies of an Apple operating system, or to 383 // circumvent, violate, or enable the circumvention or violation of, any 384 // terms of an Apple operating system software license agreement. 385 // 386 // Please obtain a copy of the License at 387 // http://www.opensource.apple.com/apsl/ and read it before using this file. 388 // 389 // The Original Code and all software distributed under the License are 390 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 391 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 392 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 393 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 394 // Please see the License for the specific language governing rights and 395 // limitations under the License. 396 // 397 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 398 399 // POSIX.1 requires that the macros we test be defined before any standard 400 // header file is included. This permits us to convert values for feature 401 // testing, as necessary, using only _POSIX_C_SOURCE. 402 // 403 // Here's a quick run-down of the versions: 404 // defined(_POSIX_SOURCE) 1003.1-1988 405 // _POSIX_C_SOURCE == 1L 1003.1-1990 406 // _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option 407 // _POSIX_C_SOURCE == 199309L 1003.1b-1993 408 // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, 409 // and the omnibus ISO/IEC 9945-1: 1996 410 // _POSIX_C_SOURCE == 200112L 1003.1-2001 411 // _POSIX_C_SOURCE == 200809L 1003.1-2008 412 // 413 // In addition, the X/Open Portability Guide, which is now the Single UNIX 414 // Specification, defines a feature-test macro which indicates the version of 415 // that specification, and which subsumes _POSIX_C_SOURCE. 416 417 // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L. 418 419 // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L. 420 421 // Deal with various X/Open Portability Guides and Single UNIX Spec. 422 423 // Deal with all versions of POSIX. The ordering relative to the tests above is 424 // important. 425 426 // POSIX C deprecation macros 427 // Copyright (c) 2010 Apple Inc. All rights reserved. 428 // 429 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 430 // 431 // This file contains Original Code and/or Modifications of Original Code 432 // as defined in and that are subject to the Apple Public Source License 433 // Version 2.0 (the 'License'). You may not use this file except in 434 // compliance with the License. The rights granted to you under the License 435 // may not be used to create, or enable the creation or redistribution of, 436 // unlawful or unlicensed copies of an Apple operating system, or to 437 // circumvent, violate, or enable the circumvention or violation of, any 438 // terms of an Apple operating system software license agreement. 439 // 440 // Please obtain a copy of the License at 441 // http://www.opensource.apple.com/apsl/ and read it before using this file. 442 // 443 // The Original Code and all software distributed under the License are 444 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 445 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 446 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 447 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 448 // Please see the License for the specific language governing rights and 449 // limitations under the License. 450 // 451 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 452 453 // Set a single macro which will always be defined and can be used to determine 454 // the appropriate namespace. For POSIX, these values will correspond to 455 // _POSIX_C_SOURCE value. Currently there are two additional levels corresponding 456 // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE) 457 458 // If the developer has neither requested a strict language mode nor a version 459 // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part 460 // of __DARWIN_C_FULL. 461 462 // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and 463 // c99 still want long longs. While not perfect, we allow long longs for 464 // g++. 465 466 // **************************************** 467 // 468 // Public darwin-specific feature macros 469 // 470 471 // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and 472 // structures modified for 64-bit inodes (like struct stat) will be used. 473 474 // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only 475 // be 64-bit; there is no support for 32-bit ino_t when this macro is defined 476 // (and non-zero). There is no struct stat64 either, as the regular 477 // struct stat will already be the 64-bit version. 478 479 // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated 480 // in 10.5 exists; no pre-10.5 variants are available. 481 482 // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API 483 // are available (the legacy BSD APIs are not available) 484 485 // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on, 486 // and specifies the conformance level (3 is SUSv3) 487 488 // This macro casts away the qualifier from the variable 489 // 490 // Note: use at your own risk, removing qualifiers can result in 491 // catastrophic run-time failures. 492 493 // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be 494 // used from other compilation units, but not other libraries or executables. 495 496 // We intentionally define to nothing pointer attributes which do not have an 497 // impact on the ABI. __indexable and __bidi_indexable are not defined because 498 // of the ABI incompatibility that makes the diagnostic preferable. 499 500 // Similarly, we intentionally define to nothing the 501 // __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable 502 // macros because they do not lead to an ABI incompatibility. However, we do not 503 // define the indexable and unsafe_indexable ones because the diagnostic is 504 // better than the silent ABI break. 505 506 // __unsafe_forge intrinsics are defined as regular C casts. 507 508 // decay operates normally; attribute is meaningless without pointer checks. 509 510 // Architecture validation for current SDK 511 512 // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS 513 // 514 // This provides more advanced type checking on compilers supporting 515 // the proper extensions, even in C. 516 517 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 518 // 519 // @APPLE_LICENSE_HEADER_START@ 520 // 521 // This file contains Original Code and/or Modifications of Original Code 522 // as defined in and that are subject to the Apple Public Source License 523 // Version 2.0 (the 'License'). You may not use this file except in 524 // compliance with the License. Please obtain a copy of the License at 525 // http://www.opensource.apple.com/apsl/ and read it before using this 526 // file. 527 // 528 // The Original Code and all software distributed under the License are 529 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 530 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 531 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 532 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 533 // Please see the License for the specific language governing rights and 534 // limitations under the License. 535 // 536 // @APPLE_LICENSE_HEADER_END@ 537 538 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 539 // 540 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 541 // 542 // This file contains Original Code and/or Modifications of Original Code 543 // as defined in and that are subject to the Apple Public Source License 544 // Version 2.0 (the 'License'). You may not use this file except in 545 // compliance with the License. The rights granted to you under the License 546 // may not be used to create, or enable the creation or redistribution of, 547 // unlawful or unlicensed copies of an Apple operating system, or to 548 // circumvent, violate, or enable the circumvention or violation of, any 549 // terms of an Apple operating system software license agreement. 550 // 551 // Please obtain a copy of the License at 552 // http://www.opensource.apple.com/apsl/ and read it before using this file. 553 // 554 // The Original Code and all software distributed under the License are 555 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 556 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 557 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 558 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 559 // Please see the License for the specific language governing rights and 560 // limitations under the License. 561 // 562 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 563 564 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 565 // 566 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 567 // 568 // This file contains Original Code and/or Modifications of Original Code 569 // as defined in and that are subject to the Apple Public Source License 570 // Version 2.0 (the 'License'). You may not use this file except in 571 // compliance with the License. The rights granted to you under the License 572 // may not be used to create, or enable the creation or redistribution of, 573 // unlawful or unlicensed copies of an Apple operating system, or to 574 // circumvent, violate, or enable the circumvention or violation of, any 575 // terms of an Apple operating system software license agreement. 576 // 577 // Please obtain a copy of the License at 578 // http://www.opensource.apple.com/apsl/ and read it before using this file. 579 // 580 // The Original Code and all software distributed under the License are 581 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 582 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 583 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 584 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 585 // Please see the License for the specific language governing rights and 586 // limitations under the License. 587 // 588 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 589 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 590 // Copyright (c) 1991, 1993 591 // The Regents of the University of California. All rights reserved. 592 // 593 // This code is derived from software contributed to Berkeley by 594 // Berkeley Software Design, Inc. 595 // 596 // Redistribution and use in source and binary forms, with or without 597 // modification, are permitted provided that the following conditions 598 // are met: 599 // 1. Redistributions of source code must retain the above copyright 600 // notice, this list of conditions and the following disclaimer. 601 // 2. Redistributions in binary form must reproduce the above copyright 602 // notice, this list of conditions and the following disclaimer in the 603 // documentation and/or other materials provided with the distribution. 604 // 3. All advertising materials mentioning features or use of this software 605 // must display the following acknowledgement: 606 // This product includes software developed by the University of 607 // California, Berkeley and its contributors. 608 // 4. Neither the name of the University nor the names of its contributors 609 // may be used to endorse or promote products derived from this software 610 // without specific prior written permission. 611 // 612 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 613 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 614 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 615 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 616 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 617 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 618 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 619 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 620 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 621 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 622 // SUCH DAMAGE. 623 // 624 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 625 626 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 627 // 628 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 629 // 630 // This file contains Original Code and/or Modifications of Original Code 631 // as defined in and that are subject to the Apple Public Source License 632 // Version 2.0 (the 'License'). You may not use this file except in 633 // compliance with the License. The rights granted to you under the License 634 // may not be used to create, or enable the creation or redistribution of, 635 // unlawful or unlicensed copies of an Apple operating system, or to 636 // circumvent, violate, or enable the circumvention or violation of, any 637 // terms of an Apple operating system software license agreement. 638 // 639 // Please obtain a copy of the License at 640 // http://www.opensource.apple.com/apsl/ and read it before using this file. 641 // 642 // The Original Code and all software distributed under the License are 643 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 644 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 645 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 646 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 647 // Please see the License for the specific language governing rights and 648 // limitations under the License. 649 // 650 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 651 652 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 653 654 // This header file contains integer types. It's intended to also contain 655 // flotaing point and other arithmetic types, as needed, later. 656 657 type X__int8_t = int8 /* _types.h:15:33 */ 658 type X__uint8_t = uint8 /* _types.h:19:33 */ 659 type X__int16_t = int16 /* _types.h:20:33 */ 660 type X__uint16_t = uint16 /* _types.h:21:33 */ 661 type X__int32_t = int32 /* _types.h:22:33 */ 662 type X__uint32_t = uint32 /* _types.h:23:33 */ 663 type X__int64_t = int64 /* _types.h:24:33 */ 664 type X__uint64_t = uint64 /* _types.h:25:33 */ 665 666 type X__darwin_intptr_t = int64 /* _types.h:27:33 */ 667 type X__darwin_natural_t = uint32 /* _types.h:28:33 */ 668 669 // The rune type below is declared to be an ``int'' instead of the more natural 670 // ``unsigned long'' or ``long''. Two things are happening here. It is not 671 // unsigned so that EOF (-1) can be naturally assigned to it and used. Also, 672 // it looks like 10646 will be a 31 bit standard. This means that if your 673 // ints cannot hold 32 bits, you will be in trouble. The reason an int was 674 // chosen over a long is that the is*() and to*() routines take ints (says 675 // ANSI C), but they use __darwin_ct_rune_t instead of int. By changing it 676 // here, you lose a bit of ANSI conformance, but your programs will still 677 // work. 678 // 679 // NOTE: rune_t is not covered by ANSI nor other standards, and should not 680 // be instantiated outside of lib/libc/locale. Use wchar_t. wchar_t and 681 // rune_t must be the same type. Also wint_t must be no narrower than 682 // wchar_t, and should also be able to hold all members of the largest 683 // character set plus one extra value (WEOF). wint_t must be at least 16 bits. 684 685 type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t 686 687 // mbstate_t is an opaque object to keep conversion state, during multibyte 688 // stream conversions. The content must not be referenced by user programs. 689 type X__mbstate_t = struct { 690 F__ccgo_pad1 [0]uint64 691 F__mbstate8 [128]int8 692 } /* _types.h:57:3 */ 693 694 type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t 695 696 type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2 697 698 type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof() 699 700 type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list 701 702 type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t 703 704 type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t 705 706 type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t 707 708 type X__darwin_clock_t = uint64 /* _types.h:95:33 */ // clock() 709 type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh) 710 type X__darwin_ssize_t = int64 /* _types.h:97:33 */ // byte count or error 711 type X__darwin_time_t = int64 /* _types.h:98:33 */ // time() 712 713 // Type definitions; takes common type definitions that must be used 714 // in multiple header files due to [XSI], removes them from the system 715 // space, and puts them in the implementation space. 716 717 type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks 718 type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size 719 type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t 720 type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs 721 type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs 722 type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs 723 type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t 724 type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes 725 type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes 726 type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach 727 type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach 728 type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes 729 type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes 730 type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs 731 type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set 732 type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds 733 type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs 734 type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds 735 type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */ 736 type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */ 737 738 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 739 // 740 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 741 // 742 // This file contains Original Code and/or Modifications of Original Code 743 // as defined in and that are subject to the Apple Public Source License 744 // Version 2.0 (the 'License'). You may not use this file except in 745 // compliance with the License. The rights granted to you under the License 746 // may not be used to create, or enable the creation or redistribution of, 747 // unlawful or unlicensed copies of an Apple operating system, or to 748 // circumvent, violate, or enable the circumvention or violation of, any 749 // terms of an Apple operating system software license agreement. 750 // 751 // Please obtain a copy of the License at 752 // http://www.opensource.apple.com/apsl/ and read it before using this file. 753 // 754 // The Original Code and all software distributed under the License are 755 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 756 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 757 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 758 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 759 // Please see the License for the specific language governing rights and 760 // limitations under the License. 761 // 762 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 763 764 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 765 // 766 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 767 // 768 // This file contains Original Code and/or Modifications of Original Code 769 // as defined in and that are subject to the Apple Public Source License 770 // Version 2.0 (the 'License'). You may not use this file except in 771 // compliance with the License. The rights granted to you under the License 772 // may not be used to create, or enable the creation or redistribution of, 773 // unlawful or unlicensed copies of an Apple operating system, or to 774 // circumvent, violate, or enable the circumvention or violation of, any 775 // terms of an Apple operating system software license agreement. 776 // 777 // Please obtain a copy of the License at 778 // http://www.opensource.apple.com/apsl/ and read it before using this file. 779 // 780 // The Original Code and all software distributed under the License are 781 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 782 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 783 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 784 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 785 // Please see the License for the specific language governing rights and 786 // limitations under the License. 787 // 788 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 789 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 790 // Copyright (c) 1991, 1993 791 // The Regents of the University of California. All rights reserved. 792 // 793 // This code is derived from software contributed to Berkeley by 794 // Berkeley Software Design, Inc. 795 // 796 // Redistribution and use in source and binary forms, with or without 797 // modification, are permitted provided that the following conditions 798 // are met: 799 // 1. Redistributions of source code must retain the above copyright 800 // notice, this list of conditions and the following disclaimer. 801 // 2. Redistributions in binary form must reproduce the above copyright 802 // notice, this list of conditions and the following disclaimer in the 803 // documentation and/or other materials provided with the distribution. 804 // 3. All advertising materials mentioning features or use of this software 805 // must display the following acknowledgement: 806 // This product includes software developed by the University of 807 // California, Berkeley and its contributors. 808 // 4. Neither the name of the University nor the names of its contributors 809 // may be used to endorse or promote products derived from this software 810 // without specific prior written permission. 811 // 812 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 813 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 814 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 815 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 816 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 817 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 818 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 819 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 820 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 821 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 822 // SUCH DAMAGE. 823 // 824 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 825 826 // pthread opaque structures 827 828 type X__darwin_pthread_handler_rec = struct { 829 F__routine uintptr 830 F__arg uintptr 831 F__next uintptr 832 } /* _pthread_types.h:57:1 */ 833 834 type X_opaque_pthread_attr_t = struct { 835 F__sig int64 836 F__opaque [56]int8 837 } /* _pthread_types.h:63:1 */ 838 839 type X_opaque_pthread_cond_t = struct { 840 F__sig int64 841 F__opaque [40]int8 842 } /* _pthread_types.h:68:1 */ 843 844 type X_opaque_pthread_condattr_t = struct { 845 F__sig int64 846 F__opaque [8]int8 847 } /* _pthread_types.h:73:1 */ 848 849 type X_opaque_pthread_mutex_t = struct { 850 F__sig int64 851 F__opaque [56]int8 852 } /* _pthread_types.h:78:1 */ 853 854 type X_opaque_pthread_mutexattr_t = struct { 855 F__sig int64 856 F__opaque [8]int8 857 } /* _pthread_types.h:83:1 */ 858 859 type X_opaque_pthread_once_t = struct { 860 F__sig int64 861 F__opaque [8]int8 862 } /* _pthread_types.h:88:1 */ 863 864 type X_opaque_pthread_rwlock_t = struct { 865 F__sig int64 866 F__opaque [192]int8 867 } /* _pthread_types.h:93:1 */ 868 869 type X_opaque_pthread_rwlockattr_t = struct { 870 F__sig int64 871 F__opaque [16]int8 872 } /* _pthread_types.h:98:1 */ 873 874 type X_opaque_pthread_t = struct { 875 F__sig int64 876 F__cleanup_stack uintptr 877 F__opaque [8176]int8 878 } /* _pthread_types.h:103:1 */ 879 880 type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */ 881 type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */ 882 type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */ 883 type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */ 884 type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */ 885 type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */ 886 type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */ 887 type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */ 888 type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */ 889 type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */ 890 891 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 892 // 893 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 894 // 895 // This file contains Original Code and/or Modifications of Original Code 896 // as defined in and that are subject to the Apple Public Source License 897 // Version 2.0 (the 'License'). You may not use this file except in 898 // compliance with the License. The rights granted to you under the License 899 // may not be used to create, or enable the creation or redistribution of, 900 // unlawful or unlicensed copies of an Apple operating system, or to 901 // circumvent, violate, or enable the circumvention or violation of, any 902 // terms of an Apple operating system software license agreement. 903 // 904 // Please obtain a copy of the License at 905 // http://www.opensource.apple.com/apsl/ and read it before using this file. 906 // 907 // The Original Code and all software distributed under the License are 908 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 909 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 910 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 911 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 912 // Please see the License for the specific language governing rights and 913 // limitations under the License. 914 // 915 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 916 917 type X__darwin_nl_item = int32 /* _types.h:40:14 */ 918 type X__darwin_wctrans_t = int32 /* _types.h:41:14 */ 919 type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */ 920 921 type Lconv = struct { 922 Fdecimal_point uintptr 923 Fthousands_sep uintptr 924 Fgrouping uintptr 925 Fint_curr_symbol uintptr 926 Fcurrency_symbol uintptr 927 Fmon_decimal_point uintptr 928 Fmon_thousands_sep uintptr 929 Fmon_grouping uintptr 930 Fpositive_sign uintptr 931 Fnegative_sign uintptr 932 Fint_frac_digits int8 933 Ffrac_digits int8 934 Fp_cs_precedes int8 935 Fp_sep_by_space int8 936 Fn_cs_precedes int8 937 Fn_sep_by_space int8 938 Fp_sign_posn int8 939 Fn_sign_posn int8 940 Fint_p_cs_precedes int8 941 Fint_n_cs_precedes int8 942 Fint_p_sep_by_space int8 943 Fint_n_sep_by_space int8 944 Fint_p_sign_posn int8 945 Fint_n_sign_posn int8 946 F__ccgo_pad1 [2]byte 947 } /* _locale.h:43:1 */ 948 949 var _ int8 /* gen.c:2:13: */