Files
swift-mirror/include/swift/AST/KnownSDKDecls.def

28 lines
1.1 KiB
C++

//===--- KnownSDKDecls.def - Compiler decl metaprogramming --*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// This file defines macros used for macro-metaprogramming with compiler-known
// declarations, in modules other than the standard library.
//
//===----------------------------------------------------------------------===//
#ifndef KNOWN_SDK_FUNC_DECL
# define KNOWN_SDK_FUNC_DECL(Module, Name, Id)
#endif
KNOWN_SDK_FUNC_DECL(Distributed, IsRemoteDistributedActor, "__isRemoteActor")
KNOWN_SDK_FUNC_DECL(Distributed, IsLocalDistributedActor, "__isLocalActor")
KNOWN_SDK_FUNC_DECL(Distributed, BuildDefaultDistributedRemoteActorUnownedExecutor, "buildDefaultDistributedRemoteActorExecutor")
#undef KNOWN_SDK_FUNC_DECL