Re: [MacRuby-devel] Getting the "Embed MacRuby" target working

2009-04-27 Thread Matt Aimonetti
Hi Alex, The "Embed MacRuby" isn't perfect yet. You have to first build your project normally and then built it with the proper target. I guess Laurent would accept a patch if you care to spend some time fixing this issue. - Matt On Mon, Apr 27, 2009 at 8:43 PM, Alex Vollmer wrote: > I've bee

[MacRuby-devel] Getting the "Embed MacRuby" target working

2009-04-27 Thread Alex Vollmer
I've been trying to get my Xcode project setup correctly with the "Embed MacRuby" target. I've made the two-line change as suggested in tutorial and, unless I execute the target, I'm unable to load any Ruby classes. So then I made the "Embed…" target a pre-requisite of my application build.

Re: [MacRuby-devel] Out parameters with MacRuby

2009-04-27 Thread Laurent Sansonetti
On Apr 27, 2009, at 2:23 PM, Brian Marick wrote: 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-ref

Re: [MacRuby-devel] Out parameters with MacRuby

2009-04-27 Thread Brian Marick
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