@@ -19,7 +19,7 @@ It also describes how
19
19
enable C++ interoperability by describing how to use C++ interoperability
20
20
when invoking Swift compiler directly.
21
21
22
- ## Mixing Swift and C++ Using Swift Package Manager
22
+ ## Mixing Swift and C++ Using Swift Package Manager
23
23
24
24
The [ Swift Package Manager] ( /package-manager/ ) allows Swift code to use
25
25
C++ APIs in Swift.
@@ -124,7 +124,7 @@ includes the other headers in the C++ target:
124
124
// Header file `cxxLibrary.h`
125
125
#pragma once
126
126
127
- #include < cxxLibrary/ classImpl.h>
127
+ #include < classImpl.h>
128
128
```
129
129
130
130
The Swift code in the ` swiftCLITool ` can import ` cxxLibrary ` directly:
@@ -211,7 +211,7 @@ header:
211
211
```
212
212
213
213
214
- ### Using C++ APIs of Imported Framework Target
214
+ ### Using C++ APIs of Imported Framework Target
215
215
216
216
The supported C++ functions and types declared in a ** public** C++ header of
217
217
an Xcode framework target can be used from Swift code in other targets.
@@ -260,7 +260,7 @@ This section describes how to enable and use C++ interoperability
260
260
when invoking the Swift compiler directly. This allows other
261
261
build systems to configure a mixed-language Swift and C++ project.
262
262
263
- ### Enabling C++ Interoperability in the Swift Compiler
263
+ ### Enabling C++ Interoperability in the Swift Compiler
264
264
265
265
The ** ` -cxx-interoperability-mode= ` ** build flag is used to enable C++
266
266
interoperability in the Swift compiler. It receives the interoperability
0 commit comments