Skip to content

Commit 2d6313f

Browse files
committed
Adds doc comment to internal func _memcpy in CTypes.swift
1 parent b90f996 commit 2d6313f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/core/CTypes.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ extension CVaListPointer: CustomDebugStringConvertible {
285285

286286
#endif
287287

288+
/// Copy `size` bytes of memory from `src` into `dest`.
289+
///
290+
/// The memory regions `src..<src + size` and
291+
/// `dest..<dest + size` should not overlap.
288292
@inlinable
289293
internal func _memcpy(
290294
dest destination: UnsafeMutableRawPointer,

0 commit comments

Comments
 (0)