Skip to content

Commit dc232f6

Browse files
committed
[Core Graphics] Disambiguate the CGContext PDF endPage
This changes how we import CGPDFContextEndPage to be CGContext.endPDFPage(), instead of .endPage() which conflicts with another CGContext function. Also does .beginPDFPage() for consistency, which is consistent with e.g. drawPDFPage().
1 parent add621a commit dc232f6

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
@@ -386,9 +386,9 @@ Functions:
386386
- Name: CGPDFContextClose
387387
SwiftName: CGContext.closePDF(self:)
388388
- Name: CGPDFContextBeginPage
389-
SwiftName: CGContext.beginPage(self:_:)
389+
SwiftName: CGContext.beginPDFPage(self:_:)
390390
- Name: CGPDFContextEndPage
391-
SwiftName: CGContext.endPage(self:)
391+
SwiftName: CGContext.endPDFPage(self:)
392392
- Name: CGPDFContextAddDocumentMetadata
393393
SwiftName: CGContext.addDocumentMetadata(self:_:)
394394
- Name: CGPDFContextSetURLForRect

0 commit comments

Comments
 (0)