peachsim 0.1.1673 → 0.1.1674
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/inspect/settling.ts +37 -4
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +32 -9
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +39 -6
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +29 -6
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +34 -8
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +43 -7
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +23 -23
- package/dist-lib/public-origins-lib.json +52 -52
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +38 -5
- package/dist-lib/sdk.mjs +38 -5
- package/dist-lib/skills.cjs +74 -15
- package/dist-lib/swift-compile.cjs +27 -5
- package/dist-lib/swift-compile.mjs +27 -5
- package/dist-lib/swift-package.cjs +23 -4
- package/dist-lib/swift-package.mjs +23 -4
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +29 -6
- package/dist-lib/vite.cjs +6 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/rolldown-bundle-inventory.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +10 -1
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +18 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +23 -4
- package/sdk/ios/usr/include/_ctype.h +388 -0
- package/sdk/ios/usr/include/_inttypes.h +296 -0
- package/sdk/ios/usr/include/_locale.h +83 -0
- package/sdk/ios/usr/include/_locale_posix2008.h +65 -0
- package/sdk/ios/usr/include/_time.h +207 -0
- package/sdk/ios/usr/include/ctype.h +70 -0
- package/sdk/ios/usr/include/dispatch/dispatch.h +69 -6
- package/sdk/ios/usr/include/inttypes.h +35 -0
- package/sdk/ios/usr/include/locale.h +59 -0
- package/sdk/ios/usr/include/runetype.h +118 -0
- package/sdk/ios/usr/include/setjmp.h +99 -0
- package/sdk/ios/usr/include/sys/_types/_clock_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_ct_rune_t.h +33 -0
- package/sdk/ios/usr/include/sys/_types/_rune_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_time_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_wint_t.h +33 -0
- package/sdk/ios/usr/include/sys/cdefs.h +2 -0
- package/sdk/ios/usr/include/time.h +67 -2
- package/src/host/rolldown-bundle-forward.ts +4 -1
- package/src/swift-compile.ts +2 -1
- package/src/swift-objc-compile.ts +7 -3
- package/src/swift-objc-metadata.ts +2 -2
- package/src/swift-objc-standin.ts +5 -0
- package/src/swift-package.ts +26 -3
- package/src/swift-standins.ts +4 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2000, 2005, 2008 Apple Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @APPLE_LICENSE_HEADER_START@
|
|
5
|
+
*
|
|
6
|
+
* This file contains Original Code and/or Modifications of Original Code
|
|
7
|
+
* as defined in and that are subject to the Apple Public Source License
|
|
8
|
+
* Version 2.0 (the 'License'). You may not use this file except in
|
|
9
|
+
* compliance with the License. Please obtain a copy of the License at
|
|
10
|
+
* http://www.opensource.apple.com/apsl/ and read it before using this
|
|
11
|
+
* file.
|
|
12
|
+
*
|
|
13
|
+
* The Original Code and all software distributed under the License are
|
|
14
|
+
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
15
|
+
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
16
|
+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
18
|
+
* Please see the License for the specific language governing rights and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*
|
|
21
|
+
* @APPLE_LICENSE_HEADER_END@
|
|
22
|
+
*/
|
|
23
|
+
/*
|
|
24
|
+
* Copyright (c) 1989, 1993
|
|
25
|
+
* The Regents of the University of California. All rights reserved.
|
|
26
|
+
* (c) UNIX System Laboratories, Inc.
|
|
27
|
+
* All or some portions of this file are derived from material licensed
|
|
28
|
+
* to the University of California by American Telephone and Telegraph
|
|
29
|
+
* Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
|
30
|
+
* the permission of UNIX System Laboratories, Inc.
|
|
31
|
+
*
|
|
32
|
+
* This code is derived from software contributed to Berkeley by
|
|
33
|
+
* Paul Borman at Krystal Technologies.
|
|
34
|
+
*
|
|
35
|
+
* Redistribution and use in source and binary forms, with or without
|
|
36
|
+
* modification, are permitted provided that the following conditions
|
|
37
|
+
* are met:
|
|
38
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
39
|
+
* notice, this list of conditions and the following disclaimer.
|
|
40
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
41
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
42
|
+
* documentation and/or other materials provided with the distribution.
|
|
43
|
+
* 3. All advertising materials mentioning features or use of this software
|
|
44
|
+
* must display the following acknowledgement:
|
|
45
|
+
* This product includes software developed by the University of
|
|
46
|
+
* California, Berkeley and its contributors.
|
|
47
|
+
* 4. Neither the name of the University nor the names of its contributors
|
|
48
|
+
* may be used to endorse or promote products derived from this software
|
|
49
|
+
* without specific prior written permission.
|
|
50
|
+
*
|
|
51
|
+
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
52
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
53
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
54
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
55
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
56
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
57
|
+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
58
|
+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
59
|
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
60
|
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
61
|
+
* SUCH DAMAGE.
|
|
62
|
+
*
|
|
63
|
+
* @(#)ctype.h 8.4 (Berkeley) 1/21/94
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
#include <_ctype.h>
|
|
67
|
+
|
|
68
|
+
#ifdef _USE_EXTENDED_LOCALES_
|
|
69
|
+
#include <xlocale/_ctype.h>
|
|
70
|
+
#endif /* _USE_EXTENDED_LOCALES_ */
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
#include <sys/types.h>
|
|
3
3
|
#include <stddef.h>
|
|
4
4
|
#include <stdint.h>
|
|
5
|
+
#include <time.h>
|
|
5
6
|
#include <stdbool.h>
|
|
6
7
|
#include <stdarg.h>
|
|
7
8
|
#include <string.h>
|
|
@@ -9,7 +10,10 @@
|
|
|
9
10
|
#include <fcntl.h>
|
|
10
11
|
#include <os/object.h>
|
|
11
12
|
#if OS_OBJECT_USE_OBJC
|
|
12
|
-
@protocol
|
|
13
|
+
@protocol OS_dispatch_object <NSObject>
|
|
14
|
+
@end
|
|
15
|
+
typedef NSObject<OS_dispatch_object> *dispatch_object_t;
|
|
16
|
+
@protocol OS_dispatch_queue <OS_dispatch_object>
|
|
13
17
|
@end
|
|
14
18
|
typedef NSObject<OS_dispatch_queue> *dispatch_queue_t;
|
|
15
19
|
@protocol OS_dispatch_queue_global <OS_dispatch_queue>
|
|
@@ -21,12 +25,18 @@ typedef NSObject<OS_dispatch_queue_serial> *dispatch_queue_serial_t;
|
|
|
21
25
|
@protocol OS_dispatch_queue_main <OS_dispatch_queue_serial>
|
|
22
26
|
@end
|
|
23
27
|
typedef NSObject<OS_dispatch_queue_main> *dispatch_queue_main_t;
|
|
24
|
-
@protocol OS_dispatch_source <
|
|
28
|
+
@protocol OS_dispatch_source <OS_dispatch_object>
|
|
25
29
|
@end
|
|
26
30
|
typedef NSObject<OS_dispatch_source> *dispatch_source_t;
|
|
27
|
-
@protocol OS_dispatch_queue_attr <
|
|
31
|
+
@protocol OS_dispatch_queue_attr <OS_dispatch_object>
|
|
28
32
|
@end
|
|
29
33
|
typedef NSObject<OS_dispatch_queue_attr> *dispatch_queue_attr_t;
|
|
34
|
+
@protocol OS_dispatch_group <OS_dispatch_object>
|
|
35
|
+
@end
|
|
36
|
+
typedef NSObject<OS_dispatch_group> *dispatch_group_t;
|
|
37
|
+
@protocol OS_dispatch_semaphore <OS_dispatch_object>
|
|
38
|
+
@end
|
|
39
|
+
typedef NSObject<OS_dispatch_semaphore> *dispatch_semaphore_t;
|
|
30
40
|
#elif defined(__cplusplus)
|
|
31
41
|
typedef struct dispatch_object_s {
|
|
32
42
|
private:
|
|
@@ -41,6 +51,8 @@ typedef struct dispatch_queue_serial_s : public dispatch_queue_s {} *dispatch_qu
|
|
|
41
51
|
typedef struct dispatch_queue_main_s : public dispatch_queue_serial_s {} *dispatch_queue_main_t;
|
|
42
52
|
typedef struct dispatch_source_s : public dispatch_object_s {} *dispatch_source_t;
|
|
43
53
|
typedef struct dispatch_queue_attr_s : public dispatch_object_s {} *dispatch_queue_attr_t;
|
|
54
|
+
typedef struct dispatch_group_s : public dispatch_object_s {} *dispatch_group_t;
|
|
55
|
+
typedef struct dispatch_semaphore_s : public dispatch_object_s {} *dispatch_semaphore_t;
|
|
44
56
|
#else
|
|
45
57
|
typedef struct dispatch_queue_s *dispatch_queue_t;
|
|
46
58
|
typedef dispatch_queue_t dispatch_queue_global_t;
|
|
@@ -48,6 +60,22 @@ typedef dispatch_queue_t dispatch_queue_serial_t;
|
|
|
48
60
|
typedef dispatch_queue_t dispatch_queue_main_t;
|
|
49
61
|
typedef struct dispatch_source_s *dispatch_source_t;
|
|
50
62
|
typedef struct dispatch_queue_attr_s *dispatch_queue_attr_t;
|
|
63
|
+
typedef struct dispatch_group_s *dispatch_group_t;
|
|
64
|
+
typedef struct dispatch_semaphore_s *dispatch_semaphore_t;
|
|
65
|
+
typedef union {
|
|
66
|
+
struct _os_object_s *_os_obj;
|
|
67
|
+
struct dispatch_object_s *_do;
|
|
68
|
+
struct dispatch_queue_s *_dq;
|
|
69
|
+
struct dispatch_queue_attr_s *_dqa;
|
|
70
|
+
struct dispatch_group_s *_dg;
|
|
71
|
+
struct dispatch_source_s *_ds;
|
|
72
|
+
struct dispatch_channel_s *_dch;
|
|
73
|
+
struct dispatch_mach_s *_dm;
|
|
74
|
+
struct dispatch_mach_msg_s *_dmsg;
|
|
75
|
+
struct dispatch_semaphore_s *_dsema;
|
|
76
|
+
struct dispatch_data_s *_ddata;
|
|
77
|
+
struct dispatch_io_s *_dchannel;
|
|
78
|
+
} dispatch_object_t __attribute__((__transparent_union__));
|
|
51
79
|
#endif
|
|
52
80
|
#define DISPATCH_QUEUE_PRIORITY_HIGH 2
|
|
53
81
|
#define DISPATCH_QUEUE_PRIORITY_DEFAULT 0
|
|
@@ -62,14 +90,29 @@ typedef uint64_t dispatch_time_t;
|
|
|
62
90
|
#define DISPATCH_TIME_NOW (0ull)
|
|
63
91
|
#define DISPATCH_TIME_FOREVER (~0ull)
|
|
64
92
|
#define DISPATCH_QUEUE_SERIAL NULL
|
|
93
|
+
#ifdef __cplusplus
|
|
94
|
+
extern "C" {
|
|
95
|
+
#endif
|
|
96
|
+
extern const struct dispatch_queue_attr_s _dispatch_queue_attr_concurrent;
|
|
97
|
+
#define DISPATCH_QUEUE_CONCURRENT DISPATCH_GLOBAL_OBJECT(dispatch_queue_attr_t, _dispatch_queue_attr_concurrent)
|
|
98
|
+
#define DISPATCH_CURRENT_QUEUE_LABEL NULL
|
|
99
|
+
enum { DISPATCH_WALLTIME_NOW __attribute__((availability(ios,introduced=12.0))) = ~1ull };
|
|
100
|
+
typedef const struct dispatch_source_type_s *dispatch_source_type_t;
|
|
101
|
+
extern const struct dispatch_source_type_s _dispatch_source_type_timer;
|
|
102
|
+
extern const struct dispatch_source_type_s _dispatch_source_type_memorypressure;
|
|
103
|
+
#define DISPATCH_SOURCE_TYPE_TIMER (&_dispatch_source_type_timer)
|
|
104
|
+
#define DISPATCH_SOURCE_TYPE_MEMORYPRESSURE (&_dispatch_source_type_memorypressure)
|
|
105
|
+
#define DISPATCH_TIMER_STRICT 0x1
|
|
106
|
+
typedef unsigned long dispatch_source_timer_flags_t;
|
|
107
|
+
#define DISPATCH_MEMORYPRESSURE_NORMAL 0x01
|
|
108
|
+
#define DISPATCH_MEMORYPRESSURE_WARN 0x02
|
|
109
|
+
#define DISPATCH_MEMORYPRESSURE_CRITICAL 0x04
|
|
110
|
+
typedef unsigned long dispatch_source_memorypressure_flags_t;
|
|
65
111
|
typedef void (*dispatch_function_t)(void *_Nullable);
|
|
66
112
|
#ifdef __BLOCKS__
|
|
67
113
|
typedef void (^dispatch_block_t)(void);
|
|
68
114
|
#endif
|
|
69
115
|
typedef intptr_t dispatch_once_t __attribute__((availability(swift, unavailable, message="Use lazily initialized globals instead")));
|
|
70
|
-
#ifdef __cplusplus
|
|
71
|
-
extern "C" {
|
|
72
|
-
#endif
|
|
73
116
|
dispatch_queue_global_t _Nonnull dispatch_get_global_queue(intptr_t identifier, uintptr_t flags) __attribute__((const, warn_unused_result, nothrow, swift_private, availability(ios, introduced=4.0)));
|
|
74
117
|
#ifdef __BLOCKS__
|
|
75
118
|
void dispatch_async(dispatch_queue_t _Nonnull queue, dispatch_block_t _Nonnull block) __attribute__((nonnull, nothrow, swift_private, availability(ios, introduced=4.0)));
|
|
@@ -83,6 +126,23 @@ extern __attribute__((visibility("default"), availability(ios,introduced=4.0)))
|
|
|
83
126
|
#endif
|
|
84
127
|
static inline __attribute__((always_inline, const, nothrow, availability(swift, unavailable, message="Use getter:DispatchQueue.main()"))) dispatch_queue_main_t _Nonnull dispatch_get_main_queue(void) { return DISPATCH_GLOBAL_OBJECT(dispatch_queue_main_t, _dispatch_main_q); }
|
|
85
128
|
dispatch_time_t dispatch_time(dispatch_time_t when, int64_t delta) __attribute__((warn_unused_result, nothrow, swift_private, availability(ios,introduced=4.0)));
|
|
129
|
+
dispatch_time_t dispatch_walltime(const struct timespec * _Nullable when, int64_t delta) __attribute__((warn_unused_result, nothrow));
|
|
130
|
+
void dispatch_retain(dispatch_object_t object) __attribute__((nonnull(1), nothrow));
|
|
131
|
+
void dispatch_release(dispatch_object_t object) __attribute__((nonnull(1), nothrow));
|
|
132
|
+
void dispatch_activate(dispatch_object_t object) __attribute__((nonnull(1), nothrow));
|
|
133
|
+
void dispatch_resume(dispatch_object_t object) __attribute__((nonnull(1), nothrow));
|
|
134
|
+
void dispatch_suspend(dispatch_object_t object) __attribute__((nonnull(1), nothrow));
|
|
135
|
+
dispatch_source_t _Nullable dispatch_source_create(dispatch_source_type_t _Nonnull type, uintptr_t handle, unsigned long mask, dispatch_queue_t _Nullable queue) __attribute__((ns_returns_retained, warn_unused_result, nothrow));
|
|
136
|
+
void dispatch_source_cancel(dispatch_source_t _Nonnull source) __attribute__((nothrow));
|
|
137
|
+
uintptr_t dispatch_source_get_data(dispatch_source_t _Nonnull source) __attribute__((warn_unused_result, nothrow));
|
|
138
|
+
void dispatch_source_set_timer(dispatch_source_t _Nonnull source, dispatch_time_t start, uint64_t interval, uint64_t leeway) __attribute__((nothrow));
|
|
139
|
+
dispatch_group_t _Nonnull dispatch_group_create(void) __attribute__((ns_returns_retained, warn_unused_result, nothrow));
|
|
140
|
+
void dispatch_group_enter(dispatch_group_t _Nonnull group) __attribute__((nothrow));
|
|
141
|
+
void dispatch_group_leave(dispatch_group_t _Nonnull group) __attribute__((nothrow));
|
|
142
|
+
intptr_t dispatch_group_wait(dispatch_group_t _Nonnull group, dispatch_time_t timeout) __attribute__((nothrow));
|
|
143
|
+
dispatch_semaphore_t _Nullable dispatch_semaphore_create(intptr_t value) __attribute__((ns_returns_retained, warn_unused_result, nothrow));
|
|
144
|
+
intptr_t dispatch_semaphore_wait(dispatch_semaphore_t _Nonnull semaphore, dispatch_time_t timeout) __attribute__((nothrow));
|
|
145
|
+
intptr_t dispatch_semaphore_signal(dispatch_semaphore_t _Nonnull semaphore) __attribute__((nothrow));
|
|
86
146
|
dispatch_queue_t _Nonnull dispatch_queue_create(const char * _Nullable label, dispatch_queue_attr_t _Nullable attr) __attribute__((malloc, ns_returns_retained, warn_unused_result, nothrow, swift_private, availability(ios,introduced=4.0)));
|
|
87
147
|
#ifndef DISPATCH_ALIAS_V2
|
|
88
148
|
#if TARGET_OS_MAC
|
|
@@ -97,6 +157,9 @@ void dispatch_queue_set_specific(dispatch_queue_t _Nonnull queue, const void * _
|
|
|
97
157
|
#ifdef __BLOCKS__
|
|
98
158
|
void dispatch_after(dispatch_time_t when, dispatch_queue_t _Nonnull queue, dispatch_block_t _Nonnull block) __attribute__((nonnull(2, 3), nothrow, swift_private, availability(ios,introduced=4.0)));
|
|
99
159
|
void dispatch_sync(dispatch_queue_t _Nonnull queue, __attribute__((noescape)) dispatch_block_t _Nonnull block) __attribute__((nonnull, nothrow, availability(ios,introduced=4.0)));
|
|
160
|
+
void dispatch_source_set_event_handler(dispatch_source_t _Nonnull source, dispatch_block_t _Nullable handler) __attribute__((nothrow));
|
|
161
|
+
void dispatch_group_async(dispatch_group_t _Nonnull group, dispatch_queue_t _Nonnull queue, dispatch_block_t _Nonnull block) __attribute__((nothrow));
|
|
162
|
+
void dispatch_group_notify(dispatch_group_t _Nonnull group, dispatch_queue_t _Nonnull queue, dispatch_block_t _Nonnull block) __attribute__((nothrow));
|
|
100
163
|
#endif
|
|
101
164
|
typedef enum : unsigned long {
|
|
102
165
|
DISPATCH_AUTORELEASE_FREQUENCY_INHERIT __attribute__((availability(macos,introduced=10.12), availability(ios,introduced=10.0), availability(tvos,introduced=10.0), availability(watchos,introduced=3.0))) = 0,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2000-2004, 2013, 2023 Apple Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @APPLE_LICENSE_HEADER_START@
|
|
5
|
+
*
|
|
6
|
+
* This file contains Original Code and/or Modifications of Original Code
|
|
7
|
+
* as defined in and that are subject to the Apple Public Source License
|
|
8
|
+
* Version 2.0 (the 'License'). You may not use this file except in
|
|
9
|
+
* compliance with the License. Please obtain a copy of the License at
|
|
10
|
+
* http://www.opensource.apple.com/apsl/ and read it before using this
|
|
11
|
+
* file.
|
|
12
|
+
*
|
|
13
|
+
* The Original Code and all software distributed under the License are
|
|
14
|
+
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
15
|
+
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
16
|
+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
18
|
+
* Please see the License for the specific language governing rights and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*
|
|
21
|
+
* @APPLE_LICENSE_HEADER_END@
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* <inttypes.h> -- Standard C header, defined in ISO/IEC 9899:1999
|
|
26
|
+
* (aka "C99"), section 7.8. This defines format string conversion
|
|
27
|
+
* specifiers suitable for use within arguments to fprintf and fscanf
|
|
28
|
+
* and their ilk.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
#include <_inttypes.h>
|
|
32
|
+
|
|
33
|
+
#ifdef _USE_EXTENDED_LOCALES_
|
|
34
|
+
#include <xlocale/_inttypes.h>
|
|
35
|
+
#endif /* _USE_EXTENDED_LOCALES_ */
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 1991, 1993
|
|
3
|
+
* The Regents of the University of California. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Redistribution and use in source and binary forms, with or without
|
|
6
|
+
* modification, are permitted provided that the following conditions
|
|
7
|
+
* are met:
|
|
8
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
9
|
+
* notice, this list of conditions and the following disclaimer.
|
|
10
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
11
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
12
|
+
* documentation and/or other materials provided with the distribution.
|
|
13
|
+
* 3. All advertising materials mentioning features or use of this software
|
|
14
|
+
* must display the following acknowledgement:
|
|
15
|
+
* This product includes software developed by the University of
|
|
16
|
+
* California, Berkeley and its contributors.
|
|
17
|
+
* 4. Neither the name of the University nor the names of its contributors
|
|
18
|
+
* may be used to endorse or promote products derived from this software
|
|
19
|
+
* without specific prior written permission.
|
|
20
|
+
*
|
|
21
|
+
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
22
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
23
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
24
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
25
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
26
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
27
|
+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
28
|
+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
29
|
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
30
|
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
31
|
+
* SUCH DAMAGE.
|
|
32
|
+
*
|
|
33
|
+
* @(#)locale.h 8.1 (Berkeley) 6/2/93
|
|
34
|
+
* $FreeBSD: /repoman/r/ncvs/src/include/locale.h,v 1.7 2002/10/09 09:19:27 tjr Exp $
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
#ifndef _LOCALE_H_
|
|
38
|
+
#define _LOCALE_H_
|
|
39
|
+
|
|
40
|
+
#include <_bounds.h>
|
|
41
|
+
#include <_locale.h>
|
|
42
|
+
|
|
43
|
+
_LIBC_SINGLE_BY_DEFAULT()
|
|
44
|
+
|
|
45
|
+
#define LC_ALL 0
|
|
46
|
+
#define LC_COLLATE 1
|
|
47
|
+
#define LC_CTYPE 2
|
|
48
|
+
#define LC_MONETARY 3
|
|
49
|
+
#define LC_NUMERIC 4
|
|
50
|
+
#define LC_TIME 5
|
|
51
|
+
#define LC_MESSAGES 6
|
|
52
|
+
|
|
53
|
+
#define _LC_LAST 7 /* marks end */
|
|
54
|
+
|
|
55
|
+
__BEGIN_DECLS
|
|
56
|
+
char *_LIBC_CSTR setlocale(int, const char *);
|
|
57
|
+
__END_DECLS
|
|
58
|
+
|
|
59
|
+
#endif /* _LOCALE_H_ */
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/*-
|
|
2
|
+
* Copyright (c) 1993
|
|
3
|
+
* The Regents of the University of California. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* This code is derived from software contributed to Berkeley by
|
|
6
|
+
* Paul Borman at Krystal Technologies.
|
|
7
|
+
*
|
|
8
|
+
* Redistribution and use in source and binary forms, with or without
|
|
9
|
+
* modification, are permitted provided that the following conditions
|
|
10
|
+
* are met:
|
|
11
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
12
|
+
* notice, this list of conditions and the following disclaimer.
|
|
13
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
14
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
15
|
+
* documentation and/or other materials provided with the distribution.
|
|
16
|
+
* 3. All advertising materials mentioning features or use of this software
|
|
17
|
+
* must display the following acknowledgement:
|
|
18
|
+
* This product includes software developed by the University of
|
|
19
|
+
* California, Berkeley and its contributors.
|
|
20
|
+
* 4. Neither the name of the University nor the names of its contributors
|
|
21
|
+
* may be used to endorse or promote products derived from this software
|
|
22
|
+
* without specific prior written permission.
|
|
23
|
+
*
|
|
24
|
+
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
25
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
26
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
27
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
28
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
29
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
30
|
+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
31
|
+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
32
|
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
33
|
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
34
|
+
* SUCH DAMAGE.
|
|
35
|
+
*
|
|
36
|
+
* @(#)runetype.h 8.1 (Berkeley) 6/2/93
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
#ifndef _RUNETYPE_H_
|
|
40
|
+
#define _RUNETYPE_H_
|
|
41
|
+
|
|
42
|
+
#include <_bounds.h>
|
|
43
|
+
#include <_types.h>
|
|
44
|
+
|
|
45
|
+
_LIBC_SINGLE_BY_DEFAULT()
|
|
46
|
+
|
|
47
|
+
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
|
|
48
|
+
|
|
49
|
+
#include <sys/_types/_size_t.h>
|
|
50
|
+
#include <sys/_types/_ct_rune_t.h>
|
|
51
|
+
#include <sys/_types/_rune_t.h>
|
|
52
|
+
#include <sys/_types/_wchar_t.h>
|
|
53
|
+
#include <sys/_types/_wint_t.h>
|
|
54
|
+
|
|
55
|
+
#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
|
|
56
|
+
|
|
57
|
+
#define _CACHED_RUNES (1 <<8 ) /* Must be a power of 2 */
|
|
58
|
+
#define _CRMASK (~(_CACHED_RUNES - 1))
|
|
59
|
+
|
|
60
|
+
/*
|
|
61
|
+
* The lower 8 bits of runetype[] contain the digit value of the rune.
|
|
62
|
+
*/
|
|
63
|
+
typedef struct {
|
|
64
|
+
__darwin_rune_t __min; /* First rune of the range */
|
|
65
|
+
__darwin_rune_t __max; /* Last rune (inclusive) of the range */
|
|
66
|
+
__darwin_rune_t __map; /* What first maps to in maps */
|
|
67
|
+
__uint32_t *_LIBC_UNSAFE_INDEXABLE __types; /* Array of types in range */
|
|
68
|
+
} _RuneEntry;
|
|
69
|
+
|
|
70
|
+
typedef struct {
|
|
71
|
+
int __nranges; /* Number of ranges stored */
|
|
72
|
+
_RuneEntry *_LIBC_COUNT(__nranges) __ranges; /* Pointer to the ranges */
|
|
73
|
+
} _RuneRange;
|
|
74
|
+
|
|
75
|
+
typedef struct {
|
|
76
|
+
char __name[14]; /* CHARCLASS_NAME_MAX = 14 */
|
|
77
|
+
__uint32_t __mask; /* charclass mask */
|
|
78
|
+
} _RuneCharClass;
|
|
79
|
+
|
|
80
|
+
typedef struct {
|
|
81
|
+
char __magic[8]; /* Magic saying what version we are */
|
|
82
|
+
char __encoding[32]; /* ASCII name of this encoding */
|
|
83
|
+
|
|
84
|
+
__darwin_rune_t (*__sgetrune)(const char *_LIBC_COUNT(__n) __string, __darwin_size_t __n, char const *_LIBC_UNSAFE_INDEXABLE /* NULL or within bounds of __string */ *);
|
|
85
|
+
int (*__sputrune)(__darwin_rune_t, char *_LIBC_COUNT(__n) __string, __darwin_size_t __n, char *_LIBC_UNSAFE_INDEXABLE /* NULL or within bounds of __string */ *);
|
|
86
|
+
__darwin_rune_t __invalid_rune; /* Deprecated */
|
|
87
|
+
|
|
88
|
+
__uint32_t __runetype[_CACHED_RUNES];
|
|
89
|
+
__darwin_rune_t __maplower[_CACHED_RUNES];
|
|
90
|
+
__darwin_rune_t __mapupper[_CACHED_RUNES];
|
|
91
|
+
|
|
92
|
+
/*
|
|
93
|
+
* The following are to deal with Runes larger than _CACHED_RUNES - 1.
|
|
94
|
+
* Their data is actually contiguous with this structure so as to make
|
|
95
|
+
* it easier to read/write from/to disk.
|
|
96
|
+
*/
|
|
97
|
+
_RuneRange __runetype_ext;
|
|
98
|
+
_RuneRange __maplower_ext;
|
|
99
|
+
_RuneRange __mapupper_ext;
|
|
100
|
+
|
|
101
|
+
void *_LIBC_SIZE(__variable_len) __variable; /* Data which depends on the encoding */
|
|
102
|
+
int __variable_len; /* how long that data is */
|
|
103
|
+
|
|
104
|
+
/*
|
|
105
|
+
* extra fields to deal with arbitrary character classes
|
|
106
|
+
*/
|
|
107
|
+
int __ncharclasses;
|
|
108
|
+
_RuneCharClass *_LIBC_COUNT(__ncharclasses) __charclasses;
|
|
109
|
+
} _RuneLocale;
|
|
110
|
+
|
|
111
|
+
#define _RUNE_MAGIC_A "RuneMagA" /* Indicates version A of RuneLocale */
|
|
112
|
+
|
|
113
|
+
__BEGIN_DECLS
|
|
114
|
+
extern _RuneLocale _DefaultRuneLocale;
|
|
115
|
+
extern _RuneLocale *_CurrentRuneLocale;
|
|
116
|
+
__END_DECLS
|
|
117
|
+
|
|
118
|
+
#endif /* !_RUNETYPE_H_ */
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @APPLE_LICENSE_HEADER_START@
|
|
5
|
+
*
|
|
6
|
+
* This file contains Original Code and/or Modifications of Original Code
|
|
7
|
+
* as defined in and that are subject to the Apple Public Source License
|
|
8
|
+
* Version 2.0 (the 'License'). You may not use this file except in
|
|
9
|
+
* compliance with the License. Please obtain a copy of the License at
|
|
10
|
+
* http://www.opensource.apple.com/apsl/ and read it before using this
|
|
11
|
+
* file.
|
|
12
|
+
*
|
|
13
|
+
* The Original Code and all software distributed under the License are
|
|
14
|
+
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
15
|
+
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
16
|
+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
18
|
+
* Please see the License for the specific language governing rights and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*
|
|
21
|
+
* @APPLE_LICENSE_HEADER_END@
|
|
22
|
+
*/
|
|
23
|
+
#ifndef _BSD_SETJMP_H
|
|
24
|
+
#define _BSD_SETJMP_H
|
|
25
|
+
|
|
26
|
+
#include <sys/cdefs.h>
|
|
27
|
+
#include <Availability.h>
|
|
28
|
+
|
|
29
|
+
#if defined(__x86_64__)
|
|
30
|
+
/*
|
|
31
|
+
* _JBLEN is number of ints required to save the following:
|
|
32
|
+
* rflags, rip, rbp, rsp, rbx, r12, r13, r14, r15... these are 8 bytes each
|
|
33
|
+
* mxcsr, fp control word, sigmask... these are 4 bytes each
|
|
34
|
+
* add 16 ints for future expansion needs...
|
|
35
|
+
*/
|
|
36
|
+
#define _JBLEN ((9 * 2) + 3 + 16)
|
|
37
|
+
typedef int jmp_buf[_JBLEN];
|
|
38
|
+
typedef int sigjmp_buf[_JBLEN + 1];
|
|
39
|
+
|
|
40
|
+
#elif defined(__i386__)
|
|
41
|
+
|
|
42
|
+
/*
|
|
43
|
+
* _JBLEN is number of ints required to save the following:
|
|
44
|
+
* eax, ebx, ecx, edx, edi, esi, ebp, esp, ss, eflags, eip,
|
|
45
|
+
* cs, de, es, fs, gs == 16 ints
|
|
46
|
+
* onstack, mask = 2 ints
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
#define _JBLEN (18)
|
|
50
|
+
typedef int jmp_buf[_JBLEN];
|
|
51
|
+
typedef int sigjmp_buf[_JBLEN + 1];
|
|
52
|
+
|
|
53
|
+
#elif defined(__arm__) && !defined(__ARM_ARCH_7K__)
|
|
54
|
+
/*
|
|
55
|
+
* _JBLEN is number of ints required to save the following:
|
|
56
|
+
* r4-r8, r10, fp, sp, lr, sig == 10 register_t sized
|
|
57
|
+
* s16-s31 == 16 register_t sized + 1 int for FSTMX
|
|
58
|
+
* 1 extra int for future use
|
|
59
|
+
*/
|
|
60
|
+
#define _JBLEN (10 + 16 + 2)
|
|
61
|
+
#define _JBLEN_MAX _JBLEN
|
|
62
|
+
|
|
63
|
+
typedef int jmp_buf[_JBLEN];
|
|
64
|
+
typedef int sigjmp_buf[_JBLEN + 1];
|
|
65
|
+
|
|
66
|
+
#elif defined(__arm64__) || defined(__ARM_ARCH_7K__)
|
|
67
|
+
/*
|
|
68
|
+
* _JBLEN is the number of ints required to save the following:
|
|
69
|
+
* r21-r29, sp, fp, lr == 12 registers, 8 bytes each. d8-d15
|
|
70
|
+
* are another 8 registers, each 8 bytes long. (aapcs64 specifies
|
|
71
|
+
* that only 64-bit versions of FP registers need to be saved).
|
|
72
|
+
* Finally, two 8-byte fields for signal handling purposes.
|
|
73
|
+
*/
|
|
74
|
+
#define _JBLEN ((14 + 8 + 2) * 2)
|
|
75
|
+
|
|
76
|
+
typedef int jmp_buf[_JBLEN];
|
|
77
|
+
typedef int sigjmp_buf[_JBLEN + 1];
|
|
78
|
+
|
|
79
|
+
#else
|
|
80
|
+
# error Undefined platform for setjmp
|
|
81
|
+
#endif
|
|
82
|
+
|
|
83
|
+
__BEGIN_DECLS
|
|
84
|
+
extern int setjmp(jmp_buf);
|
|
85
|
+
extern void longjmp(jmp_buf, int) __dead2;
|
|
86
|
+
|
|
87
|
+
#ifndef _ANSI_SOURCE
|
|
88
|
+
int _setjmp(jmp_buf);
|
|
89
|
+
void _longjmp(jmp_buf, int) __dead2;
|
|
90
|
+
int sigsetjmp(sigjmp_buf, int);
|
|
91
|
+
void siglongjmp(sigjmp_buf, int) __dead2;
|
|
92
|
+
#endif /* _ANSI_SOURCE */
|
|
93
|
+
|
|
94
|
+
#if !defined(_ANSI_SOURCE) && (!defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE))
|
|
95
|
+
void longjmperror(void);
|
|
96
|
+
#endif /* neither ANSI nor POSIX */
|
|
97
|
+
__END_DECLS
|
|
98
|
+
|
|
99
|
+
#endif /* _BSD_SETJMP_H */
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
5
|
+
*
|
|
6
|
+
* This file contains Original Code and/or Modifications of Original Code
|
|
7
|
+
* as defined in and that are subject to the Apple Public Source License
|
|
8
|
+
* Version 2.0 (the 'License'). You may not use this file except in
|
|
9
|
+
* compliance with the License. The rights granted to you under the License
|
|
10
|
+
* may not be used to create, or enable the creation or redistribution of,
|
|
11
|
+
* unlawful or unlicensed copies of an Apple operating system, or to
|
|
12
|
+
* circumvent, violate, or enable the circumvention or violation of, any
|
|
13
|
+
* terms of an Apple operating system software license agreement.
|
|
14
|
+
*
|
|
15
|
+
* Please obtain a copy of the License at
|
|
16
|
+
* http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
17
|
+
*
|
|
18
|
+
* The Original Code and all software distributed under the License are
|
|
19
|
+
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
20
|
+
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
21
|
+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
23
|
+
* Please see the License for the specific language governing rights and
|
|
24
|
+
* limitations under the License.
|
|
25
|
+
*
|
|
26
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
27
|
+
*/
|
|
28
|
+
#ifndef _CLOCK_T
|
|
29
|
+
#define _CLOCK_T
|
|
30
|
+
#include <machine/types.h> /* __darwin_clock_t */
|
|
31
|
+
typedef __darwin_clock_t clock_t;
|
|
32
|
+
#endif /* _CLOCK_T */
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
5
|
+
*
|
|
6
|
+
* This file contains Original Code and/or Modifications of Original Code
|
|
7
|
+
* as defined in and that are subject to the Apple Public Source License
|
|
8
|
+
* Version 2.0 (the 'License'). You may not use this file except in
|
|
9
|
+
* compliance with the License. The rights granted to you under the License
|
|
10
|
+
* may not be used to create, or enable the creation or redistribution of,
|
|
11
|
+
* unlawful or unlicensed copies of an Apple operating system, or to
|
|
12
|
+
* circumvent, violate, or enable the circumvention or violation of, any
|
|
13
|
+
* terms of an Apple operating system software license agreement.
|
|
14
|
+
*
|
|
15
|
+
* Please obtain a copy of the License at
|
|
16
|
+
* http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
17
|
+
*
|
|
18
|
+
* The Original Code and all software distributed under the License are
|
|
19
|
+
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
20
|
+
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
21
|
+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
23
|
+
* Please see the License for the specific language governing rights and
|
|
24
|
+
* limitations under the License.
|
|
25
|
+
*
|
|
26
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
#ifndef _CT_RUNE_T
|
|
30
|
+
#define _CT_RUNE_T
|
|
31
|
+
#include <machine/_types.h> /* __darwin_ct_rune_t */
|
|
32
|
+
typedef __darwin_ct_rune_t ct_rune_t;
|
|
33
|
+
#endif /* _CT_RUNE_T */
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2012 Apple Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
5
|
+
*
|
|
6
|
+
* This file contains Original Code and/or Modifications of Original Code
|
|
7
|
+
* as defined in and that are subject to the Apple Public Source License
|
|
8
|
+
* Version 2.0 (the 'License'). You may not use this file except in
|
|
9
|
+
* compliance with the License. The rights granted to you under the License
|
|
10
|
+
* may not be used to create, or enable the creation or redistribution of,
|
|
11
|
+
* unlawful or unlicensed copies of an Apple operating system, or to
|
|
12
|
+
* circumvent, violate, or enable the circumvention or violation of, any
|
|
13
|
+
* terms of an Apple operating system software license agreement.
|
|
14
|
+
*
|
|
15
|
+
* Please obtain a copy of the License at
|
|
16
|
+
* http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
17
|
+
*
|
|
18
|
+
* The Original Code and all software distributed under the License are
|
|
19
|
+
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
20
|
+
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
21
|
+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
23
|
+
* Please see the License for the specific language governing rights and
|
|
24
|
+
* limitations under the License.
|
|
25
|
+
*
|
|
26
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
27
|
+
*/
|
|
28
|
+
#ifndef _RUNE_T
|
|
29
|
+
#define _RUNE_T
|
|
30
|
+
#include <machine/_types.h> /* __darwin_rune_t */
|
|
31
|
+
typedef __darwin_rune_t rune_t;
|
|
32
|
+
#endif /* _RUNE_T */
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2012 Apple Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
|
5
|
+
*
|
|
6
|
+
* This file contains Original Code and/or Modifications of Original Code
|
|
7
|
+
* as defined in and that are subject to the Apple Public Source License
|
|
8
|
+
* Version 2.0 (the 'License'). You may not use this file except in
|
|
9
|
+
* compliance with the License. The rights granted to you under the License
|
|
10
|
+
* may not be used to create, or enable the creation or redistribution of,
|
|
11
|
+
* unlawful or unlicensed copies of an Apple operating system, or to
|
|
12
|
+
* circumvent, violate, or enable the circumvention or violation of, any
|
|
13
|
+
* terms of an Apple operating system software license agreement.
|
|
14
|
+
*
|
|
15
|
+
* Please obtain a copy of the License at
|
|
16
|
+
* http://www.opensource.apple.com/apsl/ and read it before using this file.
|
|
17
|
+
*
|
|
18
|
+
* The Original Code and all software distributed under the License are
|
|
19
|
+
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
|
|
20
|
+
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
|
|
21
|
+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
|
|
23
|
+
* Please see the License for the specific language governing rights and
|
|
24
|
+
* limitations under the License.
|
|
25
|
+
*
|
|
26
|
+
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
|
|
27
|
+
*/
|
|
28
|
+
#ifndef _TIME_T
|
|
29
|
+
#define _TIME_T
|
|
30
|
+
#include <machine/types.h> /* __darwin_time_t */
|
|
31
|
+
typedef __darwin_time_t time_t;
|
|
32
|
+
#endif /* _TIME_T */
|