Skip to content

Commit

Permalink
Merge pull request swiftlang#4266 from xwu/memory-layout-changelog
Browse files Browse the repository at this point in the history
Update CHANGELOG.md for SE-0101 and SE-0136
  • Loading branch information
tkremenek authored Aug 13, 2016
2 parents 5359ff5 + be51ac5 commit b906a25
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ Note: This is in reverse chronological order, so newer entries are added to the
Swift 3.0
---------

* [SE-0136](https://github.com/apple/swift-evolution/blob/master/proposals/0136-memory-layout-of-values.md) and [SE-0101](https://github.com/apple/swift-evolution/blob/master/proposals/0101-standardizing-sizeof-naming.md)

The functions `sizeof()`, `strideof()`, and `alignof()` have been removed.
Instead, these memory layout properties for a type `T` are now spelled
`MemoryLayout<T>.size`, `MemoryLayout<T>.stride`, and
`MemoryLayout<T>.alignment`, respectively.

The functions `sizeofValue()`, `strideofValue()`, and `alignofValue()` have
been renamed `MemoryLayout.size(ofValue:)`, `MemoryLayout.stride(ofValue:)`,
and `MemoryLayout.alignment(ofValue:)`.

* [SE-125](https://github.com/apple/swift-evolution/blob/master/proposals/0125-remove-nonobjectivecbase.md)

The functions `isUniquelyReferenced()` and `isUniquelyReferencedNonObjC()`
Expand Down

0 comments on commit b906a25

Please sign in to comment.