#131: Dictionary arg not accepted
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED]
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.4
Component: MacRuby | Resolution: fixed
Keywords: |
---------------------------------+------------------------------------------
Changes (by [EMAIL PROTECTED]):
* status: new => closed
* resolution: => fixed
Comment:
The Pointer class was introduced in MacRuby trunk to specifically address
these problems.
{{{
pattributes = Pointer.new_with_type('@')
perror = Pointer.new_with_type('@')
o = NSAttributedString.alloc.initWithData(data,
options:NSCharacterEncodingDocumentOption, documentAttributes:pattributes,
error:perror);
unless o
p perror[0]
else
p pattributes[0]
end
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/131#comment:4>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel