Skip to content

Commit 477013e

Browse files
Internalize less-used public types
1 parent 586765e commit 477013e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Sources/WasmKit/Execution/Types/Value.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ import enum WasmParser.ValueType
55
/// <https://webassembly.github.io/spec/core/syntax/types.html#value-types>
66

77
/// Numeric types
8-
public enum NumericType: Equatable {
8+
enum NumericType: Equatable {
99
/// Integer value type.
1010
case int(IntValueType)
1111
/// Floating-point value type.
1212
case float(FloatValueType)
1313

1414
/// 32-bit signed or unsigned integer.
15-
public static let i32: Self = .int(.i32)
15+
static let i32: Self = .int(.i32)
1616
/// 64-bit signed or unsigned integer.
17-
public static let i64: Self = .int(.i64)
17+
static let i64: Self = .int(.i64)
1818
/// 32-bit IEEE 754 floating-point number.
19-
public static let f32: Self = .float(.f32)
19+
static let f32: Self = .float(.f32)
2020
/// 64-bit IEEE 754 floating-point number.
21-
public static let f64: Self = .float(.f64)
21+
static let f64: Self = .float(.f64)
2222
}
2323

2424
extension WasmParser.ValueType {
@@ -207,7 +207,7 @@ extension Value: CustomStringConvertible {
207207
/// <https://webassembly.github.io/spec/core/syntax/values.html#integers>
208208

209209
/// Integer value types
210-
public enum IntValueType {
210+
enum IntValueType {
211211
/// 32-bit signed or unsigned integer.
212212
case i32
213213
/// 64-bit signed or unsigned integer.
@@ -262,7 +262,7 @@ extension RawSignedInteger {
262262
/// <https://webassembly.github.io/spec/core/syntax/values.html#floating-point>
263263

264264
/// Floating-point value types
265-
public enum FloatValueType {
265+
enum FloatValueType {
266266
/// 32-bit IEEE 754 floating-point number.
267267
case f32
268268
/// 64-bit IEEE 754 floating-point number.

0 commit comments

Comments
 (0)