|
12 | 12 |
|
13 | 13 | /// STANDARD_TYPE(KIND, MANGLING, TYPENAME) |
14 | 14 | /// The 1-character MANGLING for a known TYPENAME of KIND. |
15 | | - |
| 15 | +/// |
| 16 | +/// STANDARD_TYPE_2(KIND, MANGLING, TYPENAME) |
| 17 | +/// The 1-character MANGLING for a known TYPENAME of KIND that is in the |
| 18 | +/// second level of standard types, all of which are mangled with the form |
| 19 | +/// Sc<MANGLING>. |
| 20 | +/// |
16 | 21 | /// OBJC_INTEROP_STANDARD_TYPE(KIND, MANGLING, TYPENAME) |
17 | 22 | /// The 1-character MANGLING for a known TYPENAME of KIND, for a type that's |
18 | 23 | /// only available with ObjC interop enabled. |
|
22 | 27 | STANDARD_TYPE(KIND, MANGLING, TYPENAME) |
23 | 28 | #endif |
24 | 29 |
|
| 30 | + |
25 | 31 | OBJC_INTEROP_STANDARD_TYPE(Structure, A, AutoreleasingUnsafeMutablePointer) |
26 | 32 | STANDARD_TYPE(Structure, a, Array) |
27 | 33 | STANDARD_TYPE(Structure, b, Bool) |
@@ -73,5 +79,25 @@ STANDARD_TYPE(Protocol, y, StringProtocol) |
73 | 79 | STANDARD_TYPE(Protocol, Z, SignedInteger) |
74 | 80 | STANDARD_TYPE(Protocol, z, BinaryInteger) |
75 | 81 |
|
| 82 | +STANDARD_TYPE_2(Protocol, A, Actor) |
| 83 | +STANDARD_TYPE_2(Structure, C, CheckedContinuation) |
| 84 | +STANDARD_TYPE_2(Structure, c, UnsafeContinuation) |
| 85 | +STANDARD_TYPE_2(Structure, E, CancellationError) |
| 86 | +STANDARD_TYPE_2(Structure, e, UnownedSerialExecutor) |
| 87 | +STANDARD_TYPE_2(Protocol, F, Executor) |
| 88 | +STANDARD_TYPE_2(Protocol, f, SerialExecutor) |
| 89 | +STANDARD_TYPE_2(Structure, G, TaskGroup) |
| 90 | +STANDARD_TYPE_2(Structure, g, ThrowingTaskGroup) |
| 91 | +STANDARD_TYPE_2(Protocol, I, AsyncIteratorProtocol) |
| 92 | +STANDARD_TYPE_2(Protocol, i, AsyncSequence) |
| 93 | +STANDARD_TYPE_2(Structure, J, UnownedJob) |
| 94 | +STANDARD_TYPE_2(Class, M, MainActor) |
| 95 | +STANDARD_TYPE_2(Structure, P, TaskPriority) |
| 96 | +STANDARD_TYPE_2(Structure, S, AsyncStream) |
| 97 | +STANDARD_TYPE_2(Structure, s, AsyncThrowingStream) |
| 98 | +STANDARD_TYPE_2(Structure, T, Task) |
| 99 | +STANDARD_TYPE_2(Structure, t, UnsafeCurrentTask) |
| 100 | + |
76 | 101 | #undef STANDARD_TYPE |
77 | 102 | #undef OBJC_INTEROP_STANDARD_TYPE |
| 103 | +#undef STANDARD_TYPE_2 |
0 commit comments