@@ -38,33 +38,33 @@ public enum CInterop {
38
38
/// The C `char` type
39
39
public typealias Char = CChar
40
40
41
- #if os(Windows)
41
+ #if os(Windows)
42
42
/// The platform's preferred character type. On Unix, this is an 8-bit C
43
43
/// `char` (which may be signed or unsigned, depending on platform). On
44
44
/// Windows, this is `UInt16` (a "wide" character).
45
45
public typealias PlatformChar = UInt16
46
- #else
46
+ #else
47
47
/// The platform's preferred character type. On Unix, this is an 8-bit C
48
48
/// `char` (which may be signed or unsigned, depending on platform). On
49
49
/// Windows, this is `UInt16` (a "wide" character).
50
50
public typealias PlatformChar = CInterop . Char
51
- #endif
51
+ #endif
52
52
53
- #if os(Windows)
53
+ #if os(Windows)
54
54
/// The platform's preferred Unicode encoding. On Unix this is UTF-8 and on
55
55
/// Windows it is UTF-16. Native strings may contain invalid Unicode,
56
56
/// which will be handled by either error-correction or failing, depending
57
57
/// on API.
58
58
public typealias PlatformUnicodeEncoding = UTF16
59
- #else
59
+ #else
60
60
/// The platform's preferred Unicode encoding. On Unix this is UTF-8 and on
61
61
/// Windows it is UTF-16. Native strings may contain invalid Unicode,
62
62
/// which will be handled by either error-correction or failing, depending
63
63
/// on API.
64
64
public typealias PlatformUnicodeEncoding = UTF8
65
- #endif
65
+ #endif
66
66
67
- #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
67
+ #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
68
68
/// The C `stat` type.
69
69
public typealias Stat = stat
70
70
@@ -100,5 +100,5 @@ public enum CInterop {
100
100
101
101
/// The C `UInt32` type.
102
102
public typealias FileFlags = UInt32
103
- #endif
103
+ #endif
104
104
}
0 commit comments