[MacRuby-devel] [MacRuby] #628: CTFramesetterCreateFrame doesn't like the CFRange type
MacRuby
ruby-noreply at macosforge.org
Sat Apr 17 21:43:03 PDT 2010
#628: CTFramesetterCreateFrame doesn't like the CFRange type
---------------------------+------------------------------------------------
Reporter: easco@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------+------------------------------------------------
Comment(by lsansonetti@…):
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/>
More information about the MacRuby-devel
mailing list