[MacRuby-devel] Out parameters with MacRuby
Alex Vollmer
alex.vollmer at gmail.com
Sun Apr 26 18:20:01 PDT 2009
On Apr 26, 2009, at Apr 26, 10:09 AM, rebotfc wrote:
> errorp = Pointer.new_with_type("@")
>
> result = NSXMLDocument.alloc.initWithData(data,
> options:NSXMLDocumentValidate, error:errorp)
>
> # access error
> errorp[0]
Ah cool. Thanks for the response. Is there any documentation on the
possible values you can hand to the "new_with_type" method? What does
that '@' sign mean?
Thanks,
----
Musings & Notes — http://alexvollmer.com
Track what you lend and borrow — http://moochbot.com
More information about the MacRuby-devel
mailing list