Skip to content

Commit 1ee9faa

Browse files
committed
Fix pointer mutability
1 parent da0fd08 commit 1ee9faa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/Testing/ABI/EntryPoints/Library.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@ private import _TestingInternals
1515
public struct Library: Sendable {
1616
/* @c */ fileprivate struct Record {
1717
typealias EntryPoint = @convention(c) (
18-
_ configurationJSON: UnsafeMutableRawPointer,
18+
_ configurationJSON: UnsafeRawPointer,
1919
_ configurationJSONByteCount: Int,
2020
_ reserved: UInt,
21-
_ context: UnsafeMutableRawPointer,
21+
_ context: UnsafeRawPointer,
2222
_ recordJSONHandler: RecordJSONHandler,
2323
_ completionHandler: CompletionHandler
2424
) -> Void
2525

2626
typealias RecordJSONHandler = @convention(c) (
27-
_ recordJSON: UnsafeMutableRawPointer,
27+
_ recordJSON: UnsafeRawPointer,
2828
_ recordJSONByteCount: Int,
2929
_ reserved: UInt,
30-
_ context: UnsafeMutableRawPointer
30+
_ context: UnsafeRawPointer
3131
) -> Void
3232

3333
typealias CompletionHandler = @convention(c) (
3434
_ exitCode: CInt,
3535
_ reserved: UInt,
36-
_ context: UnsafeMutableRawPointer
36+
_ context: UnsafeRawPointer
3737
) -> Void
3838

3939
nonisolated(unsafe) var name: UnsafePointer<CChar>

0 commit comments

Comments
 (0)