Skip to content

Commit 7fddadf

Browse files
committed
[Core Graphics] Fix apinotes for CGPathCreateMutableCopy
CGPathCreateMutableCopy and CGPathCreateMutableCopyByTransformingPath have 'self' type of CGPath, and thus must be imported as members of CGPath proper, not CGMutablePath. Does so by following common naming conventions for producing mutable copies.
1 parent e248f83 commit 7fddadf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apinotes/CoreGraphics.apinotes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ Functions:
430430
- Name: CGPathCreateCopyByTransformingPath
431431
SwiftName: CGPathRef.copy(self:using:)
432432
- Name: CGPathCreateMutableCopy
433-
SwiftName: CGMutablePathRef.copy(self:)
433+
SwiftName: CGPathRef.mutableCopy(self:)
434434
- Name: CGPathCreateMutableCopyByTransformingPath
435-
SwiftName: CGMutablePathRef.copy(self:using:)
435+
SwiftName: CGPathRef.mutableCopy(self:using:)
436436
- Name: CGPathEqualToPath
437437
SwiftName: CGPathRef.equalTo(self:_:)
438438
- Name: CGPathGetPathBoundingBox

0 commit comments

Comments
 (0)