11
11
//===----------------------------------------------------------------------===//
12
12
13
13
@_exported import XPC
14
+ import _SwiftXPCOverlayShims
14
15
15
16
//===----------------------------------------------------------------------===//
16
17
// XPC Types
17
18
//===----------------------------------------------------------------------===//
18
19
public var XPC_TYPE_CONNECTION : xpc_type_t {
19
- return _swift_xpc_type_connection ( )
20
+ return _swift_xpc_type_CONNECTION ( )
20
21
}
21
22
22
23
public var XPC_TYPE_ENDPOINT : xpc_type_t {
23
- return _swift_xpc_type_endpoint ( )
24
+ return _swift_xpc_type_ENDPOINT ( )
24
25
}
25
26
26
27
public var XPC_TYPE_NULL : xpc_type_t {
27
- return _swift_xpc_type_null ( )
28
+ return _swift_xpc_type_NULL ( )
28
29
}
29
30
30
31
public var XPC_TYPE_BOOL : xpc_type_t {
31
- return _swift_xpc_type_bool ( )
32
+ return _swift_xpc_type_BOOL ( )
32
33
}
33
34
34
35
public var XPC_TYPE_INT64 : xpc_type_t {
35
- return _swift_xpc_type_int64 ( )
36
+ return _swift_xpc_type_INT64 ( )
36
37
}
37
38
38
39
public var XPC_TYPE_UINT64 : xpc_type_t {
39
- return _swift_xpc_type_uint64 ( )
40
+ return _swift_xpc_type_UINT64 ( )
40
41
}
41
42
42
43
public var XPC_TYPE_DOUBLE : xpc_type_t {
43
- return _swift_xpc_type_double ( )
44
+ return _swift_xpc_type_DOUBLE ( )
44
45
}
45
46
46
47
public var XPC_TYPE_DATE : xpc_type_t {
47
- return _swift_xpc_type_date ( )
48
+ return _swift_xpc_type_DATE ( )
48
49
}
49
50
50
51
public var XPC_TYPE_DATA : xpc_type_t {
51
- return _swift_xpc_type_data ( )
52
+ return _swift_xpc_type_DATA ( )
52
53
}
53
54
54
55
public var XPC_TYPE_STRING : xpc_type_t {
55
- return _swift_xpc_type_string ( )
56
+ return _swift_xpc_type_STRING ( )
56
57
}
57
58
58
59
public var XPC_TYPE_UUID : xpc_type_t {
59
- return _swift_xpc_type_uuid ( )
60
+ return _swift_xpc_type_UUID ( )
60
61
}
61
62
62
63
public var XPC_TYPE_FD : xpc_type_t {
63
- return _swift_xpc_type_fd ( )
64
+ return _swift_xpc_type_FD ( )
64
65
}
65
66
66
67
public var XPC_TYPE_SHMEM : xpc_type_t {
67
- return _swift_xpc_type_shmem ( )
68
+ return _swift_xpc_type_SHMEM ( )
68
69
}
69
70
70
71
public var XPC_TYPE_ARRAY : xpc_type_t {
71
- return _swift_xpc_type_array ( )
72
+ return _swift_xpc_type_ARRAY ( )
72
73
}
73
74
74
75
public var XPC_TYPE_DICTIONARY : xpc_type_t {
75
- return _swift_xpc_type_dictionary ( )
76
+ return _swift_xpc_type_DICTIONARY ( )
76
77
}
77
78
78
79
public var XPC_TYPE_ERROR : xpc_type_t {
79
- return _swift_xpc_type_error ( )
80
+ return _swift_xpc_type_ERROR ( )
80
81
}
81
82
82
83
public var XPC_TYPE_ACTIVITY : xpc_type_t {
83
- return _swift_xpc_type_activity ( )
84
+ return _swift_xpc_type_ACTIVITY ( )
84
85
}
85
86
86
87
//===----------------------------------------------------------------------===//
@@ -103,63 +104,6 @@ public var XPC_ARRAY_APPEND: size_t {
103
104
return - 1
104
105
}
105
106
106
- @_silgen_name ( " _swift_xpc_bool_true " )
107
- internal func _swift_xpc_bool_true( ) -> xpc_object_t
108
-
109
- @_silgen_name ( " _swift_xpc_bool_false " )
110
- internal func _swift_xpc_bool_false( ) -> xpc_object_t
111
-
112
- @_silgen_name ( " _swift_xpc_type_CONNECTION " )
113
- internal func _swift_xpc_type_connection( ) -> xpc_type_t
114
-
115
- @_silgen_name ( " _swift_xpc_type_ENDPOINT " )
116
- internal func _swift_xpc_type_endpoint( ) -> xpc_type_t
117
-
118
- @_silgen_name ( " _swift_xpc_type_NULL " )
119
- internal func _swift_xpc_type_null( ) -> xpc_type_t
120
-
121
- @_silgen_name ( " _swift_xpc_type_BOOL " )
122
- internal func _swift_xpc_type_bool( ) -> xpc_type_t
123
-
124
- @_silgen_name ( " _swift_xpc_type_INT64 " )
125
- internal func _swift_xpc_type_int64( ) -> xpc_type_t
126
-
127
- @_silgen_name ( " _swift_xpc_type_UINT64 " )
128
- internal func _swift_xpc_type_uint64( ) -> xpc_type_t
129
-
130
- @_silgen_name ( " _swift_xpc_type_DOUBLE " )
131
- internal func _swift_xpc_type_double( ) -> xpc_type_t
132
-
133
- @_silgen_name ( " _swift_xpc_type_DATE " )
134
- internal func _swift_xpc_type_date( ) -> xpc_type_t
135
-
136
- @_silgen_name ( " _swift_xpc_type_DATA " )
137
- internal func _swift_xpc_type_data( ) -> xpc_type_t
138
-
139
- @_silgen_name ( " _swift_xpc_type_STRING " )
140
- internal func _swift_xpc_type_string( ) -> xpc_type_t
141
-
142
- @_silgen_name ( " _swift_xpc_type_UUID " )
143
- internal func _swift_xpc_type_uuid( ) -> xpc_type_t
144
-
145
- @_silgen_name ( " _swift_xpc_type_FD " )
146
- internal func _swift_xpc_type_fd( ) -> xpc_type_t
147
-
148
- @_silgen_name ( " _swift_xpc_type_SHMEM " )
149
- internal func _swift_xpc_type_shmem( ) -> xpc_type_t
150
-
151
- @_silgen_name ( " _swift_xpc_type_ARRAY " )
152
- internal func _swift_xpc_type_array( ) -> xpc_type_t
153
-
154
- @_silgen_name ( " _swift_xpc_type_DICTIONARY " )
155
- internal func _swift_xpc_type_dictionary( ) -> xpc_type_t
156
-
157
- @_silgen_name ( " _swift_xpc_type_ERROR " )
158
- internal func _swift_xpc_type_error( ) -> xpc_type_t
159
-
160
- @_silgen_name ( " _swift_xpc_type_ACTIVITY " )
161
- internal func _swift_xpc_type_activity( ) -> xpc_type_t
162
-
163
107
// xpc/connection.h
164
108
165
109
public var XPC_ERROR_CONNECTION_INTERRUPTED : xpc_object_t {
@@ -173,12 +117,3 @@ public var XPC_ERROR_CONNECTION_INVALID: xpc_object_t {
173
117
public var XPC_ERROR_TERMINATION_IMMINENT : xpc_object_t {
174
118
return _swift_xpc_connection_termination_imminent ( )
175
119
}
176
-
177
- @_silgen_name ( " _swift_xpc_connection_interrupted " )
178
- internal func _swift_xpc_connection_interrupted( ) -> xpc_object_t
179
-
180
- @_silgen_name ( " _swift_xpc_connection_invalid " )
181
- internal func _swift_xpc_connection_invalid( ) -> xpc_object_t
182
-
183
- @_silgen_name ( " _swift_xpc_connection_termination_imminent " )
184
- internal func _swift_xpc_connection_termination_imminent( ) -> xpc_object_t
0 commit comments