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





_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to