Skip to content

Commit a9fbec1

Browse files
authored
Merge pull request #3969 from atrick/changelog
Update the ChangeLog message for SE-0107: UnsafeRawPointer.
2 parents 02d2517 + d68d590 commit a9fbec1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ Swift 3.0
44
---------
55
* [SE-0107](https://github.com/apple/swift-evolution/blob/master/proposals/0107-unsaferawpointer.md)
66

7-
An `Unsafe[Mutable]RawPointer` type has been introduced. It
8-
replaces `Unsafe[Mutable]Pointer<Void>`. Conversion from
9-
`UnsafePointer<T>` to `UnsafePointer<U>` has been
10-
disallowed. `Unsafe[Mutable]RawPointer` provides an API for untyped
11-
memory access, and an API for binding memory to a type. Binding
12-
memory allows for safe conversion between pointer types.
7+
An `Unsafe[Mutable]RawPointer` type has been introduced. It replaces
8+
`Unsafe[Mutable]Pointer<Void>`. Conversion from `UnsafePointer<T>`
9+
to `UnsafePointer<U>` has been disallowed. `Unsafe[Mutable]RawPointer`
10+
provides an API for untyped memory access, and an API for binding memory
11+
to a type. Binding memory allows for safe conversion between pointer types.
12+
See `bindMemory(to:capacity:)`, `assumingMemoryBound(to:)`, and
13+
`withMemoryRebound(to:capacity:)`.
1314

1415
* [SE-0096](https://github.com/apple/swift-evolution/blob/master/proposals/0096-dynamictype.md):
1516

0 commit comments

Comments
 (0)