From 32cf4d1e2940032ae5b399246136ab28c4dc3b47 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Tue, 19 Nov 2024 12:49:22 -0700 Subject: [PATCH] AK: Add missing swift/bridging empty defines for non-Swift compilers --- AK/Swift.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AK/Swift.h b/AK/Swift.h index be81fdb4cab..84c0b2a333f 100644 --- a/AK/Swift.h +++ b/AK/Swift.h @@ -18,4 +18,11 @@ # define SWIFT_CONFORMS_TO_PROTOCOL(protocol) # define SWIFT_COMPUTED_PROPERTY # define SWIFT_MUTATING +# define SWIFT_UNCHECKED_SENDABLE +# define SWIFT_NONCOPYABLE +# define SWIFT_NONESCAPABLE +# define SWIFT_ESCAPABLE +# define SWIFT_ESCAPABLE_IF(...) +# define SWIFT_RETURNS_RETAINED +# define SWIFT_RETURNS_UNRETAINED #endif