Skip to content

Commit e155b1b

Browse files
committed
[docs] Update CppInteroperabilityStatus for reverse interop
1 parent b47bb5b commit e155b1b

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

docs/CppInteroperability/CppInteroperabilityStatus.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,31 @@ This status table describes which of the following Swift language features have
140140
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
141141
|--------------------------------|----------------------------------------------------------|
142142
| Top-level `@_cdecl` functions | Yes |
143-
| Top-level Swift functions | Partially, only with C compatible types |
144-
| `inout` parameters | No |
143+
| Top-level Swift functions | Partially, only with primitive and Swift struct types |
144+
| `inout` parameters | Yes |
145145
| Variadic parameters | No |
146146
| Multiple return values | No |
147+
148+
**Structs**
149+
150+
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
151+
|--------------------------------|----------------------------------------------------------|
152+
| Fixed layout structs | Yes |
153+
| Resilient / opaque structs | Yes |
154+
| Copy and destroy semantics | Yes |
155+
| Initializers | Partially, as static `init` methods. No failable support |
156+
157+
**Methods**
158+
159+
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
160+
|--------------------------------|----------------------------------------------------------|
161+
| Instance methods | Yes, for structs only |
162+
| Static methods | No |
163+
164+
**Properties**
165+
166+
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
167+
|--------------------------------|----------------------------------------------------------|
168+
| Getter accessors | Yes, via `get<name>`. For structs only |
169+
| Setter accessors | No |
170+
| Mutation accessors | No |

0 commit comments

Comments
 (0)