Files
swift-mirror/stdlib/public/SwiftShims/module.modulemap
Jordan Rose 7d61a5e6a2 [SDK] Use an extra shims header to remove _silgen_name from Dispatch.
We still have a bunch of redeclarations of Dispatch functions to avoid
the automatic bridging of dispatch_data_t and dispatch_block_t, but
mostly this is a vast reduction in complexity (and increase in safety).
2016-12-01 16:06:15 -08:00

49 lines
1.2 KiB
Plaintext

module SwiftShims {
header "AssertionReporting.h"
header "CoreFoundationShims.h"
header "FoundationShims.h"
header "GlobalObjects.h"
header "HeapObject.h"
header "LibcShims.h"
header "RefCount.h"
header "RuntimeShims.h"
header "RuntimeStubs.h"
header "SwiftStdbool.h"
header "SwiftStddef.h"
header "SwiftStdint.h"
header "UnicodeShims.h"
header "Visibility.h"
export *
}
// Various headers used to build overlays on Apple platforms.
// Note: These deliberately do not use "export *" to avoid circularity issues
// (overlay -> shims -> framework -> overlay)
// FIXME: These are only needed when building each overlay; they declare no
// types and therefore would not strictly need to be present in an installed
// Swift.
// FIXME: These are not used at all on non-Apple platforms.
module _SwiftDispatchOverlayShims {
header "DispatchOverlayShims.h"
}
module _SwiftObjectiveCOverlayShims {
header "ObjectiveCOverlayShims.h"
}
module _SwiftOSOverlayShims {
header "OSOverlayShims.h"
}
module _SwiftSafariServicesOverlayShims {
header "SafariServicesOverlayShims.h"
}
module _SwiftXCTestOverlayShims {
header "XCTestOverlayShims.h"
}
module _SwiftXPCOverlayShims {
header "XPCOverlayShims.h"
}