Skip to content

Commit faa1e37

Browse files
committed
Changed title
1 parent ee60890 commit faa1e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/cxx-interop/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ object.doSomething()
12551255
// `object` will be released here.
12561256
```
12571257

1258-
#### Calling conventions for returning Shared Reference Types
1258+
#### Calling conventions when returning Shared Reference Types from C++ to Swift
12591259

12601260
When C++ functions and methods return `SWIFT_SHARED_REFERENCE` types, it is necessary to specify the ownership of the returned value.
12611261
For this you should use the `SWIFT_RETURNS_RETAINED` and `SWIFT_RETURNS_UNRETAINED` annotations on functions and methods.

0 commit comments

Comments
 (0)