//===-- DependencyScanMacros.h - Swift Dependency Scanning Macros -*- C -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2020 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 // //===----------------------------------------------------------------------===// #ifdef __cplusplus # define SWIFTSTATICMIRROR_BEGIN_DECLS extern "C" { # define SWIFTSTATICMIRROR_END_DECLS } #else # define SWIFTSTATICMIRROR_BEGIN_DECLS # define SWIFTSTATICMIRROR_END_DECLS #endif #ifndef SWIFTSTATICMIRROR_PUBLIC # ifdef _WIN32 # ifdef libStaticMirror_EXPORTS # define SWIFTSTATICMIRROR_PUBLIC __declspec(dllexport) # else # define SWIFTSTATICMIRROR_PUBLIC __declspec(dllimport) # endif # else # define SWIFTSTATICMIRROR_PUBLIC # endif #endif