Skip to content

Commit

Permalink
Implementation of CTFrame CTFrameGetTypeID
Browse files Browse the repository at this point in the history
  • Loading branch information
msft-Jeyaram committed Apr 12, 2017
1 parent 3f95fef commit 17f98d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Frameworks/CoreText/CTFrame.mm
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,10 @@ void CTFrameDraw(CTFrameRef frame, CGContextRef ctx) {
}

/**
@Status Stub
@Notes
@Status Interoperable
*/
CFTypeID CTFrameGetTypeID() {
UNIMPLEMENTED();
return StubReturn();
return __CTFrame::GetTypeID();
}

// Convenience private function for NSString+UIKitAdditions
Expand Down
2 changes: 1 addition & 1 deletion include/CoreText/CTFrame.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ CORETEXT_EXPORT CFDictionaryRef CTFrameGetFrameAttributes(CTFrameRef frame) STUB
CORETEXT_EXPORT CFArrayRef CTFrameGetLines(CTFrameRef frame);
CORETEXT_EXPORT void CTFrameGetLineOrigins(CTFrameRef frame, CFRange range, CGPoint origins[]);
CORETEXT_EXPORT void CTFrameDraw(CTFrameRef frame, CGContextRef context);
CORETEXT_EXPORT CFTypeID CTFrameGetTypeID() STUB_METHOD;
CORETEXT_EXPORT CFTypeID CTFrameGetTypeID();

0 comments on commit 17f98d2

Please sign in to comment.