Hi Claudio, On Oct 3, 2008, at 1:05 PM, Claudio Poli wrote:
hi everyone, I have this:
urlData = NSURLConnection.sendSynchronousRequest urlRequest, returningResponse:response, error:error
where urlRequest is a NSURLRequest response is a NSURLResponse error is a NSError
in Objective-C response and error would be &response and &error. running this in MacRuby gives:
`sendSynchronousRequest:returningResponse:error:': can't convert Ruby object `NSURLResponse' to Objective-C value of type `^@' (ArgumentError)
Dealing with objects returned by reference is currently not supported, as you noticed in #131. I will fix this soon. I will support the RubyCocoa way (omitting the argument will return it with the return value, in an array) and also the possibility to create and pass a Pointer object. Laurent