2024-08-18 02:13:54 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2024, Andrew Kaster <andrew@ladybird.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#if __has_include(<swift/bridging>)
|
|
|
|
# include <swift/bridging>
|
|
|
|
#else
|
|
|
|
# define SWIFT_SELF_CONTAINED
|
|
|
|
# define SWIFT_RETURNS_INDEPENDENT_VALUE
|
|
|
|
# define SWIFT_SHARED_REFERENCE(retain, release)
|
|
|
|
# define SWIFT_IMMORTAL_REFERENCE
|
|
|
|
# define SWIFT_UNSAFE_REFERENCE
|
|
|
|
# define SWIFT_NAME(name)
|
|
|
|
# define SWIFT_CONFORMS_TO_PROTOCOL(protocol)
|
|
|
|
# define SWIFT_COMPUTED_PROPERTY
|
|
|
|
# define SWIFT_MUTATING
|
2024-11-19 19:49:22 +00:00
|
|
|
# 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
|
2024-08-18 02:13:54 +00:00
|
|
|
#endif
|