We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9efa7e8 + bfaee49 commit 14e119dCopy full SHA for 14e119d
Sources/SourceKitD/dlopen.swift
@@ -26,18 +26,17 @@ import Android
26
#endif
27
28
package final class DLHandle: Sendable {
29
- #if os(Windows)
30
- struct Handle: @unchecked Sendable {
+ fileprivate struct Handle: @unchecked Sendable {
+ #if os(Windows)
31
let handle: HMODULE
32
- }
33
- #else
34
+ #else
35
let handle: UnsafeMutableRawPointer
+ #endif
36
}
37
- #endif
38
- let rawValue: ThreadSafeBox<Handle?>
39
40
- init(rawValue: Handle) {
+ fileprivate let rawValue: ThreadSafeBox<Handle?>
+
+ fileprivate init(rawValue: Handle) {
41
self.rawValue = .init(initialValue: rawValue)
42
43
0 commit comments