#628: CTFramesetterCreateFrame doesn't like the CFRange type
---------------------------+------------------------------------------------
Reporter: ea...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------+------------------------------------------------
Comment(by lsansone...@…):
The problem is because of the CoreText.framework BridgeSupport file:
{{{
<function name='CTFramesetterCreateFrame'>
<arg type='^{__CTFramesetter=}'/>
<arg type64='{?=qq}' type='{?=ii}'/>
<arg type='^{CGPath=}'/>
<arg type='^{__CFDictionary=}'/>
<retval already_retained='true' type='^{__CTFrame=}'/>
</function>
}}}
The second argument type is unnamed. Technically this problem might
disappear with the new BridgeSupport generator that we are working on, but
in any case, I believe MacRuby should be able to handle these special
unnamed structure types and convert boxed objects whose signatures match
(like an NSRange).
--
Ticket URL: <http://www.macruby.org/trac/ticket/628#comment:2>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel