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.
1 parent b718c50 commit 8009f45Copy full SHA for 8009f45
stdlib/public/SwiftShims/swift/shims/EmbeddedShims.h
@@ -28,10 +28,8 @@
28
extern "C" {
29
#endif
30
31
-#define SWIFT_CC __attribute__((swiftcall))
32
-#define SWIFT_CONTEXT __attribute__((swift_context))
33
-
34
-typedef void SWIFT_CC (*HeapObjectDestroyer)(SWIFT_CONTEXT void *object);
+typedef void __attribute__((swiftcall)) (*HeapObjectDestroyer)(
+ __attribute__((swift_context)) void *object);
35
36
static inline void _swift_embedded_invoke_heap_object_destroy(void *object) {
37
void *metadata = *(void **)object;
0 commit comments