We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
REFERENCE
SWIFT_REFERENCE_TYPE
1 parent 577bb5a commit 27844f3Copy full SHA for 27844f3
lib/ClangImporter/swift-interop-support.h
@@ -21,7 +21,7 @@
21
#define SAFE_TO_IMPORT __attribute__((swift_attr("import_unsafe")))
22
23
#define _CXX_INTEROP_STRINGIFY(_x) #_x
24
-#define REFERENCE(_retain, _release) \
+#define SWIFT_REFERENCE_TYPE(_retain, _release) \
25
__attribute__((swift_attr("import_reference"))) \
26
__attribute__((swift_attr(_CXX_INTEROP_STRINGIFY(retain:_retain)))) \
27
__attribute__((swift_attr(_CXX_INTEROP_STRINGIFY(release:_release))))
0 commit comments