On Apr 26, 2009, at 12:09 PM, rebotfc wrote:

errorp = Pointer.new_with_type("@")

result = NSXMLDocument.alloc.initWithData(data, options:NSXMLDocumentValidate, error:errorp)

# access error
errorp[0]

So the RubyCocoa style of having by-reference arguments returned as extra return values is not included in MacRuby?


-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to