Skip to content

Commit c44fcae

Browse files
authored
Make expanded macro functions public (#19)
1 parent 49e45ef commit c44fcae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/BinaryParsing/Macros/MagicNumber.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//===----------------------------------------------------------------------===//
1111

1212
@lifetime(&input)
13-
func _loadAndCheckDirectBytes<
13+
public func _loadAndCheckDirectBytes<
1414
T: FixedWidthInteger & MultiByteInteger & BitwiseCopyable
1515
>(
1616
parsing input: inout ParserSpan,
@@ -24,7 +24,7 @@ func _loadAndCheckDirectBytes<
2424
}
2525

2626
@lifetime(&input)
27-
func _loadAndCheckDirectBytesByteOrder<
27+
public func _loadAndCheckDirectBytesByteOrder<
2828
T: FixedWidthInteger & MultiByteInteger & BitwiseCopyable
2929
>(
3030
parsing input: inout ParserSpan,

0 commit comments

Comments
 (0)